CDRDAO is a portable open source CD ripping and burning program. CDRDAO-PLED is a portable Linux x86_64 pre-built download that works on all modern Linux distros. CDRDAO is built from the latest (as of 2/1/2023) ‘dev’ branch of CDRDAO, which now includes a bug fix that allows properly burning PSX BIN+CUE images which contain both CD audio and EDC based addtional anti-piracy protection.
Updated to the latest PLED v1.0.2.
To burn a CD image in BIN/CUE format use the command below:
cdrdao write --speed 1 --driver generic-mmc-raw --swap --eject yourgame.cue
--speed 1 argument sets the writing speed to the slowest your CD burner supports.
--driver generic-mmc-raw arguments specifies CDRDAO to use the
generic-mmc-raw driver, which burns the CD image exactly as it is. The default driver used without specifiying these arguments is the
generic-mmc driver, which like the other drivers in CDRDAO will auto-regenerate EDC data as the CD image is burned. This can change the EDC data read from the burned disc later, which some PSX games use as an additional anti-piracy check which if failed will lock up the game.
--swap argument is neccesary if the BIN/CUE CD image contains CD audio. Without it, you will get loud static when the CD audio tracks are played as they are by default byte-swapped by CDRDAO if this argument is not specified.
--eject argument will automatically eject the disc immediately after a successful burn.
To burn a CD image in the native CDRDAO BIN/TOC format, use the following command:
cdrdao write --speed 1 --driver generic-mmc-raw --eject yourgame.cue
CDRDAO by default will rip a CD to it’s own native BIN/TOC format, this can be done with the command below.
cdrdao read-cd --read-raw --read-subchan rw_raw --driver generic-mmc-raw yourgame.toc
NOTE: The above command must be run immediately after inserting the CD that you are ripping into your drive, before it is mounted by the computer OS. Otherwise, you will run into ‘device busy’ errors as CDRDAO can not access the CD while your OS has it mounted.
As long as this is not a PSX CD-ROM that contains LibCrypt protection, you can next use the
toc2cue program included in CDRDAO to then convert this image to a proper BIN/CUE format (with audio tracks in the correct byte order and SubChannel data removed) that can then be used by other burning programs using this command:
toc2cue -C yourgame.bin -s yourgame.toc yourgame.cue
This will output 2 new files,
yourgame.cue. These 2 files can be burned like any other BIN/CUE CD image, either by CDRDAO or another program. The other file pair:
data.bin is the BIN/TOC fileset that can only be burned by CDRDAO.
Building from source allows you to compile your own CDRDAO-PLED release for a different Linux version, distribution, and or CPU architecture (i.e. ARM, x86 32-bit, etc.).
First of all, install all the pre-requisites required:
On Fedora Linux, you can install all of the above with this command:
sudo dnf install autoconf automake libao-devel make bash git gcc g++ zip
cdrdao-pled source tree from GitHub recursively using git:
git clone --recursive https://github.com/alex-free/cdrdao-pled
Now that the entire CDRDAO-PLED source tree is recursively cloned,
cd into the
cdrdao-pled directory and execute the
./build.sh script. Then just wait a bit for your release
.zip file to be generated by the
build script. A release directory will also be created, allowing you to immediately use CDRDAO-AF.
If you want to clean your CDRDAO-PLED source tree of all built binaries/releases, simply execute
./build.sh clean. The
clean argument will tell the
build script to simply exit after resetting the source tree.