Homebrew .key files?

  • Thread starter Thread starter Sheeba-
  • Start date Start date
  • Views Views 14,621
  • Replies Replies 35

Sheeba-

Well-Known Member
Member
Joined
Apr 3, 2022
Messages
110
Reaction score
13
Trophies
0
Age
25
XP
432
Country
United States
I need a common.key and a game.key file for wud2app. I don't know how to get .key files or how to make them. Please provide a link that I can use to get .key files.
 
the common key you can find with google. game key can be found on the title key site or on github. it's different for every game and region.
 
Last edited by Cyan,
the common key you can find with google. game key can be found on the title key site or on github. it's different for every game and region.
I already have the common key and the game key. I need to make a .key file how do I do that?
 
Just lump each in a hex editor, copy and paste the key, then name files correctly.
 
You can probably even copy the keys into a text document and rename.
I don't think that would work. It needs to be an exact number of bytes. The text document would probably add garbage in the file. Hex editor is the way to go.
 
Now it says Disc key size wrong! I copyed the title id word for word. The title id is 00050000-10111200
that's assuming I can figure out how to use the script. @Cyan @V10lator , could you help me out. I got this when running the script:

1649036999769.png
 
are you trying to run a PHP script through DOS ?
PHP is a website interpretation language, you need a web server, and load the page using http:// localhost/ path to your script.php
(or upload it to a remote webserver with php support)



He said he has all the needed files : game file (game.wud, it's the full disc iso ?), common.key, the title key.
But he doesn't know how to generate a title.key with the "title key".

I didn't do that for a very long time, but I barely remember creating an empty dummy file, and placing the title key at a specific position inside the title.key file

I can try to check what I have left on my computer and remember how it worked.

edit:
You need to put the title's key inside a title.tik file
https://gbatemp.net/threads/cdecrypt-doesnt-decrypt.509517/#post-8227848

It seems I didn't give the location in this thread, it's in another castle thread :P

I don't know which tool he is using, maybe cdecrypt ?
If I remember, cdecrypt is used to convert WUD iso file to "file and folder" format (.app and .h3 files to be installed with WUP installer).
if you need to decrypt the app/h3 files to get the real game files (content/meta/code) that's another step you need to do.
or use another tool like JNUSTool

edit2 :
it's located at 0x1bf

https://gbatemp.net/threads/wii-u-python-one-liners-thread.400008/#post-5739356

Python script to generate the files

Code:
python -c "import binascii; open('disckey.bin', 'wb').write(binascii.unhexlify('<pasteyourkeyhereinbetweenthequotes>'.replace(' ','')))"

Code:
python -c "import binascii; open('title.tik', 'wb').write(b'\0'*0x1bf + binascii.unhexlify('<pasteyourkeyhereinbetweenthequotes>'.replace(' ','')))"

edit3 : more info here
https://gbatemp.net/threads/the-dif...-and-how-to-convert-them.449212/#post-6873621
 
Last edited by Cyan,

Site & Scene News

Popular threads in this forum