wwpacker

Discussion in 'Wii - Hacking' started by alpha0000, Jul 15, 2008.

  1. alpha0000
    OP

    alpha0000 Advanced Member

    Newcomer
    77
    0
    Sep 5, 2007
    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
     


  2. linkinworm

    linkinworm GBAtemp Maniac

    Member
    1,343
    36
    May 30, 2008
    Birmingham (England)
    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
     
  3. Syangel

    Syangel Member

    Newcomer
    41
    0
    Jan 14, 2007
    Canada
    a what file? is this something on the Wii NAND? cuz ive never heard of it before...
     
  4. alpha0000
    OP

    alpha0000 Advanced Member

    Newcomer
    77
    0
    Sep 5, 2007
    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.
     
  5. Arm the Homeless

    Arm the Homeless Custom Title

    Member
    1,762
    5
    May 26, 2008
    United States
    /home/andy/
    I tested it on Windows Vista. It works on that.
    Also does not work under Wine. (For Linux)
     
  6. alpha0000
    OP

    alpha0000 Advanced Member

    Newcomer
    77
    0
    Sep 5, 2007
    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
     
  7. alpha0000
    OP

    alpha0000 Advanced Member

    Newcomer
    77
    0
    Sep 5, 2007
    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.
     
  8. JimmyBobAlex

    JimmyBobAlex GBAtemp Regular

    Member
    162
    0
    Nov 5, 2002
    United States
    Thanks alpha for putting together this package. It's really been useful for quick and easy editing.
     
  9. samsam12

    samsam12 Test

    Banned
    818
    0
    May 13, 2008
    United States
    A House
    great app!
     
  10. alpha0000
    OP

    alpha0000 Advanced Member

    Newcomer
    77
    0
    Sep 5, 2007
    Hong Kong
    I just develop titlefiles_fix and wwcxtool.
    All scripts are from fxxkmii in fact.
     
  11. JimmyBobAlex

    JimmyBobAlex GBAtemp Regular

    Member
    162
    0
    Nov 5, 2002
    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.
     
  12. slimpyman

    slimpyman GBAtemp Regular

    Member
    123
    0
    Aug 13, 2008
    United States
    Valparaiso, IN
    effin sweet. nowits all good
     
  13. OSW

    OSW Wii King

    Former Staff
    4,796
    6
    Oct 30, 2006
    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.
     
  14. alpha0000
    OP

    alpha0000 Advanced Member

    Newcomer
    77
    0
    Sep 5, 2007
    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)
     
  15. stev418

    stev418 GBAtemp Fan

    Member
    492
    10
    Sep 25, 2007
    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 [​IMG]
     
  16. alpha0000
    OP

    alpha0000 Advanced Member

    Newcomer
    77
    0
    Sep 5, 2007
    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. [​IMG]
     
  17. alpha0000
    OP

    alpha0000 Advanced Member

    Newcomer
    77
    0
    Sep 5, 2007
    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.
     
  18. alpha0000
    OP

    alpha0000 Advanced Member

    Newcomer
    77
    0
    Sep 5, 2007
    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)
     
  19. ether2802

    ether2802 we have the techno...!!

    Former Staff
    4,350
    5
    Oct 14, 2007
    Mexico
    Pto. Vallarta
    Is WWPacker related to WWpecker????? XD
     
  20. stev418

    stev418 GBAtemp Fan

    Member
    492
    10
    Sep 25, 2007