Antidote
It's took a little bit more time, because I don't own the game and a friend helped finding and analyzing this bug. Thanx for pointing it.
BUG REPORT
==========
wit uses an internal 4 MiB io-buffer for different things, and also for copying files. Wii images use 32-bit offsets, that must be multiplied by 4 to allow images >4 GiB; but GC not.
In the extract function I had forgotten the special GC case, so the offset-calculation of the next block were wrong. The follwing patch fix it:
Code:
- off4 += read_size >> 2;
+ if (part->part->is_gc)
+ off4 += read_size;
+ else
+ off4 += read_size >> 2;
The update will be released in the next days.