mame icon indicating copy to clipboard operation
mame copied to clipboard

CHDMAN cannot process shrunk Dreamcast GDI with ISO names correctly.

Open synrais opened this issue 2 years ago • 3 comments

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 :)

synrais avatar Mar 22 '22 21:03 synrais

Er, I'm lost, where's the issue here again?

angelosa avatar Nov 03 '22 23:11 angelosa

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

synrais avatar Nov 03 '22 23:11 synrais

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

angelosa avatar Mar 19 '24 01:03 angelosa