Problem with path

Get answers to questions about using mGalaxy.
Post Reply
Aeliss
Hero Member
Hero Member
Posts: 900
Joined: Thu Apr 04, 2013 5:55 pm

It s not a bug but I don't know how to proceed. For my segacd emulator rom are in folder like this

Rom/Game1/iso
Rom/Game1/mp3_1
Rom/Game1/mp3_2
Rom/Game2/iso
Rom/Game2/mp3_1
Rom/Game2/mp3_2

So i use the "Rom" folder as rom directory
The command line is this one

Code: Select all

<Cmd id="0" name="KEGA Fusion" value=""%path\%file%ext" -scd -auto -fullscreen" />
So in Mgalaxy it s working fine (it search in subfolder too), all game are correctly displayed but when I try to launch  a game, Mgalaxy try to run Rom/iso and not Rom/game1/iso

There is a special tips for this ?

ATM i will try to rename my folder and use

Code: Select all

<Cmd id="0" name="KEGA Fusion" value=""%path\%file\%file%ext" -scd -auto -fullscreen" />
User avatar
mgalaxy
Administrator
Administrator
Posts: 1192
Joined: Tue Dec 05, 2006 7:46 pm

Recursively browsing folders is available since v3.0, at a time where mGalaxy was a MAME frontend only.
Folder’s list is now recursive. You can organize your roms/musics into subfolders…those folders will be browsed by mGalaxy (Attention: roms into subfolders will be seen by mGalaxy, but you will have to adapt your ‘mame.ini’ file to let it read into those folders)
As you can read, you'd have to adapt the mame.ini file with the 'alternatives' rom locations to benefit from this functionality.
Unfortunately, what is made possible by MAME might not be made possible by other emu...and it seems to be the case here?!

Effectively, the folders will be browse recursively (a folder containing another folder is inspected)...and every rom's name found is added to the list (so a screenshot named the same way in the "screenshot folder" will be displayed!) BUT it stops there! mGalaxy has not recorded a specific location for a rom inside another folder than the original one.
Last edited by mgalaxy on Sat Jun 01, 2013 5:48 pm, edited 1 time in total.
Aeliss
Hero Member
Hero Member
Posts: 900
Joined: Thu Apr 04, 2013 5:55 pm

I can understand, and I think make a new tag/variable like %subdir will make the application more greedy for nothing really usefull, ""%path\%file\%file%ext"" work fine (I prefer you work on the multi extension possibility ^^).

But it will be usefull to make an error message or a just a warning (During rom folder configuration for exemple) because i have spend 30 mn to understand why rom was displayed in mGalaxy but not working.
Post Reply