Attract-Mode Support Forum

Attract-Mode Support => General => Topic started by: dbinott on June 17, 2016, 02:33:47 PM

Title: Rom won't run if roms in different folder?
Post by: dbinott on June 17, 2016, 02:33:47 PM
Can I not put mame on C: and ROMs in D:? If not, what is the point of the ROM path option?
Title: Re: Rom won't run if roms in different folder?
Post by: progets on June 17, 2016, 03:09:57 PM
This should work fine. Do you have MAME working properly without AttractMode? Post the contents of your mame.cfg file in /Attract/Emulators/ so we can help you further.
Title: Re: Rom won't run if roms in different folder?
Post by: dbinott on June 17, 2016, 03:16:10 PM
I put everything in D: right now, but it wasn't even working via CMD line. I was in c:\mame and did mame d:\roms\galaga tried d:/roms/galaga d:\roms\galaga.zip

this is what I have now
Code: [Select]
# Generated by Attract-Mode v2.1.0
#
executable           d:\mame\mame
args                 [name]
romext               .zip;.7z;<DIR>
system               Arcade
info_source          listxml
artwork    flyer           d:\flyers\
artwork    marquee         d:\marquees
artwork    snap            c:\VideoSnaps;D:\snap
artwork    wheel           c:\attractmode\layouts\robospin\wheel

Title: Re: Rom won't run if roms in different folder?
Post by: omegaman on June 17, 2016, 03:27:08 PM
You don't have a rom path in your config.  :)

Place it under the args line.

rompath      C:\Emulators\mame\roms
Title: Re: Rom won't run if roms in different folder?
Post by: progets on June 17, 2016, 03:54:35 PM
Like Omegaman mentions you're missing the rom path and I'm not sure about your "args" either. Try something like this:

executable           C:\mame\mame.exe
args                 /[romfilename]
rompath              D:\Roms\MAME
romext               .zip;.7z
system               Arcade
info_source          listxml
artwork    flyer           d:\flyers\
artwork    marquee         d:\marquees
artwork    snap            c:\VideoSnaps;D:\snap
artwork    wheel           c:\attractmode\layouts\robospin\wheel
Title: Re: Rom won't run if roms in different folder?
Post by: dbinott on June 17, 2016, 08:49:48 PM
I did have the rompath in there. tried 3 or 4 different paths. It's not in there now cause I have mame roms in mame default dir structure. It's all working fine right now. I can put it back the way it was when it was not working to try and sort it out.
Title: Re: Rom won't run if roms in different folder?
Post by: akafox on June 18, 2016, 11:38:56 AM
Yes you need a rom path in the AM set up...however if you are taking about mame you have to set mame up first. That is in the mame.ini you need to tell mame where the roms are. The reason it works when you put the roms in the "default" directory is because mame is looking there by default:

#
# CORE CONFIGURATION OPTIONS
#
readconfig                1
writeconfig               0

#
# CORE SEARCH PATH OPTIONS
#
rompath                   $HOME/.mame/roms;/usr/local/share/games/mame/roms;/usr/share/games/mame/roms <-this line here
hashpath                  /usr/share/games/mess/hash
samplepath                $HOME/.mame/samples;/usr/local/share/games/mame/samples;/usr/share/games/mame/samples
artpath                   $HOME/mame/artwork;/usr/local/share/games/mame/artwork;/usr/share/games/mame/artwork
---------------------- cut ------------------------------------

make it reflect your path then save it. (if you don't have a mame.ini you can create one by typing mame -cc at a command prompt)

from there you'll need to change your rom path in AM of course.

you can read this as well if you need more info...

http://forum.attractmode.org/index.php?topic=320.msg2280#msg2280 (http://forum.attractmode.org/index.php?topic=320.msg2280#msg2280)

have any other trouble let us know
Title: Re: Rom won't run if roms in different folder?
Post by: dbinott on June 18, 2016, 11:49:58 AM
Ya, the reason it was working is because it was guessing the rom name and it was correct. I have updated it.