game-study-tool (gst)
gst is for studying in depth how the games you own are made, through reverse engineering. It does two things:
- it extracts from the installed game everything that is technically possible: code, assets, data, audio, maps and
analyses. There is no cap on size, count or time, and the work can be resumed later;
- the Claude Code plugin turns what was extracted into notes on systems, mechanics and assets, an
ARCHITECTURE.md with evidence, and comparisons between games.
It works with Claude Code ("analyze this game") and on its own, through the gst command.
Supported engines: Unity (Mono and IL2CPP), Godot 3/4 (+C#) and Unreal 4/5. It also handles .NET, Java, Lua and
native code (Ghidra with PDB).
Derived from kn04nd/game-study-toolkit@2505b70, with its history preserved. If you used gs, see
docs/MIGRATION.md. What is still missing or unverified:
docs/KNOWN-LIMITATIONS.md.
Limits (guardrails)
This is personal study of games you own. "No limit" applies to size, count and time, not to the rules. gst never:
- bypasses anti-cheat or DRM, or touches online services;
- runs anything in the game outside the offline/sandbox mode. Runtime and graphics need the
offline-ok verdict
from recon;
- decrypts without a published key (with its source URL);
- writes into the game's install folder, which is always read-only;
- puts derived content in git. What is extracted stays in
GS_HOME only (default D:\game-study).
The rules are written in plugins/gst/guardrails.md. The code enforces them too:
policy.py, guard.py and the plugin hook. A job the policy stops stays blocked-policy, with the reason.
Installation
Requirements:
- Windows 10/11 x64;
- Python ≥ 3.12, or
uv so the installer can download one;
- free disk space;
- VS Code with the Claude Code extension, to use the plugin.
In the repository folder, in a regular PowerShell:
powershell -ExecutionPolicy Bypass -File .\install.ps1 -DryRun # shows what it would do, changes nothing
powershell -ExecutionPolicy Bypass -File .\install.ps1 # venv, gst.exe on the PATH, gst doctor
The installer:
- finds a Python ≥ 3.12;
- creates or reuses the repository's
.venv;
- runs
pip install -e .[full];
- copies the venv's
gst.exe to %USERPROFILE%\.local\bin.
You can run it again at any time. It changes nothing else without the matching option:
| Option | What it does |
|---|
-Tools (-Profiles core,unity,unreal) | gst tools install <profiles>: Ghidra, ilspycmd, GDRE, vgmstream, uas... (profiles: core, unity, unreal, jvm-lua-py, indie, native, runtime, graphics, formats) |
-Plugin | registers the gst-local marketplace and the gst@gst-local plugin in Claude Code; only prints the commands to disable the legacy gs plugin |
-EnableLongPaths | turns LongPathsEnabled on (asks for administrator rights through UAC). Without it, the installer only shows the state and suggests it |
-System | -EnableLongPaths + a Defender exclusion for the studies folder only |
-GsHome <folder> | changes the studies folder (gst config set gs_home) |
-AddToPath | adds .local\bin to the user PATH when missing (without it, it only warns) |
-Python, -Venv, -BinDir, -Extras | pick the Python, the venv, the gst.exe folder and the pip extras |
-DryRun / -WhatIf | change nothing, only list the steps |
Then check the environment:
gst doctor # tools, LongPaths, plugins (the new one and the gs one), running anti-cheat, GS_HOME
gst selftest # environment; --tools runs the pipeline on the sample game (minutes)
gst study: extract everything from a game
gst study "D:\SteamLibrary\steamapps\common\Pratfall" --dry-run # plan and the time of each asset level; writes nothing
gst study "D:\SteamLibrary\steamapps\common\Pratfall" --assets normal # runs; repeat to resume
gst status pratfall --watch # progress (jobs/STATUS.md)
gst coverage pratfall # jobs/COVERAGE.md per category
gst study:
- resolves or creates the workspace
GS_HOME/<slug>;
- runs recon (engine, protections, verdict);
- plans the engine's extractors and runs everything as resumable jobs (
jobs/jobs.db).
Job order: loose files, code (decompile, index, REA), asset inventory, export of every type, analyses
(analysis/*.json) and, last, the heavy ones (AssetRipper project, Ghidra).
Code and assets run as two tracks side by side: the code notes can start while the assets still export. How
much of the assets to study is asked once per workspace (--assets, then kept in game.json; a run without it stops
and prints the estimate of each level):