Hacking wwpacker

alpha0000

Well-Known Member
OP
Newcomer
Joined
Sep 5, 2007
Messages
77
Trophies
1
XP
73
Country
Hong Kong
s3phir0th115 said:
I wanted to make a suggestion on here. Your FreetheBug script automatically does the ES_Identify patch as well as the trucha bug restoration. I would like to suggest that you make that optional, as I've heard there are problems with using the ES_Identify in IOS's other than IOS36.
Thanks your suggestion. I heard the problems about something BUGGY too. But what's the problems really?

Anyway, you could modify "task-wwpack-freethebug.bat" by removing the "-i" option to disable the ES_identify patch.

If the patched IOSes are found much worse than the original IOSes (e.g. patched IOS55 < original IOS55), I will make it optional in the next version.
 

s3phir0th115

Well-Known Member
Member
Joined
Dec 31, 2008
Messages
728
Trophies
1
XP
1,003
Country
United States
alpha0000 said:
Thanks your suggestion. I heard the problems about something BUGGY too. But what's the problems really?

I'm not entirely sure, but I believe WiiPower knows about it. He may be able to tell you why.

I just know that I saw it mentioned that it has been mentioned that it can cause a problem in other IOS's other than 36, as I saw that newer versions of Dop-IOS don't allowing patching ES_Identify into non IOS36 IOS's because of it.

http://wiibrew.org/wiki/Dop-IOS

It mentions it in History, first one under Version 4. I figured that if it was removed from the program, there must be at least a mentionable problem with the ES_Identify patch being applied to IOS's other than 36.

alpha0000 said:
Anyway, you could modify "task-wwpack-freethebug.bat" by removing the "-i" option to disable the ES_identify patch.

Yeah, I did that to patch my IOS60 with the trucha bug.

QUOTE(alpha0000 @ Jul 17 2009, 01:15 AM)
If the patched IOSes are found much worse than the original IOSes (e.g. patched IOS55 < original IOS55), I will make it optional in the next version.

Cool. Hopefully WiiPower will be able to help explain it better.
 

stev418

Well-Known Member
Member
Joined
Sep 25, 2007
Messages
492
Trophies
1
Website
Visit site
XP
200
Country
hi alpha-0 Ive found something wierd with 1 game i have, this only seems to happen with this game

Super Mario Bros. 2 PAL when you unpack the wad for some reason 1 byte is getting cut off from somewhere in top portion of the TIK file :\

its weird, i cant find what is making it happen
 

Wack0

Well-Known Member
Member
Joined
Apr 29, 2009
Messages
129
Trophies
0
XP
196
Country
alpha0000: encryption keys are not copyrightable, it is legal to distribute the common key with the package. ebe42a225e8593e448d9c5457381aaf7.
 

alpha0000

Well-Known Member
OP
Newcomer
Joined
Sep 5, 2007
Messages
77
Trophies
1
XP
73
Country
Hong Kong
stev418 said:
hi alpha-0 Ive found something wierd with 1 game i have, this only seems to happen with this game

Super Mario Bros. 2 PAL when you unpack the wad for some reason 1 byte is getting cut off from somewhere in top portion of the TIK file :\

its weird, i cant find what is making it happen
I haven't owned that game. But I got it, tested it and deleted it.

I hadn't found any problems on the ticket in the test. And that ticket was signed by kikikaka's packer.

Note that the titleFiles_fix stuff in v1.83 had been moved from "task-wwpack-prepare.bat" to "task-wwunpack.bat". If someone still keep the old "task-wwpack-prepare.bat", then it may got running the titleFiles_fix stuff twice during unpacking and packing and had a chance damaging the title files.

If you still got the problem, you could send a pm to me with the stuff. I will test it to see if the problem really exists.
 

alpha0000

Well-Known Member
OP
Newcomer
Joined
Sep 5, 2007
Messages
77
Trophies
1
XP
73
Country
Hong Kong
Wack0 said:
alpha0000: encryption keys are not copyrightable, it is legal to distribute the common key with the package. ebe42a225e8593e448d9c5457381aaf7.
It's not the matter I concerned.

In fact, the missing files is a test. It's fxxkmii's idea.
 

alpha0000

Well-Known Member
OP
Newcomer
Joined
Sep 5, 2007
Messages
77
Trophies
1
XP
73
Country
Hong Kong
What's new in v1.84:
- add: the region(country) string patch is now an option in the plus script.
- improve: packer scripts are now using the last ticket when the ticket file contains data of more than one ticket.
- improve: FreeTheBug script is now having options for users to choose the patches they want.
- update: FreeTheBug v1.12, this version adds the nand permissions patch. (See FreeTheBug.txt)

-----
_wwpacker-RegionFree-Plus.bat : packing - Region-free, WiiGF(Language, RegionString, Video, 001Fix, 002Fix, BalanceBoardFix)
_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-Loader.bat : packing - replace loader, Region-free, WiiGF(Language, RegionString, Video, 001Fix, 002Fix, BalanceBoardFix)
_wwpacker-FreeTheBug.bat : packing - restore trucha bug, patch ES_identify, patch nand permissions (for IOS .W?D)
 

Ben.

Well-Known Member
Member
Joined
Jan 3, 2009
Messages
126
Trophies
0
XP
100
Country
This is a brilliant tool, I was hoping though you could add support for packing and unpacking a strange archive I found. I used your wwcxtool.exe allows me to unpack and pack .lz7 files (YAY). However, inside these files I am then presented with an archive I am not sure if it has been hacked and I aren't brainy enough to manually extract or pack files using a hex editor. Either way, these archives when viewed in a hex editor display PACK (50 41 43 4B) as the first 4 characters. Why do I need such a tool? Because I'd like to hack the best FPS multiplayer wiiware experience on the wii (Water Warfare) to look a little more serious graphically.

If you can, that'd be awesomness(I assume you'd need a sample file?). If you can't thankyou, and I hope you can point me in the right direction.
 

alpha0000

Well-Known Member
OP
Newcomer
Joined
Sep 5, 2007
Messages
77
Trophies
1
XP
73
Country
Hong Kong
To Ben,
A '50' compression? But I still got '40' compression unsolved. It's because I'm quite busy recently, have no time to play the puzzle game.

Thanks for telling me about the new compression found in the archives of WaterWarfare. However, one sample is not enough normally. If you can't find enough clues, you can't solve the puzzle.

Anyway, I will take a look on it if I have time. But please don't expect me to solve it. If I need samples, I will send a pm to you.
 

Ben.

Well-Known Member
Member
Joined
Jan 3, 2009
Messages
126
Trophies
0
XP
100
Country
alpha0000 said:
To Ben,
A '50' compression? But I still got '40' compression unsolved. It's because I'm quite busy recently, have no time to play the puzzle game.

Thanks for telling me about the new compression found in the archives of WaterWarfare. However, one sample is not enough normally. If you can't find enough clues, you can't solve the puzzle.

Anyway, I will take a look on it if I have time. But please don't expect me to solve it. If I need samples, I will send a pm to you.


Ah thanks. At least it isn't a hopeless situation.
 

Shonk

Well-Known Member
Newcomer
Joined
May 11, 2009
Messages
61
Trophies
0
XP
50
Country
United States
I have found a bug

if you use _wwpacker-NoMod.bat on Internet channel downloaded with nusd unsigned un messed with
the crc32 changes on the tmd
the last few bytes are messed with

if i install it to a wii first then dump with wad creator
then repack with _wwpacker-NoMod.bat it doesnt touch the tmd



also just sign sucks

you need something like

Sign_Inject (where you sign the tmd and tik)
Sign_Tik (where you just sign the tik and leave the tmd intact)
 

Kakkoii

Old fart
Member
Joined
Sep 14, 2007
Messages
631
Trophies
0
XP
586
Country
Canada
Thanks for this, was looking for something to allow me to change the 4 digit title of WAD's so that I can create move injected WAD's to an SD without it saying it's already on there.
 

alpha0000

Well-Known Member
OP
Newcomer
Joined
Sep 5, 2007
Messages
77
Trophies
1
XP
73
Country
Hong Kong
Shonk said:
I have found a bug

if you use _wwpacker-NoMod.bat on Internet channel downloaded with nusd unsigned un messed with
the crc32 changes on the tmd
the last few bytes are messed with

if i install it to a wii first then dump with wad creator
then repack with _wwpacker-NoMod.bat it doesnt touch the tmd



also just sign sucks

you need something like

Sign_Inject (where you sign the tmd and tik)
Sign_Tik (where you just sign the tik and leave the tmd intact)
Who said wwpacker supports packing the decrypted contents which are unpacked by NUSD? Are you sure it's the problem of wwpacker, and not the problem of NUSD? The _wwpacker-NoMod.bat won't sign tik or tmd, or correct the hash strings inside a tmd. Also, it gots no AI to detect whether the decrypted contents had passed the hash check or not. Therefore, it's not a bug.
 

Shonk

Well-Known Member
Newcomer
Joined
May 11, 2009
Messages
61
Trophies
0
XP
50
Country
United States
get nusd to download internet channel and get it to pack into a wad

take that wad and pass it through _wwpacker-nomod.bad

then unpack both and compare the tmd's

oops tmd changed


alpha0000 said:
Shonk said:
I have found a bug

if you use _wwpacker-NoMod.bat on Internet channel downloaded with nusd unsigned un messed with
the crc32 changes on the tmd
the last few bytes are messed with

if i install it to a wii first then dump with wad creator
then repack with _wwpacker-NoMod.bat it doesnt touch the tmd



also just sign sucks

you need something like

Sign_Inject (where you sign the tmd and tik)
Sign_Tik (where you just sign the tik and leave the tmd intact)
Who said wwpacker supports packing the decrypted contents which are unpacked by NUSD? Are you sure it's the problem of wwpacker, and not the problem of NUSD? The _wwpacker-NoMod.bat won't sign tik or tmd, or correct the hash strings inside a tmd. Also, it gots no AI to detect whether the decrypted contents had passed the hash check or not. Therefore, it's not a bug.
 

alpha0000

Well-Known Member
OP
Newcomer
Joined
Sep 5, 2007
Messages
77
Trophies
1
XP
73
Country
Hong Kong
Shonk said:
get nusd to download internet channel and get it to pack into a wad

take that wad and pass it through _wwpacker-nomod.bad

then unpack both and compare the tmd's

oops tmd changed
Wad files created by nusd are not compatible with bfgr_wadunpacker. It is caused by either the bug of bfgr_wadunpacker or the bug of nusd (I knew why this happened, but didn't know which is right). For this wwpacker project, we won't do any modification to the original tools. Therefore, this compatibility issue won't be solved.

You should use __wwunpacker-Content.bat to work with the encrypted content files from nusd. That's the only way which wwpacker supports.
 

Ben.

Well-Known Member
Member
Joined
Jan 3, 2009
Messages
126
Trophies
0
XP
100
Country
I have another feature request. I know your already swamped with requests and you are very busy. But likewise with my other request if not more so than that I'd like to see .brres repacking. We can already extract from a brres archive so it shouldn't be too hard to compress files back into a brres archive right? The SZS modifier geared at mario kart hacking has a brres repacking ability although it does something strange to the file size and file structure within the archive.

Again if you do not have the time then don't worry. Please don't think I'm demanding you to do this either, I know how stressfull it can be programming with people asking for over the top feature requests. Either way I will be tracking this tool and hope to see it develop well beyond my needs. Thanks again for all the hard work and good look with whatever is next instore for this brilliant utility.

Regards, Ben.
 

Rockmaniac

Well-Known Member
Newcomer
Joined
Oct 15, 2008
Messages
92
Trophies
0
XP
332
Country
I feel like such a n00b - but I just can't seem to figure out how this system works - specifically the Region altering parts..

I have common-key.bin in my folder + an NTSC Game W*d (claiming to be Region Free) - of a NES Mega Man 6...which I am 100% sure works on NTSC consoles..

Now I dropped the MM6 w*d onto _wwpacker-RegionFree.bat - This looked like it worked - but when I installed successfully - and then ran the patched w*d on the Wii - I only got a Black Screen + kills the WiiMote - so I need to restart the Wii manually...

So I try doing the same on _wwpacker-RegionFree-Plus.bat - choose my options carefully...:

EXECUTABLE MODE:

Game Language: [2] English
Game Video Type: [2] NTSC-U / PAL

Next WiiGF (have done these settings prior to running _wwpacker-RegionFree-Plus.bat:

set to Region: [E] Europe
Default Language: [2] English
Default Language for executables: [2] English

continue _wwpacker-RegionFree-Plus.bat

EXECUTABLE MODE:

Region for the Title (NOT for the console): [2] USA
Choose the Video Mode Patching Method: Smart Patcher - i did try Brute as well... but didn't get the results I wanted w that either...
Choose the way the video modes changed: [2] NTSC -> PAL
001 Check: No
002 Check: No
Jap Wii Fit Save Fix: No

- still same result. installed W*d gives me Black Screen + kills the WiiMote - so I need to restart the Wii manually...

- can ANYBODY help??? Did I do anything wrong?

Thanks

*oh and I actually do own the MM6 Nes cart*

/Pete
 

Site & Scene News

Popular threads in this forum

General chit-chat
Help Users
    Veho @ Veho: Many such cases.