Creating images of PSX games using Linux
Jump to: navigation, search
This pages describes a rather simple way for creating images for usage with an emulator like PCSXRearmed.. Everything listed here does require the program cdrdao which is often already installed in common Linux distributions once some burner software is installed.
From the command line
This command creates a dump of your disc. It also extracts subchannel data which is required for the copy protection of some of the games to work correctly. It saves the image in .bin format and also creates a .toc file.
First, you must know what device name to use for you optical drive. If you are not sure what your drive's Linux device name is, then you can run this command to find out:
The result should look something like this:
Cdrdao version 1.2.3 - (C) Andreas Mueller <email@example.com>
/dev/sr0 : hp , DVD RW AD-7581S , 4H73
The first part of the second line, /dev/sr0, is the device name of the only optical drive that cdrdao recognizes on this machine. If you have multiple optical drives, they will each show up here. You can distinguish between them by the description following the colon after the device name. The device here is an HP DVD RW Model AD-7581S.
Next, make sure that your disc is in the drive but not mounted. Assuming that your optical drive is called /dev/sr0, to unmount the drive from the command line you can do this:
(Of course you should substitute whatever device name you got from previous command.)
Assuming again that your optical drive is called /dev/sr0 and you want to name the image GAME_NAME, this is the command you can use to create the image in the current dir:
cdrdao read-cd --read-raw --read-subchan rw_raw --datafile GAME_NAME.bin --device /dev/sr0 --driver generic-mmc-raw GAME_NAME.toc
Of course you have to adjust the parameters according to your desires and your system setup.
Some emulators are finicky and don't like .toc files, or seem to work with some bin/toc file combinations, but not others. Usually .cue files work, so you may want to create a .cue file from the .toc file that cdrdao just made with this command:
toc2cue GAME_NAME.toc GAME_NAME.cue
That will leave both a .toc file and a .cue file in the directory you are working from.
Edicion: Error ocurrido:
Q sub-channel reading (data track) seems to be supported but cannot determine data format.
Please use driver option
'--driver generic-mmc:0x1' or '--driver generic-mmc:0x3' to set the data format explicitly.