Ticket cleaner

mrmagicm

Well-Known Member
OP
Member
Joined
May 27, 2018
Messages
792
Trophies
0
Age
49
XP
1,218
Country
France
Last edited by mrmagicm,

V10lator

Well-Known Member
Member
Joined
Apr 21, 2019
Messages
2,633
Trophies
1
Age
36
XP
5,486
Country
Germany
Interesting. Will this also remove icons
No. It will just clean the files at storage_slc:/sys/rights/tickets/apps.

Cleaning means it checks if the title is installed. If not the ticket gets deleted. It also checks if there are multiple tickets for the same title and if so removes all but the first (except for DLC as this is the only valid case for a single title to have multiple tickets).

In a test run it deleted 310 tickets from a single console... ^^
 

mrmagicm

Well-Known Member
OP
Member
Joined
May 27, 2018
Messages
792
Trophies
0
Age
49
XP
1,218
Country
France
Question: I was wondering, Is it possible that there is old files files not needed anymore elsewhere in some other directories?
I Like your Idea of ticket cleaning=> This kind of tool could even become the "Ccleaner" of the wiiU :)
 

ber71

Well-Known Member
Member
Joined
Apr 24, 2019
Messages
561
Trophies
0
Age
58
XP
2,463
Country
Spain
What happens if you run this program when the usb drive is detached? The games on that drive are not treated as installed? Wondering about the consequences.
 

godreborn

Welcome to the Machine
Member
Joined
Oct 10, 2009
Messages
38,471
Trophies
3
XP
29,138
Country
United States
What happens if you run this program when the usb drive is detached? The games on that drive are not treated as installed? Wondering about the consequences.
Probably, wouldn't know the games are installed. I think one of the batista files identifies the game location, and I think that's on the mlc.
 

mrmagicm

Well-Known Member
OP
Member
Joined
May 27, 2018
Messages
792
Trophies
0
Age
49
XP
1,218
Country
France
Not only losboy/Godreborn, it can also work in another scenario, you try to download a game with Nusspli and there's a bug, so it can correct this type of pb I suppose, it's kinda rare, but also healthy for a wiiU.
Ber71's question is interesting.....(even if I don't use an external HDD myself for games).
 

V10lator

Well-Known Member
Member
Joined
Apr 21, 2019
Messages
2,633
Trophies
1
Age
36
XP
5,486
Country
Germany
Devil's advocate here. In what scenario would I want to use this?
As said: It deleted 310 tickets on a Wii U. The Wii U still works fine, all titles start just like before. So these 310 tickets where just garbage collected over years of usage.
I'm not sure where all these garbage ticket come from but I think the chance of collecting garbage is the higher the more titles you install from differrent sources (like download a game with FunkiiU, install it, now download the same game with Wii U USB helper and install it, too: You have two tickets for just one game as the tickets differ slightly).

Not only losboy/Godreborn, it can also work in another scenario, you try to download a game with Nusspli and there's a bug, so it can correct this type of pb I suppose, it's kinda rare, but also healthy for a wiiU.
Yes, it fixes such issues, too, but to be fair this shouldn't be needed anymore: NUSspli uninstalls a title before installing (to allow homebrew channel updates with ease) and (since version 1.125) it deletes the corresponding tickets, too.
As if this wouldn't be enough: Since NUSspli 1.125 it will even try to detect and correct broken tickets before installation.

So in case you have something with a broken ticket installed just install it again with newest NUSspli version and all should work... ;)

//EDIT: And yes, the ticket cleaner uses codes and experiences from NUSspli: NUSspli was able to delete tickets before the cleaner existed.

//EDIT²: In case you reinstall a title with newest NUSspli but this does not fix the issue NUSspli wasn't able to correctly identify the broken ticket. No need to redownload through: Just delete the title.tik file from the download folder and use NUSsplis "create a fake <titke.tik> file" option, then install the result.
 
Last edited by V10lator,

Lostbhoy

HEY YOU GUYS!
Member
Joined
Aug 23, 2009
Messages
2,498
Trophies
2
Age
44
Location
Scotland
XP
5,157
Country
United Kingdom
Just curious.... Is there any evidence to suggest that the unused tickets are causing any problems?

Its not windows so does removing them have any performance or any positive effects? Storage??
 
Joined
Oct 19, 2021
Messages
847
Trophies
1
XP
2,313
Just curious.... Is there any evidence to suggest that the unused tickets are causing any problems?

Usually iirc the main issue is just that if you're clogged up with fake tickets it can become a pain to install anything else that has corresponding information. So being able to remove the un-used ones en-mass can be extremely helpful for those that constantly Re-Install / Delete titles on a frequent basis. This could also apply to creating your own App and / or Forwarder as I've run into Ticket issues when creating those as well.

Basically it's just a catch-all for those types of issues.
 

V10lator

Well-Known Member
Member
Joined
Apr 21, 2019
Messages
2,633
Trophies
1
Age
36
XP
5,486
Country
Germany
@Lostbhoy Less used space means more free cells for wear leveling which in return means higher lifetime. Well, at least in theory, we don't know how exactly Nintendo handles the NAND chips.

Other than that let me quote:
Billy Acuña said:
every time you install a CIA (or download something from eshop/freeshop), it installs a ticket and is not removed, no matter if you unistall these apps
(Source: https://gbatemp.net/threads/release-tiksweep-remove-unused-tickets.437438/post-6590390 )

Translating from 3DS to Wii U:
every time you install a WUP package (or download something from eShop/NUSspli/Wii U USB Helper/...), it installs a ticket and is not removed, no matter if you uninstall these apps

So did you ever play demos on your Wii U? The tickets are still there. Ever uninstalled a game you didn't like? Ticket is still there. Ever uninstalled a homebrew channel / forwarder? Ticket is still there and so on. All of these tickets are garbage you don't need, so why keep that garbage?

Maybe you'll find more reasons for why this is usefull at this thread (which is basically about a similiar tool just for the 3DS) : https://gbatemp.net/threads/release-tiksweep-remove-unused-tickets.437438/
 

V10lator

Well-Known Member
Member
Joined
Apr 21, 2019
Messages
2,633
Trophies
1
Age
36
XP
5,486
Country
Germany
@eeL20 That error is "unsupported command" ( https://github.com/wiiu-env/libmocha/blob/main/include/mocha/mocha.h#L21 ). Without going into technical detail: You need a recent Tiramisu or Aroma version for this. So go to either https://tiramisu.foryour.cafe or https://aroma.foryour.cafe , redownload the package and extract it to your SD card (overwriting existing files), then reboot the Wii U and it should work.

//EDIT:
Question: I was wondering, Is it possible that there is old files files not needed anymore elsewhere in some other directories?
Yes, at storage_usb:/usr/import/ and/or storage_mlc:/usr/import/. Normally there shouldn't be garbage through (both, CafeOS and NUSspli try to clean up these directories in case of a failed install) and you can easily delete it by just entering the Wii Us data management (it should tell you that junk had been found and ask if you want to delete it).
 
Last edited by V10lator,

mrmagicm

Well-Known Member
OP
Member
Joined
May 27, 2018
Messages
792
Trophies
0
Age
49
XP
1,218
Country
France
If storage_usb:/usr/import/ and storage_mlc:/usr/import/ are the only place where trash can be, can the tool had funcion to wipe at those place at same time? (maybe already done I suppose), also what about ber71's question, would you have to redownload the game after cleanup if game is on Hdd? Anyway, nice stand alone tool!
 

V10lator

Well-Known Member
Member
Joined
Apr 21, 2019
Messages
2,633
Trophies
1
Age
36
XP
5,486
Country
Germany
I really don't know about the question of @ber71 . My guess would be that yes: You have to redownload (at least this is how it works on the 3DS: When you run tikSweeper without the SD card containing the games it deletes the tickets for these games, too) but it would need someone to test this.

//EDIT: For this someone: Backup the ticket folder with FTP before, then test this and in case anything goes wrong just upload the backup back to the SLC (overwriting existing files).
 
  • Like
Reactions: Blythe93 and ber71

Lostbhoy

HEY YOU GUYS!
Member
Joined
Aug 23, 2009
Messages
2,498
Trophies
2
Age
44
Location
Scotland
XP
5,157
Country
United Kingdom
Thanks for the info and links @V10lator and @Korozin, as I say i was just curious.

I fully understand the lifetime theory however I personally felt that Nintendo would have had these set aside so they are not interfering... Memory not linked to anything else. Obviously the fact they are still there blows that lol but maybe some benchmark testing over time woud tell a fuller story. Interesting tho.
 
Joined
Aug 31, 2022
Messages
176
Trophies
0
Location
my house
XP
811
Country
United States
Just tried it out and when I start the app I get a red screen that says "Libmocha error: -0x0011! Press HOME to exit". I originally though it meant I wasn't running Mocha but I tried again after running Mocha and go the same results. I even tried disabling Tiramisu but no luck. My console has the lastest firmware if that makes a difference.
 

Site & Scene News

Popular threads in this forum

General chit-chat
Help Users
  • No one is chatting at the moment.
    Xdqwerty @ Xdqwerty: @salazarcosplay, no sabría cómo decirte