If you prefer a visual interface, use or the web-based tool at chdman.com to drag and drop your files for conversion. Multi-Disc Games & M3U Files CHD files - RetroPie Docs
chdman createcd -i "gamefilename.cue" -o "gamefilename.chd" chd psx roms
It sounds like you're looking for versions of PSX (PlayStation 1) ROMs/ISOs. If you prefer a visual interface, use or
: Most top-tier emulators like DuckStation , SwanStation , and PCSX ReARMed support CHD natively. You simply point the emulator to your .chd file, and it boots exactly like an original disc. If you prefer a visual interface
This will crawl your input folder, find every .cue sheet, and generate a corresponding .chd in the output folder.