Wiimm / wiimms-iso-tools

»Wiimms ISO Tools« is a set of command line tools to extract, modify and create Wii and GameCube ISO images and WBFS containers.
https://wit.wiimm.de
106 stars 13 forks source link

wwt assertion failed with GC ISOs #1

Closed nilp0inter closed 3 years ago

nilp0inter commented 3 years ago

Hi,

I am hitting this assert trying to add a GC ISO.

https://github.com/Wiimm/wiimms-iso-tools/blob/24e2650dea3a994dc3c8149646eb80bc6a8b291a/project/src/libwbfs/wiidisc.c#L865

wwt add --ignore --auto /home/nil/Downloads/Super\ Mario\ Sunshine.iso
*****  wwt: Wiimms WBFS Tool v3.02a r0 x86_64 - Dirk Clemens - 2020-07-31  *****
WBFSv1 #1/1 opened: /dev/sdb
 - ADD 1/1 [GMSP01] ISO:/home/nil/Downloads/Super Mario Sunshine.iso
!! wwt: ERROR #126 [FATAL ERROR] in wd_read_part() @ src/libwbfs/wiidisc.c#865
!!      ASSERTION FAILED !!!

Any ideas?

nilp0inter commented 3 years ago

I've just commented the assert and tried again. This time the ISO was copied successfully and the resulting game although listed OK by wwt list coudn't be run through USB Loader GX (it is listed with an empty name and when run it just reset the USB Loader).

Wiimm commented 3 years ago

I removed the assertion already in my working copy anyone in the past. So it is fixed. I plan a new release soon.