This program is a Python script to upload mods for the game Tabletop Simulator which are created from TTS Mod Backup to the website AnonFiles.
It "automatically" scans a directory for mods and uploads any new ones to AnonFiles.
The script creates and updates a sqllite database containing information about the uploaded mods, including their name, filesize, workshopid, anonid, and anonlink.
It also has the ability to validate all links in the database and mark any that are invalid.
Additionally, there is a community contribution feature where all links are sent to a Google form, which is linked to a spreadsheet
- Download the latest version of the TTS-Anonfiles Backupper.
- Run the "TTS-AnonfilesBackupper.exe" file to launch the program.
- Enter your API key, which you can obtain from the AnonFiles website after creating an account.
- Choose if you want to contribute your uploads. (true,false)
- Optionally, you can modify the "api-key", "path" and "community contribution" settings in the configuration (.config) file. The default path is . this is the same path as the .exe file. If you want to change it use this format. MOD_PATH="V:/TTSModBackups"
Make sure to have python installed (Tested with Python 3.10.6)
- Manually download the required files.
- or with git
git clone https://github.com/PPrzemko/TTS-AnonfilesBackupper.git
Install requirements
pip install -r requirements.txt
Run programm
python3 main.py
-
- exit
-
- upload newly added files
-
- verify if the uploaded files are still available
-
- reprocess local files
-
- export to csv
-
- enter setup config
What are the limit of uploads?
You are free to upload as long as you don't exceed the following restrictions:
- Max 20 GB per file
- Max 500 files or 50 GB per hour.
- Max 5,000 files or 100 GB per day.
Contributions to this project are welcome! To contribute, please submit a pull request. Please be gentle this is my first Python project.
This project is licensed under the GNU GENERAL PUBLIC LICENSE. See the LICENSE file for more information.