[Patch] Gamelist and parser

Technical discussion for those interested in Supermodel development and Model 3 reverse engineering. Prospective contributors welcome.
Forum rules
Keep it classy!

  • No ROM requests or links.
  • Do not ask to be a play tester.
  • Do not ask about release dates.
  • No drama!

[Patch] Gamelist and parser

Postby HarryTuttle » Tue Apr 04, 2017 7:07 am

Quick patch against r573. It's an improved version of this: http://www.supermodel3.com/Forum/viewtopic.php?f=7&t=1355#p12027

I've added a "model3" root node and updated the xml parser in <GameLoader.cpp> accordingly.
Attachments
diff.zip
(34.36 KiB) Downloaded 362 times
User avatar
HarryTuttle
 
Posts: 646
Joined: Thu Mar 09, 2017 8:57 am

Re: [Patch] Gamelist and parser

Postby CiroConsentino » Wed May 24, 2017 6:15 pm

Thank you. Is this the final version of the file ?
CiroConsentino
 
Posts: 20
Joined: Sun Sep 25, 2011 4:50 am
Location: Brazil

Re: [Patch] Gamelist and parser

Postby Bart » Sat May 27, 2017 10:35 am

I don't expect what's in the latest SVN to change much from this point forward. There's a small possibility I may need to add more information to the ROM sets. However, I think for auditing purposes, the information here is sufficient?
User avatar
Bart
Site Admin
 
Posts: 3086
Joined: Thu Sep 01, 2011 2:13 pm
Location: Reno, Nevada

Re: [Patch] Gamelist and parser

Postby CiroConsentino » Tue May 30, 2017 1:48 pm

yes, it's enough.

One last question: on child games, only the changed ROMs are listed... all ROMs listed in the parent set are required by the clones ?
In MAME, some clones require only a few ROMs from parent set (other ROMs are ignored).
CiroConsentino
 
Posts: 20
Joined: Sun Sep 25, 2011 4:50 am
Location: Brazil

Re: [Patch] Gamelist and parser

Postby Bart » Tue May 30, 2017 2:28 pm

I don't think I have a way of doing that in my scheme. I believe it just loads all parent ROMs.
User avatar
Bart
Site Admin
 
Posts: 3086
Joined: Thu Sep 01, 2011 2:13 pm
Location: Reno, Nevada

Re: [Patch] Gamelist and parser

Postby HarryTuttle » Wed Oct 04, 2017 12:07 pm

Update for r667. Sync gamelist with MAME:

- Added support for Dirt Devils (Japan, Revision A)
- Rename "Star Wars Trilogy" to "Star Wars Trilogy Arcade"
Attachments
diff.zip
(2.01 KiB) Downloaded 295 times
User avatar
HarryTuttle
 
Posts: 646
Joined: Thu Mar 09, 2017 8:57 am

Re: [Patch] Gamelist and parser

Postby Bart » Wed Oct 04, 2017 7:18 pm

Thanks, Harry! I've merged this one in.
User avatar
Bart
Site Admin
 
Posts: 3086
Joined: Thu Sep 01, 2011 2:13 pm
Location: Reno, Nevada

Re: [Patch] Gamelist and parser

Postby HarryTuttle » Fri Jul 06, 2018 7:46 pm

For the series: better late than never, I'm resuming this post because when I updated <Games.xml> to be in line with MAME I forgot to update accordingly the referenced game names in the other emulator's project files.

The result is that in <Model3.cpp> Scud Race (First version) got the wrong PCIBridge model set and stopped working since then.

To fix this just change "scudp1" to "scudplusa" @ line 3103 of the file, like this:

Code: Select all
    if (game.name == "scudplusa")
      PCIBridge.SetModel(0x106);      // some Step 1.x games use MPC106
    else
      PCIBridge.SetModel(0x105);      // MPC105

Happy driving :)
Last edited by HarryTuttle on Sun Jul 08, 2018 9:31 am, edited 1 time in total.
User avatar
HarryTuttle
 
Posts: 646
Joined: Thu Mar 09, 2017 8:57 am

Re: [Patch] Gamelist and parser

Postby HarryTuttle » Sat Jul 07, 2018 4:44 am

...and for the very same reason bassdx had to be added as well to the execptions list at line 3113. So it should like this:

Code: Select all
    if (game.name == "bass" || game.name == "bassdx" || game.name == "getbass")
      PCIBridge.SetModel(0x106);      // some Step 1.x games use MPC106
    else
      PCIBridge.SetModel(0x105);      // MPC105

However while the game boots (and you can access the test menu) it throws out an IO error like getbass and will not go past that. they have the same arcade controller type.
User avatar
HarryTuttle
 
Posts: 646
Joined: Thu Mar 09, 2017 8:57 am

Re: [Patch] Gamelist and parser

Postby Ian » Mon Jul 09, 2018 1:30 am

is this one included in the last patch?
Ian
 
Posts: 2044
Joined: Tue Feb 23, 2016 9:23 am

Next

Return to The Dark Room

Who is online

Users browsing this forum: No registered users and 1 guest