Hacking [release] FunKiiU 2.0 - complete content + ticket python tool

  • Thread starter Thread starter cearp
  • Start date Start date
  • Views Views 183,795
  • Replies Replies 450
  • Likes Likes 45
Thank you for this tool, which I can perfectly use with my NAS :)

Can you add these 2 options?
-interactive: FunKiiU will ask for the needed parameters one by one
-updates: FunkiiU will only download the latest update for a specific game from NUS

Thanks!
only download the latest update?
but why not just download the update, as in type it's title id?
XXXX-XXX0-XXXX-XXXX -game
XXXX-XXXE-XXXX-XXXX -update
XXXX-XXXC-XXXX-XXXX -dlc
so, you can easily work out the update title id from the game title id.

and interactive... hmm... i'm not sure.


i can see if it was interactive, why it would be good to add 'noninteractive'?
but why the other way around? i'm curious.
 
  • Like
Reactions: levepedro
only download the latest update?
but why not just download the update, as in type it's title id?
XXXX-XXX0-XXXX-XXXX -game
XXXX-XXXE-XXXX-XXXX -update
XXXX-XXXC-XXXX-XXXX -dlc
so, you can easily work out the update title id from the game title id.

Ok, so I have to add the -onlinetickets parameter for updates, even when the update tickets are from NUS?

For example to download the Pikmin 3 update this command works:
Code:
python FunKiiU.py -title 0005000e1012be00 -onlinetickets
 
Ok, so I have to add the -onlinetickets parameter for updates, even when the update tickets are from NUS?

For example to download the Pikmin 3 update this command works:
Code:
python FunKiiU.py -title 0005000e1012be00 -onlinetickets
yes.
i thought about it and made onlinetickets get from the keysite for everything -- but if it's an update, get it from nintendo because they have legit tickets for updates (unlike 3ds updates)

if you want to, you could make an illegit ticket for an update using onlinekeys or key, but there is no reason to.
 
  • Like
Reactions: gl1mml1ng
I've been trying to find that ticket generator site for a while and I can't find it. Is it possible to get a hint?


Sent from my iPhone using Tapatalk
 
Maybe you want to open an exe on windows and shout PIKMIN into your mic and the app to handle the rest lol
You're darn right! I want to ask Cortona to download me the latest version of Pikmin 3! :lol:


... but in all seriousness, this is a great CLI app...

One suggestion though, maybe you could add folder naming patterns?

This is just an example:
  • %i: The first half of the title ID
  • %I: The last half of the title ID
  • %n: The game name
  • %p: The publisher
  • %t: The title type
  • %T: The title type if something other than "Game"
  • %r: The game region
  • %v: The title version number if greater than 0
  • %V: The version number (if greater than 0) with a "v" before it (v274 for example)
That way you could do things like this for the output name:
  • "%r\%t\%n" : "USA\Game\Mario Kart 8"
  • "%p\%n %T %V (%r)" : "Nintendo\Mario Kart 8 (USA)" OR "Nintendo\Mario Kart 8 DLC (USA)" OR "Nintendo\Mario Kart 8 Update v64 (USA)"
With this, you may also want to replace multiple consecutive spaces with single spaces since some of the fields may be blank in some cases

--------------------- MERGED ---------------------------

I've been trying to find that ticket generator site for a while and I can't find it. Is it possible to get a hint?


Sent from my iPhone using Tapatalk
if you look in the source code of @cearp's other apps you could probably still find the 3ds one in there... you just replace 3ds with wiiu and there you go
 
  • Like
Reactions: hudhair and cearp
One suggestion though, maybe you could add folder naming patterns?
thanks :) and sure, i thought about something like that, but i'm not sure how simple it would be to implement.
but sure it would be nice to have, another thing to store in the config file :D
 
thanks :) and sure, i thought about something like that, but i'm not sure how simple it would be to implement.
but sure it would be nice to have, another thing to store in the config file :D
Config file and / or CLI option

It shouldn't be too hard though... I would personally check if the directory exists and if not use a mkdir-like function that supports recursion
 
Config file and / or CLI option

It shouldn't be too hard though... I would personally check if the directory exists and if not use a mkdir-like function that supports recursion
not that part, just parsing the formatting string. anyway, it shouldn't be too hard :)
 
Last edited by cearp,
Ok otherwise what else differs though? Or is it pretty much a compliment you can use either to download?
FunKiiU can also *create* tickets from the title key and ID but they won't work without the signature patches that redNAND brings

I've got nothing against the command line but sometimes it's not the most convenient if you're using it manually
 
  • Like
Reactions: cearp
@cearp I'd appreciate your help with this since I am unable to download any game.
I tried all the methods, onlinetickets, providing the ticket, python2 and python3.
I tried to download three different games, including EUR Pikmin3 from your example.
I am running Linux and below you can see the output of the error:

Code:
python2.7 FunKiiU.py -title 000500001010a700 -onlinetickets
*******
FunKiiU by cearp and the cerea1killer
*******

Downloading/updating data from xxxx.xxxxx.xxx
Downloaded data OK!
Downloading TMD...
Downloading Contents...
Traceback (most recent call last):
  File "FunKiiU.py", line 392, in <module>
  patch_dlc=arguments.patch_dlc)
  File "FunKiiU.py", line 365, in main
  process_title_id(title_id, title_key, name, output_dir, retry_count, onlinetickets, patch_demo, patch_dlc)
  File "FunKiiU.py", line 275, in process_title_id
  total_size += int(binascii.hexlify(tmd[c_offs + 0x08:c_offs + 0x10]), 16)
ValueError: invalid literal for int() with base 16: ''

In the install directory I can see the directories created for the games and the title files inside. However, there are spaces between the underscore, the tile id and the game name, which may be related to the blank value from the error above.

Code:
000500001012be00 _ PIKMIN 3

Btw, thanks for writing this multiplatform app.
 
Last edited by Pajar0,
Is there a way to get Fast Racing Neo USA to use with rednand with this method? Cant find the titlekey of it anywhere
 

Site & Scene News

Popular threads in this forum