The file formats to adopt for CDs and other optical supports.
We have talked about a format, derived from researches we had on MAME, in order to be able to represent these supports in a compressed way, without losing the integrity of the data and that these can remain scrappable.
This format is the CHD (Compressed Hunks of Data), datas that could be useful for SEGA CD, PS1, PC Engine...
Unfortunately, the classic user will have difficulties to use the converter, which is a command line executable.
So here is a Zip file, with automated scripts, to convert from BIN+CUE (Redump format) to CHD, and vice versa.
It has been added also for the GDI format, which is for the Dreamcast.
For PS1 games protected by LibCrypt, normally you have SBI (Subchannel Information) files, you keep them and put them with the CHDs, otherwise your games will not pass.
If you ever lose them or make a bad manipulation, these files are available on the files of each corresponding disk at Redump, next to the re-downloadable CUE files.
You can download the software by clicking on CHDMAN.zip below.
In this zip you will find 6 files :
File name | Description |
---|---|
chdman.exe | CHDMAN software |
CUE or GDI to CHD.bat A .bat file that allows you to convert your CUE or GDI roms to CHD. | |
Extract CHD to CUE.bat | A .bat file that allows you to convert your CHD roms to BIN+CUE. |
Extract CHD to GDI.bat | A .bat file that allows you to convert your CHD rom to GDI. |
README_EN.txt | |
README_EN.txt |
CUE or GDI to CHD
Compresses all types of BIN disk files with a CUE or GDI header to CHD (v5) format.
Searches all subfolders and creates CHD (v5) files in the folder where the files are placed with CHDMAN.
Extract CHD to CUE Decompresses a CHD (v5) file to a BIN+CUE file. The CUE format is used by games on CD. On the Raspberry Pi, CHD is supported by TurboGrafx-CD / PC Engine CD, Sega CD / Mega CD and Dreamcast.
Extract CHD to GDI
Unzips a CHD (V5) file to GDI. (GDI is a disk format for Dreamcast).
CHDMAN exists for macOS via Homebrew.
First, you need to use the following command in the Terminal:
xcode-select --install
Next, you must use the following command in the Terminal:
/bin/bash -c "$(curl -fsSL https://raw.githubusercontent.com/Homebrew/install/HEAD/install.sh)"
echo 'eval $(/opt/homebrew/bin/brew shellenv)' >> ~/.zprofile
You must use the following command in the Terminal after Homebrew is installed:
brew install rom-tools
macOS 10.13 High Sierra minimum is required.
Here is a link to download files to automate format conversions:
In this zip you will find 6 files:
File name | Description |
---|---|
ConvertFromChdToCue.sh | A .sh file that allows you to convert your CHD roms to BIN /CUE format. |
convertFromChdToGdi.sh | A .sh file that allows you to convert your CHD roms to GDI format. |
convertFromChdToIso.sh | A .sh file that allows you to convert your CHD roms to ISO format. |
convertFromCueToChd.sh | A .sh file that allows you to convert your BIN /CUE roms to CHD . |
convertFromGdiToChd.sh | A .sh file that allows you to convert your GDI roms to CUE . |
convertFromIsoToChd.sh | A .sh file that allows you to convert your ISO roms to CUE . |
README_EN.txt | |
README_FR.txt |
convertFromChdToCue.sh
Decompresses a CHD (V5) file into a BIN+CUE file.
The CUE format is used by games on CD. CHD is supported by 3DO, Amiga CD32, Amiga CDTV, Dreamcast, Mega CD, Neo-Geo CD, PC Engine CD, PlayStation and Saturn.
convertFromChdToGdi.sh
Decompresses a CHD (V5) file into a GDI file.
The GDI format is used by disk-based games for Dreamcast.
convertFromChdToIso.sh
Decompresses a CHD (V5) file into an ISO file.
The ISO format is used by disk-based games for PlayStation 2.
convertFromCueToChd.sh
Compresses any type of BIN disk files with a CUE header to the CHD (v5) format. Searches all subfolders and creates CHD (v5) files in the folder where the files are placed with CHDMAN.
convertFromGdiToChd.sh
Compresses any type of BIN disk files with a GDI header to the CHD (v5) format. The GDI format is used by disk-based games for Dreamcast.
convertFromIsoToChd.sh
Compresses any type of BIN disk files with a ISO header to the CHD (v5) format. The ISO format is used by disk-based games for PlayStation 2.
Some Linux distributions can give you chdman via aptitude
with the mame-tools
package. Some others don't have any mame-tools
and you need to build it:
Code
green button then, in the visible menu, click on Download ZIP
make tools
build
directory.Here is a link to download files to automate format conversions:
In this zip you will find 6 files:
File name | Description |
---|---|
ConvertFromChdToCue.sh | A .sh file that allows you to convert your CHD roms to BIN /CUE format. |
convertFromChdToGdi.sh | A .sh file that allows you to convert your CHD roms to GDI format. |
convertFromChdToIso.sh | A .sh file that allows you to convert your CHD roms to ISO format. |
convertFromCueToChd.sh | A .sh file that allows you to convert your BIN /CUE roms to CHD . |
convertFromGdiToChd.sh | A .sh file that allows you to convert your GDI roms to CUE . |
convertFromIsoToChd.sh | A .sh file that allows you to convert your ISO roms to CUE . |
README_EN.txt | |
README_FR.txt |
convertFromChdToCue.sh
Decompresses a CHD (V5) file into a BIN+CUE file.
The CUE format is used by games on CD. CHD is supported by 3DO, Amiga CD32, Amiga CDTV, Dreamcast, Mega CD, Neo-Geo CD, PC Engine CD, PlayStation and Saturn.
convertFromChdToGdi.sh
Decompresses a CHD (V5) file into a GDI file.
The GDI format is used by disk-based games for Dreamcast.
convertFromChdToIso.sh
Decompresses a CHD (V5) file into an ISO file.
The ISO format is used by disk-based games for PlayStation 2.
convertFromCueToChd.sh
Compresses any type of BIN disk files with a CUE header to the CHD (v5) format. Searches all subfolders and creates CHD (v5) files in the folder where the files are placed with CHDMAN.
convertFromGdiToChd.sh
Compresses any type of BIN disk files with a GDI header to the CHD (v5) format. The GDI format is used by disk-based games for Dreamcast.
convertFromIsoToChd.sh
Compresses any type of BIN disk files with a ISO header to the CHD (v5) format. The ISO format is used by disk-based games for PlayStation 2.
BIN
/CUE
or GDI
to CHD
You can also run the .bat file to start the conversion of several games at once.
CHD
to BIN
/CUE
Put "chdman.exe" and "Extract CHD to CUE.bat" in the folder containing your game as below.
Example for the game "Grandia (France)":
Click on the file "Extract CHD to CUE.bat" to start the conversion.
Once the CMD window above has closed automatically, your conversion is complete.
You can delete "chdman.exe" and "Extract CHD to CUE.bat", your rom is ready.
You can also run the .bat file to start the conversion of several games at once.
CHD
to GDI
Put "chdman.exe" and "Extract CHD to GDI.bat" in the folder containing your game as below.
Example for the game "Grandia (France)":
Click on the file "Extract CHD to GDI.bat" to start the conversion.
Once the CMD window above has closed automatically, your conversion is complete.
You can delete "chdman.exe" and "Extract CHD to GDI.bat", your rom is ready.
You can also run the .bat file to start the conversion of several games at once.
BIN
/CUE
to CHD
Services
> Open in Terminal
. Once opened, execute the file with the command ./convertCueToChd.sh
to start the conversion.GDI
to CHD
Services
> Open in Terminal
. Once opened, execute the file with the command ./convertFromGdiToChd.sh
to start the conversion.ISO
to CHD
Put "convertFromIsoToChd.sh" in the folder containing your game as below.
Example for the game "Shadow of the Colossus (Europe, Australia) (En,Fr,De,Es,It)" :
Return to the parent folder, do a right click on it and select Services
> Open in Terminal
. Once opened, execute the file with the command ./convertFromIsoToChd.sh
to start the conversion.
Once your Terminal window has finished, your conversion is complete.
You can delete "convertFromIsoToChd.sh", your rom is ready.
CHD
to BIN
/CUE
Services
> Open in Terminal
. Once opened, execute the file with the command ./convertFromChdToCue.sh
to start the conversion.CHD
to GDI
Services
> Open in Terminal
. Once opened, execute the file with the command ./convertFromChdToGdi.sh
to start the conversion.CHD
to ISO
Put "convertFromChdToIso.sh" in the folder containing your game as below.
Example for the game "Shadow of the Colossus (Europe, Australia) (En,Fr,De,Es,It)" :
Return to the parent folder, do a right click on it and select Services
> Open in Terminal
. Once opened, execute the file with the command ./convertFromChdToIso.sh
to start the conversion.
Once your Terminal window has finished, your conversion is complete.
You can delete "convertFromChdToIso.sh", your rom is ready.
BIN
/CUE
to CHD
Put "convertFromCueToChd.sh" in the folder containing your game as below.
Example for the game "Grandia (France)" :
In your Terminal, execute the file with the command ./convertCueToChd.sh
to start the conversion.
Once your Terminal window has finished, your conversion is complete.
You can delete "convertFromCueToChd.sh", your rom is ready.
GDI
to CHD
Put "convertFromGdiToChd.sh" in the folder containing your game as below.
Example for the game "Resident Evil - Code - Veronica (France)" :
In your Terminal, execute the file with the command ./convertFromGdiToChd.sh
to start the conversion.
Once your Terminal window has finished, your conversion is complete.
You can delete "convertFromGdiToChd.sh", your rom is ready.
ISO
to CHD
Put "convertFromIsoToChd.sh" in the folder containing your game as below.
Example for the game "Shadow of the Colossus (Europe, Australia) (En,Fr,De,Es,It)" :
In your Terminal, execute the file with the command ./convertFromIsoToChd.sh
to start the conversion.
Once your Terminal window has finished, your conversion is complete.
You can delete "convertFromIsoToChd.sh", your rom is ready.
CHD
to BIN
/CUE
Put "convertFromChdToCue.sh" in the folder containing your game as below.
Example for the game "Grandia (France)" :
In your Terminal, execute the file with the command ./convertFromChdToCue.sh
to start the conversion.
Once your Terminal window has finished, your conversion is complete.
You can delete "convertFromChdToCue.sh", your rom is ready.
CHD
to GDI
Put "convertFromChdToGdi.sh" in the folder containing your game as below.
Example for the game "Resident Evil - Code - Veronica (France)" :
In your Terminal, execute the file with the command ./convertFromChdToGdi.sh
to start the conversion.
Once your Terminal window has finished, your conversion is complete.
You can delete "convertFromChdToGdi.sh", your rom is ready.
CHD
to ISO
Put "convertFromChdToIso.sh" in the folder containing your game as below.
Example for the game "Shadow of the Colossus (Europe, Australia) (En,Fr,De,Es,It)" :
In your Terminal, execute the file with the command ./convertFromChdToIso.sh
to start the conversion.
Once your Terminal window has finished, your conversion is complete.
You can delete "convertFromChdToIso.sh", your rom is ready.
.M3U
fileIn CHD conversion for multi-disk games, you have to make a M3U file to declare all the disks.
The .M3U
file is a list of the different CDs for a game that allows you to switch from one CD to another in a simple way by using the disc change combination (Hotkey
+ L. STICK
to the LEFT or to the RIGHT).
Example for the game "Grandia (France)":
M3U
file via Notepad++ named "Grandia (France).m3u".CHD
files of the game:Grandia (France) (Disc 1).chd
Grandia (France) (Disc 2).chd
View
at the top of the Windows Explorer window.