Giter Site home page Giter Site logo

ultratoon / dot-tf2 Goto Github PK

View Code? Open in Web Editor NEW

This project forked from hona/dot-tf2

0.0 0.0 0.0 10.35 MB

A script to quickly clean & restore a TF2 config/custom files/downloads. Works on a fresh AND dirty installs of TF2

PowerShell 0.05% HTML 0.01% Valve Data Format 99.93%

dot-tf2's Introduction

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 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/...

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/*

dot-tf2's People

Contributors

hona avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.