EZBoards - Generate kneeboards (flights, comms, stpts, weather) from briefings
-
Thanks, oak.
But i’d need a tool i could run from within the BAT file.
Is F4SharedMemViewer usable from command line?
Anyway, this would be a little too complex and brittle if i built it in.
I’d rather make more comments in the file so that users can figure it out themselves.Why you want to run the full Sharedmemoryviewer and also why has it to run from a .BAT file.
You litterally just incluse F4SharedMem.dll into your .Net Core console application and with 3 lines of code you can access the Shared memory
using System; using System.Collections.Generic; using F4SharedMem; using F4SharedMem.Headers; namespace ConsoleApp6 { class Program { static void Main(string[] args) { Reader r = new Reader(); StringData sd = r.GetCurrentData().StringData; List <stringstruct>ss = (List<stringstruct>)sd.data; String bmxExePath = ss[(int) StringIdentifier.BmsExe].value; Console.WriteLine(bmxExePath); } } }</stringstruct></stringstruct>
-
I know, but currently, EZBoards is just a batch file that launches other console apps that are each completely ignorant about BMS paths (which is a good thing imo). Especially the code that copies the texture to the target location is only in the BAT file. Of course i could change all that but i’m reluctant.
Maybe i write another small console app (which i shall name ConsoleApp6 in your honor ), the unique purpose of which would be to get the theater path.
But that would be another exe to deploy. -
I know, but currently, EZBoards is just a batch file that launches other console apps that are each completely ignorant about BMS paths (which is a good thing imo). Especially the code that copies the texture to the target location is only in the BAT file. Of course i could change all that but i’m reluctant.
Maybe i write another small console app (which i shall name ConsoleApp6 in your honor ), the unique purpose of which would be to get the theater path.
But that would be another exe to deploy.Ok now I get it. I always assumed to have at least an own console app. So but still having a llok on your BAT file you already read the Registry value for the currTheater (comented out). So why not use it with a simple if else if Theater is “Korea KTO”
TARGET="%BASEDIR%\Data\TerrData\Objects\KoreaObj\7982.dds
else
TARGET="%BASEDIR%\Data\Add-on %THEATER%\TerrData\Objects\KoreaObj\7982.dds
and maybe add an folder exist on the else case and if false fall back to %BASEDIR%\Data\TerrData\Objects\KoreaObj\
-
Yes, that’s the kind of thing i had in mind!
But having no experience with theaters i wasn’t sure how much cases i would be covering.
But it’ll be better than nothing so will add it in next release. -
Well i just tried it with the nto campaign,worked like a charm.
-
Couldnt get it to work in somalia, said something about no pilot roster file in that campaign.
-
Hey logic, when i try somilia,i get an error saying no pilot roster,any clue.
Also asked in somilia thread. -
I’m still on version 4, but I guess the problem will be the same?
[font]--------------------------------------------------------------------------- EZBoards - Instant single-click briefing to kneeboards conversion for Falcon BMS. Version 4. By "Logic", Feb 2021. --------------------------------------------------------------------------- BASEDIR=C:\Falcon BMS 4.35 PILOTBIN=527562627261000000000000 PILOTCALLSIGN=Rubbra BRIEFINGTXT="C:\Falcon BMS 4.35\User\Briefings\briefing.txt" CALLSIGNINI="C:\Falcon BMS 4.35\User\Config\Rubbra.ini" TARGET="C:\Falcon BMS 4.35\Data\Add-On Somalia\TerrData\Objects\KoreaObj\7982.dds" Generating HTML version of briefing data to briefing.html. Unhandled exception. System.Collections.Generic.KeyNotFoundException: The given key 'Pilot Roster:' was not present in the dictionary. at System.Collections.Generic.Dictionary`2.get_Item(TKey key) at xbrief.Program.Main(String[] args) ### ERROR ### Press any key to continue . . .[/font]
-
Hey, seems like your briefing file doesn’t contain that section. Can you send me your briefing.txt please?
-
Hey, seems like your briefing file doesn’t contain that section. Can you send me your briefing.txt please?
Seems to be a consistent thing with the Somalia campaign - may not be “your problem”, but thought you might to be aware.
Briefing.txt -
-
While I’m on this thread, I have to say that EZBOARDS has made a huge difference to BMS for me, doing exactly what kneeboards are for! No more trying to remember the various steerpoints 'cos I can’t be bothered to write them down or print…
-
Hey, seems like your briefing file doesn’t contain that section. Can you send me your briefing.txt please?
here u go.
-
Indeed those briefing records do not contain a pilot roster section. That is something new for me that i didn’t expect possible and EZBoards is not prepared for at the moment - sorry.
I have to talk with the theater/campaign developers to see what’s going on.
Might need some time, so don’t hold your breath. -
ah yes,i see now, i compared 2 different briefs, the one that dont work says situation instead.
hope its an easy fix.
thanks -
Indeed those briefing records do not contain a pilot roster section. That is something new for me that i didn’t expect possible and EZBoards is not prepared for at the moment - sorry.
I have to talk with the theater/campaign developers to see what’s going on.
Might need some time, so don’t hold your breath.No need to apologise! I only posted it here so you knew about it. I’ve also got issues with non-English character sets (the Kuwait campaign seems to generate some garbage in the briefing header every time for me), but I’ve not investigated it properly yet.
-
Hello,
i got this info from smartaxe who develops the Somalia theater:Somalia campaign folder is missing a file called “divert.b”.
If copied from kto, to Somalia campaign folder , pilot roster shows in briefing screen.This might fix the issue. For those running Somalia, please try.
The Somalia guys will include it in their next update. -
This post is deleted! -
Yep,it worked,perfect.
Thankyou guys !!! -
Hello,
i got this info from smartaxe who develops the Somalia theater:This might fix the issue. For those running Somalia, please try.
The Somalia guys will include it in their next update.You need to do that with all my 3rd party theatres: Kuriles, Somalia, and Panama. In the future, as time permits, all of them will be updated with divert.b file.
-
Update V6 released!
- Now automagically works with most add-on theaters out of the box without the need to change target path.
- Now includes EZSERVE, a means to view the generated briefings on other devices using a minimal http server.
Top post updated.