sahlberg / pop-fe

Python script to automate the process of fetching boxart and installing PS1 games (onto your PSP/VITA/PS2/PS3)
135 stars 13 forks source link

[Suggestion] CHD conversion support? #35

Closed ParzivalWolfram closed 10 months ago

ParzivalWolfram commented 10 months ago

As the CHD format is superior for holding CD-based titles (especially multi-track or multi-disc titles), and is used heavily in MAME and a few other emulators, it would likely be worth it to add support for these to the tool. On Debian, at least, you can find a chd converter, chdman, under the mame-tools package. I've also written a shell script for my own use in conversion, as it's a two-line affair with bchunk and chdman:

chdman extractcd -f -i "$1" -ob /tmp/tmp.bin -o /tmp/tmp.cue
bchunk /tmp/tmp.bin /tmp/tmp.cue "$2"
sahlberg commented 10 months ago

Please try current master. It will try to extract and use the cue/bin from a CHD file IF the chdman binary is available.

Does it support multidisc titles? If so, how do you list how many disks there are and how do you extract them?

ParzivalWolfram commented 10 months ago

Thanks, this worked. I can use CHDs just fine now.