RetroDECK icon indicating copy to clipboard operation
RetroDECK copied to clipboard

Rom compression tool enhancements

Open Kazlehoff opened this issue 3 years ago • 3 comments

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.

Kazlehoff avatar Jan 22 '23 16:01 Kazlehoff

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.

icenine451 avatar May 11 '23 14:05 icenine451

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

XargonWan avatar Aug 03 '23 12:08 XargonWan

Implement this for PSP ad PS2: https://github.com/unknownbrackets/maxcso

XargonWan avatar Mar 07 '24 15:03 XargonWan