This is a python script which autorenames switch games simply and quickly. It can get a lot of data from the .xci or .nsp file that you choose.
Right now it has not been adapted to run on its own, I might update that in the future, it is mainly for you to adapt the script for yourself based on the logic that you need.
- I use a linux machine daily so these instructions will be for linux, but for windows or mac it is nearly the same. The first step is to install python and its dependencies if you haven't already. This includes running
pip install requests
. - Download and follow the instructions for installing https://github.com/garoxas/NX_Game_Info to your machine. You will want the CLI package from the releases which you can find here -> https://github.com/garoxas/NX_Game_Info/releases/tag/v0.7.1. The instructions for each os can be found here -> https://github.com/garoxas/NX_Game_Info#command-line-interface-windows-macos-linux
- Put the files from the release next to the script. You will also need to get a
prod.keys
file and put them next to the script as well.title.keys
is optional. You can follow this guide to get them or find them yourself -> https://www.youtube.com/watch?v=E0E-YUceJRk - Now your files should look like this:
- Now you will have to go into the code and change things in the way you want. I will outline the items you will likely have to change.
- On
line 11
, you will have to changegames
to the directory that all of your gamefolders are in. This is optional if you dont need to unrar files. - On
line 15
you will have to do the same forgames
. Again, not necessary if you don't need to unrar. If your files are simply just there, comment outline 71
. - On
line 29
you will have to changegames
to the directory where all your .nsp and .xci files are located. - On
line 38
you will have to follow the install instructions for running NX_Game_Info cli on your machine. The command will change, but you can simply copy paste how you would run it in your terminal into the script. - On
line 65
you will have to change thegames
folder to the foldername your files are in.
- MAKE SURE THE SCRIPT is next to your
game
folder where all of your games are, then simply run the script.