[PR #385] [MERGED] docs: add Game Mode user guide and Generation Parameters reference #4597

Closed
opened 2026-10-22 04:09:02 +07:00 by bsakaguchi · 0 comments
Owner

📋 Pull Request Information

Original PR: https://github.com/Pasta-Devs/Marinara-Engine/pull/385
Author: @cha1latte
Created: 5/4/2026
Status: ✅ Merged
Merged: 5/4/2026
Merged by: @SpicyMarinara

Base: main ← Head: docs/game-mode-and-params


📝 Commits (1)

  • 3eda5f9 docs: add Game Mode user guide and Generation Parameters reference

📊 Changes

2 files changed (+417 additions, -0 deletions)

View changed files

➕ docs/GAME_MODE.md (+348 -0)
➕ docs/GENERATION_PARAMETERS.md (+69 -0)

📄 Description

Why this change

Recurring user questions in the staff Discord around Game Mode setup, model selection for world-gen, what makes a good GM card, and which entry fields actually steer the game. New users (including some staff) have described Game Mode as confusing and intimidating to start. There has been no user-facing Game Mode documentation in the repo until now.

This PR ships a Getting Started guide for Game Mode plus a shared Generation Parameters reference that future Conversation and Roleplay mode docs will also link to. The Game Mode content was iteratively shaped by real-user feedback in the Marinara Discord across multiple revision rounds before this clean PR.

What changed

  • New file: docs/GAME_MODE.md (~4,800 words) — Getting Started guide covering: when to pick Game Mode; the two-phase architecture (world-gen JSON output + per-turn gameplay assembly); setup wizard fields with defaults and best-practice values; lorebook-driven world setup; GM character (standalone vs. character mode); party characters with the explicit one-character-per-card rule; recommended models with the OpenRouter Free pitfall called out; optional toggles (Scene Analysis, Image Generation); the game-assets folder; sessions lifecycle (End Session / New Session as a third class of LLM call distinct from gameplay turns and world-gen); troubleshooting; feedback channel.
  • New file: docs/GENERATION_PARAMETERS.md (~800 words) — shared reference for generation parameters across all chat modes. Documents both default sets (CHAT_PARAMETER_DEFAULTS for Conversation with maxTokens: 4096, ROLEPLAY_PARAMETER_DEFAULTS for Roleplay/VN/Game with maxTokens: 8192), tuning guidance, and per-backend gotchas (Claude temperature/topP conflict, Claude thinking-mode parameter ignoring, OpenRouter auto-routing caveats). GAME_MODE.md links to it rather than repeating the table.

Validation

This is a docs-only PR — the template's container / runtime / UI-edge-case checks don't apply. The relevant verifications:

  • pnpm check passes locally (sanity check that the branch doesn't break tooling)
  • Rendered both docs on GitHub's preview and confirmed headings, tables, and code blocks display correctly
  • Clicked each in-doc cross-link in GAME_MODE.md and confirmed it resolves (e.g. [Recommended models], [Optional toggles], the link to GENERATION_PARAMETERS.md, the link to the connected-chats FAQ entry)
  • Clicked the Discord and GitHub Issues links at the bottom of each doc and confirmed they go to the canonical destinations
  • Read both docs once end-to-end for typos or phrasing concerns. The content was verified against current main (post-v1.5.7) — wizard fields, default values, route signatures, sprite expression list, etc. were all rechecked against current code — but a human pass is sensible
  • Read and followed CONTRIBUTING.md

Out-of-scope notes

  • README.md's "three chat modes" line is stale — the engine actually has four since Visual Novel was added. That's worth a separate small PR if a maintainer wants to take it.
  • README could optionally link to the new docs from its Features section. Not bundled here to keep this PR focused.

Summary by CodeRabbit

  • Documentation
    • Added comprehensive Game Mode guide: two-phase RPG flow (world generation + turn-by-turn play), session lifecycle (end/recap/resume), setup wizard (genre, party, persona, goals, rating), in-game modes (scene/party/GM), queued dice resolution, optional visual/audio sidecars, asset handling, and troubleshooting.
    • Added Generation Parameters reference: sampling defaults, mode-specific presets, tuning tips, editor overrides, and provider-specific behavior notes.

🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.

## 📋 Pull Request Information **Original PR:** https://github.com/Pasta-Devs/Marinara-Engine/pull/385 **Author:** [@cha1latte](https://github.com/cha1latte) **Created:** 5/4/2026 **Status:** ✅ Merged **Merged:** 5/4/2026 **Merged by:** [@SpicyMarinara](https://github.com/SpicyMarinara) **Base:** `main` ← **Head:** `docs/game-mode-and-params` --- ### 📝 Commits (1) - [`3eda5f9`](https://github.com/Pasta-Devs/Marinara-Engine/commit/3eda5f96a8d8a43e17a73aebaacd08e664f8bbf1) docs: add Game Mode user guide and Generation Parameters reference ### 📊 Changes **2 files changed** (+417 additions, -0 deletions) <details> <summary>View changed files</summary> ➕ `docs/GAME_MODE.md` (+348 -0) ➕ `docs/GENERATION_PARAMETERS.md` (+69 -0) </details> ### 📄 Description ## Why this change Recurring user questions in the staff Discord around Game Mode setup, model selection for world-gen, what makes a good GM card, and which entry fields actually steer the game. New users (including some staff) have described Game Mode as confusing and intimidating to start. There has been no user-facing Game Mode documentation in the repo until now. This PR ships a Getting Started guide for Game Mode plus a shared Generation Parameters reference that future Conversation and Roleplay mode docs will also link to. The Game Mode content was iteratively shaped by real-user feedback in the Marinara Discord across multiple revision rounds before this clean PR. ## What changed - **New file: `docs/GAME_MODE.md`** (~4,800 words) — Getting Started guide covering: when to pick Game Mode; the two-phase architecture (world-gen JSON output + per-turn gameplay assembly); setup wizard fields with defaults and best-practice values; lorebook-driven world setup; GM character (standalone vs. character mode); party characters with the explicit one-character-per-card rule; recommended models with the `OpenRouter Free` pitfall called out; optional toggles (Scene Analysis, Image Generation); the game-assets folder; sessions lifecycle (End Session / New Session as a third class of LLM call distinct from gameplay turns and world-gen); troubleshooting; feedback channel. - **New file: `docs/GENERATION_PARAMETERS.md`** (~800 words) — shared reference for generation parameters across all chat modes. Documents both default sets (`CHAT_PARAMETER_DEFAULTS` for Conversation with `maxTokens: 4096`, `ROLEPLAY_PARAMETER_DEFAULTS` for Roleplay/VN/Game with `maxTokens: 8192`), tuning guidance, and per-backend gotchas (Claude `temperature`/`topP` conflict, Claude thinking-mode parameter ignoring, OpenRouter auto-routing caveats). `GAME_MODE.md` links to it rather than repeating the table. ## Validation This is a docs-only PR — the template's container / runtime / UI-edge-case checks don't apply. The relevant verifications: - [x] `pnpm check` passes locally (sanity check that the branch doesn't break tooling) - [x] Rendered both docs on GitHub's preview and confirmed headings, tables, and code blocks display correctly - [x] Clicked each in-doc cross-link in `GAME_MODE.md` and confirmed it resolves (e.g. `[Recommended models]`, `[Optional toggles]`, the link to `GENERATION_PARAMETERS.md`, the link to the connected-chats FAQ entry) - [x] Clicked the Discord and GitHub Issues links at the bottom of each doc and confirmed they go to the canonical destinations - [x] Read both docs once end-to-end for typos or phrasing concerns. The content was verified against current `main` (post-v1.5.7) — wizard fields, default values, route signatures, sprite expression list, etc. were all rechecked against current code — but a human pass is sensible - [x] Read and followed `CONTRIBUTING.md` ## Out-of-scope notes - `README.md`'s "three chat modes" line is stale — the engine actually has four since Visual Novel was added. That's worth a separate small PR if a maintainer wants to take it. - README could optionally link to the new docs from its Features section. Not bundled here to keep this PR focused. <!-- This is an auto-generated comment: release notes by coderabbit.ai --> ## Summary by CodeRabbit * **Documentation** * Added comprehensive Game Mode guide: two-phase RPG flow (world generation + turn-by-turn play), session lifecycle (end/recap/resume), setup wizard (genre, party, persona, goals, rating), in-game modes (scene/party/GM), queued dice resolution, optional visual/audio sidecars, asset handling, and troubleshooting. * Added Generation Parameters reference: sampling defaults, mode-specific presets, tuning tips, editor overrides, and provider-specific behavior notes. <!-- end of auto-generated comment: release notes by coderabbit.ai --> --- <sub>🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.</sub>
bsakaguchi 2026-10-22 04:09:02 +07:00
Sign in to join this conversation.
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference
Pasta-Devs/Marinara-Engine#4597
No description provided.