Wii U Menu info - sort WIP

Discussion in 'Wii U - Hacking & Backup Loaders' started by Yardape8000, Dec 23, 2016.

  1. Yardape8000
    OP

    Yardape8000 GBAtemp Regular

    Member
    289
    277
    Feb 26, 2011
    United States
    The start of figuring out the Wii U Menu layout.
    NO, THIS HAS NOTHING TO DO WITH INCREASING THE 300 LIMIT.

    Code:
    Menu Title IDs
    USA 00050010-10040100 
    EUR 00050010-10040200 
    JPN
    
    USA Wii U Menu layout file location: (8000000X where X is the User ID) 
    storage_mlc\usr\save\00050010\10040100\user\8000000X\BaristaAccountSaveFile.dat
    
    File Format:
    0x000000 - 0x0012BF  NAND Title Entries (300 x 16 bytes)
    0x0012C0 - 0x00257F  USB Title Entries  (300 x 16 bytes)
    0x002587  Last ID Launched
    0x0025A4 - 0x002963  ? Folder 0 ? NAND Title Entries (60 x 16 bytes)
    0x002964 - 0x002D23  ? Folder 0 ? USB Title Entries  (60 x 16 bytes)
    0x002D24 - 0x0030E3  Folder 1 NAND Title Entries (60 x 16 bytes)
    0x0030E4 - 0x0030E3  Folder 1 USB Title Entries  (60 x 16 bytes)
    0x0034A4 - 0x0034DB  Folder 1 Info (56 Bytes)
    0x0034DC - 0x00389B  Folder 2 NAND Title Entries (60 x 16 bytes)
    0x00389C - 0x003C5B  Folder 2 USB Title Entries  (60 x 16 bytes)
    0x003C5C - 0x003C93  Folder 2 Info (56 Bytes)
    0X003C94 .... FOLDERS 3 - 60 AS ABOVE
    
    Title Entry Data Format:
    Each entry is 16 bytes.
    0x00 - 0x07  Title ID
    0x0B  Type:
     0x01 = NAND
     0x02 = USB
     0X05 = Disc Launcher
     0X09 = vWii (Not Eshop vWii titles)
     0x10 = Folder (Bytes 0x00-0x06 = 0, 0x07 = Folder#)
    
    If a 16 byte entry is set in NAND the corresponding entry in USB is blank (except for the type 0x02 at offset 0x0b) and vice-versa.
    
    Folders are all in - 0x000000 - 0x0012BF NAND IDs.  USB entry would be blank (except for the type 0x02 at offset 0x0b)
    
    Folder Entry Data Format:
    0x00 - 0x21  Name (17 Unicode characters)
    0x32  Color
     0x00 = Blue
     0x01 = Green
     0x02 = Yellow
     0x03 = Orange
     0x04 = Red
     0x05 = Pink
     0x06 = Purple
     0x07 = Grey
    
     
    Last edited by Yardape8000, Dec 23, 2016
    paulloeduardo, KiiWii and VinsCool like this.
  2. FIX94

    FIX94 Global Moderator

    Global Moderator
    6,831
    8,212
    Dec 3, 2009
    Germany
    ???
    Barista huh? Well I guess if you RE the OS further you wont run out of coffee related jokes so thats nice. Seriously though, interesting to see that game limit is quite hardcoded in the offsets, I guess its nice to link people who wonder about it to this.
     
    zeldaism, KiiWii and VinsCool like this.
  3. OriginalHamster

    OriginalHamster UStealthy

    Member
    3,381
    641
    Nov 2, 2008
    Cote d'Ivoire
    Wouldn't USB ID to be used to make Wii U formatted HDDs exchangeable between consoles without format?
     
  4. Yardape8000
    OP

    Yardape8000 GBAtemp Regular

    Member
    289
    277
    Feb 26, 2011
    United States
    Huh? Nothing to do with this topic of sorting the Wii U menu titles.

    Oh, I see. USB IDs means the title ID of an item on USB.

    Yeah, I chuckled when I saw the file name. They really went all in on the coffee theme.

    I probably shouldn't sidetrack into this, but I do wonder if the menu could be hacked to support more. The format allows 300 in main menu, and 60 in each folder. Seems they imposed a total limit of 300 hundred for no reason. Though I have not looked at the other Batista files yet.

    I don't imagine it will be as simple as finding the number 300 in the menu code and increasing it.
     
    Last edited by Yardape8000, Dec 23, 2016
    KiiWii likes this.
  5. Erikku

    Erikku GBATemp's Official Cancer Treatment

    Member
    251
    220
    Jan 21, 2016
    United States
    The channel description
    with all these coffee names, it makes me think what the internal names for the switch will be called
     
    CreeperMario likes this.
  6. Yardape8000
    OP

    Yardape8000 GBAtemp Regular

    Member
    289
    277
    Feb 26, 2011
    United States
    Looking at this format further and the other files, it may just be laziness on Nintendo's part that they limit the titles to 300. They just check if there are 300 titles, instead of checking if there are 300 on the main menu. They should have wrote the code to say the main menu slots are full, create a folder. Always leaving 1 space empty, until 60 folders are created. Then saying too many titles.

    I imagine the Wii U Menu title could be patched to increase this (stop the too many titles error), but you would have to keep free icons on the main 300 for new titles to fill, then move them to folders. Otherwise it would most likely drastically crash. Who knows, maybe they have another check to stop a crash.
     
  7. Irastris

    Irastris Just another fag with a suggestive avatar

    Member
    1,005
    570
    May 3, 2015
    United States
    I'll always assume they limited it to 300 because no one in their right minds would ever install more than that, except for insane collectors and all-out pirates.
     
    CreeperMario and VinsCool like this.