Thread: CHD format
View Single Post
Old 29 July 2020, 14:29   #28
Ian
Global Moderator
 
Ian's Avatar
 
Join Date: May 2001
Location: Derby, UK
Age: 46
Posts: 2,292
Quote:
Originally Posted by Mikerochip View Post
Fair enough!

Just if anyone wants it:

Code:
REM Path to CHD hardcoded to prevent problems
REM Path to Mednafen also hardcoded to prevent problems
REM Converts .chd to .cue/bin, runs emu, deletes .cue/bin afterwards

M:\Arcade\MAME\MAMEx64\chdman.exe extractcd -i "%1" -o "%1".cue -ob "%1".bin
M:\Emulatio\NEC_PC_Engine\Mednafen\x64\mednafen.exe -force_module ss "%1".cue
del "%1".cue
del "%1".bin
REM pause
That's the batch file to run mednafen (or anything, really) that doesn't support .chd files.

It just decompresses them, runs mednafen in Sega Saturn mode, then deletes.

To run it in PC Engine, change -force_module ss to -force_module pce or pce_fast and for PS1 use -force_module psx

You can let it autodetect, but I prefer to set it by hand.

and for SSF:

Code:
REM Path to CHDMan hardcoded to prevent problems
REM Path to SSF also hardcoded to prevent problems
REM Path to Daemon Tools uses shot file name, to prevent problems
REM Converts .chd to .cue/bin, mounts with DaemonTools, runs emu, deletes .cue/bin afterwards

M:\Arcade\MAME\MAMEx64\chdman.exe extractcd -i "%1" -o "%1".cue -ob "%1".bin
M:\Emulatio\NEC_PC_Engine\Mednafen\x64\mednafen.exe -force_module ss %1.cue

C:\Progra~1\DAEMON~1\DTAgent.exe -mount dt, 0, "%1"
M:\Emulatio\Sega_Saturn\SSF\SSF.exe
C:\Progra~1\DAEMON~1\DTAgent.exe -unmount 0

del "%1".cue
del "%1".bin
REM pause
You may need to remove the " from the batch file, depending on the emulator/front end you use, if it supplies it's own double quotes.
I should turn your attention to retroarch, these all work from the emu using the bettle core (renamed and 'improved' medefen), for pc engine anyway, wasn't a fan of it to begin with, but despite it's looks and configurations it's pretty good with something else handling the front end eg launchbox.
Ian is offline  
 
Page generated in 0.04697 seconds with 11 queries