Page 1 of 1

CHD handling bug?

Posted: Mon Sep 02, 2024 4:32 am
by sonycman

Hi there.
Recently tried Cannon Fodder (EU).chd image and it even not recognized in workbench 3.1.4 on Mister.
The same image converted in .bin/.cue recognized fine!

Is that so for everybody?

This image consists of two data tracks, and from the mister's main code it seems it mistakingly accesses first track using offsets and track type of second track.

Might be there is assumption that any cd image should contain only one data track?

But again, from the mister's code even audio CD sectors processed using static data track offsets!

Is that a bug,, bad image file, or just me misunderstanding something?


Re: CHD handling bug?

Posted: Mon Sep 02, 2024 11:32 am
by limi

Not an answer to your question, but: Does this mean the game boots when you have it in bin/cue format? Or just that it shows up in WB?


Re: CHD handling bug?

Posted: Mon Sep 02, 2024 5:23 pm
by MrX_Cuci

Might be a CHD bug? It has definitely two data tracks: http://redump.org/disc/3427/


Re: CHD handling bug?

Posted: Mon Sep 02, 2024 6:20 pm
by sonycman
limi wrote: Mon Sep 02, 2024 11:32 am

Not an answer to your question, but: Does this mean the game boots when you have it in bin/cue format? Or just that it shows up in WB?

It shows up and let me browse it contents, yes, not trying to boot it yet, it needs to setup emulator etc...

MrX_Cuci wrote: Mon Sep 02, 2024 5:23 pm

Might be a CHD bug? It has definitely two data tracks: http://redump.org/disc/3427/

This is what i'am interested in - this .chd image behaves like this for everybody, or just for me?

On my end i just patched the code, so at the moment this .chd image shows up and reads fine, but it must be tested more, of course.


Re: CHD handling bug?

Posted: Mon Sep 02, 2024 7:04 pm
by Retro-Nerd

Use the latest CHDman version and compress the game yourself. Then you know it for sure. There a lot of broken/outdated CHDs out in the web.


Re: CHD handling bug?

Posted: Thu Sep 26, 2024 6:33 pm
by limi
limi wrote: Mon Sep 02, 2024 11:32 am

Not an answer to your question, but: Does this mean the game boots when you have it in bin/cue format? Or just that it shows up in WB?

To answer my own question: Using the BIN/CUE version still does not make it boot on the Amiga/Minimig core, same as trying it via CHD — unfortunately one of the few games that won’t work!

https://amiga.vision/cd32 for current compatibility list.


Re: CHD handling bug?

Posted: Thu Sep 26, 2024 10:00 pm
by Retro-Nerd

Probably an issue with the included FMV intro in MPEG-1 format. I doubt that the CD32 MPEG addon module is implemented yet. Forgot about it that Cannon Fodder CD32 uses it, should be the only game though (besides the support for Video-CD movies).


Re: CHD handling bug?

Posted: Fri Sep 27, 2024 1:05 am
by limi

You’d think they would implement an automatic skip if it can’t find the module, since it would cause the game to break on 99% of CD32s, but who knows 😄


Re: CHD handling bug?

Posted: Fri Sep 27, 2024 11:21 am
by rhester72
limi wrote: Fri Sep 27, 2024 1:05 am

You’d think they would implement an automatic skip if it can’t find the module, since it would cause the game to break on 99% of CD32s, but who knows 😄

Funnily enough, it does have exactly such a skip if no module is found...but something about the emulator is indicating one is there.