• Login
  • Register
  • Dolphin Forums
  • Home
  • FAQ
  • Download
  • Wiki
  • Code


Dolphin, the GameCube and Wii emulator - Forums › Dolphin Emulator Discussion and Support › Support v
« Previous 1 ... 35 36 37 38 39 ... 1198 Next »

Extracting disc contents then converting/reassembling to ISO won't play on a real Wii
View New Posts | View Today's Posts

Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Thread Modes
Extracting disc contents then converting/reassembling to ISO won't play on a real Wii
02-16-2022, 05:07 AM
#2
JosJuice Offline
Developer
**********
Developers (Some Administrators and Super Moderators)
Posts: 8,952
Threads: 7
Joined: Oct 2014
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.
Find
Reply
« Next Oldest | Next Newest »


Messages In This Thread
Extracting disc contents then converting/reassembling to ISO won't play on a real Wii - Nintendo Maniac 64 - 02-15-2022, 01:19 PM
RE: Extracting disc contents then converting to ISO won't play on a real Wii - JosJuice - 02-16-2022, 05:07 AM
RE: Extracting disc contents then converting/reassembling to ISO won't play on a real Wii - Nintendo Maniac 64 - 02-16-2022, 06:32 AM
RE: Extracting disc contents then converting/reassembling to ISO won't play on a real Wii - mbc07 - 02-16-2022, 12:58 PM

  • View a Printable Version
  • Subscribe to this thread
Forum Jump:


Users browsing this thread: 2 Guest(s)



Powered By MyBB | Theme by Fragma

Linear Mode
Threaded Mode