Skip to content

Rebuilds .bsp files based off of their lump file for decompiling and in-game use.

License

Notifications You must be signed in to change notification settings

Rim032/LumpStich

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

69 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Lump Stich

Description

In the Garry's Mod Workshop, maps are often given anti-decompile protection to prevent players from decompiling, studying and sometimes even playing those maps. This program aims to remove such lump protection and restore a map to it's original state!

How is this done?

A protected .bsp file and it's acompanying .lmp file (a file containing a portion of entity information) are carefully stiched together to reform an unobstructed .bsp file. This ubobstrcuted .bsp can then easily be decompiled and played while the protected .bsp cannot be decompiled, lacks entities and may even crash your game!

Reason

I want to allow people to decompile maps for reverse engineering and learning purposes. Also, this allowed me to further explore the structure and overall inner-workings of .bsp and .lmp files.

Misc.

Note: If there are any bugs/issues, please let me know. Only GMOD and HL2 maps have been tested. A warning will be given if using a BSP version other than 20. This program works best against i-am-scott's BSPLumpManager and does not work against obfuscations more sophisticated than standard lump protection.

Images

Main GUI of Program; stiching an example gm_flatgrass .bsp

image

Files before stich. An unuseable .bsp and seemingly redundant .lmp

image

Files after stich. A new unprotected and working .bsp is generated

image

Build History

v1.00 - January 11th 2023 - Initial Release
v1.01 - January 17th 2023 - Small Bug Fixes
v1.05 - January 19th 2023 - Improvements & Bug Fixes
v2.00 - October 6th 2023 - Major Improvements & GUI Release
v2.01 - October 25th 2023 - Small Bug Fixes & Improvements
v2.02 - January 6th 2024 - Small Visual Changes

About

Rebuilds .bsp files based off of their lump file for decompiling and in-game use.

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Languages