-
Notifications
You must be signed in to change notification settings - Fork 0
Usage Guide
TF2autoswap has two modes — interactive and command line.
Run with no arguments to open the main menu:
python3 tf2autoswap.py
The menu has four options:
| Option | What it does |
|---|
- Create a cosmetic swap | Guided 5-step flow for swapping cosmetic items
- Create a weapon swap | Guided 5-step flow for swapping weapon models
- List / remove mods I've made | Browse and delete built mods
- List addons in the preloader folder | See what is installed in the preloader
The tool searches TF2's internal file names (keywords) for items.
Search is flexible:
- Spaces and underscores both work — searching
hot airfindshot_air - Punctuation is ignored —
crusader's getupfindscrusaders_getup - If a keyword returns no results, the tool searches item names automatically
- If there is only one match, it is selected automatically
- Typos get a "did you mean" suggestion
If you need to find a keyword yourself, use backpack.tf:
- Go to
https://backpack.tf/overview/Item Name - Find the line that says Player model defined as — the keyword is the file name shown there
On first run the tool shows a risk warning covering VAC bans, competitive league policies, and using the tool while TF2 is closed. Type agree to accept and continue. On subsequent runs a one-line reminder is shown instead.
To reset the acknowledgement (for testing or a fresh install), delete output/.acknowledged from the tool folder.
Use --dry-run to preview a swap without writing any files:
python3 tf2autoswap.py scattergun pistol --weapon --dry-run
This shows the files that would be built and their sizes, then exits without saving anything. Also available as a preview in interactive mode at the confirm step.