Very simple tool to import avatars for use in tournaments.
The script gets user list from usernames.csv file, then if usernames are provided it requests user ids from bancho (for which you NEED api key, which you can get here), you will get asked for one on first run. After this it will download avatars to /avatars folder.
Every character is lowercase with special ones changed to underscore (_).
Well, make sure you have correct api key added in config.cfg. Afterwards you can check if the user even has avatar (default one isn't downloaded for now, I'm fairly certain restricted users' aren't available too). If this doesn't work, create issue on github explaining the issue WITH logs.log file included.
- Get python (preferably version 3.10).
- Copy the repository.
- (Optional) Create virtual environment (venv).
- Get all dependencies using
pip install -r requirements.txt
- Run the main.py with python.