EMULAB Forum

Please login or register.

Login with username, password and session length
Advanced search  

News:

The new forum is online, hope you enjoy it!

Pages: [1]   Go Down

Author Topic: I've got a CLRMAME bug for you, Roman....  (Read 9574 times)

Rodimus

  • Member
  • *
  • Karma: 0
  • Offline Offline
  • Posts: 1
  • Operating System:
  • Linux Linux
  • Browser:
  • Chrome 119.0.0.0 Chrome 119.0.0.0
    • View Profile
I've got a CLRMAME bug for you, Roman....
« on: 02 December 2023, 17:36 »

I've been fighting this for like the last year, trying to figure out if it was my fault, the roms fault, etc...  but I'm certain I know what's going on now - so this is my attempt to explain it..

There is a game for the fm-towns and pc-98 called 'Pro Student G' - on the FM-TOWNS system, it had a secondary re-release with a slightly different disc.   
On the PC-98, *ONLY* the re-release was ever made available...

Mame relates the original release as the 'parent' and the re-release as the 'child' on FM-TOWNS....
However, since there is no original release on PC-98, the re-release is the 'parent'.   

clrMame seems to have a huge problem with this, considering they're both the same SHA/CRC.   So it SEEMS to be looking for a parent that doesn't exist, and gives errors about how the file is not right over and over.   Sometimes I can copy files around until it fools the system into going 'oh yeah', found it....  other times not.   

But my guess on what is going on here - the engine builds from the file up, and with the crc having different 'parents', it gets confused and looks for phantom files.   

Not sure if I can suggest a good fix...   I have considered writing a rom handler as well, but I was considering going 'top down' and building a list of needed files first, and then adding the file hashes to that list, and then building the zips that way.   It would reduce the number of times it scans a zip to once (which would be nice for when there are multiple sets in a single zip), but it probably would require a sqllite database or something to hold the relationships, as it may be such a large ram requirement, most people couldn't use it.  Not sure.   You've created one, so you would know better than I.   ;D 

Anyway, am willing to provide logs or whatever if needed. 

Rodimus
Logged


Roman

  • Global Moderator
  • Member
  • ***
  • Karma: 113
  • Offline Offline
  • Posts: 3292
  • Operating System:
  • Windows NT 10.0 Windows NT 10.0
  • Browser:
  • Chrome 119.0.0.0 Chrome 119.0.0.0
    • View Profile
Re: I've got a CLRMAME bug for you, Roman....
« Reply #1 on: 02 December 2023, 20:05 »

Maybe I simply don't understand what you mean but:

you can't have parent/clone relationships over different softwarelists.
in fmtowns_cd you have prostudgr which is a clone of prostudg within fmtowns_cd.

...and in pc98_cd you have prostudgr..they do both have the <disk name="pro student g (japan) (rerelease)" sha1="11bc5195ccaf557fe17a349eb8284c78e08e29ac" /> in common, but in general you need them twice. One time for pc98_cd and one time for fmtowns_cd. Since software lists need distinct rompaths, you shouldn't run into any issues. Of course it's recommended to use single profiles for each software lists and not that combined mode.
With the new scanner it will be a different story, but for cmpro you should use single profiles.
« Last Edit: 04 December 2023, 09:40 by Roman »
Logged
Pages: [1]   Go Up
 

Page created in 0.232 seconds with 20 queries.

anything
anything