EZBoards - Generate kneeboards (flights, comms, stpts, weather) from briefings
-
V13 Released.
- Added EZ2PAGES.BAT for generating briefings on two separate pages, for use with OpenKneeboards.
Images will be generated in the folder given bySET DESTFOLDER=
,
by default in .\pages - Minor increase in font size for better readability.
- Added EZ2PAGES.BAT for generating briefings on two separate pages, for use with OpenKneeboards.
-
@Logic said in EZBoards - Generate kneeboards (flights, comms, stpts, weather) from briefings:
Added EZ2PAGES.BAT for generating briefings on two separate pages, for use with OpenKneeboards.
Does this mean EZBoards (when executed with this new EZ2PAGES.BAT) will not replace the first page of either side of the remaining pages lying underneath anymore?
Anyway…
Big THANK YOU to you Logic for providing us with this powerful application and still updating it as well. I’m using it since the first version, its so quick and handy. -
@Zero900
Yes, for simplicity, it’s either EZ2PAGES.BAT for 2 separate pages as PNG files or EZBOARDS.BAT for the usual single double page as texture file.
But nobody’s preventing you from modifying the one or other to have both generated at the same time! -
@Logic said in EZBoards - Generate kneeboards (flights, comms, stpts, weather) from briefings:
@Zero900
Yes, for simplicity, it’s either EZ2PAGES.BAT for 2 separate pages as PNG files or EZBOARDS.BAT for the usual single double page as texture file.
But nobody’s preventing you from modifying the one or other to have both generated at the same time!Nice, have to check it out!
-
And if you want to run both from
EZWATCH.BAT
add the call toEZ2PAGES.BAT
at line 114 inEZBOARDS.BAT
It might not be the correct or most swelligant solution, but it works for me!
-
Does EZ Boards work with different parallel BMS Installations ? Cheers, Stephan
-
@Phonon Yes, but you will need to create a new ezboards instance for each bms instance, and know how to edit a .bat file with notepad…
-
@Fish44 Thanks a lot – perfect … this is very simple … thanks a lot, Fish44
-
thanks for the update Logic!
It would be a nice idea to include the version number in the script’s output so one can be sure it has updated correctly… just a thought.
All the best,
Uwe
-
Amazing mod! really helped me with knowing which channels to use !
-
@Logic
Just trying this out. I have a few game installs on different folders and EZBoards seems to find one folder, for example Z:\Falcon BMS 4.37.3. However, I am playing on a test folder Z:\Falcon BMS 4.37.3-test-How do I tell EZBoards or EZ2PAGES to look at Z:\Falcon BMS 4.37.3-test- folder for any kneeboard updates?
Thanks!
-
@Atlas There’s a line in the .bat file which points to the registry key for bms (different for each version). Its the registry key which tells EzBoards where BMS is. See my post a page back.
-
@Fish44
Sir, you speak of that forbidden place where I dare not venture, for fear of borking my PC…REM /// Get BASEDIR and PILOTBIN from Registry. REM /// Note: This part will need to be updated in future versions of BMS. SET REGPATH="HKLM\SOFTWARE\WOW6432Node\Benchmark Sims\Falcon BMS 4.37"
I believe it’s that last line? to be changed to HKLM\SOFTWARE\WOW6432Node\Benchmark Sims\Falcon BMS 4.37-test-
-
@Atlas
Nah, that’s the Registry key which is most likely still the same in your test install.
Yuo can just override the BASEDIR, in lines 12 and following:REM /// delims is a TAB followed by a space REM FOR /F "tokens=2* delims= " %%A IN ('REG QUERY %REGPATH% /v baseDir') DO SET BASEDIR=%%B SET BASEDIR=Z:\Falcon BMS 4.37.3-test- ECHO BASEDIR=%BASEDIR%
-
@Logic
Thank you sir! -
@Logic
I’ve made these edits on EZ2PAGES.BAT using Notepad++REM /// delims is a TAB followed by a space FOR /F "tokens=2* delims= " %%A IN ('REG QUERY %REGPATH% /v baseDir') DO SET BASEDIR=%%B SET BASEDIR=Z:\Falcon BMS 4.37-test- ECHO BASEDIR=%BASEDIR%
and that works beautifully. However, I would like to have the EZWATCH.BAT do the auto-updates for me and I tried this code but it doesn’t seem to work?
REM /// Get BASEDIR and PILOTBIN from Registry. REM /// Note: This part will need to be updated in future versions of BMS. SET REGPATH="HKLM\SOFTWARE\WOW6432Node\Benchmark Sims\Falcon BMS 4.37" REM /// delims is a TAB followed by a space FOR /F "tokens=2* delims= " %%A IN ('REG QUERY %REGPATH% /v baseDir') DO SET BASEDIR=%%B SET BASEDIR=Z:\:\Falcon BMS 4.37-test- ECHO BASEDIR=%BASEDIR% FOR /F "tokens=2* delims= " %%A IN ('REG QUERY %REGPATH% /v PilotCallsign') DO SET PILOTBIN=%%B ECHO PILOTBIN=%PILOTBIN% REM /// Convert the REG_BINARY callsign from Registry to a string SETLOCAL EnableDelayedExpansion ECHO !PILOTBIN!> temp.hex CALL certutil -decodehex temp.hex str.txt >nul ENDLOCAL SET /p PILOTCALLSIGN=<str.txt ( DEL temp.hex & DEL str.txt )>nul ECHO PILOTCALLSIGN=%PILOTCALLSIGN% SET BRIEFINGTXT="%BASEDIR%\User\Briefings\briefing.txt" ECHO BRIEFINGTXT=%BRIEFINGTXT% ECHO [33m---------------------------------------------------------------------------[0m REM /// Now call the real watchdog application CALL bin\when_changed.exe %BRIEFINGTXT% EZ2PAGES.BAT "/a > nul 2>&1"
-
@Atlas
There seems to be a typo in the lineSET BASEDIR=Z:\:\Falcon BMS 4.37-test-
which should be
SET BASEDIR=Z:\Falcon BMS 4.37-test-
-
@Logic
Whoops, fixed that, thanks, but still not workingI changed EZBOARDS to EZ2PAGES in this line
CALL bin\when_changed.exe %BRIEFINGTXT% EZ2PAGES.BAT "/a > nul 2>&1"
But I wonder if I should change anything else for it to work?
-
@Atlas
Ok, well EZWATCH uses BASEDIR too, so you’d have to do that BASEDIR “hack” there as well -
@Logic
Sorry for the confusion. I edited EZ2PAGES as above and it works perfectly when I run EZ2PAGES.Here is the code for EZWATCH:
REM /// Get BASEDIR and PILOTBIN from Registry. REM /// Note: This part will need to be updated in future versions of BMS. SET REGPATH="HKLM\SOFTWARE\WOW6432Node\Benchmark Sims\Falcon BMS 4.37" REM /// delims is a TAB followed by a space FOR /F "tokens=2* delims= " %%A IN ('REG QUERY %REGPATH% /v baseDir') DO SET BASEDIR=%%B SET BASEDIR=Z:\Falcon BMS 4.37-test- ECHO BASEDIR=%BASEDIR% FOR /F "tokens=2* delims= " %%A IN ('REG QUERY %REGPATH% /v PilotCallsign') DO SET PILOTBIN=%%B ECHO PILOTBIN=%PILOTBIN% REM /// Convert the REG_BINARY callsign from Registry to a string SETLOCAL EnableDelayedExpansion ECHO !PILOTBIN!> temp.hex CALL certutil -decodehex temp.hex str.txt >nul ENDLOCAL SET /p PILOTCALLSIGN=<str.txt ( DEL temp.hex & DEL str.txt )>nul ECHO PILOTCALLSIGN=%PILOTCALLSIGN% SET BRIEFINGTXT="%BASEDIR%\User\Briefings\briefing.txt" ECHO BRIEFINGTXT=%BRIEFINGTXT% ECHO [33m---------------------------------------------------------------------------[0m REM /// Now call the real watchdog application REM /// CALL bin\when_changed.exe %BRIEFINGTXT% EZBOARDS.BAT "/a > nul 2>&1" CALL bin\when_changed.exe %BRIEFINGTXT% EZ2PAGES.BAT "/a > nul 2>&1"
As you can see, I changed the BASEDIR too and also on the last line, I changed EZBOARDS to EZ2PAGES since I use OpenKneeboard instead of the in-game pilot kneeboards. This doesn’t seem to work though, so I wonder if any other edits are needed? Thanks!