new-project
Tool
scripts/new-project.sh(script, Scripts). Start a reverse-engineering project for one game, with GameFrame's toolkit and playbook.
Run it as scripts/new-project.sh. Source on GitHub.
Its own help
This is the help text in the tool itself, as ./gameframe tool new-project prints it.
text
Start a reverse-engineering project for one game, with GameFrame's toolkit and playbook.
scripts/new-project.sh DIR "Game Name" [PATH/TO/GAME] [--id ID] [--local] [--copy] [--agent LIST]
Creates DIR as a git repository with:
AGENTS.md (+ CLAUDE.md) the rules, with the game's name; edit the goal paragraph first
README.md, LICENSE-APACHE, LICENSE-CC0-1.0 front page (build/run per part); code Apache 2.0, content CC0 1.0
.claude/settings.json enables GameFrame's Claude Code plugin: the re-* skills, the agents,
the gates and the MCP servers come from it and stay current
gameframe runs GameFrame's toolkit on this project (./gameframe help); it finds
GameFrame in a clone or in the plugin's install
docs/FINDINGS.md, docs/GAME_PROFILE.md, docs/CHECKLIST.md, docs/lore.md, docs/versions.md,
labels/names.tsv, labels/fields.tsv
game, media, saves, analysis, derived links into the GameFrame home's games/ID/ (the game,
its discs, saves, Ghidra output, ground truth): ignored by git, and outside it
game/GAME-FILES-NOT-BUILD-OUTPUT.txt says game/ is the game, not build output
.cargo/config.toml Cargo builds into build/
DIR with no slash, such as `pod`, means $GAMEFRAME_HOME/projects/pod (~/gameframe/projects/pod).
--id ID names the game in the home (games/ID/); the default is DIR's folder name in lower case.
--local makes game/, media/, saves/, analysis/ and derived/ real folders inside the project instead:
for a cloud machine or Windows without links. `gameframe home adopt` moves them out later.
The guides stay in GameFrame (`./gameframe root` prints where), and on its website.
--copy instead copies GameFrame's toolkit, skills, agents, gates and guides into the project,
for agents that cannot use the Claude Code plugin. The skills go in skills/, with the links
.claude/skills and .agents/skills to it, so every agent finds the one copy.
scripts/update-project.sh refreshes such a copy, or moves it to the plugin with --plugin.
--agent LIST names the coding agents to set the project up for, separated by commas: claude,
codex, gemini, copilot, cursor, opencode, or all (the default). Each gets its skill link, its
agents, its gate hooks and its MCP servers (scripts/clients.py). Without claude there is no
.claude/settings.json or CLAUDE.md. In a plugin project the other agents get a copy of the
skills in skills/, since the plugin serves only Claude Code.
With PATH/TO/GAME it adds the game to the home with `gameframe game add`: a disc image or an
installer is copied into games/ID/media/ and extracted into game/, and a folder is copied into
game/. Then it prints a first look at each binary.