Falcon BMS KneeBoard UPdater
-
Mower, how did you get the airport map on there? Was it a cut/paste kinda thing as wdp puts out a separate map jpg?
Would be cool if there were tabbed pages, but I realize that would require code.
Open the .JPG file that is being produced, open a graphics tool (PhotoShop, GIMP,…) past whatever you want in there, use KneeBoard Updater…done.
-
Hi
I didn’t get this tool working after all, had more exceptions and played with something that can update the kneeboard without interaction (command line).
IF you install Image Magick (highly recommended image manipulation application) then you can assemble a perfect kneeboard of choice through a simple batch file.
Here’s something I’ve been playing with - I have a copy in every WDP generated flight folder, double click mods the 8019.dds graphic (makes backup) - voila. Could be changed to accept arguments so one can use, say, symbolic links on desktop, etc.
Just some food for thought
Bad
bmskneeboard.bat
@echo off set bms=C:\Program Files (x86)\Falcon BMS 4.32 set im=C:\Program Files\ImageMagick set objects=%bms%\Data\Terrdata\objects\KoreaObj set kneeboard=%objects%\8019.dds set backup=%objects%\8019-original.dds REM texture and pixel positions of left and right page REM force aspect ratio: {width}x{height}!+{xpos}+{ypos} REM fit/keep aspect ratio: {width}x{height}+{xpos}+{ypos} set l_file=*left*datacard.jpg set r_file=*right*datacard.jpg set l_geom=954x1519!+54+117 set r_geom=936x1519!+1066+113 REM start echo Falcon BMS in %bms% echo ImageMagick in %im% echo Kneeboard is %kneeboard% REM check some assumptions if not exist "%bms%" ( echo variable bms="%bms%" does not point to Falcon BMS program directory exit /b 1 ) if not exist "%kneeboard%" ( echo no existing kneeboard "%kneeboard%" found exit /b 1 ) REM make a backup of existing kneeboard if not exist "%backup%" copy "%kneeboard%" "%backup%" REM make composite left/right kneeboard echo Composing kneeboard from: "%im%\convert.exe" -verbose "%backup%" "%l_file%" -geometry %l_geom% -composite "%r_file%" -geometry %r_geom% -composite "%kneeboard%" echo Done
-
Also had problems getting the Updater to find the datacard in the WDP directory. All the browse paths are set correctly (i.e. all the mission data is shown correctly), but I keep getting the Error message “KneeBoard file not found!” when I hit Update.
I now just navigate to the file using the alternative image seeker and put it in that way. (Tried using the alternative setup.ini file in my AppsData folder but that didn’t work)
-
Also had problems getting the Updater to find the datacard in the WDP directory. All the browse paths are set correctly (i.e. all the mission data is shown correctly), but I keep getting the Error message “KneeBoard file not found!” when I hit Update.
I now just navigate to the file using the alternative image seeker and put it in that way. (Tried using the alternative setup.ini file in my AppsData folder but that didn’t work)
Getting exactly the same issue (and use same solution). WDP was recently updated (13 Nov 2014 - from release log “- Changed, The name of the save datacard pictures got a Letter added. This to make sure the alphabetical sorting is better.”). I’m guessing KneeBoard Updater is looking for an image with the old name.
-
Hey guys,
because of the filename change and one Picture for both pages, I wanted to adapt the script written by b4dshot.
I noticed with ImageMagick some problems
like the version installed two weeks ago was only capable to open one format at a time, every other format would end in a dll missing error,
now the new version works, but I can’t open the DDS result image with Gimp, and also in Falcon it looks a bit strange (tiny, offseted, some transparent lines) - I guess there are still some problems.
What ImageMagick version is b4dshot using so that I could test it with that one?Well, in the meantime I made a different approach:
You need gimp (I tested it with Gimp 2.8.14) for it.
My Package contains a template which will be used by the script, and a plugin needed in gimp in order to do the job.The script needs to know your path BMS+Theater, WDP folder, and the path to the gimp-console.exe
Afterwards it will scan automatically the WDP Datacard folder for the newest Datacard and create the texture in the theater needed.
I’d really prefer b4dshots script (with automatically finding the newest datacard) - but the situation above forced me to do it that way
https://drive.google.com/open?id=0BzHyxtkk-Tj_QzMzd09GdVFlNFk&authuser=0
in my Package there are a total of 3 files and one folder
wdp2bms_im.bat
wdp2bms_gimp.bat
8019_template.xcf
.gimp-2.8/plug-ins/makeKneeboard.pywdp2bms_im.bat is the most simple version.
It is a child of b4dshot.
I added an automatic scan for the newest datacard.
It depends only on ImageMagick and you only need to edit the 3 paths in the batch file.
ATTENTION: I wasn’t able to test this script because of the problems about ImageMagick itself!wdp2bms_gimp.bat
It depends on Gimp (tested with 2.8.14), the included plugin and the included template.
It also scans automatically for the newest datacard.
Copy the Plugin to your %USERPROFILE%.gimp-2.*\plug-ins
Then, edit the batch for the 3 paths. -
Hi Snowsky
I’m using
“C:\Program Files\ImageMagick\convert.exe” -version
Version: ImageMagick 6.9.0-3 Q16 x64 2014-12-30 http://www.imagemagick.org
Copyright: Copyright 1999-2015 ImageMagick Studio LLC
Features: DPC Modules OpenMP
Delegates (built-in): bzlib cairo freetype jbig jng jp2 jpeg lcms lqr openexr pangocairo png ps rsvg tiff webp xml zlibgimp seems to have a problem with the generated file but paint.net doesn’t - I believe I googled some problems with Gimp and DDS.
The scanning for the last updated data card is great, I shied away from the windows shell scripting, thanks!
For some confirmation of a problem please check the same version of Image Magick, maybe attach the ‘bad’ output you’re getting.
Cheers
bad -
…
Version: ImageMagick 6.9.0-3 Q16 x64 2014-12-30 http://www.imagemagick.org
…
gimp seems to have a problem with the generated file but paint.net doesn’t - I believe I googled some problems with Gimp and DDS.The scanning for the last updated data card is great, I shied away from the windows shell scripting, thanks!
For some confirmation of a problem please check the same version of Image Magick, maybe attach the ‘bad’ output you’re getting.
Cheers
badHi b4dshot,
I will test it with 6.9.0-3 when I come back homeThanks for your answer!
-
Okay it’s done,
I have tested both now.The big advantage now - Not only it finds the newest Datacard, now you can also configure multiple theaters at once. This way you configure everything once and don’t have to take care afterwards while switching Theater.
GIMP Version
Pro: The holes and shade layer is transparent above the Datacard. It looks slightly better in my opinion.
Con:- Slower while generating (a few seconds)
- Besides installing gimp, you need to copy the plugin
ImageMagick Version
Pro:- Texture is generated faster (a few seconds)
- Only needs installation of ImageMagick
Con: The Datacard might overlap the holes. It looks slightly worse in my opinion.
Link should be the same ( https://drive.google.com/open?id=0BzHyxtkk-Tj_QzMzd09GdVFlNFk&authuser=0 ).
-
Gday Guys not sure if this is the right place for this question but here it is anyway, can you have the boards with out the pilot legs?
Thanks in advance.
-
can you have the boards with out the pilot legs?
The kneeboards are part of the pilot model - you’d have to find a new mod that hangs up these cards somewhere else in the cockpit (which reminds me it would be super if that pilot model had flipping through multiple pages )
-
It’s a texture on a model so you’d need SOMETHING for mesh to put the textures on. Maybe someone could make a floating kneeboard model that was minimal mesh.
-
Also had problems getting the Updater to find the datacard in the WDP directory. All the browse paths are set correctly (i.e. all the mission data is shown correctly), but I keep getting the Error message “KneeBoard file not found!” when I hit Update.
I now just navigate to the file using the alternative image seeker and put it in that way. (Tried using the alternative setup.ini file in my AppsData folder but that didn’t work)
If You have this problem You must simply rename .jpg datacard file from Stud 3_C_Datacard to Stud 3. Everytime when You generate new file.
Other option is to use older WDP. -
Hi when update the Kneeboard Updater i get a error message saying Kneeboard file not found?
Anyone know how fix that or had a similer problem like that?
-
Have you read the post before yours?
-
Yes i have readed everything and did everything. Just not know why getting a Kneeboard file not found message.
-
I got an error tryed update the Data card image, I have win 10
–---------------------------
See the end of this message for details on invoking
just-in-time (JIT) debugging instead of this dialog box.************** Exception Text **************
System.Runtime.InteropServices.ExternalException: A generic error occurred in GDI+.
at System.Drawing.Image.Save(String filename, ImageCodecInfo encoder, EncoderParameters encoderParams)
at System.Drawing.Image.Save(String filename, ImageFormat format)
at System.Drawing.Image.Save(String filename)
at kneeboardupdater.dlgMain.button1_Click(Object sender, EventArgs e)
at System.Windows.Forms.Control.OnClick(EventArgs e)
at System.Windows.Forms.Button.OnClick(EventArgs e)
at System.Windows.Forms.Button.OnMouseUp(MouseEventArgs mevent)
at System.Windows.Forms.Control.WmMouseUp(Message& m, MouseButtons button, Int32 clicks)
at System.Windows.Forms.Control.WndProc(Message& m)
at System.Windows.Forms.ButtonBase.WndProc(Message& m)
at System.Windows.Forms.Button.WndProc(Message& m)
at System.Windows.Forms.Control.ControlNativeWindow.OnMessage(Message& m)
at System.Windows.Forms.Control.ControlNativeWindow.WndProc(Message& m)
at System.Windows.Forms.NativeWindow.Callback(IntPtr hWnd, Int32 msg, IntPtr wparam, IntPtr lparam)************** Loaded Assemblies **************
mscorlib
Assembly Version: 2.0.0.0
Win32 Version: 2.0.50727.8662 (QFE.050727-8600)
CodeBase: file:///C:/Windows/Microsoft.NET/Framework/v2.0.50727/mscorlib.dllKneeBoard UPdater
Assembly Version: 1.0.0.0
Win32 Version: 1.0.0.0
CodeBase: file:///C:/KneeBoard%20Updater/KneeBoard%20UPdater.exeSystem.Windows.Forms
Assembly Version: 2.0.0.0
Win32 Version: 2.0.50727.8662 (QFE.050727-8600)
CodeBase: file:///C:/WINDOWS/assembly/GAC_MSIL/System.Windows.Forms/2.0.0.0__b77a5c561934e089/System.Windows.Forms.dllSystem
Assembly Version: 2.0.0.0
Win32 Version: 2.0.50727.8662 (QFE.050727-8600)
CodeBase: file:///C:/WINDOWS/assembly/GAC_MSIL/System/2.0.0.0__b77a5c561934e089/System.dllSystem.Drawing
Assembly Version: 2.0.0.0
Win32 Version: 2.0.50727.8662 (QFE.050727-8600)
CodeBase: file:///C:/WINDOWS/assembly/GAC_MSIL/System.Drawing/2.0.0.0__b03f5f7f11d50a3a/System.Drawing.dllSystem.Xml
Assembly Version: 2.0.0.0
Win32 Version: 2.0.50727.8662 (QFE.050727-8600)
CodeBase: file:///C:/WINDOWS/assembly/GAC_MSIL/System.Xml/2.0.0.0__b77a5c561934e089/System.Xml.dllINIFileParser
Assembly Version: 1.7.1.0
Win32 Version: 1.7.1.0
CodeBase: file:///C:/KneeBoard%20Updater/INIFileParser.DLL************** JIT Debugging **************
To enable just-in-time (JIT) debugging, the .config file for this
application or computer (machine.config) must have the
jitDebugging value set in the system.windows.forms section.
The application must also be compiled with debugging
enabled.For example:
<configuration></configuration>
When JIT debugging is enabled, any unhandled exception
will be sent to the JIT debugger registered on the computer
rather than be handled by this dialog box. -
Read some of the previous posts, just install the most recent version of WDP (3.7.0) and you should be able to save the data cards.
I am having resolution issues with the knee-board images in game: blurry and I can’t read the map or text. The DDS files appear fine, I suspect its because my maximum screen resolution is small (on a laptop).
-
latest version of WDP will not get rid of the no kneeboard found error. I have the current one and still i have to rename the datacard file from the name it puts out to just the call sign name… example Cobra 1_c datacard to just Cobra 1, this was the only way it would work
-
latest version of WDP will not get rid of the no kneeboard found error. I have the current one and still i have to rename the datacard file from the name it puts out to just the call sign name… example Cobra 1_c datacard to just Cobra 1, this was the only way it would work
Why would you expect an update from WDP to solve an issue with KneeBoard updater?
Gr Falcas
-
Why would you expect an update from WDP to solve an issue with KneeBoard updater?
Gr Falcas
What ? He didn’t pay and he want’s a working update?
Continuing the joke from the other thread… :rofl: