Author Topic: PC Engine Duo (CD-Rom Version)  (Read 3168 times)

davhuit

  • Full Member
  • ***
  • Posts: 173
PC Engine Duo (CD-Rom Version)
« on: August 30, 2013, 07:57:21 AM »
About the configuration, it's the same in "Magic Engine" than for the cartridges games, but as "Magic Engine" don't able to load an iso file, you have to use "Deamon Tools Lite" and so, an "AutoIt" script (also required for the "ESC" key trick).

I noticed the script we made a while back with Aeliss wasn't added here so here it is.

Code: AutoIt
  1. HotKeySet("{ESC}", "Terminate")
  2.     $path = "F:\Jeux PC [Downloads]\Emulation\PC Engine CD\"
  3.     $app = "pce.exe"
  4.  
  5.     If $CmdLine[0] > 0 Then
  6.  
  7.     RunWait('"C:\Program Files\DAEMON Tools Lite\DTLite.exe" -mount 0,"' & $CmdLine[1] & '"')
  8.         $PID = Run( $path & $app & ' -cd', $path)
  9.         While 1
  10.               Sleep(100)
  11.         WEnd
  12.     EndIf
  13.  
  14.     Func Terminate()
  15.         While ProcessExists ( $PID )
  16.             ProcessClose ( $PID )
  17.         WEnd
  18.         RunWait('"C:\Program Files\DAEMON Tools Lite\DTLite.exe" -unmount 0')
  19.         Exit 0
  20.  
  21.     EndFunc

If, like me, your "Deamon Tools Lite" configurated a "scsi" drive, use this version instead :

Code: AutoIt
  1. HotKeySet("{ESC}", "Terminate")
  2.     $path = "F:\Jeux PC [Downloads]\Emulation\PC Engine CD\"
  3.     $app = "pce.exe"
  4.  
  5.     If $CmdLine[0] > 0 Then
  6.  
  7.     RunWait('"C:\Program Files\DAEMON Tools Lite\DTLite.exe" -mount scsi, 0,"' & $CmdLine[1] & '"')
  8.         $PID = Run( $path & $app & ' -cd', $path)
  9.         While 1
  10.               Sleep(100)
  11.         WEnd
  12.     EndIf
  13.  
  14.     Func Terminate()
  15.         While ProcessExists ( $PID )
  16.             ProcessClose ( $PID )
  17.         WEnd
  18.         RunWait('"C:\Program Files\DAEMON Tools Lite\DTLite.exe" -unmount scsi, 0')
  19.         Exit 0
  20.  
  21.     EndFunc
  22.  

Change $path, $app and "Deamons Tools Lite" link according to your configuration, is required.

Works perfectly with the dozen of games I tried.

I attached the icon I'm currently using but it would require to be transparent to be added in "mGalaxy" without looking awkward.
« Last Edit: August 30, 2013, 08:02:15 AM by davhuit »