Xpl0itU / WiiUDownloader

Allows to download encrypted wiiu files from nintendo's official servers
GNU General Public License v3.0
696 stars 16 forks source link

[Enhancement] Do not overwrite ticket file if it exists. Allows legit owned tickets for download. #86

Closed krisutofu closed 3 months ago

krisutofu commented 3 months ago

I would like to backup my purchased digital games by redownloading them to an unencrypted accessible partition (without installing them).

I should be able to get at the tickets of my games using tik2sd. (And I possibly need to split them before using them.)

Would it be a good idea to allow selecting an owned ticket file instead of creating a fake ticket? It should work, right? Since the title ID and the title Key don't depend on the ticket.

Implementation is very easy I think, when the ticket file already exists in its place and no fake ticket needs to be written in func GenerateTicket, i.e. returning early if the file exists already.

Xpl0itU commented 3 months ago

Simply download the whole game and overwrite the ticket after the download is done, WiiUDownloader creates a new directory for each game, so you can’t really add the ticket before WiiUDownloader gets the chance to overwrite it