Main > Software Forum
How to add a different ROM into MAME (and keep the original)
(1/2) > >>
jimmer:

Lets say I have a Defender Pink label rom. It runs on exactly the same hardware as the Red label ROM.

I know how to add it into williams.c so that it replaces the RED label ROM, by giving it the same name and changing the CRD SHA1 codes.

But how do I add it as an additional ROM  ?

I added in williams.c:
ROM_START( defenderp ) ...... definition ....
and a line at the bottom
GAME( 1980, defenderp,  defender, defender,    ......

But it didn't appear in my game list.   So what additional source files do I need to modify ?




 
jimmer:


And to answer my own question:

there is just 1 more file to alter;  obj/windows64/mame/mame/drivlist.c

add the new ROM name in 2 positions
and either delete an existing ROM or change the ROM count at the bottom of the file (not tried)
Haze:
technically you should be editing mame.lst, the file you're editing is generated during the compile.
Howard_Casto:
Weren't you guys going to add something that allowed you to do this without re-compile?
Haze:
only for removable media, ie the softlist stuff in the MESS part.

plus various mamedevs don't want that part of the functionality used in MAME anyway.
Navigation
Message Index
Next page

Go to full version