Skip to content

Free open-source game cheat for Team Fortress 2, written in C++.

License

Notifications You must be signed in to change notification settings

MistralDev/Mistral

 
 

Repository files navigation

Mistral

C++ TF2 GNU/Linux x86 License Issues

Free open-source GNU/Linux training software for Team Fortress 2 game. Designed as an internal cheat - Shared Library (SO) loadable into game process. Compatible with the Steam version of the game.

Table of Contents

Getting started

Prerequisites

Prerequisites are handled automatically by the dependencycheck script.

Downloading

Open a terminal window and enter following command:

bash <(wget -qO- https://raw.githubusercontent.com/MistralDev/Mistral/master/install-all)

Mistral folder should have been successfully created, containing all the source files.

Compiling from source

When you have equipped a copy of the source code, next step is opening it with your IDE of choice.

Then check if your particular CPU supports the AVX2 instruction set, if not change all -mavx2 arguements inside CMakeLists.txt to -march=native -mtune=native. This should result in more performant code, optimized for your CPU.

And simply run the following command while inside the source folder:

./toolbox.sh -b

If everything went right you should receive libMistral.so binary file.

Loading / Injecting into game process

The loading script will try to disguise Mistral as the gamemode library. If you happen to be using it, change libgamemodeauto.so.0 inside toolbox.sh to other library names.

Run the following command while inside the source folder:

./toolbox.sh -l

This will inject libMistral.so into hl2_linux process.

When injected, menu is openable under INSERT key.

FAQ

How do I open menu?

Press INSERT while focused on TF2 window.

Where is my config file saved?

Configuration files are saved inside Mistral folder in your opt folder (/opt/Mistral/data). The config is in human readable format and can be edited via your text editor of choice.

Acknowledgments

See also

  • cathook - Training software that I started on.