Hacking Wii U image (WUD) compression tool

Mored1984

Member
Newcomer
Joined
Mar 24, 2016
Messages
5
Trophies
0
Age
40
Location
Kuwait
XP
92
Country
Just drag & drop "WUX" OR "WUD" file to the desktop icon.

=============
!U MUST sMiLe!
=============
 

Attachments

  • [WiiU-Tools] Wii U Image Compression Tool v1.0-[Exzap].rar
    289.6 KB · Views: 1,041
  • Screenshot.png
    Screenshot.png
    201.9 KB · Views: 1,336

Toxicshadow

Member
Newcomer
Joined
May 1, 2016
Messages
8
Trophies
0
Age
42
XP
71
Country
If there are any linux users out there, you can compile a native version if you make the following changes to the source:

replace all references to "_fseeki64" to "fseeko"
replace all references to "_ftelli64" to "ftello"
replace all references to "stricmp" to "strcasecmp"

Compile with "gcc main.cpp wud.cpp -o wiiu_compress"
 

osupka

Member
Newcomer
Joined
Feb 4, 2016
Messages
8
Trophies
0
Age
38
XP
70
Country
I looked through the source code... It looks like your tool is not bound to the WUD format specifically. It can be applied to any type of file. But the profit comes when the file has duplicate blocks of data of fixed size at fixed alignments. In your case it is 0x8000 block size. Which is also used in Wii isos.
I tried it with a Wii iso, and it's no help. I tried both, on unmodified iso, and on iso with the partitions decrypted. Looks like the unused space in Wii isos is filled with random garbage, which is not duplicated at all. The scrubbing tools just remove that garbage completly.
Pity. I hoped I could win some little extra space from compressing my Wii isos.
 
Last edited by osupka,

-razzor-

New Member
Newbie
Joined
Jun 12, 2016
Messages
1
Trophies
0
Age
27
XP
41
Country
Gambia, The
Hi, I was wondering if you can use this tool to put together split files of games (.part1, .part2,... rar files) and use it in cemu. For example, the game files obtained by extracting them with Uwizard. Can i put them back together with this tool? If not, could anybody tell me how i can do it?
 

osupka

Member
Newcomer
Joined
Feb 4, 2016
Messages
8
Trophies
0
Age
38
XP
70
Country
It would be good if this tool could include the game decryption key inside the WUX container. That way one wouldn't have to keep the key in a separate file.
 

Asia81

Yuri Lover ~
Member
Joined
Nov 15, 2014
Messages
6,656
Trophies
3
Age
29
XP
3,490
Country
France
Sorry to bump, but how do you decompress it back to a .wud format?
Because I need to explore the game datas (need to find texts and models of Twilight Princess HD EUR), and DiscU can't extract WUX files, and I don't want redowload the whole 25GB wud file...
Thanks ;)

EDIT : Sorry, I'm stupid... Simply drag'n'drop it again seems to work...
Code:
Input:
D:\Bureau\Emulateurs\Cemu\WudCompress\ZeldaTwilightPrincessHD.wux
Output:
D:\Bureau\Emulateurs\Cemu\WudCompress\ZeldaTwilightPrincessHD.wud
Decompressing...
30.2%
 
Last edited by Asia81,

Site & Scene News

Popular threads in this forum

General chit-chat
Help Users
  • No one is chatting at the moment.
    K3Nv2 @ K3Nv2: https://youtu.be/MddR6PTmGKg?si=mU2EO5hoE7XXSbSr