Jump to content
Due to a large amount of spamers, accounts will now have to be approved by the Admins so please be patient. ×
IGNORED

MAME ROM loads from MAME GUI but fails to load from command line


Recommended Posts

Hi,

 

Can someone please help me work out why a MAME ROM loads from MAME GUI but fails to load from command line. I've checked the mame.ini ROM directory and it appears fine.

 

So if I select Gyruss in the MAME64 window it loads and plays fine. When I try it from the command line like this:-

 

C:\Users\me\Downloads\MAME\mame64.exe gyruss

 

It starts to Initilise then fails, and I get the following missing files error:-

 

gyrussk.1 NOT FOUND (tried in gyruss gyruss)

gyrussk.2 NOT FOUND (tried in gyruss gyruss)

gyrussk.3 NOT FOUND (tried in gyruss gyruss)

gyrussk.9 NOT FOUND (tried in gyruss gyruss)

gyrussk.1a NOT FOUND (tried in gyruss gyruss)

gyrussk.2a NOT FOUND (tried in gyruss gyruss)

gyrussk.3a NOT FOUND (tried in gyruss gyruss)

gyrussk.6 NOT FOUND (tried in gyruss gyruss)

gyrussk.5 NOT FOUND (tried in gyruss gyruss)

gyrussk.8 NOT FOUND (tried in gyruss gyruss)

gyrussk.7 NOT FOUND (tried in gyruss gyruss)

gyrussk.4 NOT FOUND (tried in gyruss gyruss)

gyrussk.pr3 NOT FOUND (tried in gyruss gyruss)

gyrussk.pr1 NOT FOUND (tried in gyruss gyruss)

gyrussk.pr2 NOT FOUND (tried in gyruss gyruss)

Fatal error: Required files are missing, the machine cannot be run.

 

It would seem the problem is missing files :), but does it play fine from within mame64.exe using the same ROM?

 

Cheers,

 

Markus

Link to comment
Share on other sites

  • Administrators

Pretty sure you need to supply the rom path in your command. It can't find it else. Mame relies on ini file settings and then files in the appropriate paths which can also be defined in the ini. From memory if the ini file has coorect values then it should work, if not use something like below ensuring YOUR paths are correct.

 

EG:

 

"C:\MAME\mame64.exe" -inipath c:\MAME\ "C:\MAME\ROMS\169ROMs\sf2.zip"

 

Also its bad form to be running any of this from your User folder.

 

Brad

Link to comment
Share on other sites

it's not the way I'd have it set up but try

 

in command

 

cd/

cd \foldername

then mame64\gyruss.7zip or zip

 

- - - Updated - - -

 

disregard my previous post, I don't know how you have things set up so I'd rather not guess.

Link to comment
Share on other sites

Thanks creech77, your solution actually worked, when I went into the Mame folder and ran from in there, it worked. Which got me thinking there must be a number of files it expects to be present when a ROM is run, but it only looks in the folder where you run from.

 

Following on from that and my issue in Attract Mode, I fixed it by adding the Mame directory path as the "Working directory" in the Mame / Emulator setting in Attract Mode, instead of the Attract Mode directory path that was there by default (I wasn't sure what Attract Mode was using that path for so I left it).

 

After changing that, all worked fine :).

Link to comment
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...