Build Your Own Arcade Controls Forum

Main => Software Forum => Topic started by: Zzap on May 12, 2013, 04:35:59 am

Title: CPWizard and other emulators
Post by: Zzap on May 12, 2013, 04:35:59 am
I have a 2 monitor set up where I have my control panel showing up on the second monitor which is working great for Mame games. I have tried setting up a profile for Daphne laserdisc games but am getting the following error in the logs when it tries to draw the layout (note I have made a copy of the Daphne exe for each laserdisc game to make the config super simple):
 
[4024] 4/05/2013 4:38:53 PM: OnProfileCheck (Profiles) -> Emulator Running hWnd: 0x3736164
[4024] 4/05/2013 4:38:53 PM: OnProfileCheck (Profiles) -> Window Rect: {X=0,Y=0,Width=800,Height=600}
[4024] 4/05/2013 4:38:53 PM: OnProfileCheck (Profiles) -> Command Line: spaceace.exe sae vldp -x 800 -y 600 -framefile F:\daphne\framefile\spaceace_framefile.txt -fullscreen -useoverlaysb 0 -bank 0 10011000 -bank 1 00000110 -nohwaccel
[4024] 4/05/2013 4:38:53 PM: OnProfileCheck (Profiles) -> GameName: Space Ace
[4024] 4/05/2013 4:38:53 PM: ShowSub (ProgramManager) -> Show
[4024] 4/05/2013 4:38:53 PM: ShowSub (ProgramManager) -> Emulator Running: Space Ace
[4024] 4/05/2013 4:38:53 PM: ShowSub (ProgramManager) -> Game Found: Space Ace
[4024] 4/05/2013 4:38:53 PM: ShowSub (ProgramManager) -> Reading Database
[4024] 4/05/2013 4:38:53 PM: ShowSub (ProgramManager) -> Parsing Labels
[4024] 4/05/2013 4:38:53 PM: ShowSub (ProgramManager) -> Getting Game Details
[4024] 4/05/2013 4:38:53 PM: TakeScreenshot (ProgramManager) -> Taking Screenshot
[4024] 4/05/2013 4:38:53 PM: ShowSub (ProgramManager) -> Showing LayoutSub Form
[4024] 4/05/2013 4:38:53 PM: ERROR @ Paint (LayoutManager)
[4024] 4/05/2013 4:38:53 PM: Object reference not set to an instance of an object.
[4024] 4/05/2013 4:38:53 PM:    at bf.a(Graphics A_0, Int32 A_1, Int32 A_2, Int32 A_3, Int32 A_4, Boolean A_5)
[4024] 4/05/2013 4:39:01 PM: OnProfileCheck (Profiles) -> Emulator Stopped
 
Has anyone else got CPWizard working ok with Daphne? At this stage I would be happy to just create a static layout per game even! :)
Title: Re: CPWizard and other emulators
Post by: Dawgz Rule on May 12, 2013, 05:49:07 am
I have it working without issue on a single monitor.  My recommendation would be to jump up on the spesoft forums and post your issue.  They provide excellent support and should be able to identify the root cause of your issue. 
Title: Re: CPWizard and other emulators
Post by: Zzap on May 26, 2013, 04:15:20 am
Just in case anyone has a similar issue, here's what my fix was (a bit of a hack, but it works!). Basically this way tricks CPWizard into thinking the Daphne games are actually Mame games and displays the info.


Hope that was useful for someone else, note that the Mininfo.xml file will be overwritten by CPWizard when it rebuilds its lists (I think this happens if you have the reload option ticked, or if you change the mame directory settings?) Either way, it's worth keeping a copy of the edited version just in case it breaks.