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
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)
1# Blitz3D decompile and port23Blitz3D games ship as one exe: the runtime in `.text` and the compiled game in a resource module that4the 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 the6port, and the original game stays the oracle.78Keep every disassembly and decompile outside any repo (convention: `~/<game>-decomp/`), and never9publish them; the scripts here are fine to keep. Leave proprietary DLLs that forbid decompiling alone: their10export names in the exe are enough. Journal in the mod's `MODLOG.md`.1112Read the source when there is one: SCP: Containment Breach (Regalis11/scpcb) and its Ultimate Edition Reborn13fork (Jabka666/scpcb-ue-my) are open source under CC BY-SA 3.0.1415**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 what17the 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 mix19licences). Anything else stays a private study: nothing from it is uploaded or published.2021## 1. Tools2223- B3DDecomp (juanjp600/B3DDecomp, C#, GPL-3): clone outside the repo, then24…
Excerpt shown under the repository's MIT license.
