FIX94 / Nintendont

A Wii Homebrew Project to play GC Games on Wii and vWii on Wii U
1.93k stars 325 forks source link

Multi-game discs larger than 4 GB don't work properly #317

Open GerbilSoft opened 8 years ago

GerbilSoft commented 8 years ago

[filing this here for reference; I'm working on fixing this in my branch]

The disc read functions (ISO, RealDI, and FST) as well as ISOShift all use 32-bit offsets. This makes it impossible to use a GCOS Multi-Game disc with more than 4 GB.

Here's what currently happens:

In my widescreen/CISO/menu branch, https://github.com/GerbilSoft/Nintendont/commits/widescreen-hax.r422, I've currently fixed the Nintendont loader crash when selecting a DVD-R9 image on an exFAT partition, and disabled selection of games that start after 4 GB.

What else needs to be done:

If I can find my old GCOSDVD9 discs tonight, I'll do some more fixes for RealDI.

GerbilSoft commented 8 years ago

https://github.com/GerbilSoft/Nintendont/raw/v4.422-CISO-test4/loader/loader.dol

The latest test build from my widescreen/CISO branch has full support for DVD-9 multi-game images on an exFAT partition. When using an actual DVD-R5, it still gets stuck on some games (Super Mario Sunshine freezes after the progressive scan prompt), and all games report that the disc cover is open on my DVD-R9. I'm not sure if it's a problem with RealDI or if my discs are broken.

I'll try ripping the discs to a file and test them again as disc images.