How do I extract encrypted data from a .wud file?

Discussion in 'Wii U - Hacking & Backup Loaders' started by Deniii, Mar 28, 2017.

  1. Deniii
    OP

    Deniii Member

    Newcomer
    47
    2
    Aug 6, 2009
    United States
    I have a game in .wud format and its key as well.
    I want to extract the files in it in encrypted format (.app and .h3)
    I tried DiscU and Uwizard but they only output decrypted files (content, code and meta folders)

    Is there a way to get those encypted files?
    I want to install the game in NAND with the brazilian method since this game doesn't work in loadiine.
    Thanks.
     
  2. godreborn

    godreborn GBAtemp Addict

    Member
    2,681
    465
    Oct 10, 2009
    United States
  3. Cyan

    Cyan GBATemp's lurking knight

    Global Moderator
    17,699
    8,300
    Oct 27, 2002
    France
    Engine room, learning
    DiscU can do it, you just need to know how to use DiscU correctly.
    There are other tools which can do it too, you can see this graphic and links to all existing apps here :
    https://gbatemp.net/posts/6845070

    Wud decrypters : (Requires disc key + common key)
    DiscU
    VGMToolbox
    Wud2app
    JWUD Tool
     
    godreborn likes this.
  4. Deniii
    OP

    Deniii Member

    Newcomer
    47
    2
    Aug 6, 2009
    United States
    Thanks for the reply.
    I tried DiscU adding c at the end and that worked.

    According to DiscU, c extracts content files. I thought this was for extracting the content folder (without exctracting meta and code)
    Turns out, "content" means the app and h3 files.

    The strange thing is, I didn't need the common key to exctract it.
    According to Cyan, the disc key and the common key are required. However, DiscU only asked me for the disc key.
     
  5. nexusmtz

    nexusmtz GBAtemp Maniac

    Member
    1,246
    429
    Feb 17, 2016
    United States
    You said you had used DiscU previously, so you probably already have ckey.bin in your DiscU directory.
     
  6. Deniii
    OP

    Deniii Member

    Newcomer
    47
    2
    Aug 6, 2009
    United States
    No, I don't.

    The only files in the folder are:
    -libeay32.dll
    -DiscU.exe
    -diskkey.bin
    -game.wud
     
  7. nexusmtz

    nexusmtz GBAtemp Maniac

    Member
    1,246
    429
    Feb 17, 2016
    United States
    You're right. @Cyan was speaking generally, and I was remembering an outdated requirement. With the older discu you had to provide it, but in 4.1b it's still needed (at least for loadiine-type decryption), but you don't have to provide it for a reason that would explain why @crediar didn't release it here.
     
    Last edited by nexusmtz, Mar 28, 2017
  8. Cyan

    Cyan GBATemp's lurking knight

    Global Moderator
    17,699
    8,300
    Oct 27, 2002
    France
    Engine room, learning
    yeah, that's like Cdecrypt, v0.1 needed it, but it's now included in 0.2 sources
    (also, I don't think it's needed to notify users when talking about them if they are not required to participate in the thread, it's just adding notification to check. But maybe he deactivated it)
     
    Last edited by Cyan, Mar 28, 2017
    nexusmtz likes this.
  9. Deniii
    OP

    Deniii Member

    Newcomer
    47
    2
    Aug 6, 2009
    United States
    Thanks for the replies.

    It's great these apps no longer require the common key.
    The less things an app requires, the less it's more likely to fail to do what it does.

    I finally installed the game and it's working fine.
     
  10. nexusmtz

    nexusmtz GBAtemp Maniac

    Member
    1,246
    429
    Feb 17, 2016
    United States
    Except that having the key embedded means that we can't post the app here. I think it's easier to find the common key than it is to find the updated copy of discu. Plus, I'd trust copying and pasting a handful of verifiable hex digits over downloading an executable anyday.
     
  11. godreborn

    godreborn GBAtemp Addict

    Member
    2,681
    465
    Oct 10, 2009
    United States
    I was not aware that decrypters could do this. thank u @Cyan .