Converts a directory containing ".gz", ".7z" and ".zip" files into a directory containing ".chd" files, usually for purposes of console emulation.
Please select either Method A or Method B to install CHDconvert.
git clone https://github.com/nickheyer/CHDconvert
Change directory to where you cloned repo (in previous step)
cd C:\Where\you\cloned\this\repo
Install requirements
pip install -r requirements.txt
https://github.com/uqKami/CHDconvert/releases/latest
Unzip CHDconvert.7z and change directory to where you unzipped
cd C:\Where\you\unzipped\the\release
Install requirements
pip install -r requirements.txt
Some Linux distributions can give you chdman via aptitude with the mame-tools package. Use your distro's package/download manager to get mame-tools (for chdman). eg. Debian-variants using apt
sudo apt install mame-tools
Examples:
-
Simply run it, and provide the folder path when it asks for it.
python .\chdconvert.py
Converts every .7z file in given path to chd. Extracts first, outputs to folder name + "_tmp", then converts and output to folder name + "_out"
-
Provide a folder path as an arg
python .\chdconvert.py C:\Where\the\7zip\files\live
Does the same as the above
-
Provide the delete arg ("-d" or "--delete")
python .\chdconvert.py C:\Where\the\7zip\files\live --delete
Same as above, except it deletes the intermediary "folder_tmp" directory
-
Provide the replace arg ("-r" or "--replace")
python .\chdconvert.py C:\Where\the\7zip\files\live --replace
Replaces the 7zip file, deleting the original as well as the intermediary files in "folder_tmp"
Thanks CHDMAN!