Hacking wwpacker

alpha0000

Well-Known Member
OP
Newcomer
Joined
Sep 5, 2007
Messages
77
Trophies
0
XP
56
Country
Hong Kong
wwpacker 1.84

This is a set of tools and scripts to ease the steps for unpacking and packing
.W?D files with language, region string, video mode, ios flag, version and
region patched, fixing 001 check, 002 check or balance board support, changing
title id, or having the trucha signing bug restored.

The package setup/installer would create a set of shortcuts on start menu and
a shortcut on desktop for the drag and drop action of your file/folder.

The packer and unpacker included are from bfgr_tools_v039a.
It requires "common-key.bin" in the wwPacker folder.

To use the trucha signing bug restored feature, "cert.sys" is required in the
wwPacker folder. It can be found in WII_FS\SYS folder which is created by the
wii FS dumper.

To replace the loader with a custom one (Custom NAND Loader!?), you should
rename the custom loader to "loader.bin" and put it in the wwPacker folder.

All .BAT scripts are tested in Win2000 and WinXP. I don't guarantee they work
correctly in other OSes.


WARNING:
There're risks to use the tools and scripts here to unpack, pack or modify
your .W?D files. In the worst case, it may brick your Wii.
I take no responsibilities for any damages.
Use the tools and scripts here only if you know what they are used for.



FAQ:
Q: How to use?
A: Drag & drop .W?D files onto __wwunpacker.bat
Drag & drop .W?D files or folders created by _wwunpacker onto
_wwpacker-RegionFree.bat, _wwpacker-RegionFree-Plus.bat,
_wwpacker-IOS??.bat, _wwpacker-IOS??-Plus.bat, _wwpacker-Custom.bat,
_wwpacker-NoMod.bat, _wwpacker-FakeSign.bat, _wwpacker-JustSign.bat,
_wwpacker-FreeTheBug.bat, _wwpacker-DLCRegion.bat or _wwpacker-Loader.bat

Batch files:
__wwunpacker.bat : just unpacking
_wwpacker-RegionFree.bat : packing - Region-free only
_wwpacker-RegionFree-Plus.bat : packing - Region-free, WiiGF(Language, RegionString, Video, 001Fix, 002Fix, BalanceBoardFix)
_wwpacker-IOS??.bat : packing - IOS?? flag, Region-free
_wwpacker-IOS??-Plus.bat : packing - IOS?? flag, Region-free, WiiGF(Language, RegionString, Video, 001Fix, 002Fix, BalanceBoardFix)
_wwpacker-Custom.bat : packing - custom IOS flag, custom region flag, custom title id, custom version, fake ticket data, WiiGF(Language, RegionString, Video, 001Fix, 002Fix, BalanceBoardFix)
_wwpacker-NoMod.bat : No Modification, just packing
_wwpacker-FakeSign.bat : packing - tik and tmd signed, fake ticket data
_wwpacker-JustSign.bat : Just packing with tik and tmd signed
_wwpacker-FreeTheBug.bat : packing - restore trucha bug, patch ES_identify, patch nand permissions (for IOS .W?D)
_wwpacker-DLCRegion.bat : packing - change DLC region code (for DLC .W?D)
_wwpacker-Loader.bat : packing - replace loader, Region-free, WiiGF(Language, RegionString, Video, 001Fix, 002Fix, BalanceBoardFix)

Special batch files:
Drag & drop ticket/cetk onto __wwunpacker-Content.bat
__wwunpacker-Content.bat : unpack the encrypted content files (from NUSD) which are placed along with the ticket/cetk and the tmd


Q: What's the point of using .BAT scripts?
A: The scripts provide the support of drag & drop action.
You can finish your job in a few steps.

Q: Where is the "common-key.bin"?
A: Don't ask me.


CREDITS:
bfgr (Don't know if this is the author name), suloku for bfgr_tools
alpha-0 for WiiGF, wadDataInfo, freethebug, t-signer, titlefiles_fix, wwcxtool and HTool
ReturnerS for wglp
Waninkoko for wii-vmc
And ALL people who contribute to the scene!!

@ fxxkmii

---------------------
Download page:
http://sharebee.com/18ca583f
 

linkinworm

Well-Known Member
Member
Joined
May 30, 2008
Messages
1,548
Trophies
0
Age
31
Location
Birmingham (England)
XP
1,343
Country
this compression method for WW is intresting, how much space does it on average save in the system, does it delete anything needed like cutscenes ,music? and does it impact on the game speed psp compressed iso's sometimes slowdown if compressed
 

alpha0000

Well-Known Member
OP
Newcomer
Joined
Sep 5, 2007
Messages
77
Trophies
0
XP
56
Country
Hong Kong
Those are from original readme.

W?D = WWare format
This author (fxxkmii) intends to avoid some keywords (anti-search).

wwcxtool (which I created) can apply to any uncompressed OFFICIAL releases. For example, you can save 13xxKB for FFCC. However, "wwpacker" would not apply the compression to uncompressed releases because it can't find out whether the releases are OFFICIAL or not. The result of compressing a homebrew release is undetermined, ie. it may not support the compression.
 

alpha0000

Well-Known Member
OP
Newcomer
Joined
Sep 5, 2007
Messages
77
Trophies
0
XP
56
Country
Hong Kong
What's new in v1.6:
- All batch files are updated.
- 2 new scripts: _wwpacker-RegionFree.bat and _wwpacker-Custom.bat

----------
_wwpacker-RegionFree.bat : packing - Region-free only
_wwpacker-Custom.bat : packing - custom IOS flag, custom region flag, WGLP, Wii-VMC
 

alpha0000

Well-Known Member
OP
Newcomer
Joined
Sep 5, 2007
Messages
77
Trophies
0
XP
56
Country
Hong Kong
Since I received some people's questions, I think I should add some info for the n00bz.

Region Flag:
The title runs if its region flag matchs the region of your system menu or the region flag is region free. Note that region flag is not related to language.

IOS Flag:
Firmware 3.1 contains both IOS33 and IOS35. Therefore, setting the IOS flag to IOS33 or IOS35 will let the title running under 3.1.

WGLP:
A step to force language mode. Some titles may result black screen or freeze if the language of title doesn't match the language of your system. To fix this, one should set the language in order to force it to the original language of the title. YES, set the language belong to the title, NOT your system!

wii-vmc:
A step to change a set of video modes for the title. One could try this if there is video display problem. This wii-vmc step should be skipped if both your system and title are NTSC or both your system and title are PAL.

Other patchers:
Someone may want to use other patchers to remove the '001 check' if it's a disc channel.
 

alpha0000

Well-Known Member
OP
Newcomer
Joined
Sep 5, 2007
Messages
77
Trophies
0
XP
56
Country
Hong Kong
JimmyBobAlex said:
Thanks alpha for putting together this package. It's really been useful for quick and easy editing.
I just develop titlefiles_fix and wwcxtool.
All scripts are from fxxkmii in fact.
 

JimmyBobAlex

Well-Known Member
Member
Joined
Nov 5, 2002
Messages
162
Trophies
0
Website
Visit site
XP
313
Country
United States
Whoops, well let me rephrase that then. Thanks for your contribution to it and making us aware of its existence. There that's better I think...

Either way, very handy tool set.
 

OSW

Wii King
Former Staff
Joined
Oct 30, 2006
Messages
4,787
Trophies
0
XP
451
Country
Is 00000001.app the only file that can be compressed with wwcxtool?

has anyone had any success with homebrew compression? i tried it with VBA channel but it code-dumped me.
 

alpha0000

Well-Known Member
OP
Newcomer
Joined
Sep 5, 2007
Messages
77
Trophies
0
XP
56
Country
Hong Kong
What's new in v1.62:
- 2 new scripts: _wwpacker-JustSign.bat and _wwpacker-FreeTheBug.bat

PS. _wwpacker-FreeTheBug is for IOSes. See FreeTheBug.txt for more info.

----------
_wwpacker-JustSign.bat : Just packing with tik and tmd signed
_wwpacker-FreeTheBug.bat : packing - trucha bug restored (for IOS .W?D)
 

stev418

Well-Known Member
Member
Joined
Sep 25, 2007
Messages
492
Trophies
0
Website
Visit site
XP
193
Country
Brilliant set of tools alpha-0 . Have been using for various things for a while. bfgrWadUnpackerWin_TitleFiles_Fix.exe has come in handy as for some reason titlefiles stopped unpacking properly on my windows system (they used to be fine) but bfgrWadUnpackerWin_TitleFiles_Fix.exe fixing them right up.

Also i have used your tools successfully to get NTSC SNES VC games to work on PAL machines, that prior methods couldnt get region free.

_wwpacker-FreeTheBug.bat --> nice edition
smile.gif
 

alpha0000

Well-Known Member
OP
Newcomer
Joined
Sep 5, 2007
Messages
77
Trophies
0
XP
56
Country
Hong Kong
What's new in v1.63:
- change to installer(winrar) package. Its setup would create a set of shortcuts on start menu and a shortcut on desktop.
- fix the problem of drag and drop action for the file/folder in other partitions.
- the output file/folder would be created in the same folder of the file/folder you dropped.

-----
fxxkmii fixes his buggy scripts finally.
smile.gif
 

alpha0000

Well-Known Member
OP
Newcomer
Joined
Sep 5, 2007
Messages
77
Trophies
0
XP
56
Country
Hong Kong
What's new in v1.64:
- add the tool "WadDataInfo" which show the info of any .wad, .tik, .tmd files.
- "wwpacker-custom" script would show the tmd info at the beginning.

Those info includes the following fields:
Path, Type, TitleID, Version, ManufacturerID, IOS Flag, Region Flag,
No. of data files and Estimated installed size.
 

alpha0000

Well-Known Member
OP
Newcomer
Joined
Sep 5, 2007
Messages
77
Trophies
0
XP
56
Country
Hong Kong
What's new in v1.65:
- wwpacker-Custom script updated. It allows changing the Title ID.
- wwpacker-DLCRegion script added.

----
_wwpacker-Custom.bat : packing - custom IOS flag, custom region flag, custom title id, WGLP, Wii-VMC
_wwpacker-DLCRegion.bat : packing - change DLC region code (for DLC .W?D)
 
General chit-chat
Help Users
    The Real Jdbye @ The Real Jdbye: @SG854 every phone i have owned for the last decade has been OLED lol no there's nothing 3D...