I have been converting my game files to .chd to save storage space and clear up all the extra .bin files in my playlists on RetroArch. I had a few questions and ran into some issues while figuring this out for myself so I wanted to share my solution so people can easily find out what to do.
This was done on Linux Mint (Ubuntu based), I don’t know if it’s the same process for other non-Ubuntu based distros.
-
Install “Mame-tools” from your package manager or elsewhere. This will allow you to use CHDman in terminal.
-
Go to your folder that is storing the game files for your particular game/ROM in question. You’ll likely see one or more .bin files and a .cue file.
-
Right click on the folder background and select “Open in Terminal”.
-
Type: chdman createcd -i “name of rom (USA) (Rev 2).cue” -o "name of rom (USA) (Rev 2).chd"
4.1. -i is the input file name with a .cue suffix, not .bin. -o (the letter, not a zero) is the output name you wish to name the file with a suffix of .chd. Be sure to name it the same thing as the -i so the game will be read properly for your RetroArch playlist and boxart. You can rename the file afterwards by right clicking on it and renaming like normal if you messed it up in terminal.
4.2. I had issues in my troubleshooting of the terminal displaying this message: bash: syntax error near unexpected token `(’ This means something along the lines that you didn’t enlcose your parantheses correctly in bash. To avoid this just be sure to follow my template above and place the " in the spots I have shown.
- You’ll see the terminal run and see the .chd file appear in your game folder with the other files. Once the terminal is done processing you can delete all your .bin and .cue files and just keep the .chd file.
PS. Be sure your core can read .chd files and be sure the name your chose doesn’t have any typos.