RetroDECK
RetroDECK copied to clipboard
Rom compression tool enhancements
Hi! Wanted to make a feature request for an option in the configurator to auto-compress all ROMs into their various forms, similar to what EMUdeck does.
This is included in 0.7.0b. Compression into CHD, RVZ and ZIP exists for supported systems, and gives the user to compress one, several or all games into compatible formats.
We could even include the following formats, useful for systems such as Dreamcast (untested):
- MDF/MDS -> ISO -> CHD
bchunk input.mdf input.mds output.iso
chdman createcd -i output.iso -o result.chd
- CDI -> ISO -> CHD
bchunk input.cdi output.bin output.cue
chdman createcd -i output.bin -o result.chd
- CUE -> CHD
find . -type f -name '*.cue' | while read -r file; do
# Run redump2cdi on each .cue file
chdman createcd -i "$file" -o "${file%.cue}.chd"
# Move the .chd file to the current directory
mv "${file%.cue}.chd" .
# Echo a message for each conversion
echo "$file converted to ${file%.cue}.chd"
done
Implement this for PSP ad PS2: https://github.com/unknownbrackets/maxcso