Author Topic: Playing Turbografx Cd-rom Games & Cresho's  (Read 3869 times)

Jon_J

  • Hero Member
  • *****
  • Posts: 1853
    • View Profile
    • http://
Playing Turbografx Cd-rom Games & Cresho's
« on: October 20, 2006, 11:42:16 am »
I decided to write a tutorial for ripping and playing Turbografx CD-ROM games on the Zaurus.
I have only done this on my SL-C3100 with Cacko 1.23, so other models and roms may be different.

Download "Ripping_TurboGrafx-CD-ROM.zip" if you want a MS Word version of this tutorial with pics included.
---------------------------------------------------------------------------------------------------
Ripping Turbografx CD-ROM games and enabling them to play on the Zaurus.

Turbografx CD-ROMs are "Mixed Mode" CDs.
This is NOT an easy process, but I will break it down to something that is understandable, I hope
Cresho, a very helpful person at OESF has made available an emulator, that is a frontend which
plays various console ROMs, including the Turbografx.
He also helped me get started with the process of enabling Turbografx CD-ROM games to play on the Zaurus.
Most of this information comes from the below Japanese website:

http://translate.google.com/translate?hl=e...zpce/index.html

and CD-ROM link from above site

http://64.233.179.104/translate_c?hl=en&u=...e/usage-cd.html
NOTE: this second url is in Japanese, it did not translate from it's link here.
Go to first url and click the word "this" to get translated version:
"As for method of using CD-ROM^2 this."
--------------------------------------------------------------------------------------
You will need the below hardware & software & files:

Hardware:
CDROM drive/burner that reads "RAW"
I'm not sure about this, but a drive that reads "subcodes" (CD+G) may also be required.

Software: Windows
CDRWin (To rip TurboGrafx-CD)
(Author of above Japanese site also mentions "CDManipulator", I didn't use this.)
bin2iso (To convert to ISO)
CDEX (To convert *.WAV files to mp3)

Software: Zaurus - for setup (Look at Step 4.)
Perl
Files to get are: (Install in this order)
1. libperl_5.6.1_arm.ipk
2. perl-base_5.6.1_arm.ipk
3. perl_5.6.1_arm.ipk
(For setup, check Meanie's page)
http://zaurus.daemons.gr/menaie/mirror/custom.html

Software: Zaurus - for playback (Look at Step 5.)
Get Cresho's emulator on OESF.
You will also need the CD-ROM enabled zpce replacement from above Japanese website.
"Binary (CD music corresponding edition)" zpce_0.3.4a-1_arm.ipk

Files:
NOTE: I included these 2 files in "cue2hcd_zemufeex_hcd.zip"
cue2hcd.pl
zemufeex_hcd.sh

cue2hcd.pl (this is located at bottom of 2nd Japanese url)
hcd file (We'll create this using cue2hcd.pl)
ISO file (We'll extract this from our BIN file created with CDRWin)
syscard3.pce (you will need to google for this one, it's a ROM image of the HU-CARD)
zemufeex_hcd.sh (This is from first URL above)
zemufeex_hcd.sh is linked to the word "This" in the sentence below:
----------------------------------------------------------------------
This is the shell in order to use hcd with zemufeEX.
Please put on the same directory as zemufeex_smc.sh and the like.
----------------------------------------------------------------------

--------------------------------------------------------------------------------------
Step 1 "Ripping: Using CDRWin to Rip the Turbografx CD-ROM

1. Click box on interface: "Extract Disc/Tracks/Sectors to Image File"
2. Leave all the options at default settings.
3. Make sure "Disc Image/Cuesheet" is selected. (This is at the top of this window)
4. Click small box next to "Image Filename" [...]
5. A "Save Image File" dialog will popup.
   Enter a short/simple name into this box.
   (We'll use "simplename" for this tutorial)
   NOTE: This is the filename that all of the other processes will use, select a name that you want to keep.
6. You will see a window like the first one with "\simplename" as the filename.
7. This next step may not be necessory, but I have always used ½ speed when ripping CD+G karaoke discs.
   At bottom of window, open "Data Speed" and select a speed that is one half of your burner's top speed.
   Also do the same with "Audio Speed" Select a speed that is one half of your burner's top speed.
8. Select the START button. (bottom left-hand corner)
9. You will end up with 2 files: simplename.bin and simplename.cue
--------------------------------------------------------------------------------------
Step 2 "Using bin2iso to extract ISO and *.WAV files"

1. place bin2iso.exe in same folder with your BIN and CUE files.
2. open a command prompt in Windows and navagate to the above folder.
   I use "powertoys" to right-click folder and it opens command prompt in that folder.
3. Issue following command:
   ----------------------
   bin2iso simplename.cue
   ----------------------
4. When bin2iso is finished, you will have a folder full of *.WAV files and simplename02.iso and simplename.cue
--------------------------------------------------------------------------------------
Step 3 "Using CDEX to convert WAV files to mp3"

1. Open CDEX and select "Convert" -> Convert WAV files to Compressed Audio Files.
2. browse to the directory of *.WAV files, click "Select All" and press Convert.
   NOTE: Be sure you have plenty of disk space on this drive because the conversion uses a lot of space.
3. Once the WAV files are all converted to mp3, you can delete the WAV files, or move them to another location.
--------------------------------------------------------------------------------------
Step 4 "Installing and using Perl to convert the CUE file to HCD file"

Go to Meanie's page and read the instructions of how to install Perl.
http://zaurus.daemons.gr/menaie/mirror/custom.html

I have copy/pasted the instructions here.
I hope Meanie doesn't mind that I copied these instructions for this tutorial.

/////////////////////////////////////////////////////////////////////////////
Perl

Before you install Perl do the following:
----------------------------------------
# su
# cd /home/root
# ln -s /usr/local usr
----------------------------------------

Then install the following packages: (In this order)

    * libperl  -  [libperl_5.6.1_arm.ipk]
    * perl-base - [perl-base_5.6.1_arm.ipk]
    * perl5   -   [perl_5.6.1_arm.ipk]

Once the packages have been installed add the following to the .profile file:
------------------
export LANGUAGE=C
export LC_ALL=C
------------------
You might also want to do the following:
-------------------------------------------
# su
# ln -s /usr/local/bin/perl /usr/local/perl
-------------------------------------------

//////////////////////////////////////////////////////////////////////////////

Converting CUE file to HCD file: (This is done on the Zaurus)

1. Select or create a directory on your internal hard drive. (or a CF or SD card)
   I used my hard drive on my SL-C3100. I haven't tried this on removable media, (SD/CF)
2. Make sure to select or create a directory that you want to run your CD-ROM game from.
   NOTE: The directory selection is very important because the HCD file from the converted.
   CUE file will contain as many refrences to this directory as there are mp3 files, plus the ISO file.
3. Copy simplename02.iso and all the mp3 files to this directory.
(If your CD-ROM game has more than one *.iso file, copy it to this directory as well).
4. Also place these 2 files in this same directory: "cue2hcd.pl" and "simplename.cue"
5. Below, is how I used the command to convert the CUE file to the HCD file.
   (This is an example, substitute your directories for the ones shown)
   Open the console and issue the following:
   ---------------------------------------------------------------------
   perl /hdd3/turbo/cue2hcd.pl /hdd3/turbo/simplename.cue simplename.hcd
   ---------------------------------------------------------------------
6. Now look at the HCD file. I looked at it in Notpad in Windows. You can use ZEditor on your Zaurus.
   Make sure the directory for all the listings are correct. (Example below)

--------------------------------------
[main]
first_track=1
last_track=43
MP3_path=
ISO_path=

[track1]
type=AUDIO
filename=/hdd3/turbo/simplename-01.mp3
begin=msf,00:00:00

[track2]
type=CODE
filename=/hdd3/turbo/simplename-02.iso
begin=msf,00:47:71

[track3]
type=AUDIO
filename=/hdd3/turbo/simplename-03.mp3
begin=msf,02:42:02

[track4]
type=AUDIO
filename=/hdd3/turbo/simplename-04.mp3
begin=msf,04:45:41
--------------------------------------

Hopefully we have a good HCD file and can continue on to the next steps...
--------------------------------------------------------------------------------------
Step 6 "Installing Cresho's "Genesis Neogeo Snes Turbografx Nes Gameboy Emu"

   (If you already have this package installed and you can play Turbografx games, skip to 4.)
1. Look at this thread on OESF:
   "Genesis Neogeo Snes Turbografx Nes Gameboy Emu, Im the same guy who did zfceu.zip"
   https://www.oesf.org/forums/index.php?showtopic=14102
2. Download zaurus c1000 neogeo-genesis-turbografx-Snes-Nes-EMULATOR from this link:
   http://webpages.charter.net/cresho/
3. once the Emulator is installed and working, check that you can play Turbografx ROM games.
4. Now uninstall "zpce", using the Qtopia "Add/Remove" application.
5. Now install the "Binary (CD music corresponding edition)" zpce_0.3.4a-1_arm.ipk from the Japanese site above.
   This is the replacement for "zpce" and enables the use of the HU-CARD and CD-ROM games.
--------------------------------------------------------------------------------------

Step 6 "Hu-CARD" and "zemufeex_hcd.sh"

1. Copy syscard3.pce to /home/zaurus/.zpce/
2. Copy zemufeex_hcd.sh to /home/QtPalmtop/bin/
--------------------------------------------------------------------------------------
Step 7 "Running the Game" (Runs from console)

   (Cresho recommended a "Trick" with the console that runs game in fullscreen - see Step 8)
   (This section is still experemental, I haven't got all the bugs/errors figured out yet.)
1. Running the game from the console without changing to your directory first,
   results in "File not found" or "ISO File not found" Error messages.
2. Change directories to the directory which contains the above files.
3. Run this command:
   --------------
   zpce simplename.hcd
   --------------
4. You should now see the HU-CARD screen.
5. Press Run button and game should load.
6. When playing "Ys Book I & II", the Introduction soundtrack music kept playing and would
   also play with the next "Scene music" on top of it. (2 soundtracks playing at once).
   To "Fix" this "Double Sound" playing, once you enter the city, just exit the city and come back.
   This stopped the "Introduction soundtrack" and only the "City" music is playing.

   NOTE: I haven't figured out what the file, "zemufeex_hcd.sh" is for.
   It could be that this script file would solve some of the errors and the wrong (screen orientation and size)
--------------------------------------------------------------------------------------
Step 8 "Using Magnified Mode in embeddedkonsole to make game run in fullscreen (640x480)"

   (This method fixes the 1/2 screen, rotated screen with backwards game controls)
1. The console app that comes with Cacko Full doesn't have an option to run it in "Magnified Mode".
   To force this option, you'll need to edit it's .desktop file.
2. Use Zeditor and locate the .desktop file here:
   /home/QtPalmtop/apps/Applications/embeddedkonsole.desktop
3. Find this line and delete it: Display=640x480/144dpi,480x640/144dpi
4. Save this file and now place a checkmark under "Display With Magnified Screen"
5. Using instructions in Step 7, launch the game. You should see the screen that says "Push Run Button!"
6. Your console app will be funky looking, and I recommend you find another console that works in Sharp/Cacko
   and use that one for "Magnified View" and games. Then return embeddedkonsole to it's original state.
--------------------------------------------------------------------------------------
End of File[/color]
« Last Edit: January 18, 2007, 06:29:26 pm by Jon_J »
C3100 Multiboot-->Angstrom 2007.12-r18 | Cacko 1.23 | ArchLinuxARM
C3200 pdaxii13v2-5.5-alpha4 Akita on NAND

Ambicom WL1100C-CF Wifi - Ambicom CF modem - Ambicom CF GPS - Belkin-F5D5050 USB LAN
Socket CF Bluetooth rev K - Iogear 4 port USB micro hub - pocket CF card reader
Targus mini USB optical mouse - 2 Targus SD card readers

Cresho

  • Hero Member
  • *****
  • Posts: 1609
    • View Profile
    • http://home.earthlink.net/~cresho/
Playing Turbografx Cd-rom Games & Cresho's
« Reply #1 on: October 20, 2006, 08:01:48 pm »
OUCH OUCH OUCH!!!!  Lots of info.

I wonder how many people own the cd's?  I'm going to need hunt for my old cd's.  
Zaurus C-3200 (internal 8gb seagate drive) with buuf icon theme, cacko 1.23 full,  and also Meanie's pdaxqtrom-Debian/Open Office
Zaurus SL-5500 Sharp Rom 3.13 with steel theme
pretec pocket pc wi fi
ambicom bt2000-cf bluetooth-made in taiwan
simpletech 1gb cf
pny 1gb sd
patriot 2gb
ocz or patriot 4gb sd(failed after 2 weeks)only on z
creative csw-5300 speakers in stereo
DigiLife DDV-1000 for video, Audio, Picture recording playable on the zaurus
Mustek DV4500-video recorder, pictures, voice record on sd for z

zaurusthemes.biz | ZaurusVideo | Zaurus Software

Jon_J

  • Hero Member
  • *****
  • Posts: 1853
    • View Profile
    • http://
Playing Turbografx Cd-rom Games & Cresho's
« Reply #2 on: October 20, 2006, 08:20:24 pm »
Here's a trick that I used to get 2 copies of Konsole. (Using the same binary)
I found out that Cacko's Konsole is embeddedkonsole, which is linked to qkonsole.
embeddedkonsole and qkonsole are both in /home/QtPalmtop/bin/
qkonsole is linked to qkonsole in /usr/QtPalmtop.rom/bin/
This is the location of the actual binary.
So I just made a copy of it and named it qkonsole2 and placed it in /home/QtPalmtop/bin/
I did this because, when I was just running Konsole in 2 different tabs, the desktop settings were acting on both Konsoles,
so if one is magnified, both of them are magnified.
By making a new copy with a new name, I can have a Konsole in my Applications tab with the "Normal" magnification,
and one in my Games tab with "Magnification enabled", just for TG-CDs
« Last Edit: October 20, 2006, 08:22:00 pm by Jon_J »
C3100 Multiboot-->Angstrom 2007.12-r18 | Cacko 1.23 | ArchLinuxARM
C3200 pdaxii13v2-5.5-alpha4 Akita on NAND

Ambicom WL1100C-CF Wifi - Ambicom CF modem - Ambicom CF GPS - Belkin-F5D5050 USB LAN
Socket CF Bluetooth rev K - Iogear 4 port USB micro hub - pocket CF card reader
Targus mini USB optical mouse - 2 Targus SD card readers

Jon_J

  • Hero Member
  • *****
  • Posts: 1853
    • View Profile
    • http://
Playing Turbografx Cd-rom Games & Cresho's
« Reply #3 on: October 22, 2006, 07:46:00 pm »
I found some old Turbografx CD-ROM games online and made a few coasters, because this CD-ROM format has some oddities.
I got some of them "converted" to a Zaurus friendly format.
Some people say these are mixed mode CDs, but Alcohol 120% says they are CD-ROM XA
CDRWin choked on a couple of these CD image files and burned a couple of coasters.
My best bet is to use Alcohol 120% to mount these images and "convert" them to a *.mdf & *.mds set of files.
This gets me past the errors found on these images.
Next I mount the *.mds file using Alcohol 120% and use CdManipulator to "convert" these images to *.img & *.cue format.
Now I can use my tutorial as posted above, starting with bin2iso and continue from there.
I have these 2 games playing on my SL-C3100 now.
Dungeon Master: Theron's Quest
Dracula-X
« Last Edit: October 22, 2006, 07:51:54 pm by Jon_J »
C3100 Multiboot-->Angstrom 2007.12-r18 | Cacko 1.23 | ArchLinuxARM
C3200 pdaxii13v2-5.5-alpha4 Akita on NAND

Ambicom WL1100C-CF Wifi - Ambicom CF modem - Ambicom CF GPS - Belkin-F5D5050 USB LAN
Socket CF Bluetooth rev K - Iogear 4 port USB micro hub - pocket CF card reader
Targus mini USB optical mouse - 2 Targus SD card readers

Cresho

  • Hero Member
  • *****
  • Posts: 1609
    • View Profile
    • http://home.earthlink.net/~cresho/
Playing Turbografx Cd-rom Games & Cresho's
« Reply #4 on: October 22, 2006, 07:53:29 pm »
man, I remember i use to watch my cd+graphics on my turbo......
Zaurus C-3200 (internal 8gb seagate drive) with buuf icon theme, cacko 1.23 full,  and also Meanie's pdaxqtrom-Debian/Open Office
Zaurus SL-5500 Sharp Rom 3.13 with steel theme
pretec pocket pc wi fi
ambicom bt2000-cf bluetooth-made in taiwan
simpletech 1gb cf
pny 1gb sd
patriot 2gb
ocz or patriot 4gb sd(failed after 2 weeks)only on z
creative csw-5300 speakers in stereo
DigiLife DDV-1000 for video, Audio, Picture recording playable on the zaurus
Mustek DV4500-video recorder, pictures, voice record on sd for z

zaurusthemes.biz | ZaurusVideo | Zaurus Software

Jon_J

  • Hero Member
  • *****
  • Posts: 1853
    • View Profile
    • http://
Playing Turbografx Cd-rom Games & Cresho's
« Reply #5 on: October 22, 2006, 07:56:30 pm »
That's one reason my Turbo CD drive is worn out. I used to test all my home burned CD+G karaoke discs on it.
Plus, I have 4 original CD+G audio discs that are not karaoke.
« Last Edit: October 22, 2006, 07:56:43 pm by Jon_J »
C3100 Multiboot-->Angstrom 2007.12-r18 | Cacko 1.23 | ArchLinuxARM
C3200 pdaxii13v2-5.5-alpha4 Akita on NAND

Ambicom WL1100C-CF Wifi - Ambicom CF modem - Ambicom CF GPS - Belkin-F5D5050 USB LAN
Socket CF Bluetooth rev K - Iogear 4 port USB micro hub - pocket CF card reader
Targus mini USB optical mouse - 2 Targus SD card readers