The NEW Build Your Own Arcade Controls

Main => Software Forum => Topic started by: lemonflavoured on November 30, 2013, 12:37:04 pm

Title: CPWizard strangeness!
Post by: lemonflavoured on November 30, 2013, 12:37:04 pm
Hi all, i'm having some trouble with CPWizard and wondered if anyone could shed some light on it. Basically, CPWizard "works" in the sense that it shows when it should show, closes when it should etc. Everything seems to work normal except for the control panel generator. No matter what i do it will not show the game controls on the CP preview. I've tried it with a fresh install of MAME etc but to no avail.

When i preview a game, various parts of the game info are filled in but just never the controls. (http://imgur.com/MQUTDje (http://imgur.com/MQUTDje))

All games show up the same. All my mame controls are default and i've not edited the default CPWizard layout. There are some weird errors in the CPwizard log file but i'm not sure if these are normal or the root of my problems.

http://pastebin.com/QPEeFQxH (http://pastebin.com/QPEeFQxH)

Any help would be appreciated!
Title: Re: CPWizard strangeness!
Post by: lemonflavoured on December 01, 2013, 07:37:28 am
I've fixed it in a sense, CPWizard takes the MAME XML data and creates a listinfo.xml file with it. However, it seems to have a compatibility issue with mame 0.151. I installed 0.147 and everything works perfectly.
Title: Re: CPWizard strangeness!
Post by: headkaze on December 02, 2013, 01:47:55 am
Actually I updated CPWizard the other day to support the newer input codes in MAME (although too lazy to update the website). So if you download the latest and install it, then point it to the latest MAME, it should work.
Title: Re: CPWizard strangeness!
Post by: lemonflavoured on December 02, 2013, 05:02:05 am
According to CPwizard i'm running 2.40 which seems to support up to mame 0.150 but not 0.151. Is this the latest version or is there another kicking about somewhere?
Title: Re: CPWizard strangeness!
Post by: headkaze on December 02, 2013, 07:23:24 am
Like I said I was too lazy to update the website (and version) so just download the latest. It should work with the latest version of MAME.
Title: Re: CPWizard strangeness!
Post by: lemonflavoured on December 02, 2013, 07:54:21 am
I've downloaded it fresh this morning, i get you about the website not being updated (it reports version 2.38) but the actual version installed is 2.40. 2.40 worked perfectly fine with mame 0.150 but they must have changed something in .151 as it stops working. The error i get in the cpwizard.txt file is:

[4392] 02/12/2013 12:51:46: ERROR @ MapMameInputToLabels (LayoutManager)
[4392] 02/12/2013 12:51:46: Object reference not set to an instance of an object.
[4392] 02/12/2013 12:51:46:    at CPWizard.LayoutManager.MapMameInputToLabels(Layout& layout, List`1& layoutArray, Boolean layoutOverride, Boolean attemptReload, Boolean sub)
Title: Re: CPWizard strangeness!
Post by: headkaze on December 02, 2013, 09:02:20 am
Can you try deleting MiniInfo.xml and GameInfo.xml in the CPWizard Data folder then re-launch CPWizard.
Title: Re: CPWizard strangeness!
Post by: lemonflavoured on December 02, 2013, 09:07:39 am
Done that, still does the same :( have reinstalled several times to different locations and also have tried on an alternative pc and still get the same result :(
Title: Re: CPWizard strangeness!
Post by: headkaze on December 02, 2013, 12:47:51 pm
The Mame developers have introduced some xml in MAME 0.150 that breaks my parsing again ::)

Anyway I have updated and uploaded CPWizard v2.40 again with a fix. So please download, give it a try and let me know.
Title: Re: CPWizard strangeness!
Post by: lemonflavoured on December 02, 2013, 01:23:47 pm
You've done it! works perfectly now, thanks a lot!