Hardware New Wii Unscrubber - SWiiT

nanook

Well-Known Member
OP
Member
Joined
Dec 17, 2008
Messages
115
Trophies
0
Website
www.scorehero.com
XP
938
Country
THIS APP HAS BEEN SUPERSEDED BY NKIT


SWiiT is a suite of tools for converting your Wii backup images from various scrubbed, shrunk and USB loader ripped formats back to the original
disc image.

It was based on the original Ultimate Unscrubber by Osupka. This version has been fully rewritten and many features added.

  • Unscrub Wii images from scene / scrubbed / wbfs (file) / iso.dec
  • Read the above images from Rar / Zip / 7zip etc
  • Create CRC / SHA1 / MD5 checksums
  • Rename restored images to match Redump dat crc
  • Rename restored images to match a secondary Redump compatible dat crc
  • Insert missing Update (inc rare extra data), Channel and VC partitions
  • Replace Brickblocked Update partitions
  • Auto fixes modified disc headers (where the Data header remains intact)
  • Fixes rare corrupt partition table (caused by WBM)
  • Fixes rare 0 byte file scrubbing (caused by WIT)
  • Fixes truncated images (where the Data partition is intact)
  • Fixes slightly overdumped images too (descrambled)
  • Fixes Data partitions moved before 0xF800000 to save space
  • All regions supported
  • Optimised for performance
  • Reusable library for use in other projects
  • Flexible custom post processing ability
This is the first release, there are more to come. Enjoy,

Nanook
 

Attachments

  • SWiiTv0.1.zip
    288.9 KB · Views: 5,063
Last edited by nanook,

johnsanc

Well-Known Member
Newcomer
Joined
Sep 27, 2016
Messages
46
Trophies
0
Age
40
XP
812
Country
United States
Fantastic work Nanook - you successfully resolved all of the quirks that Wii Ultimate Unscrubber had with not being able to unscrub a handful of games that had weird data after the update partition as well as the dozen or so games that made WUU choke with bogus H3 errors.

For anyone new to using this tool, read the readme and the FAQ thoroughly.
This tool is very powerful and flexible. Once you get it setup to your liking it will fix just about anything you throw at it.

Also, all known good Update, Channel, and VC partitions can be found on the *snip* repository. These are specifically for use with this tool.
I have also attached a recent redump dat file and a work-in-progress non-redump dat file. With these two dats and the partitions on mariocube just about every game can be restored.

Enjoy!
 

Attachments

  • Nintendo_Wii_Dats-20180714.zip
    288 KB · Views: 1,038
Last edited by Cyan, , Reason: sorry, link removed. as nice this repository could be for homebrew, it also contains piracy :(

Wacko22

Member
Newcomer
Joined
Jun 6, 2015
Messages
19
Trophies
0
XP
240
Country
United States
Congrats on release! I took the plunge and scrubbed my 55 1:1 ISOs. Running them through SWAT was a crucial first step; it identified one bad dump, and the partition extracts let me confidently remove the update partitions while scrubbing. Testing SWUU, I ran my new WBFSs through and got every 1:1 back, nice! Looking forward to that GC support. :)
 
  • Like
Reactions: nanook

johnsanc

Well-Known Member
Newcomer
Joined
Sep 27, 2016
Messages
46
Trophies
0
Age
40
XP
812
Country
United States
You can use whatever program you like. This will rebuild any scrubbed iso/wbfs assuming you have the partitions and a dat file with a known good CRC of the full iso.

That being said, most testing was done with images scrubbed with Wii Backup Manager or Wiimm's WIT toolset with various scrubbing options selected.
 
Last edited by johnsanc,
  • Like
Reactions: Wacko22

johnsanc

Well-Known Member
Newcomer
Joined
Sep 27, 2016
Messages
46
Trophies
0
Age
40
XP
812
Country
United States
Ah ok - The dat files contain the hashes for the full ISOs. Redump.org is the "source of truth" so to speak for these hashes (Notice how CleanRip references redump.org?). Any hashes for games not in the redump.org dat were gathered from various places and verified against several people's collections. This is why i provided both a Redump and Non-Redump dat in my previous post. These two files should contain hash data for almost every known ISO with the exception of some Korean games.

Now, the magic of this tool (as well osupka's original version) is that it uses an algorithm for combining CRCs. In very simple terms: Data CRC + Update CRC + Junk Data CRC = Full ISO CRC. Because we now know how to reconstruct the Junk Data algorithmically, the only common unknown to a scrubbed ISO is the update partition CRC. There are only a finite number of update partitions (~13gb total) since they are reused across games. This tool does the math and sees which CRC the update partition should have and then adds that partition in assuming you have it saved in your Partitions directory. Nanook's FAQ with the application explains in a little more detail.
 
  • Like
Reactions: wheeeyou

nanook

Well-Known Member
OP
Member
Joined
Dec 17, 2008
Messages
115
Trophies
0
Website
www.scorehero.com
XP
938
Country
You can restore, wbfs then verify using swuu. This leaves you with a wbfs that has been verified to be restorable. It's just temporary until wbfs output is added.

Back up your config files
  • Download and unzip wit
  • Edit swuu.exe.config - There are 2 post processing sections. Swap the comment from the bottom section to the top section (<!-- -->).
  • Edit SuperWiiDiscLibrary.dll.config - Set FullVerify to false (Verify will be done by the post processing)
  • Edit ToWbfs.bat inside the PostProcess folder - Set the line SET Wit="wit\wit.exe" to your wit path. Optionally edit call %wit% copy %1 --psel DATA %2 to scrub/wbfs the iso however you like (Only bad for Dragon Quest X backups). Use call %wit% copy %1 --psel -UPDATE %2 for 100% compatibility. This will preserve all extra channels
Now when you run swuu it will rebuild the iso as normal. Upon completing a successful restore, wit will be ran to wbfs the iso. The restored iso will then be deleted and the wbfs verified with swiv.

2 log files will be created in the swiv folder - PostProcessFailures.txt and PostProcessSuccess.txt. This allows large batches to be processed with swuu. ALWAYS check the 2 log files to ensure everything went well
 

Qriist

Member
Newcomer
Joined
Oct 24, 2010
Messages
22
Trophies
0
XP
177
Country
United States
Awesome! This is a magic bullet at a really annoying aspect of a compression framework I've been developing.

Can the same magic bullet be applied to GameCube games? They also have nonsense data - I just don't know if the data is programmatic.

Also, where does one find the ReDump Wii dats? They are currently not publicly available on Redump.org.
 
Last edited by Qriist,

GreyWolf

Well-Known Member
Member
Joined
Mar 2, 2015
Messages
5,399
Trophies
0
Age
54
XP
1,515
Country
United States
Awesome! This is a magic bullet at a really annoying aspect of a compression framework I've been developing.

Can the same magic bullet be applied to GameCube games? They also have nonsense data - I just don't know if the data is programmatic.

Also, where does one find the ReDump Wii dats? They are currently not publicly available on Redump.org.

I think the GC used the same seed method for the padding. If you're looking for the Wii Redump dat file you can get it from https://www.gc-forever.com/datfile/wii.dat but it's from 2012 so it's likely to be missing some titles that you'll have to get individually from redump.org.
 

GreyWolf

Well-Known Member
Member
Joined
Mar 2, 2015
Messages
5,399
Trophies
0
Age
54
XP
1,515
Country
United States
Hmm... I don't understand why they're such snobs about Wii data. You could also try getting the hashes for missing discs from GameTDB.
 

johnsanc

Well-Known Member
Newcomer
Joined
Sep 27, 2016
Messages
46
Trophies
0
Age
40
XP
812
Country
United States
Some redump dat files are only available to people who contribute to the database. If you have any disc dump info you would like to contribute just request an account on their forums.

I shared very up-to-date dats in this thread above. Also see attached for the latest as of today. I included both redump and "non-redump" (everything else).

The GameTDB hashes should NOT be trusted. There is a ton of bad info in there right now. Eventually we will update all GameTDB hashes in bulk. Until then, the attached files are the most accurate information available.

Cheers!
 

Attachments

  • Nintendo_Wii_Dats-20180825.zip
    1.2 MB · Views: 358

migles

All my gbatemp friends are now mods, except for me
Member
Joined
Sep 19, 2013
Messages
8,033
Trophies
0
Location
Earth-chan
XP
5,299
Country
China
now make it compatible with gamecube games and i will love ya :D

btw, where does it get the data thats erased from scrubbing? like that "rare extra data" you mention
 
Last edited by migles,
  • Like
Reactions: qwertimus

johnsanc

Well-Known Member
Newcomer
Joined
Sep 27, 2016
Messages
46
Trophies
0
Age
40
XP
812
Country
United States
Is scrubbing gamecube games very common?

There are already programs out there to compress GC games down using the same basic junk data generating algorithm. NASOS (Not Another Shrinker or Scrubber) is what you are looking for. There are 3 main versions of that tool:

1) NASOS - LedZeppelin68's (redump.org) original, slow and doesn't shrink Korean or dual disc games. Now obsolete
2) nNASOS - edc's enhanced version, much faster and supports Korean and dual disc games for both GC and Wii. Most commonly used version.
3) NASOS 2 - LedZeppelin68's updated version which is basically a consistent scrubbing / rebuilding tool. Output is directly playable in Dolphin. Only supports Gamecube games

Regarding "rare extra data" - Nanook can explain better. However there are a few games that have unknown data after the update partition that almost all tools will scrub out. Rampage and Ant Bully are examples.
 
Last edited by johnsanc,
  • Like
Reactions: 8BitWonder

Site & Scene News

Popular threads in this forum

General chit-chat
Help Users
    ButterScott101 @ ButterScott101: +1