New wad packing tool

Discussion in 'Wii - Hacking' started by trent_fox, May 30, 2008.

May 30, 2008

New wad packing tool by trent_fox at 5:19 PM (14,485 Views / 0 Likes) 52 replies

  1. trent_fox
    OP

    Member trent_fox GBAtemp Regular

    Joined:
    Apr 4, 2007
    Messages:
    166
    Country:
    United States
    I spent all night coding this up, let me know what you think.

    [​IMG]
    Download: http://foxingworth.com/wii/tf_wad_packer.zip

    All you need to do is stick common-key.bin into the wadtools folder (don't ask me where to get this file). Insert a SD card that has a filesystem dump on it and start the program. It'll read through your dump and list available channels. Click Pack WAD when you find what you want and it'll automatically find the appropitate files and make you your wad.

    Try it out and let me know how it works.

    Update 5:
    Fixed a bug that gave ticket errors for some people.

    Update 4:
    More robust name detection.

    Update 3:
    Added a debug mode so those having problems can send me a log to help squash bugs.

    Update 2:
    The program no longer uses a database for looking up the names. It now examines the files and figures out the title on it's own. No more unknown titles, however some names come out funny (ie. "Defend Your CastleXGen Studios").

    It also makes sure channel content is present when adding to the list. The old version listed a channel if the ticket was present, which doesn't neccesarily mean the channel exists.

    Update:
    Well it turns out that the KiKe wadpacker is rubbish, so I switched to one that makes valid tickets. This app now uses the BFGR Wadtools to do the actual packing, which will hopefully work out better.
     


  2. skawo96

    Member skawo96 GBAtemp Advanced Maniac

    Joined:
    May 22, 2008
    Messages:
    1,925
    Country:
    United Kingdom
    Promising, promising. But what that mean: you must have a dump of system to run this? [​IMG]
     
  3. JKR Firefox

    Member JKR Firefox Back.

    Joined:
    Nov 18, 2006
    Messages:
    1,130
    Location:
    Canada
    Country:
    Canada
    Great work!

    I'm going to try this out as soon as I get home. I'll give my impressions later.
     
  4. Sir VG

    Member Sir VG GBAtemp Advanced Fan

    Joined:
    Jun 26, 2004
    Messages:
    847
    Country:
    United States
    It means you have to do a File System dump of the Wii's internal flash contents, just like with any other WAD packing program.
     
  5. jayparadox

    Member jayparadox GBAtemp Fan

    Joined:
    Oct 14, 2007
    Messages:
    352
    Location:
    Spain
    Country:
    Spain
    If it's Kike, it'll use his stupid ticket signing?
    Those tools are bad and make bad WAD's if you based this tool on them.

    EDIT: I'll explain better.
    Kike's tools sign the ticket with a bad title-key. The WAD will install, but it's a BAD ticket, and could cause problems.
     
  6. trent_fox
    OP

    Member trent_fox GBAtemp Regular

    Joined:
    Apr 4, 2007
    Messages:
    166
    Country:
    United States
    You need to run the file system dump application by Waninkoko on your Wii. That dumps the contents of your Wii's NAND onto your SD card, which this application then reads to create the wads. It doesn't make the games out of thin air.
     
  7. Nunim

    Newcomer Nunim Member

    Joined:
    Jan 16, 2006
    Messages:
    16
    Country:
    This is just what we needed, another way for people to make bad tickets.
     
  8. trent_fox
    OP

    Member trent_fox GBAtemp Regular

    Joined:
    Apr 4, 2007
    Messages:
    166
    Country:
    United States
    Hmm, didn't know his tool made bad tickets. What's bad about them and/or which tool should I look into that makes better wads?
     
  9. Sonic4Ever

    Member Sonic4Ever GBAtemp Regular

    Joined:
    Apr 21, 2008
    Messages:
    249
    Country:
    France
  10. jayparadox

    Member jayparadox GBAtemp Fan

    Joined:
    Oct 14, 2007
    Messages:
    352
    Location:
    Spain
    Country:
    Spain
    I use those BRBG(or what ever they are called) for Windows, and Marcans tools under Linux.

    PD: It's a good app that you have made, just based on the wrong tools. I'm sure it'll be "easy" to change and use the good tools [​IMG]
     
  11. Arakon

    Member Arakon GBAtemp Fan

    Joined:
    Apr 24, 2008
    Messages:
    307
    Country:
    Germany
    change it to use the wadtools wadpacker or the blaze wadpacker. both create good tickets.

    the "bad" tickets kike's tool creates are basically entirely fake tickets with a message inside, they work but are easy to detect/disable.
     
  12. trent_fox
    OP

    Member trent_fox GBAtemp Regular

    Joined:
    Apr 4, 2007
    Messages:
    166
    Country:
    United States
    Looking into the new tools right now, I hope to have a better version out later today.

    EDIT: Ok, switched the BFGR wadtools.
     
  13. Soubi

    Newcomer Soubi Newbie

    Joined:
    May 30, 2008
    Messages:
    2
    Country:
    Angola
    Please release the source code. I would like to try adding detection of the channel name directly from the channel itself instead of from an internal database.

    Thanks!
     
  14. superrob

    Member superrob H4X H4X H4X!

    Joined:
    Apr 4, 2007
    Messages:
    2,465
    Location:
    GBATemp factory.
    Country:
    Denmark
    Woho nice tool you made there!
    Will really become usefull to dumpers!
     
  15. arctic_flame

    Member arctic_flame GBAtemp ATMEGA8 Fan

    Joined:
    Nov 4, 2006
    Messages:
    2,840
    Location:
    England land
    Country:
    United Kingdom
    What is it written in?

    (looks like VB...)
     
  16. Sir VG

    Member Sir VG GBAtemp Advanced Fan

    Joined:
    Jun 26, 2004
    Messages:
    847
    Country:
    United States
    Or at least make the database external, so it can be edited. Most people that would be using this know what serials equal which channels.
     
  17. deadrabbit

    Newcomer deadrabbit Advanced Member

    Joined:
    Aug 8, 2007
    Messages:
    92
    Country:
    United Kingdom
    Good work, looking forward to using it with pro tickets!
    Itll be good to dump PAL wiiware.
     
  18. trent_fox
    OP

    Member trent_fox GBAtemp Regular

    Joined:
    Apr 4, 2007
    Messages:
    166
    Country:
    United States
    Added another update. I figured out how the names were stored in the files and did away with the database.

    And for whoever asked, yes this is coded in Visual Basic. As much as I'd want to use a "real" language, VB is just too damn easy to pump out apps in.
     
  19. Sir VG

    Member Sir VG GBAtemp Advanced Fan

    Joined:
    Jun 26, 2004
    Messages:
    847
    Country:
    United States
    Not bad, but there is one issue I still see with file listing.
    [​IMG]

    Granted I should know what it is, but I don't...and there's no way to identify it anymore.

    Yes, I have remembered what it is, but there should be a way to program that if it's unknown, that it uses the serial. Being that it's QAPJ (Rondo of Blood) it should at least be able to say it's a TG-16 game, since P and Q are always used for that system (P for cartridge games, Q for CD based games).
     
  20. trent_fox
    OP

    Member trent_fox GBAtemp Regular

    Joined:
    Apr 4, 2007
    Messages:
    166
    Country:
    United States
    I'll fix that up in the next version SirVG. I'll have to track down that game and see why it isn't detecting the name properly.

    The system detection is my fault. I didn't realize that both P and Q were used for TG-16 (I only have it checking for P).
     

Share This Page