Creating a PC Engine CD Base System

Get answers to questions about using mGalaxy.
Post Reply
dlol
Newbie
Newbie
Posts: 11
Joined: Fri Oct 14, 2016 3:56 pm

Hi, I have some PCECD backups that I would like to add to mGalaxy, so I tried to create a base system entry for the PC Engine CD. I have stumbled upon some difficulties, however.

Most PCE CD games are comprised of a multitude of .bin and .cue files, and as such, having many games in one folder can be quite messy. So obviously, I keep each game in a separate folder.

So the overall structure is like this:

PCECD Games/Game1/Game1.cue
PCECD Games/Game2/Game2.cue
etc.
Afaik, mGalaxy doesn't support subfolder search, is that right? (Please correct me if I'm wrong, this would make things so much easier)

To solve this problem, I tried something a bit unorthodox. I copied my . cue files to the main PCECD Games Folder, like this:

PCECD Games/Game1.cue
PCECD Games/Game1/Game1.cue
PCECD Games/Game2.cue
PCECD Games/Game2/Game2.cue
etc.

So there's a copy .cue file for each game, serving as an "index".

And in the Base Systems.xml, in the cmd value attribute for Retroarch, instead of the usual:

Code: Select all

<Cmd id="2" hidden="true" name="RetroArch [mednafen_pce_fast_libretro.dll]" value="-f -L cores\mednafen_pce_fast_libretro.dll "%path\%file%ext""/>
I wrote:

Code: Select all

<Cmd id="2" hidden="true" name="RetroArch [mednafen_pce_fast_libretro.dll]" value="-f -L cores\mednafen_pce_fast_libretro.dll "%path\%file\%file%ext""/>
(With an extra\%file\)

So, in my naive mind, in the mGalaxy menu, you would select the "index" .cue file, but Retroarch would load the right .cue file, the one inside the game folder.
However, Retroarch crashes when I do this, so I'm out of options.

Does anyone know a good way to do this?
jmd
Full Member
Full Member
Posts: 207
Joined: Mon Feb 05, 2007 2:33 pm

I will try to help tomorrow (the time to collect needed files for that system that I don't know)

In the meantime I can reply to your question:
Afaik, mGalaxy doesn't support subfolder search, is that right? (Please correct me if I'm wrong, this would make things so much easier)
No, that's wrong! mGalaxy does support recursive folder browsing! (that means that each sub-folder is scanned and valid files added!!)
dlol
Newbie
Newbie
Posts: 11
Joined: Fri Oct 14, 2016 3:56 pm

That's weird, when I tested it earlier today, I had the impression that mGalaxy didn't found valid files inside subfolders.
I tested again, and it actually works now. My fault, probably. :-[  Anyway, problem solved!

While we are here, these are the system data for PC Engine CD. It might be useful for future versions of mGalaxy.

Code: Select all

<System type="Console">
		<Name em="NEC_PC_Engine_CD" tgdb="TurboGrafx CD" gb="53|TGCD">NEC PC Engine CD</Name>
		<Emu selected="0">
			<Cmd id="0" hidden="false" name="MagicEngine" value=""%path\%file%ext""/>
			<Cmd id="1" hidden="false" name="Mednafen" value="-fs 1 -sound.volume %volume(0,100) "%path\%file%ext""/>
			<Cmd id="2" hidden="true" name="RetroArch [mednafen_pce_fast_libretro.dll]" value="-f -L cores\mednafen_pce_fast_libretro.dll "%path\%file%ext""/>
		</Emu>
		<Extensions>.cue</Extensions>
</System>
User avatar
mgalaxy
Administrator
Administrator
Posts: 1192
Joined: Tue Dec 05, 2006 7:46 pm

Hi DLOL,

Thanks for sharing ! This system is added to mGalaxy !
I join the 'official' icon in case you don't have one!
Last edited by mgalaxy on Wed Nov 16, 2016 10:31 am, edited 1 time in total.
Post Reply