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: How do I run 2 roms with the same name in the one mame list  (Read 2706 times)

0 Members and 1 Guest are viewing this topic.

sega_mad

  • Trade Count: (0)
  • Full Member
  • ***
  • Offline Offline
  • Posts: 284
  • Last login:July 09, 2015, 04:03:08 am
How do I run 2 roms with the same name in the one mame list
« on: January 20, 2011, 06:49:56 pm »
Hi,

I have just done the Donkey Kong Foundry hack. (which went very well).

What I want to do is run both the original version, and the hacked version on my Mame machine. The problem is that they both have the same rom name.

I've tried renaming the rom, but that doesn't work.  ???

Any thoughts,

Thanks
« Last Edit: January 20, 2011, 11:43:21 pm by sega_mad »

WhereEaglesDare

  • Trade Count: (+4)
  • Full Member
  • ***
  • Offline Offline
  • Posts: 1536
  • Last login:March 24, 2014, 08:47:08 pm
  • Shut Off All The Compactors on the Detention Level
    • My HomePage
Re: How do I run 2 roms with the same name in the one mame list
« Reply #1 on: January 20, 2011, 06:55:13 pm »
I believe that it has be changed in the rom files, not just the file name, and it also needs to be added in the MAME.exe so it will listed.

sega_mad

  • Trade Count: (0)
  • Full Member
  • ***
  • Offline Offline
  • Posts: 284
  • Last login:July 09, 2015, 04:03:08 am
Re: How do I run 2 roms with the same name in the one mame list
« Reply #2 on: January 20, 2011, 06:57:25 pm »
Thanks for the quick answer, but sorry I don't understand, are you able to spell it out nice and "simple" for me.

Thanks

Lilwolf

  • Trade Count: (+1)
  • Full Member
  • ***
  • Offline Offline
  • Posts: 4945
  • Last login:July 31, 2022, 10:26:34 pm
Re: How do I run 2 roms with the same name in the one mame list
« Reply #3 on: January 28, 2011, 08:11:57 pm »
I don't know about the hack... but... all other clones have different names (not the file name in the zip, but the zip)

are you using the windows version or the command line?  If the command line, try misspelling the name, and it will show you all the closest roms by name. 

sega_mad

  • Trade Count: (0)
  • Full Member
  • ***
  • Offline Offline
  • Posts: 284
  • Last login:July 09, 2015, 04:03:08 am
Re: How do I run 2 roms with the same name in the one mame list
« Reply #4 on: January 31, 2011, 06:24:35 pm »
Hi. Have tried misspelling it, and then rename it (ie dkongo), but then all it does is play the dkongo version, even though it's the hacked file???? :(

nitz

  • Trade Count: (+2)
  • Full Member
  • ***
  • Offline Offline
  • Posts: 507
  • Last login:November 24, 2015, 07:57:29 pm
Re: How do I run 2 roms with the same name in the one mame list
« Reply #5 on: January 31, 2011, 08:57:43 pm »
I'm sure there is a way to do this using batch files and such, but probably the easiest way is to just get MisfitMame and play it in that - IIRC MisfitMame supports that game.

Edit: Come to think of it, you'd probably still need to change the mame.xml and use a batch file if you wanted it to show up in the same list as mame games. I could try to walk you through making a batch file if you like.
« Last Edit: January 31, 2011, 08:59:41 pm by nitz »

sega_mad

  • Trade Count: (0)
  • Full Member
  • ***
  • Offline Offline
  • Posts: 284
  • Last login:July 09, 2015, 04:03:08 am
Re: How do I run 2 roms with the same name in the one mame list
« Reply #6 on: January 31, 2011, 10:12:52 pm »
Thanks for the reply. Already running a batch file, as I'm running 2 versions of Mame. Just need to add a 3rd
version. Just can't work out how to set up the Mame.cmd file.

Any help would be much appreciated.

Thenasty

  • Trade Count: (+17)
  • Full Member
  • ***
  • Offline Offline
  • Posts: 4419
  • Last login:Yesterday at 10:11:32 pm
    • Thenasty's Arcademania Horizontal/Vertical monitor setup.
Re: How do I run 2 roms with the same name in the one mame list
« Reply #7 on: January 31, 2011, 11:22:13 pm »
since running it a batch file...

why not just rename/copy over the file and just use one version?

have all 3 gameroms in a diff folder (game1.zip, game2.zip, game3.zip)

when you select GAME.ZIP (and it needs to be game2) copy game2.zip GAME.ZIP to the ROM PATH.

gee, hope I made sense (cause I do it myself with some games)


Thenasty's Arcademania Horizontal/Vertical setup.
http://forum.arcadecontrols.com/index.php?topic=26696.0

Free VGA Breakout Cable
http://forum.arcadecontrols.com/index.php?topic=38228.0

Ultimate All in One Coin Mech write up (Make your own)
http://forum.arcadecontrols.com/index.php?topic=19200.0

sega_mad

  • Trade Count: (0)
  • Full Member
  • ***
  • Offline Offline
  • Posts: 284
  • Last login:July 09, 2015, 04:03:08 am
Re: How do I run 2 roms with the same name in the one mame list
« Reply #8 on: February 01, 2011, 01:03:32 am »
Sorry. You lost me on that explanation  ???

nitz

  • Trade Count: (+2)
  • Full Member
  • ***
  • Offline Offline
  • Posts: 507
  • Last login:November 24, 2015, 07:57:29 pm
Re: How do I run 2 roms with the same name in the one mame list
« Reply #9 on: February 01, 2011, 07:05:48 pm »
I'm sure what thenasty is suggesting would work, but I'm not sure how to change the rompath on the fly like that off the top of my head. Here is what I would do:

1) Create a file called dkongpatched.zip (or whatever you like as long as it's a zip file), and then drop that in your roms directory.

2) Edit the mame.xml file so that the rom dkongpatched.zip will show up in the list as Donkey Kong Foundry. Basically you could just tack the following onto the end of the xml file:

Code: [Select]
<game name="dkongpatched">
                                  <description>Donkey Kong Foundry</description>
                                  <year>1981</year>
                                  <manufacturer>Nintendo</manufacturer>
                                  <driver status="good" emulation="good"/>
</game>

You'll likely have to refresh the gamelist in your front end to get it to show up in your list.

3) Copy everything out of your mame folder, minus the roms folder, to another folder called (for example) mame2.

4) Create a folder called roms in mame2 and drop your patched dkong.zip in there.

5) Now, in your original mame folder, create a file called mame.cmd, and using notepad, put the following in it:

Code: [Select]
if "%1" == "dkongpatched" goto dkongpatched

mame.exe %1
exit

:dkongpatched
cd C:\emus\mame2
mame.exe dkong
exit

where C:\emus\mame2 is whatever the path is to your mame2 folder.

6) Point your frontend to mame.cmd instead of mame.exe.

This should work, I'm pretty certain it would work with MaLa which is what I use, but it should work with any frontend. If it doesn't, perhaps try changing %1 above to %2 or even %3 - it all depends what the frontend normally tried to pass to mame I guess.

If you try this, let me know if it works for you! :cheers:


Edit: Changed step 1 as I realized part of it was not really necessary.
« Last Edit: February 01, 2011, 07:12:45 pm by nitz »

sega_mad

  • Trade Count: (0)
  • Full Member
  • ***
  • Offline Offline
  • Posts: 284
  • Last login:July 09, 2015, 04:03:08 am
Re: How do I run 2 roms with the same name in the one mame list
« Reply #10 on: February 04, 2011, 06:32:25 pm »
Ok, here's what I've done....and I've screwed it up!!

I used to run MAME 102 and 114, now I'm upgrading to 141, and still using 114 for some games (Donkey Kong Jr because the jump sounds are wrong in 141).

All I did was copy the 114 data over the 102 data, and then installed MAME 141 where 114 was, then edited the MAME command file to reflect the file name change. See screen shots.......please help...it's driving me nuts

Thanks

sega_mad

  • Trade Count: (0)
  • Full Member
  • ***
  • Offline Offline
  • Posts: 284
  • Last login:July 09, 2015, 04:03:08 am
Re: How do I run 2 roms with the same name in the one mame list
« Reply #11 on: February 04, 2011, 06:58:11 pm »
Solved!!

Even though the rom path was c:\emulators\other_emus\mame114

I also needed to have the roms in the MAME folder!!

 :) :) :)

Gray_Area

  • -Banned-
  • Trade Count: (+1)
  • Full Member
  • ***
  • Offline Offline
  • Posts: 3363
  • Last login:June 23, 2013, 06:52:30 pm
  • -Banned-
Re: How do I run 2 roms with the same name in the one mame list
« Reply #12 on: February 04, 2011, 08:21:17 pm »
I'm glad I skipped down to the bottom.....
-Banned-