-
Notifications
You must be signed in to change notification settings - Fork 2.6k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Make the support for unencrypted Wii disc images less broken #6947
Conversation
These disc images are only used on dev units and not retail units. There are two important differences compared to normal Wii disc images: - The data starts 0x8000 bytes into each partition instead of 0x20000 - The data of a partition is stored unencrypted and contains no hashes Our old implementation was just guesswork and doesn't work at all. According to testing by GerbilSoft, this commit's implementation is able to read and extract files in the filesystem correctly, but the tested game still isn't able to boot. (It's thanks to their info about unencrypted disc images that I was able to make this commit.)
0a6d1b5
to
5874341
Compare
Not that I don't trust their research, but is there any reference (documentation, disassembly, test image, ...) so someone could independently verify this? |
Other than GerbilSoft having some code for managing such disc images in one of their GitHub repos, there isn't anything like that available publicly as far as I know, unfortunately. |
I haven't published any documentation on the unencrypted images yet. I'll look into doing that sometime either today or this weekend. It'll be published in my rvthtool repository. |
Are these images a different thing than the .iso.dec created by nasos etc.? |
Yes, they're completely different. |
Here's my initial notes, which includes hexdumps of relevant sections: |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM
These disc images are only used on dev units and not retail units. There are two important differences compared to normal Wii disc images:
Our old implementation was just guesswork and doesn't work at all. According to testing by @GerbilSoft, this PR's implementation is able to read and extract files in the filesystem correctly, but the tested game still isn't able to boot. (It's thanks to their info about unencrypted disc images that I was able to make this PR.)