# Getting started with MysteryForge

MysteryForge by Insurrection Studios is a studio for making classic first-person mystery adventure games: pre-rendered rooms you click around in, clues and items, voiced conversations, puzzles, a journal and a map, and an accusation at the end. This page takes you from the download to your own game running, in about fifteen minutes.

## 1. Install what MysteryForge runs on

| What | Why | Where |
|---|---|---|
| **Godot 4.7.2** (standard, not .NET) | MysteryForge is built on the Godot engine; it plays games, runs the Studio and builds exports | [godotengine.org](https://godotengine.org/download/archive/4.7.2-stable/) |
| **Node.js 18 or newer** | the MCP server for AI agents, and the `new` command | [nodejs.org](https://nodejs.org/) |
| Python 3 (optional) | release packaging, patches, itch.io uploads | usually already installed on macOS and Linux |

**Where to put Godot.** On macOS, drag `Godot.app` into Applications and MysteryForge finds it. On Windows and Linux, either put the Godot program on your PATH under the name `godot`, or set the `GODOT_BIN` environment variable to its full path:

```bash
export GODOT_BIN="$HOME/Apps/Godot_v4.7.2-stable_linux.x86_64"   # Linux / macOS (add it to your shell profile)
```

```bat
setx GODOT_BIN "C:\Tools\Godot\Godot_v4.7.2-stable_win64.exe"    &rem Windows
```

## 2. Download MysteryForge

Get `MysteryForge-0.101.0.zip` from [itch.io](https://vivalainsurreccion.itch.io/mysteryforge) and unzip it anywhere you like (a folder without spaces in its path saves trouble on Windows). Then, from that folder, ask MysteryForge what it can see:

```bash
./mysteryforge doctor          # macOS and Linux
```

```bat
mysteryforge doctor            &rem Windows (mysteryforge.cmd)
```

It prints the Godot it found, its version, your Node version, and whether the demo has been imported yet. Anything it cannot find is named, with where to get it.

> On macOS, the first time you run the launcher from a zip downloaded in a browser, macOS may ask you to confirm it in **System Settings → Privacy & Security**. The launcher is a plain shell script you can read.

## 3. Play the demo

```bash
./mysteryforge play
```

The download includes a small demo mystery, *The Case of the Cellar Key*: a manor, a housekeeper to question, a hidden key, a locked drawer and a keypad cellar door. The first time, MysteryForge imports its pictures and sounds (Godot does this once per project; it takes a few seconds).

Click to move and look, drag items from the inventory onto things, `J` for the journal, `Esc` for the menu. A gamepad and the keyboard work everywhere (`Tab` and the arrow keys move between hotspots).

## 4. Open the Studio

```bash
./mysteryforge studio
```

MysteryForge Studio opens on the demo. Pick a scene, press **Draw**, drag a box over something in the picture, then say what clicking it does: show some text, give an item, start a conversation, go to another room. Press **Play** (or **Play here** to start in that room). See [the Studio guide](https://mysteryforge.vivalainsurreccion.com/docs/studio/) for every panel.

## 5. Make your own game

```bash
./mysteryforge new ~/Games/the-lighthouse "The Lighthouse Mystery"
./mysteryforge studio ~/Games/the-lighthouse
```

`new` copies the engine into a new folder and writes a small but complete starter mystery (two rooms, an item, a character with a branching conversation, a keypad puzzle and a win) so you start from something that works, not a blank page. Each game is a standalone Godot project: it carries its own copy of the engine, its own tests and its own check suite, so it keeps working whatever you install later.

In the Studio, **Open…** switches to any game folder, and **Recent** remembers them.

**Put it in version control now.** A game is plain JSON and assets, so every change is a readable diff. The new game already has a `.gitignore` and a CI workflow (`.github/workflows/mysteryforge.yml`) that runs its check suite on every push; see [continuous integration](https://mysteryforge.vivalainsurreccion.com/docs/ci/).

## 6. Plan the mystery, then build it

A good mystery is a graph of clues with rooms and puzzles hung on it. Before you build rooms, fill in [the case file](https://mysteryforge.vivalainsurreccion.com/docs/case-file/): the truth, the suspects, what proves it, and what the player must find and work out. If you would rather describe the whole game in one document and have MysteryForge build every room, hotspot, puzzle and placeholder picture for you, write a [blueprint](https://mysteryforge.vivalainsurreccion.com/docs/blueprint/).

## 7. Let the tools check your work

Every game has a proof suite. Run it whenever you like, and before every release:

```bash
./mysteryforge check ~/Games/the-lighthouse
```

It validates every reference, proves every room can be reached and the game can be won, searches every order of play for a point where the player gets stuck for good, proves every puzzle can be solved, plays the game to its ending through the real interface, and scans the interface under 150% text in a stand-in language. The [production handbook](https://mysteryforge.vivalainsurreccion.com/docs/handbook/) explains each check and the alpha, beta and gold release gates built on them.

## 8. Bring in an AI agent (optional)

MysteryForge has an MCP server with 137 tools, so Claude or any other MCP-capable agent can build rooms, write dialogue, record placeholder voices, take screenshots and run every check. With [Claude Code](https://claude.com/claude-code):

```bash
claude mcp add mysteryforge -- "$PWD/mysteryforge" mcp ~/Games/the-lighthouse
```

Or open the MysteryForge folder itself in Claude Code: its `.mcp.json` attaches the server and its `AGENTS.md` orients the agent. Then ask for something like *"add a lantern room to the lighthouse with a locked chest the player opens with the brass key, then validate and show me a screenshot."* For other clients (Claude Desktop, Cursor, VS Code) run `./mysteryforge mcp-config`, and see [the agent quickstart](https://mysteryforge.vivalainsurreccion.com/agents/quickstart/).

## 9. Art, voice and music

Start with placeholders and replace them as real assets arrive; the game never has to change to take them.

- **Pictures.** Rooms are 1920 × 1080 (or a 2:1 sheet for a 360° room). Draw them as SVG, paint them, generate them through the Studio's Art panel, or render them in [Blender](https://mysteryforge.vivalainsurreccion.com/docs/blender/). Characters and animation can come from [QxSprite](https://mysteryforge.vivalainsurreccion.com/docs/qxsprite/) or [any other tool](https://mysteryforge.vivalainsurreccion.com/docs/art-tools/). `make handoff` writes a layout guide per room for an outside artist.
- **Voices.** One command records a placeholder voice for every line (macOS `say`, or espeak-ng elsewhere); real recordings replace them at the same paths, and lip-sync follows any recording.
- **Music and sound.** OGG files, or adaptive music in stems; room reverb, loudness checks and mix presets are built in.

## 10. Ship it

Install Godot's export templates once, then build for every platform:

```bash
./mysteryforge templates
```

From there, `make release` (or `python3 tools/package.py` inside a game) runs the release gate and builds Windows, macOS, Linux and web packages with checksums and licence notices; `tools/itch.py` uploads them to itch.io with butler, and `tools/deploy_cloudflare.py` puts a web build on Cloudflare Pages. The [handbook](https://mysteryforge.vivalainsurreccion.com/docs/handbook/) has the whole path, including signing, patches and support bundles.

## What's in the download

| Folder or file | What it is |
|---|---|
| `mysteryforge`, `mysteryforge.cmd` | the launcher (`doctor`, `studio`, `play`, `new`, `import`, `mcp`, `mcp-config`, `check`, `templates`) |
| `runtime/` | the engine (`addons/mystery_forge`), the Studio (`addons/mystery_forge_studio`), the command-line tools, the engine tests and the demo game; new games are copied from it |
| `mcp/` | the MCP server, ready to run |
| `docs/` | this documentation, as Markdown |
| `integrations/` | `blender/mf_blender.py` (render rooms and project hotspots) and `sprite_sheet.py` (QxSprite / Aseprite sheets) |
| `AGENTS.md`, `CLAUDE.md`, `.mcp.json` | for AI agents opening the folder |
| `Makefile`, `scripts/` | every `make` command the docs mention (macOS and Linux) |

## Getting help

The [documentation](https://mysteryforge.vivalainsurreccion.com/docs/) covers every part of MysteryForge, and each page is also plain Markdown (add `.md` to its address) for your own notes or your agent. Inside a game, the validator's messages say what is wrong and where; the Studio's **Validate** panel jumps to each one.
