collapse

* Who's Online

  • Dot Guests: 19
  • Dot Hidden: 0
  • Dot Users: 2
  • Dot Users Online:

* Recent Topics/Posts

Mag switches with DCS by Red Dog
[Today at 02:53:05 AM]


USAeroSim DCS F16c CDU Software by snakedoc
[May 10, 2024, 09:10:22 AM]


I am a newbie who took off from Japan sir by questerymj
[May 09, 2024, 09:12:07 AM]


Hello from Canada by RonD
[May 05, 2024, 04:00:22 PM]

Author Topic: CPD Software  (Read 5097 times)

Offline Rocky

  • -=VP Veteran Donor=-
  • Maj. General
  • *
  • Join Date: Apr 2009
  • Location: Utah
  • Posts: 315
  • Country: us
  • VP Awards Old Geezer Award: Awarded after 10 years of community service
    • Awards
Re: CPD Software
« Reply #15 on: June 27, 2023, 07:47:37 PM »
Thank you kindly for responding to my issue. BMS shared memory viewer shows nothing in the String Data values. I did not have a KeyFile loaded before. It went to the default BMS auto KeyFile. Uninstalled CPD Software and reinstalled after KeyFile change. I am running CPD software as Admin. This is the new log information. I noticed this line has two periods.   at System.IO.FileInfo..ctor(String fileName)

 2023-06-27 17:31:46,331 [1] ERROR F16CPD.F16CpdEngine : Illegal characters in path.
 2023-06-27 17:31:46,331         [1] ERROR F16CPD.F16CpdEngine : System.ArgumentException: Illegal characters in path.
   at System.Security.Permissions.FileIOPermission.EmulateFileIOPermissionChecks(String fullPath)
   at System.Security.Permissions.FileIOPermission.QuickDemand(FileIOPermissionAccess access, String fullPath, Boolean checkForDuplicates, Boolean needFullPath)
   at System.IO.FileInfo.Init(String fileName, Boolean checkHost)
   at System.IO.FileInfo..ctor(String fileName)
   at F4Utils.Process.KeyFileUtils.GetCurrentKeyFile()
   at F16CPD.SimSupport.Falcon4.Falcon4Support.LoadCurrentKeyFile()
   at F16CPD.SimSupport.Falcon4.Falcon4Support.UpdateManagerFlightData()
   at F16CPD.F16CpdEngine.Render()

Offline lightning

  • -=VP Donor=-
  • General
  • *
  • Join Date: Mar 2007
  • Location:
  • Posts: 2269
  • Country: 00
  • VP Awards Old Geezer Award: Awarded after 10 years of community service Software Guru Award: Awarded to those with special software skills Top Poster Award: for those 30 members with most posts Most Time Online Award: Awarded to those 30 members with most time on the forum 2000+ posts Award: Awarded for achieving over 2000 posts
    • Lightning's Tools GitHub repository
    • Awards
Re: CPD Software
« Reply #16 on: June 27, 2023, 10:47:16 PM »
Thank you kindly for responding to my issue. BMS shared memory viewer shows nothing in the String Data values. I did not have a KeyFile loaded before. It went to the default BMS auto KeyFile. Uninstalled CPD Software and reinstalled after KeyFile change. I am running CPD software as Admin. This is the new log information. I noticed this line has two periods.   at System.IO.FileInfo..ctor(String fileName)

 2023-06-27 17:31:46,331 [1] ERROR F16CPD.F16CpdEngine : Illegal characters in path.
 2023-06-27 17:31:46,331         [1] ERROR F16CPD.F16CpdEngine : System.ArgumentException: Illegal characters in path.
   at System.Security.Permissions.FileIOPermission.EmulateFileIOPermissionChecks(String fullPath)
   at System.Security.Permissions.FileIOPermission.QuickDemand(FileIOPermissionAccess access, String fullPath, Boolean checkForDuplicates, Boolean needFullPath)
   at System.IO.FileInfo.Init(String fileName, Boolean checkHost)
   at System.IO.FileInfo..ctor(String fileName)
   at F4Utils.Process.KeyFileUtils.GetCurrentKeyFile()
   at F16CPD.SimSupport.Falcon4.Falcon4Support.LoadCurrentKeyFile()
   at F16CPD.SimSupport.Falcon4.Falcon4Support.UpdateManagerFlightData()
   at F16CPD.F16CpdEngine.Render()

Looks like BMS sharedmem may have crap values. Let me see what I can find out. The two periods in method names for class constructors in logged stack traces has nothing to do with it, that’s by convention.

Offline lightning

  • -=VP Donor=-
  • General
  • *
  • Join Date: Mar 2007
  • Location:
  • Posts: 2269
  • Country: 00
  • VP Awards Old Geezer Award: Awarded after 10 years of community service Software Guru Award: Awarded to those with special software skills Top Poster Award: for those 30 members with most posts Most Time Online Award: Awarded to those 30 members with most time on the forum 2000+ posts Award: Awarded for achieving over 2000 posts
    • Lightning's Tools GitHub repository
    • Awards
Re: CPD Software
« Reply #17 on: June 27, 2023, 10:48:16 PM »
Try assigning or saving an actual keyfile in BMS UI and see if that fixes your problem, meanwhile.

Offline Rocky

  • -=VP Veteran Donor=-
  • Maj. General
  • *
  • Join Date: Apr 2009
  • Location: Utah
  • Posts: 315
  • Country: us
  • VP Awards Old Geezer Award: Awarded after 10 years of community service
    • Awards
Re: CPD Software
« Reply #18 on: June 28, 2023, 11:55:57 AM »
It appears I have a KeyFile issue when I use the Alternative Launcher. No matter what KeyFile  I assign and save, it reverts back to auto.  I started BMS(4.37.2) with the application in the Bin/x64 folder. I was able to save Keyfile. Log appears to have liked to Keyfile fix, but is giving me a new issue. CPD now shows a static picture on main start screen. 

  [ You are not allowed to view attachments ]  

Offline jjbravo

  • General
  • ******
  • Join Date: Jan 2019
  • Location: California
  • Posts: 1326
  • Country: us
  • Callsign: Vino
  • VP Awards Veteran Award: Awarded after 5 years of community service Most Time Online Award: Awarded to those 30 members with most time on the forum Top Poster Award: for those 30 members with most posts 1000+ posts Award: Awarded for achieving over 1000 posts
    • Awards
Re: CPD Software
« Reply #19 on: June 28, 2023, 12:38:04 PM »
Have you checked that the file is actually there? C:\Falcon BMS 4.37\data\Terrdata\objects\FALCON4.CT

Also, did you run the program as administrator?

EDIT: Looks like the file is Falcon4_CT.xml
« Last Edit: June 28, 2023, 01:35:13 PM by jjbravo »

Offline lightning

  • -=VP Donor=-
  • General
  • *
  • Join Date: Mar 2007
  • Location:
  • Posts: 2269
  • Country: 00
  • VP Awards Old Geezer Award: Awarded after 10 years of community service Software Guru Award: Awarded to those with special software skills Top Poster Award: for those 30 members with most posts Most Time Online Award: Awarded to those 30 members with most time on the forum 2000+ posts Award: Awarded for achieving over 2000 posts
    • Lightning's Tools GitHub repository
    • Awards
Re: CPD Software
« Reply #20 on: June 28, 2023, 10:19:39 PM »
This is a breaking behavior change in BMS that breaks external tools by not including the old binary database files alongside the newer XMLs.

Offline lightning

  • -=VP Donor=-
  • General
  • *
  • Join Date: Mar 2007
  • Location:
  • Posts: 2269
  • Country: 00
  • VP Awards Old Geezer Award: Awarded after 10 years of community service Software Guru Award: Awarded to those with special software skills Top Poster Award: for those 30 members with most posts Most Time Online Award: Awarded to those 30 members with most time on the forum 2000+ posts Award: Awarded for achieving over 2000 posts
    • Lightning's Tools GitHub repository
    • Awards
Re: CPD Software
« Reply #21 on: June 29, 2023, 09:33:24 AM »
This latest issue comes from a chunk of code that dates back to around 2010 or so. Back then, the graphical shared mem dimensions were not available in BMS sharedmem, so I had to do a manual lookup in the 3dcockpit.dat file.  On modern sharedmem that is not necessary, and actually hasn't been necessary for a long time already, but since the old method still worked (until apparently not long ago), I never bothered to update the CPD software.    I'll put out a quick fix and then you can re-test.

Offline Rocky

  • -=VP Veteran Donor=-
  • Maj. General
  • *
  • Join Date: Apr 2009
  • Location: Utah
  • Posts: 315
  • Country: us
  • VP Awards Old Geezer Award: Awarded after 10 years of community service
    • Awards
Re: CPD Software
« Reply #22 on: June 29, 2023, 11:18:49 AM »
Thank you Sir, you're the best. :beer:

Offline lightning

  • -=VP Donor=-
  • General
  • *
  • Join Date: Mar 2007
  • Location:
  • Posts: 2269
  • Country: 00
  • VP Awards Old Geezer Award: Awarded after 10 years of community service Software Guru Award: Awarded to those with special software skills Top Poster Award: for those 30 members with most posts Most Time Online Award: Awarded to those 30 members with most time on the forum 2000+ posts Award: Awarded for achieving over 2000 posts
    • Lightning's Tools GitHub repository
    • Awards
Re: CPD Software
« Reply #23 on: June 29, 2023, 12:12:41 PM »
Actually Rocky I just checked, that's been fixed since 2019.  I just never actually released an update of CPD software in the past five years  :-[  Time for me to bake a new release based on current code and test that. 

commit 1a7c674cb900d30b77a619f491d86a77019fb58a
Author: lightningviper <>
Date:   Tue Aug 6 06:03:19 2019 -0700

    Multiple projects:
    -use StringData for determining various BMS paths
    -remove dependency on PlayerOpt scraping
    -remove dependency on ProcInfo scraping
    -use AGL and CaraAlow from new sharedmem
    -use RTT coordinates from sharedmem (not from config)

Offline raptor

  • General
  • ******
  • Join Date: Oct 2005
  • Location: Athens
  • Posts: 735
  • Country: gr
  • VP Awards Old Geezer Award: Awarded after 10 years of community service
    • 16th Ark Angels
    • Awards
Re: CPD Software
« Reply #24 on: June 29, 2023, 01:11:09 PM »
AMEN!

Offline Rocky

  • -=VP Veteran Donor=-
  • Maj. General
  • *
  • Join Date: Apr 2009
  • Location: Utah
  • Posts: 315
  • Country: us
  • VP Awards Old Geezer Award: Awarded after 10 years of community service
    • Awards
Re: CPD Software
« Reply #25 on: June 29, 2023, 10:19:38 PM »
So, you’ve been holding out on us?    :D
I know you are busy, so there is no rush.
Appreciate all you do for all of us.

Offline VanZeb

  • 2nd. LT
  • *
  • Join Date: Dec 2020
  • Location:
  • Posts: 19
  • Country: se
  • Brand new newbie!
  • VP Awards Triplet Award: Awarded after 3 years of community service
    • Awards
Re: CPD Software
« Reply #26 on: June 30, 2023, 04:03:51 AM »
Hi guys!

I got my hands on a nice metal CPD replica made by someone here in the forums a few years back. I don´t know how to hook this thing up. Are there any instructions for how to connect it, and is it for this guy the software discussion is about?

Best
Sebastian

Offline Rocky

  • -=VP Veteran Donor=-
  • Maj. General
  • *
  • Join Date: Apr 2009
  • Location: Utah
  • Posts: 315
  • Country: us
  • VP Awards Old Geezer Award: Awarded after 10 years of community service
    • Awards
Re: CPD Software
« Reply #27 on: June 30, 2023, 07:14:18 AM »
Congrats on your CPD. It's pretty sweet piece to add to your pit.
Yes, this is the software you will need if you are using BMS 4.37.
I have attached the CPD wiring for you and the 37 pin D-Sub Connector. Make sure you note that it requires a matrix board for of the momentary buttons.



 [ You are not allowed to view attachments ]  
  [ You are not allowed to view attachments ]  

Offline VanZeb

  • 2nd. LT
  • *
  • Join Date: Dec 2020
  • Location:
  • Posts: 19
  • Country: se
  • Brand new newbie!
  • VP Awards Triplet Award: Awarded after 3 years of community service
    • Awards
Re: CPD Software
« Reply #28 on: June 30, 2023, 11:34:52 AM »
Thank you!

Let's hope I get it... :-)

I'm supposed to use the board in the image right? I intend to hook it up to a Pokeys, could you help me out? Or someone else. Sorry, I took the wrong pill and am just not good at this Matrix stuff and the meaning of it...

/Seb

Offline jjbravo

  • General
  • ******
  • Join Date: Jan 2019
  • Location: California
  • Posts: 1326
  • Country: us
  • Callsign: Vino
  • VP Awards Veteran Award: Awarded after 5 years of community service Most Time Online Award: Awarded to those 30 members with most time on the forum Top Poster Award: for those 30 members with most posts 1000+ posts Award: Awarded for achieving over 1000 posts
    • Awards
Re: CPD Software
« Reply #29 on: June 30, 2023, 12:05:01 PM »
Thank you!

Let's hope I get it... :-)

I'm supposed to use the board in the image right? I intend to hook it up to a Pokeys, could you help me out? Or someone else. Sorry, I took the wrong pill and am just not good at this Matrix stuff and the meaning of it...

/Seb
I can help you with setting up the Pokeys matrix. It's pretty straight forward.
Just PM me with your email and we can get a computer session going when you are ready.

 

SimplePortal 2.3.5 © 2008-2012, SimplePortal