Jump to content
LaunchBox Community Forums

mame.exe can't find files in roms but they are there


3dlollo

Recommended Posts

I am facing a weird issue; running mameui, works with zip files, but if I run mame.exe in launchbox, the game won't run

I tried to run mame64.exe on its own and it runs fine; but if I open a zip file with it, I get an error message in console that say that the archive does not contain the right files. I checked the zip file and it contains all the files that mame64.exe say that they are missing.

And yes, I used absolute paths and the console on windows is running with admin privileges.

Why do I get this behavior from mame64.exe? I am running games with different versions of Mame, so I need different executables and can't use retroarch only; which is why I am stuck trying to figure out what is going on here.

Link to comment
Share on other sites

I think I fixed it, thanks for pointing out the ini file!

This is what is going on: if I run

C:\0136\mame64.exe C:\0136\MYROM.zip

it fail, but if I run

C:\0136\mame64.exe -rompath 'C:\0136\roms' MYROM.ZIP

then it works. So clearly it is a path issue; even if you pass the absolute path of a rom

I solved this by copying the ini file from the folder inside the location where the exe file is, and just added `roms` in the rom path. This default to the rom folder where the exe is, so I can just have all the roms in the local folder, and that won't affect anything if I move the mame folder

 

Link to comment
Share on other sites

You can always just put your roms in the \roms sub folder of your Mame support if you wish and Mame should work perfectly fine out of the box though I am not certain of that when it comes to the mame.ini being in the \ini sub folder. If your roms are elsewhere you always need to tell Mame where they are for it to work, that is just how Mame works.

12 minutes ago, 3dlollo said:

BTW is there a plan for launchbox to add logging for such things? That would help

There is not.

As always we recommend getting games working in the emulator outside of Launchbox first, it makes it much easier to troubleshot from there.

Link to comment
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Unfortunately, your content contains terms that we do not allow. Please edit your content to remove the highlighted words below.
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...