Skip to content
This repository has been archived by the owner on Apr 18, 2024. It is now read-only.
/ tf2-image-crash-fix Public archive

Fix for the crash caused by large PNGs for Linux, not guaranteed to be safe

Notifications You must be signed in to change notification settings

Nocrex/tf2-image-crash-fix

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

8 Commits
 
 
 
 
 
 
 
 

Repository files navigation

Linux fix for Objector/Decal crash (ISSUE IS FIXED, NO NEED TO USE)

WARNING: I CANNOT CONFIRM THAT THIS IS SAFE, IF YOUR ACCOUNT GETS VAC-BANNED DON'T BLAME ME

I have no idea how VAC actually determines cheats on Linux, so use at your own risk. For this reason I will also not be providing binaries.

GitHub issue about the exploit: ValveSoftware/Source-1-Games#5603

Usage

To use it first clone the code, then execute gcc -shared -m32 -fPIC main.c -o crash-fix.so

Then go to TF2's launch options and add LD_PRELOAD=<path-to-folder>/crash-fix.so:$LD_PRELOAD %command% <rest of launch options>

Now when you run TF2 all legitimate images should load, while the crashing ones are blocked (and probably rendered as something else)

About

Fix for the crash caused by large PNGs for Linux, not guaranteed to be safe

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages