For MameUI is it possible to set directories (rom, art, etc.) to relative directories so if I change drive letters (I: to E: for example) it'll still work?
So if I put mame on a portable hard drive all the directories will still work?
I don't know, something like ..\MameUI\Roms instead of C:\MameUI\Roms?
Posted Dec 8, 2018, 1:44 PM UTC · edited
Sure, you can edit mame.ini and ui.ini (in your root mame folder) with a text editor, and change the directories that way.
mame.ini has a lot of paths in it, for example the rompath and other data files, as well as snapshot directory.
ui.ini has all the supplemental artwork, like flyers, titles, icons.
The .ini file allows relative or explicit paths, and begins in the "current directory," ie your mame directory. So you just would put roms, as the rom folder. My rompath says
so it will look in 3 folders under the MAME folder. Use semicolon to separate paths; if the path has a space in it, surround it with quotes.
Should work.
Ok but what if I have my roms folder outside the MAME folder and I move my drive? Instead of C: it might be I: or Z: on a different day
Did you try the dot path in quotes?
I have no idea if that will work, it's just the only other idea I had; changing my setup around to test it would be difficult so it's easier for you to try it.
If that doesn't work you will probably have a lot fewer problems if you can move your ROM folder so your ROMs are under MAME... since that works with a relative path, it should work on a removable drive whatever the letter.
ya, dots don't work :(