Created
December 7, 2018 01:26
-
-
Save yoosefi/4262e33dda6f24a847cef09f16d11dad to your computer and use it in GitHub Desktop.
raw psx cd dump, including bad sectors (their copy protection)
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/bin/bash | |
# raw psx cd dump, including bad sectors (their copy protection) | |
# Usage: ./psxrip.sh GAME_NAME | |
umount /dev/sr0 2> /dev/null | |
set -e | |
cdrdao read-cd --read-raw --read-subchan rw_raw --datafile ${1}.bin --device /dev/sr0 --driver generic-mmc-raw ${1}.toc | |
toc2cue ${1}.toc ${1}.cue 2> /dev/null | |
rm ${1}.toc | |
eject /dev/sr0 |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment