Run this command (replace input.cue with your actual disc image file):
(arcade CHDs):
Note: If your files are zipped, you must unzip them first before using 3. The Automated Way: Batch Scripts (Windows/Linux) Convert Zip To Chd