Open synrais opened 2 years ago
Er, I'm lost, where's the issue here again?
Shrunk Dreamcast images have the .iso extension. CHDMAN renames them to bin. It also cannot use the -ob switch on these images. I edited chdman to force .iso extension then made a batch that renames the track.gdi to disc.gdi
MAME DC support has been intended for .gdi, attempting to use an .iso for the non canonical GD-Rom format is bound to fail, again I feel this being nitpicky (at best) kind of problem as described in https://github.com/mamedev/mame/issues/11903#issuecomment-2005558599 versus https://github.com/mamedev/mame/issues/12154
https://drive.google.com/file/d/1IiYsvNDVBBTmr0GeKQC231_sz5L5OY1f/view?usp=sharing
I had to edit CHDMAN to name files correctly when decompressing shrunk Dreamcast GDI images.
CHDMAN does not check if bin or iso, so I changed .bin to .iso in the chdman.cpp. As a result this forces .iso extension and correct track extensions in the .gdi.
Also the -ob switch doesn't work for GDI because if it did it would rename the .raw and .bin extensions as the same extension. So the batch file forces "track" as the name for generated files and renames track.gdi to disc.gdi after extraction.
It should only be used for shrunk GDI images containing .iso and never used on an image with .bin.
Thanks for a super handy program :)