https://github.com/hona/dot-tf2
A script to quickly clean & restore a TF2 config/custom files/downloads. Works on a fresh AND dirty installs of TF2
https://github.com/hona/dot-tf2
Last synced: 3 months ago
JSON representation
A script to quickly clean & restore a TF2 config/custom files/downloads. Works on a fresh AND dirty installs of TF2
- Host: GitHub
- URL: https://github.com/hona/dot-tf2
- Owner: Hona
- Created: 2024-01-03T04:08:08.000Z (over 1 year ago)
- Default Branch: main
- Last Pushed: 2024-06-01T11:24:35.000Z (about 1 year ago)
- Last Synced: 2025-01-21T09:48:45.786Z (4 months ago)
- Language: Valve Data Format
- Size: 23 MB
- Stars: 2
- Watchers: 2
- Forks: 1
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# dot-tf2
A script to quickly clean & restore a TF2 config/custom files/downloads. Works on a fresh AND dirty installs of TF2## How does it work?
This script automates the steps outlined in Mastercomfig's [Clean Up Guide](https://docs.mastercomfig.com/9.7.0/fr/setup/clean_up/) that states:
> [!CAUTION]
> This will reset ALL settings. Make sure you back up your binds and other custom settings before you do this.Note the only part this script doesn't do is the following:
* Run the game once to generate the default config files by adding the launch properties: `-novid -autoconfig -default +host_writeconfig config.cfg full +mat_savechanges +quit`
This is because it is assumed that this is in your profile/cfg/config.cfg.
Then, it copies your custom profile's config files and custom files into the TF2 directory.
## Usage
Currently we only support Windows.
## Windows
Download the latest release here
https://github.com/Hona/dot-tf2/archive/refs/heads/main.zip
Extract the zip file to a folder of your choice.
I will use the example of `C:/dot-tf2/`
This folder contains the `dot-tf2.ps1` file, so if you download then 'Extract All' you might have the path `Downloads/dot-tf2-main/...````bash
cd C:/dot-tf2/# Run the script
./dot-tf2.ps1 [profile]# Example
# ./dot-tf2.ps1 Hona
```My TF2 config is precooked, but you can add your own - feel free to PR your config to the repo. `./profiles/Hona/*`
Profiles go in `./profiles/` and are named `./profiles/[profile]/`. The script only looks at the following content:
* `./profiles/[profile]/cfg/*`
* `./profiles/[profile]/custom/*`