First off, you need to follow this: https://gbatemp.net/threads/how-to-load-a-fw-img-for-any-file-dumping-wiiubru-status-update.445840/ to set up cfw hax.
Then, run python and get into a python console(just run the python executable)
Then, type "execfile('path\\to\\the\\.py\\file')"
Then, for eshop:
Run "w.dldir("/vol/system_slc/rights/ticket/apps/")"
OR
For disc games:
Type "mount_odd_tickets()", "w.dldir("/vol/storage_odd_tickets")", and unmount_odd_tickets().
You can then swap the disc and repeat.
For eshop games, to determine the title id, open in a hex editor
Then, find 0005. Make sure it comes Root-CA.
The next 8 hex digits will be your title id, which can be compared with a title id database to find the game the ticket belongs to.
Then, run python and get into a python console(just run the python executable)
Then, type "execfile('path\\to\\the\\.py\\file')"
Then, for eshop:
Run "w.dldir("/vol/system_slc/rights/ticket/apps/")"
OR
For disc games:
Type "mount_odd_tickets()", "w.dldir("/vol/storage_odd_tickets")", and unmount_odd_tickets().
You can then swap the disc and repeat.
For eshop games, to determine the title id, open in a hex editor
Then, find 0005. Make sure it comes Root-CA.
The next 8 hex digits will be your title id, which can be compared with a title id database to find the game the ticket belongs to.