Tf2mapfix
A shell script to fix broken maps on TF2 Linux
Install / Use
/learn @methamphetabeans/Tf2mapfixREADME
tf2mapfix
A shell script to fix broken community maps on TF2 Linux. If a community map is missing a bunch of textures or other resources, this script will probably fix it.
This script will take map files from your TF2 downloads, decompile them with VPKEdit, and put the unpacked files into your TF2 custom directory for you.
Installation
First download the Linux VPKEdit CLI from here
Extract the zip to whatever destination you want to have it. Next, download tf2mapfix.sh and put it the VPKEditCLI directory you created.
Running the script
Make sure tf2mapfix.sh has execute permissions and run the sh file in the terminal from your VPKEdit directory.
To run this script on all map files:
./tf2mapfix.sh
To run this script on specific map files:
./tf2mapfix.sh -f
./tf2mapfix.sh --files #the script will prompt you for what files you want to use
To have the script ask you to replace files that already exist in your custom directory:
./tf2mapfix.sh -a
./tf2mapfix.sh --ask-replace
./tf2mapfix.sh -a -f
The script will first look for your TF2 directory in its default location, and if it is not found, will prompt the user to input their installation directory. This location will be saved in a config file for later use.
Possible Issues
There will likely be some sort of bug from a use case I haven't be able to test. Feel free to contact me @ thebeandev@gmail.com, or try to fix these yourself and report your findings.
Related Skills
node-connect
341.8kDiagnose OpenClaw node connection and pairing failures for Android, iOS, and macOS companion apps
frontend-design
84.6kCreate distinctive, production-grade frontend interfaces with high design quality. Use this skill when the user asks to build web components, pages, or applications. Generates creative, polished code that avoids generic AI aesthetics.
openai-whisper-api
341.8kTranscribe audio via OpenAI Audio Transcriptions API (Whisper).
commit-push-pr
84.6kCommit, push, and open a PR
