Multiple directories in MAME 'roms' mGalaxy configuration crashes mGalaxy
-
- Jr. Member
- Posts: 11
- Joined: Fri Dec 29, 2017 12:34 am
While fiddling with settings, I thought I might need to give mGalaxy two folders for my MAME roms, just as MAME itself needs references to the 'roms' directory as well as 'chd'. So I added both of these in _Runway with a semi-colon as a separator and saved/quit. mGalaxy didn't like that and crashed on launch. I had to find the configuration file and fix it manually to get _Runway to run again.
-
- Jr. Member
- Posts: 11
- Joined: Fri Dec 29, 2017 12:34 am
Thanks, AELISS. I can see that working, but it's a little more maintenance with each version update. Did you put the CHDs in the roms folder in order to deal with this concern? I'm not sure mGalaxy needs to see the CHDs, though. If it sees a rom (.zip), then it thinks the game is present? And then when a game is started, it's mame itself that needs to use the CHDs.Aeliss wrote: I don't have this problem, I just put all CHD file in the rom folder too (and chd additives files are in their respective folder in the rom folder too)
Yep, you are right, chd are useless for mGalaxy. I have for exemple
roms/area51.zip
roms/area1/area51.chd
The first file is for mgalaxy working
The second one for Mame only.
Only one is displayed in mGalaxy, the first one. The second one can be somewhere else for mGalaxy, but harder to make it working for Mame.
roms/area51.zip
roms/area1/area51.chd
The first file is for mgalaxy working
The second one for Mame only.
Only one is displayed in mGalaxy, the first one. The second one can be somewhere else for mGalaxy, but harder to make it working for Mame.
-
- Newbie
- Posts: 1
- Joined: Sat Aug 25, 2018 11:16 pm
Hi,
It seems that mGalaxy can not handle multiple rom directories for Mame Systems (I think this is a bad thing, because Mame can natively handle multiple directories. A Front End should not limit the Emulator functionnalities...)
To keep roms and CHD separated like i do, try this :
1) First edit your mame.ini config file in your MAME base directory , and modify the rompath line to add the roms and chd separated directories:
2) Then edit the file UserSystems.xml (go in your mGalaxy base folder, you will find this file inside Data/UserSystems subdirectory)
Find the CMD markup line related to your Mame System :
Delete this : -rompath "%path"
So the line should be like this :
With this modification, mGalaxy will not be able to over-define rompath parameter anymore. Mame will use the rompaths found in mame.ini.
( Changing the value of Rompath inside mGalaxy_Runway won't alter your modifications on this line)
I think it will be a good idea to add multiple rompath directories handling to mGalaxy to avoid this kind of ugly tweak.
It seems that mGalaxy can not handle multiple rom directories for Mame Systems (I think this is a bad thing, because Mame can natively handle multiple directories. A Front End should not limit the Emulator functionnalities...)
To keep roms and CHD separated like i do, try this :
1) First edit your mame.ini config file in your MAME base directory , and modify the rompath line to add the roms and chd separated directories:
Code: Select all
rompath roms;E:\roms;E:\chd
Find the CMD markup line related to your Mame System :
Code: Select all
<Cmd hidden="true" name="MAME" value="-rompath "%path" %file%ext -volume -%volume(32,0) -skip_gameinfo -nowindow -joystick" extensions=".zip,.7z,.chd" />
So the line should be like this :
Code: Select all
<Cmd hidden="true" name="MAME" value="%file%ext -volume -%volume(32,0) -skip_gameinfo -nowindow -joystick" extensions=".zip,.7z,.chd" />
( Changing the value of Rompath inside mGalaxy_Runway won't alter your modifications on this line)
I think it will be a good idea to add multiple rompath directories handling to mGalaxy to avoid this kind of ugly tweak.