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
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