Main Restorations Software Audio/Jukebox/MP3 Everything Else Buy/Sell/Trade
Project Announcements Monitor/Video GroovyMAME Merit/JVL Touchscreen Meet Up Retail Vendors
Driving & Racing Woodworking Software Support Forums Consoles Project Arcade Reviews
Automated Projects Artwork Frontend Support Forums Pinball Forum Discussion Old Boards
Raspberry Pi & Dev Board controls.dat Linux Miscellaneous Arcade Wiki Discussion Old Archives
Lightguns Arcade1Up Try the site in https mode Site News

Unread posts | New Replies | Recent posts | Rules | Chatroom | Wiki | File Repository | RSS | Submit news

  

Author Topic: CpWizard adding controls not in controls.xml  (Read 2027 times)

0 Members and 1 Guest are viewing this topic.

epetti

  • Trade Count: (0)
  • Full Member
  • ***
  • Offline Offline
  • Posts: 344
  • Last login:September 14, 2023, 10:15:20 pm
  • I want to build my own arcade controls!
CpWizard adding controls not in controls.xml
« on: May 20, 2013, 12:17:04 am »
I've been working through getting CPWizard setup.  I'm happy with the display of all but about 12 games.  These games did not have listings in controls.xml.  So I edited the xml to add listings for each of them.  This didn't update, but I noticed when I deleted the MiniInfo.xml and closed and restarted the MiniInfo.xml was rebuilt and changes were applied.  But, for about half the games that worked perfectly.  for the other half, no matter what I do I can't get the settings I stuck into controls.xml to stick.  Any help would be greatly appreciated, or if there's a better way to be doing this, that would be great too.

Just as an example, Raiden is a game that didn't have any controls, and I want pbobblen to have the controls of pbobble rather than the generic Neo Geo controls.

Thanks in advance.

Dawgz Rule

  • Trade Count: (+1)
  • Full Member
  • ***
  • Offline Offline
  • Posts: 737
  • Last login:August 22, 2024, 07:18:55 pm
  • The more people I meet, the more I like my dogs
Re: CpWizard adding controls not in controls.xml
« Reply #1 on: May 20, 2013, 06:05:57 am »
First, double check the spelling for each game.  If all is good, try this:

1.  Open CPWizard and go to the section that points to the file paths.  Delete the entry for mame.exe and save.
2.  Go back to the same section and point it back to the mame.exe and save again.

You should see a brief delay as CPWizard indexes everything again. 

To have pbobble show specific controls over the generic Neo Geo, simply create an entry for pbobble that is prior to the generic Neo Geo in your controls.xml.  CPWizard displays based on first match on the list.

Last, what are you using for a front end?  GameEx has a controls.ini file that may cause differences in what is displayed in GameEx and what is displayed in game.

epetti

  • Trade Count: (0)
  • Full Member
  • ***
  • Offline Offline
  • Posts: 344
  • Last login:September 14, 2023, 10:15:20 pm
  • I want to build my own arcade controls!
Re: CpWizard adding controls not in controls.xml
« Reply #2 on: May 20, 2013, 12:27:34 pm »
I've triple checked the spelling and tags and everything.  Pretty confident those are right.  And I'm guessing deleting MiniInfo.xml is equivalent to deleting the mame entry, but I'll give that another try.

Your order suggestion is great.  I'm hoping that maybe there's something unknown in the controls.xml that's causing the problem for the others and not just puzzle bobble.  Maybe they're getting overridden by some stub entry earlier.  I'll probably just stick all of my changed rom entries at the very top of the file and see what happens.

Dawgz Rule

  • Trade Count: (+1)
  • Full Member
  • ***
  • Offline Offline
  • Posts: 737
  • Last login:August 22, 2024, 07:18:55 pm
  • The more people I meet, the more I like my dogs
Re: CpWizard adding controls not in controls.xml
« Reply #3 on: May 20, 2013, 01:00:36 pm »
What are the symptoms you are seeing with the remaining games?  Is it that they aren't displaying anything or are they displaying a generic looking panel with number for labels instead of actual labels?  Also, please post the list of games that are still problematic.   That may stir some thoughts on my end as I recall  going through the same issues but over time I fixed each and every one of them.
« Last Edit: May 20, 2013, 01:02:22 pm by Dawgz Rule »

epetti

  • Trade Count: (0)
  • Full Member
  • ***
  • Offline Offline
  • Posts: 344
  • Last login:September 14, 2023, 10:15:20 pm
  • I want to build my own arcade controls!
Re: CpWizard adding controls not in controls.xml
« Reply #4 on: May 20, 2013, 02:20:10 pm »
They're displaying numbers for labels for almost all of them. I don't have the list with me, but off the top of my head it's:

Rainbow Islands (rbisland)
The New Zealand Story (tnzs)
Pipe Dream (pipedrm)
Welltris (welltris)
World Rally (wrally)
Puzzle Bobble (pbobblen) (shows generic Neo Geo)
Ninja Baseball Bat Man (nbbatman)

I may be missing one, but that's most of them.

Dawgz Rule

  • Trade Count: (+1)
  • Full Member
  • ***
  • Offline Offline
  • Posts: 737
  • Last login:August 22, 2024, 07:18:55 pm
  • The more people I meet, the more I like my dogs
Re: CpWizard adding controls not in controls.xml
« Reply #5 on: May 20, 2013, 03:51:39 pm »
Yep, that sounds familiar.    The correct CP is displaying though, correct?  Front end?

I don't know if refreshing the mininfo.xml is the same as forcing the refresh as I described earlier so I would definitely give the latter a try.  My experience with the numbers appearing is that it doesn't like something in your entries for those particular games.  What I did with missing games was to find a similar game (same joystick and buttons) and simply copy and paste an existing (working game) back into the xml file.  From there, I just changed the ROM name, game name, and button names.  This eliminated any potential typo errors unless you type the rom name incorrectly.  Similar to what I mentioned about pbobble, you can also move the new entry to the top of the list as this will also help isolate the issue. 

epetti

  • Trade Count: (0)
  • Full Member
  • ***
  • Offline Offline
  • Posts: 344
  • Last login:September 14, 2023, 10:15:20 pm
  • I want to build my own arcade controls!
Re: CpWizard adding controls not in controls.xml
« Reply #6 on: May 20, 2013, 04:19:43 pm »
Yes, it's the correct CP but just with the wrong labels.  I am running it standalone right now, so no frontend issues.  I will be using Hyperspin, but even then I intend to export bezels and use the custom MAME build so it should still be completely frontend independent.

If it doesn't like something in the xml does it give an error in a log file anywhere that I could use to debug?  Regardless, I'll try your suggestions tonight.  Thanks.

epetti

  • Trade Count: (0)
  • Full Member
  • ***
  • Offline Offline
  • Posts: 344
  • Last login:September 14, 2023, 10:15:20 pm
  • I want to build my own arcade controls!
Re: CpWizard adding controls not in controls.xml
« Reply #7 on: May 21, 2013, 12:52:01 am »
Moved all my changes to the top, found one missing ", one missing /, and re-built the MAME path, and it's all working now!  Thanks.  That was a pain.

Now if anyone has the answers to my bezel export question that I posted yesterday I'll be all set...  :)

Dawgz Rule

  • Trade Count: (+1)
  • Full Member
  • ***
  • Offline Offline
  • Posts: 737
  • Last login:August 22, 2024, 07:18:55 pm
  • The more people I meet, the more I like my dogs
Re: CpWizard adding controls not in controls.xml
« Reply #8 on: May 21, 2013, 07:59:31 am »
Glad everything came together.  Don't know about the log file.  My list is in alphabetical order and what I have found is that when something is askew, every game listed past the error displays numbers instead of the correct labels.  So, it is a matter of working through the list to find the last game that displayed correctly.