Decrypted DLC (.app)

Discussion in 'Wii - Hacking' started by steakk, Dec 5, 2010.

Dec 5, 2010

Decrypted DLC (.app) by steakk at 8:47 PM (1,529 Views / 0 Likes) 3 replies

  1. steakk
    OP

    Newcomer steakk Newbie

    Joined:
    Nov 15, 2010
    Messages:
    8
    Country:
    United States
    It seems that the latest trend right now is using Emulated NAND to run RB2/3 and giving more storage for DLC on an external HDD or SDHC. I am working on creating an automated setup that will build a virgin NAND (utilizing ModMii) and moving around of the .app files to the required places, etc...

    But, I am falling short in 1 area: The binary file format for the .app files that are created when the DLC is decrypted. If I knew the binary structure for the .app files, I could easily add in some features that would allow viewing/sorting of songs by year, genre, difficulty, etc, as that information is stored within the file(s).

    Does anyone have any insight as to the internals of those .app files? Or perhaps point me in the direction that might be helpful?

    Thanks [​IMG]

    Jason
     
  2. Helsionium

    Member Helsionium Alpha and Omega

    Joined:
    Jul 18, 2008
    Messages:
    348
    Location:
    Innsbruck, Austria
    Country:
    Austria
    There is no "*.app file format". These are actually just what you said, binary files. The *.app extension does not signify a special file format, just that this file is a content of any Wii title. If I'm not mistaken it could in fact be a TMD, U8 archive, a DOL or anything else for that matter.

    Therefore, you must first determine the actual format of the files you want to examine. Use a Hex editor to view the contents of the files, you can most commonly find out about the file format by looking at the header (the first few bytes). If you are unsure, post the first few bytes (16, for example) and I might be able to tell you what file type it is.

    NOTE: I seriously hope and believe that posting 16 bytes of copyrighted material (i.e. the *.app files) is justifiable as "fair use". If the moderators deem it not to be such, please feel obliged to remove my instructions.
     
  3. steakk
    OP

    Newcomer steakk Newbie

    Joined:
    Nov 15, 2010
    Messages:
    8
    Country:
    United States
    Helsionium:

    "Uª8-" (55 AA 38 2D 00 00 00 20 00 00 00 79 00 00 00 A0) Those are the first few bytes of one of the .app files in question. Judging from that, I would say it is a U8 archive (I could be wrong). I am unable to find anything that specifies the U8 structure or header information though.

    I know what I want to do is possible, as there is another application floating around the net that does it. But, the source is not (and will never be) available.

    EDIT: Okay, so I found a perl script that will extract the U8 archive for me (seems to work, already tested it)...and I have the songs.dta file that I am most likely going to need. Now to benchmark this and see how long it is going to take to perform that step on 1417 files, heh.
     
  4. giantpune

    Member giantpune GBAtemp Addict

    Joined:
    Apr 10, 2009
    Messages:
    2,860
    Country:
    United States
    for anybody else interested in this, the .app is a u8 archive. in there is a file in the archive /content/songs/songs.dta. this is actually a text file with windows newlines and all. in the text file is all the info about a song...

    Warning: Spoilers inside!
     

Share This Page