Tooluck logoTooluck
SKILL.md

blitz3d-decomp

Agent skill fromrehan-remade/universal-modder

Decompile a Blitz3D game to readable Blitz source with B3DDecomp and port what it does to another engine. Covers SCP - Containment Breach-era and other .bb games, B3DDecomp, Blitz3D runtime behaviour (fixed tick, Animate, CurveValue, Euler angles, quaternions, Rnd), animated .b3d models (viewmodels with bones and keyframes) into Roblox, and where to stop (builds protected against decompiling, games and assets the user has no rights to). Use when a Blitz3D game's code or animated models are needed.

How to install blitz3d-decomp

install blitz3d-decomp
# install the universal-modder pack with the skills CLI
npx skills add rehan-remade/universal-modder

# or add only this skill to Claude Code: copy the folder

skills/blitz3d-decomp/

# into

~/.claude/skills/blitz3d-decomp/ (all projects)

.claude/skills/blitz3d-decomp/ (one project)

skills/blitz3d-decomp/SKILL.md

MITFull file
1# Blitz3D decompile and port
2
3Blitz3D games ship as one exe: the runtime in `.text` and the compiled game in a resource module that
4the runtime links at load. Ghidra on the exe shows only the runtime. The route that works:
5**B3DDecomp disassembles the module and decompiles it to Blitz source.** Then the source is the spec for the
6port, and the original game stays the oracle.
7
8Keep every disassembly and decompile outside any repo (convention: `~/<game>-decomp/`), and never
9publish them; the scripts here are fine to keep. Leave proprietary DLLs that forbid decompiling alone: their
10export names in the exe are enough. Journal in the mod's `MODLOG.md`.
11
12Read the source when there is one: SCP: Containment Breach (Regalis11/scpcb) and its Ultimate Edition Reborn
13fork (Jabka666/scpcb-ue-my) are open source under CC BY-SA 3.0.
14
15**What a port may use.** A port that re-expresses a game's logic, or converts its models, keyframes,
16textures or sounds, redistributes that game once it is published or uploaded (to Roblox too). Port only what
17the user has the rights to: their own game, or an openly licensed one on its terms (SCP: Containment Breach:
18credit it and keep the port under CC BY-SA 3.0, and check each asset's credits, since fan games mix
19licences). Anything else stays a private study: nothing from it is uploaded or published.
20
21## 1. Tools
22
23- B3DDecomp (juanjp600/B3DDecomp, C#, GPL-3): clone outside the repo, then
24…

Excerpt shown under the repository's MIT license.

More skills in universal-modder

Newsletter

Join the Community

Subscribe to our newsletter for the latest news and updates