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


Dolphin, the GameCube and Wii emulator - Forums › Dolphin Emulator Discussion and Support › General Discussion v
« Previous 1 ... 106 107 108 109 110 ... 369 Next »

Wii disc internal hash checksums
View New Posts | View Today's Posts

Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Thread Modes
Wii disc internal hash checksums
11-03-2015, 02:49 AM
#1
themanuel Offline
Parasitic Member of the Community
*****
Posts: 828
Threads: 63
Joined: Oct 2009
I was reading through this month's progress report and saw the bit about Wii disc MD5 checksum changing after scrubbing.  Now a warning has been added so that users know this. 

However, while the checksum of the image itself will change when removing the padding data, Wii discs have an internal checksum record that can be used to assess the integrity of the useful data, even after trimming the image.  This is used by Wii Backup Manager and other tools to verify images compressed or not.

Does dolphin use this feature when verifying checksums?

I don't think the Gamecube discs have this feature, so compressing those does permanently prevent their integrity being verified after being compressed.  Does anybody know?
Windows 10 Pro x64  |  i7-9700K @ 4.6-5.0GHz  |  MSI Z370 Gaming Plus  |  MSI RX 5700 8GB Factory-OC  |  16 GB DDR4-3000
Find
Reply
11-03-2015, 02:57 AM
#2
ExtremeDude2 Offline
Gotta post fast
*******
Posts: 9,318
Threads: 273
Joined: Dec 2010
Isn't that for what is should be not what it is?
Check out my videos (dead)
[Image: sig-22354.png]
Website Find
Reply
11-03-2015, 02:59 AM (This post was last modified: 11-03-2015, 03:10 AM by JosJuice.)
#3
JosJuice Online
Developer
**********
Developers (Some Administrators and Super Moderators)
Posts: 8,952
Threads: 7
Joined: Oct 2014
(11-03-2015, 02:49 AM)themanuel Wrote: Wii discs have an internal checksum record that can be used to assess the integrity of the useful data, even after trimming the image.  This is used by Wii Backup Manager and other tools to verify images compressed or not.

Does dolphin use this feature when verifying checksums?

Dolphin is currently not using these checksums for anything. It's a good idea, though.

EDIT: Er, actually, I forgot that we have a function that uses them to verify the integrity of a partition. It's accessed by right-clicking a partition in the file system view in the game properties. I don't know if it interacts well with discs that have had blocks scrubbed inside partitions.

(11-03-2015, 02:49 AM)themanuel Wrote: I don't think the Gamecube discs have this feature, so compressing those does permanently prevent their integrity being verified after being compressed.

Yes, except Dolphin does not scrub GameCube discs while compressing them, so they will still have the same hash.
Find
Reply
11-03-2015, 03:01 AM (This post was last modified: 11-03-2015, 03:02 AM by themanuel.)
#4
themanuel Offline
Parasitic Member of the Community
*****
Posts: 828
Threads: 63
Joined: Oct 2009
ExtremeDude2:

I did not quite understand your comment.

My guess is that dolphin uses the internal checksum feature when verifying the useful content of Wii discs but the message is just there to warn users that their original image will not keep its original checksum.
Windows 10 Pro x64  |  i7-9700K @ 4.6-5.0GHz  |  MSI Z370 Gaming Plus  |  MSI RX 5700 8GB Factory-OC  |  16 GB DDR4-3000
Find
Reply
11-03-2015, 03:07 AM
#5
themanuel Offline
Parasitic Member of the Community
*****
Posts: 828
Threads: 63
Joined: Oct 2009
(11-03-2015, 02:59 AM)JosJuice Wrote:
(11-03-2015, 02:49 AM)themanuel Wrote: Wii discs have an internal checksum record that can be used to assess the integrity of the useful data, even after trimming the image.  This is used by Wii Backup Manager and other tools to verify images compressed or not.

Does dolphin use this feature when verifying checksums?

Dolphin is currently not using these checksums for anything. It's a good idea, though.

EDIT: Er, actually, I forgot that we have a function that verifies the integrity of a partition. I think it's accessed by right-clicking a partition in the file system view in the game properties. It might not interact well with discs that have had blocks scrubbed inside partitions.

(11-03-2015, 02:49 AM)themanuel Wrote: I don't think the Gamecube discs have this feature, so compressing those does permanently prevent their integrity being verified after being compressed.

Yes, except Dolphin does not scrub GameCube discs while compressing them, so they will still have the same hash.

Those internal Wii checksums would be useful to help validate bug reports.

Good point about the GCN disc compression. I should compress my images without fear of losing the hash and save myself some space.
Windows 10 Pro x64  |  i7-9700K @ 4.6-5.0GHz  |  MSI Z370 Gaming Plus  |  MSI RX 5700 8GB Factory-OC  |  16 GB DDR4-3000
Find
Reply
11-03-2015, 04:15 AM
#6
Jack Frost Offline
aka. BhaaL
**********
Developers (Some Administrators and Super Moderators)
Posts: 511
Threads: 3
Joined: Oct 2009
Main point about the hashes mentioned in the Progress Report is that you can verify them against known good hashes (such as http://redump.org/) or simply against what CleanRip/your-ripping-tool said in the end to see if your image has been transferred correctly. It does not refer to the integrity checks that might be built into the file system itself - altho we do seem to have both available for Wii disks.
Find
Reply
11-03-2015, 04:26 AM
#7
themanuel Offline
Parasitic Member of the Community
*****
Posts: 828
Threads: 63
Joined: Oct 2009
(11-03-2015, 04:15 AM)Jack Frost Wrote: Main point about the hashes mentioned in the Progress Report is that you can verify them against known good hashes (such as http://redump.org/) or simply against what CleanRip/your-ripping-tool said in the end to see if your image has been transferred correctly. It does not refer to the integrity checks that might be built into the file system itself - altho we do seem to have both available for Wii disks.

Makes sense.  I'll have to play a bit with dolphin's image tools.  All of my ripping had been image manipulation in the past was done with the Wii and PC-based tools like WBM.
Windows 10 Pro x64  |  i7-9700K @ 4.6-5.0GHz  |  MSI Z370 Gaming Plus  |  MSI RX 5700 8GB Factory-OC  |  16 GB DDR4-3000
Find
Reply
11-03-2015, 08:59 AM
#8
mbc07 Offline
Wiki Caretaker
*******
Content Creators (Moderators)
Posts: 3,578
Threads: 47
Joined: Dec 2010
From my experience with Dolphin's GCZ compression:
  • GameCube to GCZ compression is lossless. Same MD5 of the original ISO after decompressing the GCZ file.
  • Wii to GCZ compression is somewhat lossy. The files inside the ISO will remain intact, but the unused spaces will be scrubbed.

In other words, if your Wii ISO had the MD5 of a good dump before compressing it to GCZ, don't worry, its MD5 won't match anymore after decompressing but the game files will still be intact (you can confirm this by right clicking a partition and choosing "Check partition integrity" through Dolphin's Game Properties).
And about comparing the MD5 of a plain ISO vs a compressed ISO, as long as you use recent development builds (and use Dolphin's built-in "calculate MD5 hash"), Dolphin should return the MD5 of the uncompressed ISO, independent of whether it's compressed or not.
Avell A70 MOB: Core i7-11800H, GeForce RTX 3060, 16 GB DDR4-3200, Windows 11 (Insider Preview)
ASRock Z97M OC Formula: Pentium G3258, GeForce GT 440, 16 GB DDR3-1600, Windows 10 (22H2)
Find
Reply
« Next Oldest | Next Newest »


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


Users browsing this thread: 1 Guest(s)



Powered By MyBB | Theme by Fragma

Linear Mode
Threaded Mode