The different WiiU game's formats, and how to convert them

Discussion in 'Wii U - Hacking & Backup Loaders' started by okeribok, Nov 17, 2016.

  1. Maxx0911

    Maxx0911 Member

    Newcomer
    1
    Dec 26, 2017
    Germany
    Someone needs to instruct me, i cant figure out how to use wud2app. I got the game in wud format, open_cmd.bat, wud2app.exe and the common key and game key in text form. what do i do now?
     
  2. Argonitious

    Argonitious Advanced Member

    Newcomer
    2
    Oct 29, 2011
    United States
    Before doing this, make sure you have the correct common key. It should start with D7B. (I obviously can't provide the entire key. That would be... problematic. ;))

    There is a trick to using those keys. Wud2app does not work directly with keys in text form. They need to be in raw data. You can do that pretty easily with a hex editor. Use an online hex editor like https://hexed.it/. In the online hex editor, choose "new file". Now, copy your key in text form. Don't paste yet. In the online hex editor, click on the blank area that has a small "+" symbol on it right next to the 00000000. Press control + v to paste. A window will pop up. The window will have a drop down box that says "binary data/text". Change it to "hexadecimal values". Now press apply. Your key is now in the proper format, so press "export" to save your key file.

    Do the same for both your common key and your game key, and you will be good to go! :yayu:
     
    soulbwoy likes this.
  3. eskinner3742

    eskinner3742 GBAtemp Regular

    Member
    5
    Feb 21, 2016
    United States
    Very nice work. Glad this got stickied
     
  4. Charix

    Charix Member

    Newcomer
    1
    Mar 18, 2018
    United States
    Just so you know, you might want to remove Wii U USB helper from that list since it's been discontinued.

    Also is one of the two tools for compressing wuds better than the other? Just curious if there's any difference between the two. Same with disc extractors, any difference between them?
     
  5. Cyan

    Cyan GBATemp's lurking knight

    Global Moderator
    22
    Oct 27, 2002
    France
    Engine room, learning
    I don't think I need to remove it. at best, just note that it's discontinued, but keep it for historical reference.

    as for tools differences, they often don't have any differences except the GUI, or design.
    One might be a windows command line tool, while the other is a Java (multi-plateform) or Python (multi-plateform) tools.
    Some might need more data than others (like common key in text, or binary external file, or not needed at all)
    Read each program's requirements and Pick the one you prefer.
     
    Last edited by Cyan, Jun 11, 2018
  6. doveman

    doveman Advanced Member

    Newcomer
    1
    Dec 22, 2011
    How do I transfer decrypted files to a Wii U formatted USB HDD? I thought I might be able to use the FTP app to transfer them directly from my PC but that only seems to provide access to the SD card.
     
  7. soulbwoy

    soulbwoy Newbie

    Newcomer
    1
    Aug 23, 2016
    United States
    Thank you so much for this! :bow::bow:
     
  8. Argonitious

    Argonitious Advanced Member

    Newcomer
    2
    Oct 29, 2011
    United States
    Glad I could help. :yay:
     
  9. Aglae Pheryl

    Aglae Pheryl GBAtemp Fan

    Member
    5
    Feb 25, 2014
    France
    Thanks for this what looks to be a great guide.

    1. Better be safe than sorry (newb alert), I'd rather rask where on the chart I would be (so what tools I'd be needing) if I wanted to extract wud files (all of them but one have a .key file with it) to WUP install files and
    2. from Loadiine content to WUP install files

    Side notes: I found somewhere on the internet a few keys (common, espresso ancast & starbuck ancast). Not too sure if any of these would come in handy at some point or if I need to extract some key from my own console.

    Thanks
     
  10. Cyan

    Cyan GBATemp's lurking knight

    Global Moderator
    22
    Oct 27, 2002
    France
    Engine room, learning
    extract wud to app .... well on the center left, there's a red "wud" and a green "convert wud to app", and a center red app ....


    convert loadiine to app ... well on the center right, there's a red "extracted code/content/content" (loadiine), and you want to use converted to get "app" on the center.

    what you want is the "center" format, because you want "WUP", look there's one green with written "WUP" on it, it's supposed to be the one you want, so of course you need to get the needed format used by WUP, and there are arrows in all direction, and links corresponding to each green converters.

    if the chart is hard to understand, I don't know how to help you more easily.
    read what's written. "wii u disc" ... well ... I guess it means it's the DISC, etc.

    you have a WUD and you want WUP ... follow the arrows !
     
    Last edited by Cyan, Aug 24, 2018
  11. Aglae Pheryl

    Aglae Pheryl GBAtemp Fan

    Member
    5
    Feb 25, 2014
    France
    Thanks. So with what you said, it indicated to use DiscU to convert the wud to wup...this seems to be a command line utility. It wants the key. All but 1 I have... so let's do the complex one, the one I don't have. Is this possible? Should I use common, espresso ancast or starbuck ancast keys or is this for something totally different (I know I'm being a pain, so sorry but I'd love to understand)...
     
  12. Cyan

    Cyan GBATemp's lurking knight

    Global Moderator
    22
    Oct 27, 2002
    France
    Engine room, learning
    to extract files from a disc format, you need the "disc encryption key". this is generally provided along with the WUD you download, or when extracting the disc to WUP the key is generated automatically along the wud file.
    if you don't have that key, the wud is useless.

    if you downloaded it, the key is either in a separate .txt file, .bin file, or written in the .nfo file.
    based on the tool you use, it will require that information either in text or in binary. You have to learn how each program works, and what are their requirements.


    if you have the disc, it's a lot simpler to just use a homebrew to dump the disc directly to needed files for WUP installer, skipping the wud format : disc2app
     
    Last edited by Cyan, Aug 24, 2018
    Aglae Pheryl likes this.
  13. Aglae Pheryl

    Aglae Pheryl GBAtemp Fan

    Member
    5
    Feb 25, 2014
    France
    Well I used DiscU (I first created an hex file for the key).
    I now have a bunch (4) folders inside a root foler (WUP-P-AFDE) [BWT; this is a game I legally own, so this is just for the 'slow' learning curve...]

    I am really not sure what to do next. If I refer to the chart, I should use Package Installer (provided I understood any of this).
    I was expecting .app .h3 .tik .cert .tmd files to use with wupinstaller... I'm really sure sure I should use this extracted content as is, should I?
    Again thanks very much for your patience.
     
    Last edited by Aglae Pheryl, Aug 24, 2018 - Reason: typo
  14. Cyan

    Cyan GBATemp's lurking knight

    Global Moderator
    22
    Oct 27, 2002
    France
    Engine room, learning
    DiscU has an option to extract in encrypted format (.app/.h3) instead of decrypted (Code/content/folder for loadiine)
    from memory, I don't remember the exact option, but it should be something like "discU.exe -encrypted etc."
    you need to type discU.exe alone in a command window, it should display the options. if it doesn't it's either the wrong version, or you need to read the release thread to learn the possibilities.
     
    Last edited by Cyan, Aug 24, 2018
    Aglae Pheryl likes this.
  15. Aglae Pheryl

    Aglae Pheryl GBAtemp Fan

    Member
    5
    Feb 25, 2014
    France
    Well, that did it. Thanks so much. BTW, the option to extract was c (discu.exe game.key game.wud c)

    It actually extracted the game to several folder:
    2 folders with .app & .h3 and then a system folder holding folders 2 and 3 (each holding 3 files title.cert ; title.tik ; title.tmd).
    I moved the .app & .h3 content to the game root folder on the sdcard install folder and added the 3 title files from the system/2 folder. I could easily install with WUD installer.

    Not sure what the title files in system/3 would have done (files size are slightly different)

    Anyway, thanks so much again for your patience and advice.

    I'll play with this a while and then I'll be trying to convert loadiine content (seems like DiscU could be used as well if I'm not mistaken).

    Thanks for your help once more.
     
    Cyan likes this.
  16. Cyan

    Cyan GBATemp's lurking knight

    Global Moderator
    22
    Oct 27, 2002
    France
    Engine room, learning
    ah, that's right, DiscU create multiple folders.
    you need the folder which seems to be the good one (based on its size), I think it's usually system/2/
    some very few games needed the one from /3/, but just try and if it doesn't work try the files from the other folder.
     
  17. Aglae Pheryl

    Aglae Pheryl GBAtemp Fan

    Member
    5
    Feb 25, 2014
    France
    Hi again,

    I will be trying to convert loadiine content to use it with our Haxchi console...
    Reading thegraph I can figure out the the content I have to install is the red centered square on the left (Raw Game Data (Code/Content/Meta)
    The chart says I need the green tool (Raw File Writer)... What is it and how do I use it? (I need to be able to put this content onto the internal SD Card and install it with something right?)

    Thanks again
     
  18. Cyan

    Cyan GBATemp's lurking knight

    Global Moderator
    22
    Oct 27, 2002
    France
    Engine room, learning
    the tools are linked below the chart, to the corresponding section.
    there are lot of different tools to do each action.

    You don't use "raw file" at all if you want to install a game.
    the raw file is used to mod a game already installed, for example replacing an existing file with another one, to add cheats, texture mods, or whatever mod.


    what you want is :
    1. NUSPacker program, to pack extracted folders (code/content/meta) into encrypted .app files
    2. WUP Installer, to install the .app file into the console to be able to launch it with haxchi (there are a lot, I recommend either GX2 with a graphical user interface, or "y mod" with just text on screen, maybe more stable?)
    and that's all.
     
    Last edited by Cyan, Aug 29, 2018
    Aglae Pheryl likes this.
  19. Aglae Pheryl

    Aglae Pheryl GBAtemp Fan

    Member
    5
    Feb 25, 2014
    France
    Thanks. I do have the WUP installer already on the WiiU. It's the first step that causes issues.
    I downloaded NUSPacker (followed the explanation from https://gbatemp.net/threads/nuspacker-pack-files-into-installable-packages.447689/) and also JNUSTool.

    None of them have a GUI but furthermore none of the extracted content is something I can simply run through a command line. I supposed I missed a step somewhere.
     
  20. Cyan

    Cyan GBATemp's lurking knight

    Global Moderator
    22
    Oct 27, 2002
    France
    Engine room, learning
    I never used it, I guess reading the readme, or the release thread should explain what to do.
    let's take a look ....

    Ok, I've read it and I don't see the difficulties, nor even any mention to JNUSTool.
    All you need is the common key stored as hex file (binary) and named like requested.
    you also need java installed, and type the given command line, by replacing the folders parts with path to your folders


    JNUSTool has a GUI, just double click on the jar file, and you'll get a GUI to download game updates. enable "encrypted files" (or disable decrypt) to get the .app files instead of loadiine format.
    but, you can use command line (very easy, and also has examples in the jnustool thread) to get other things than game updates, like full game or DLC, in .app file format directly instead of using NUSPacker.
     
    Last edited by Cyan, Aug 29, 2018
Loading...