![]() |
|
Extracting disc contents then converting/reassembling to ISO won't play on a real Wii - Printable Version +- Dolphin, the GameCube and Wii emulator - Forums (https://forums.dolphin-emu.org) +-- Forum: Dolphin Emulator Discussion and Support (https://forums.dolphin-emu.org/Forum-dolphin-emulator-discussion-and-support) +--- Forum: Support (https://forums.dolphin-emu.org/Forum-support) +--- Thread: Extracting disc contents then converting/reassembling to ISO won't play on a real Wii (/Thread-extracting-disc-contents-then-converting-reassembling-to-iso-won-t-play-on-a-real-wii) |
Extracting disc contents then converting/reassembling to ISO won't play on a real Wii - Nintendo Maniac 64 - 02-15-2022 As you may or may not know, you can use Dolphin to extract the entire contents of a disc and then similarly use Dolphin to reassemble those extracted files back into a new ISO: Click for details on the process that I'm referring to: (Show Spoiler)
However, I just recently discovered that ISO files created this way do not actually work on real Wii hardware (at least not when launched via USB Loader GX). This surprised me as the process doesn't really seem all that different from what you've been able to do with Wii Backup Fusion for what has to be more than a decade now, yet extracting the entire contents of a disc through Wii Backup Fusion and then similarly reassembling the extracted files back into a new ISO file via Wii Backup Fusion will result in ISO iles that "just work" on real hardware. So simply put, is this expected behavior? For reference, this was tested with Link's Crossbow Training as well as Metroid: Other M - in fact it was when I was trying to get Other M Maxximum Edition working on real hardware that I discovered this issue and then decided to confirm if it also occurs with Link's Crossbow Training (since that game has a much smaller file size which made things easier to deal with). And in terms of Dolphin versions, it was tested using some 9-month old beta version from May 2021 as well as the recent 2022-02-01 beta version, but the results were identical either way. And speaking of Dolphin, ISO files created by both Dolphin and Wii Backup Fusion will run just fine in Dolphin. RE: Extracting disc contents then converting to ISO won't play on a real Wii - JosJuice - 02-16-2022 This is a known bug, or a known missing feature depending on how you look at it. The short summary is that Dolphin doesn't regenerate the H3 hashes and doesn't fakesign the disc. Dolphin with its IOS HLE ignores incorrect hashes and signing when you try to run a game, but a real Wii does care, and so the files that are generated by Dolphin don't work on real hardware. The incorrect H3 hashes generate a medium severity warning in Properties > Verify, by the way. So why doesn't Dolphin support doing this? Well, the way that a normal converting program would most likely do it is: First you write out almost all of the disc, calculating the H3 hash for each part of the disc as you go. Then you seek back to the area close to the beginning of each partition where the H3 hashes are, and write the H3 hashes. Then you perform fakesigning, and write the fakesigned TMD just next to the H3 hashes. Those steps have to be done in that exact order in order for all the necessary data to be available. Now, what you have to keep in mind is that Dolphin's support for extracted disc images was originally designed only for the purpose of running them, not for converting them back to a normal ISO. (The ability to convert them just kind of ended up being possible as a side effect of how Dolphin's disc formats code is constructed.) Implementing H3 hashing and fakesigning for when you run an extracted game would be rather awkward, since if you ever want to read the TMD or the H3 hashes, Dolphin would have to read through almost the entire game, which could cause it to have to pause for something like a minute. Technically it could be implemented in that way, and then converting would give you the result you're expecting, but then the conversion process would have to end up reading the whole game twice (first for calculating the H3 hashes and then for real), with the progress bar just being frozen the first time. Implementing a special solution just for converting (along the lines of steps I described earlier) wouldn't be impossible, but the way Dolphin's disc formats code is structured right now would make it rather ugly to implement. After all, Dolphin is primarily aimed at letting you play games, not at letting you convert them. And so this is a rather deprioritized feature. RE: Extracting disc contents then converting/reassembling to ISO won't play on a real Wii - Nintendo Maniac 64 - 02-16-2022 Maybe it's not my place to suggest this since I imagine that the user-facing UI side of things is super unimportant in terms of bottlenecks preventing this from being implemented, but a checkbox labeled something like "repair for playing on real hardware (not 1:1 clean)" on the conversion window which itself would be always be greyed out unless you were specifically converting from extracted files (which Dolphin seems to already be able to know when this is the case as it always labels the file size of extracted files as zero). RE: Extracting disc contents then converting/reassembling to ISO won't play on a real Wii - mbc07 - 02-16-2022 Why not use WIT to rebuild the ISO? AFAICT the folder structure generated by Dolphin's "Extract Entire Disc" command is the same as WIT, so it should be possible to use it to rebuild a fake signed ISO at the last step (e.g. Extract disc with Dolphin => Modify the game files => Build a new ISO with WIT)... |