Alex

alex-free.github.io

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.

Table Of Contents

Downloads

Version c2b0ff2-pled-1.0.3-x86_64 (7/31/2023)

Changes:

About previous versions.

Burning BIN/CUE CD Images

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

Command Explanation

The --speed 1 argument sets the writing speed to the slowest your CD burner supports.

The --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.

The --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.

The --eject argument will automatically eject the disc immediately after a successful burn.

Burning Dance Dance Revolution 2nd Remix Japan Part 1

Burning Dance Dance Revolution 2nd Remix Japan Part 2

Important Info On TOCPerfect/APRIP Patched CD Images

CD images of games that have been TOCPerfect Patched and or APrip Patched need to be ran through EDCRE first before you burn with the generic-mmc-raw driver.

Burning BIN/TOC CD Images

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

Ripping With CDRDAO

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.

Ripping Castrol Honda SuperBike Racing Part 1

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.bin and 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: yourgame.toc and data.bin is the BIN/TOC fileset that can only be burned by CDRDAO.

Ripping Castrol Honda SuperBike Racing Part 2

Ripping Castrol Honda SuperBike Racing Part 3

Compiling From Source

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

Clone the 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.