by Alex Free
This is an open source tool kit that allows you to burn PS2 and PS1 backup discs on Linux, with the option of patching the disc image in various ways:
ESR patch PS2 games, and burn them to DVD-R.
Master Disc patch PS2 games, and burn them to CD-R or DVD-R.
LibCrypt patch PS1 games, and burn them to a CD-R.
PSX 80 Minute patch PS1 or PS2 games, and burn them to a CD-R.
Additional features:
Burn PS2 and PS1 games to CD-R or DVD-R without applying one of the above patches.
Portable Linux releases for i686 and x86_64.
Support for compressed files. If PSDB finds a file ending in .iso
, .ISO
, .cue
, .CUE
, .BIN
, or .bin
in a compressed archive format that p7zip supports it will automatically be extracted and configured for all features.
Correctly burns EDC protected PS1 games.
Corrects EDC and ECC starting at the system volume descriptor of the data track for CD images. Any translation patched bin file or otherwise which doesn’t contain correct EDC/ECC in the actual game data will be corrected. EDC protected PS1 games continue to burn correctly with this default, as those games are looking at sectors that are before the volume descriptor.
Set the desired burn speed to a configuration file, this can be set for different speeds depending on if your burning a CD or a DVD.
Set the desired burner (i.e. /dev/sr0
is the default for Linux) to a configuration file.
GitHub | Homepage | PSX-Place Thread | GBATemp Thread |
Changes:
Updated EDCRE to version 1.1.0.
Updated Libcrypt Patcher to version 1.0.9.
Updated PS2 Master Disc Patcher to v1.0.6.
Updated P7zip-zstd to git commit 6819e2dc1917e1267babddc6391cea56ead7123d.
Implemented fixes for an issue where if you symlink psdb
to i.e. /usr/local/bin/psdb
thanks to brkzlr. Since it had been over a year and I had more plans on how to re-archeticutre the current psdb
to work under such conditions, I took inspirations/code changes from his original pull request and re-integrated it into the v1.0.4 source tree. But they did point out this issue first and provided fixes which I built upon on v1.0.4 nearly a year later so many thanks to them.
New default burning mode is non-RAW. This change has happened because many burners do not support RAW burning mode, and only a small amount of PSX games require it. The RAW burning mode can be enabled by specifying psdb -r yes
to burn such games. I recommend to do this if your burner works with RAW mode. If you have issues burning discs in RAW mode, you can specify pdsb -r no
to disable RAW mode.
Changed how to specify a custom burner config. Instead of i.e. psdb -burner /dev/sr1
, do psdb -b /dev/sr1
. This is still an “advanced” feature and psdb
will find the default burner by default in almost all cases (which is normally /dev/sr0
).
Re-compiled the portable build. This fixes issues with Linux distros using GLIB 2.34 which can’t load the included STATIC ld loader. Really strange why this ever became an issue.
Mandated GCC/G++ 13 be used for compilation since cdrtools is broken on GCC 14+.
Improved build system.
psdb <input file>
<input file> A file ending in .iso, .ISO, .cue, .CUE, .BIN, or .bin (or a compressed archive containing said files).
psdb -cds <cd burn speed> Set burn speed for CDs to <cd burn speed> and exit.
psdb -dvds <dvd burn speed> Set burn speed to <dvd burn speed> for DVDs and exit.
psdb -b <burner> Set burner to <burner> (i.e. "/dev/sr1").
psdb -r <yes/no> Enable RAW writing (not compatibile with some burners, default is no).
1) Download and unzip the latest release.
2) Execute psdb
with one argument, the input file.
./psdb <input file>
You can also drag and drop a disc image onto the ps2db
file in the release if your Linux desktop environment supports it. Otherwise you can drag psdb
into your terminal and then the input file into your terminal and press return.
<input file>
can be:
.bin
or .BIN
..cue
or .CUE
..iso
or .ISO
.3) Enter option number for desired feature. PSDB will detect what type of file the disc image is and present you with options for either CD-Rs or DVD-Rs depending on the disc image.
Note: You will be prompted for root privileges when the burning program is executed in order to prevent buffer under-runs during burning which would result in a coaster. Root privileges also ensure that the burning program can access your burner hardware successfully.
A small number of PSX games require RAW burning due to EDC/ECC based protection (this does not affect Libcrypt patcher). Please see if your game is affected by finding it in this table (CTRL+F
is your friend here).
If your game is affected, you can enable raw burning by using psdb -r yes
. This is not enabled by default because some burners are not able to write in raw mode. If you find that your burner can not write in raw mode (cdrdao will give you an error) you can change it back to non-raw by using psdb -r no
.
PSDB itself is released into the public domain, see the file licenses/psdb.md
.
PSDB makes use of the following programs listed below, which have their own licenses/terms:
PortableLinuxExecutableDirectory (Public Domain, see the file licenses/pled.md
).
EDCRE (GNU GPL v2, see the file licenses/edcre.md
.).
CDRTools-PLED (CDDL v1.0 AND GPL v2, see the files licenses/cdrecord-cddl.md
and licenses/cdrecord-gpl2.md
).
CDRDAO-PLED (GPL v2, see the file licenses/cdrdao.md
).
PSX80MP (3-BSD, see the file licenses/psx80mp.md
).
LibCrypt Patcher (3-BSD, see the file licenses/libcrypt-patcher.md
).
ESRTool-legacy (GPL v2, see the file licenses/esrtool-legacy.md
).
PS2 Master Disc Patcher (by MottZilla, closed source currently).
P7zip-zstd (GNU LGPL with unRAR license restriction, BSD-3 Clause, and Public Domain), see licenses/p7zip.md
.