SF:A Level Formats and other useless junk.

Discussion in 'Nintendo Game Development' started by CrackNTag, Jul 24, 2011.

  1. CrackNTag

    CrackNTag Rising Member

    Joined:
    Sep 1, 2009
    Messages:
    74
    Likes Received:
    0
    So, upon a request from ANOTHER friend, I decided to dig up my hex editor and crack back into an old, but familiar game, StarFox Adventures. I started by just looking at some odd stuff, the root folder's bin formats... 'till I got to the level folders.

    I was kinda shocked at what I found.

    Texture Archives, presumably TEX0.bin and TEX1.bin, respectively, are just container formats with ZLIB-stream compressed textures (fortunately I can read the difference between each file and where they begin/end with my hex editor). No real "structure" to them, until I noticed the .tab files... These appear to be the "skeletons", defining the structure of their accompanying containers. (This is skeptical however, I'm only halfway deep in this stuff.)

    I'm currently comparing files to see what's different and what's similar. I may have a header format to some commonly viewed things soon. Thanks to my UK friend for providing me with inspiration and forcing me to jot this down on my "Projects" list. :p

    EDIT: Wow... they REALLY liked to use ZLIB...
     
    Last edited: Jul 24, 2011
  2. Dragoon

    Dragoon Spirited Member

    Joined:
    Sep 1, 2010
    Messages:
    137
    Likes Received:
    23
    nice, looks like you have some fun stuff to do :p
     
    Last edited: Jul 25, 2011
  3. CrackNTag

    CrackNTag Rising Member

    Joined:
    Sep 1, 2009
    Messages:
    74
    Likes Received:
    0
    http://pastebin.com/Zv8UVKah

    After some digging, I've found this. I've searched through the entirity of the GCM, none of these other files (aside from standard ones contained in level folders) exist. This leads me to believe that Rare had pre-coded the extractor to rip default files from archives. I'll keep digging, but string table suggest that I've found how it loads levels...
     
  4. splith

    splith Resolute Member

    Joined:
    May 2, 2010
    Messages:
    997
    Likes Received:
    4
    Check the GC ISO program you're using, of the 2 I've tried, one of them rarely shows any files at all, and the other shows files most of the time but sometimes misses out quite a few files.

    Don't think there is one, annoyingly, but there might be a GCM extracter in the dolphin or revolution SDK
     
  5. CrackNTag

    CrackNTag Rising Member

    Joined:
    Sep 1, 2009
    Messages:
    74
    Likes Received:
    0
    I'm using GC-Tool, and have extracted the entire thing. I also checked the file tables myself. Nothing there.
     
    Last edited: Jul 25, 2011
sonicdude10
Draft saved Draft deleted
Insert every image as a...
  1.  0%

Share This Page