Open Masamune3210 opened 4 years ago
I'm thinking of adding support for Wii U NUS packages, which would need separate tik/tmd parsing. This could also be used for Wii and 3DS later on.
Note that NUS packages are folders, so this depends on being able to thumbnail folders. (KDE allows this; not sure about GNOME or Windows.)
Windows allows folder thumbnailing, though I'm not sure programmatically. In desktop.ini inside the folder that you wish to thumbnail, you can add a Logo item with the path to the picture. This is what the customize tab in the folder properties does. The other possible thing you could do is put the picture you want as the thumbnail in the folder that you wished to be thumbnailed but that has obvious issues in the way of messing with the users files
Ignore the actual content of the path, was just testing
TMD files can be parsed for the SHA-1 of the contents, and either the Ticket or the TMD can be parsed for the titleid? Would probably have to grab the icon from somewhere else though, not sure how extracting and decrypting part of the title just to grab the icon would work. Would make it easier to keep track of titles in their encrypted state since other than the folder name there isn't an easy way to do that