ProtectSMX
Description
Protect your plugins against decompilation! (Linux only)
Installation
This entry records only its repository, not the path inside it, so there is no
exact command to give. Open the source below and copy the folder into
~/.claude/skills/, or the file into ~/.claude/agents/.
README
ProtectSMX
Protect your plugins against decompilation! (Linux only)
ProtectSMX prevent decompilation of **stolen** plugins. This will be usefull to protect your plugins when using remote hosting.
What is this?
ProtectSMX encrypt any loaded plugin and save encrypted version on disk. Decrypted version passed to Sourcemod core. If plugin already encrypted, then it will be decrypted on the fly.
This repo contains sources, examples and tests. "decrypted" file contains original plugin, when "charger_clipbrush_fix.smx" was encrypted. When this modification works - all loaded plugins will be encrypted like this.
Not so easy! It's a not Extension!
Step 1: Compile Sourcemod
First of all you should compile Sourcemod by yourself! Just follow the official instruction: https://wiki.alliedmods.net/Building_SourceMod
Step 2: Inject protectsmx
Step 2.1: Edit sourcepawn LoadPlugin code
- Add #include <protectsmx.h> to top of file
Sourcemod 1.8+ (sourcemod/sourcepawn/vm/api.cpp)
In function **SourcePawnEngine2::LoadBinaryFromFile** replace
FILE *fp = fopen(file, "rb");
to
FILE *fp = protect_read_smx(file, "rb");
Example: https://github.com/alliedmodders/sourcepawn/blob/d584d55f2ad60b58070134fd1645cda27e8cf232/vm/api.cpp#L240
Sourcemod 1.7 (sourcemod/sourcepawn/jit/engine2.cpp)
In function **SourcePawnEngine2::LoadPlugin** replace
FILE *fp = fopen(file, "rb");
to
FILE *fp = protect_read_smx(file, "rb");
Example: https://github.com/alliedmodders/sourcemod/blob/sourcemod-1.7.0/sourcepawn/jit/engine2.cpp#L29
Step 2.2: Prepare to build
Target folder depend on your SM version `sourcepawn/jit` or `sourcepawn/vm` (Step 2.1)
- Copy protectsmx.h and protectsmx.cpp
- Add protectsmx.cpp to build script (AMBuilder)
Examples:
Related Skills
Auto Update
Pull the latest ECC repo changes and reinstall the current managed targets.
Development Ecc Guide
Navigate ECC's current agents, skills, commands, hooks, install profiles, and docs from the live repository su
Development Epic Claim
Claim an epic issue, stamp coordination state, and sync local ownership.
Development Epic Publish
Publish a validated epic update back to the issue and local cache.
Development Epic Review
Mark epic review requested, approved, or changes requested.
Development Epic Unblock
Sweep blocked epic issues and reopen anything whose dependencies are closed.
Development Related Agents
Django Build Resolver
Django/Python build, migration, and dependency error resolution specialist. Fixes pip/Poetry errors, migration
Openai Codex CLI
(55.8k ⭐) - Lightweight coding agent that runs in your terminal.
src/agents/ — 11 Agent Definitions
**Generated:** 2026-04-11