[GH-ISSUE #147] [Issue]: Can't start a game #43

Closed
opened 2026-10-20 17:24:27 +07:00 by bsakaguchi · 4 comments
Owner

Originally created by @rieverg on GitHub (Apr 20, 2026).
Original GitHub issue: https://github.com/Pasta-Devs/Marinara-Engine/issues/147

Summary

I'm getting an error when trying to set up a game

Expected behavior

Actual behavior

I got this error:

[game/setup] Parsed JSON keys: [
'campaign_title',
'campaign_logline',
'campaign_setup',
'key_locations',
'major_npcs',
'major_plot_points',
'player_hook'
]
[game/setup] Validation failed — missing: [ 'storyArc', 'worldOverview', 'plotTwists', 'startingNpcs' ]
[game/setup] Returning 422: Setup generation incomplete — missing: storyArc, worldOverview, plotTwists, startingNpcs. Try again or use a different model.

Environment

  • Marinara Engine version: latest
  • Install type: (source / installer / docker / termux / other) termux
  • OS + version: Android 15
  • Browser or app shell: Chrome

Logs, screenshots, or video

Additional context

Template check

Please uncheck (untick) the box below before submitting so we know you read the template. It is intentionally pre-checked:

  • I DID NOT read this template and provide the requested details.
Originally created by @rieverg on GitHub (Apr 20, 2026). Original GitHub issue: https://github.com/Pasta-Devs/Marinara-Engine/issues/147 ## Summary <!-- What is wrong in one or two sentences? --> I'm getting an error when trying to set up a game ## Expected behavior <!-- What should have happened? --> ## Actual behavior <!-- What happened instead? --> I got this error: [game/setup] Parsed JSON keys: [ 'campaign_title', 'campaign_logline', 'campaign_setup', 'key_locations', 'major_npcs', 'major_plot_points', 'player_hook' ] [game/setup] Validation failed — missing: [ 'storyArc', 'worldOverview', 'plotTwists', 'startingNpcs' ] [game/setup] Returning 422: Setup generation incomplete — missing: storyArc, worldOverview, plotTwists, startingNpcs. Try again or use a different model. ## Environment - Marinara Engine version: latest - Install type: (source / installer / docker / termux / other) termux - OS + version: Android 15 - Browser or app shell: Chrome ## Logs, screenshots, or video <!-- Paste relevant logs and add screenshots when possible --> ## Additional context <!-- Optional: related issue links, temporary workaround, etc. --> ## Template check Please **uncheck (untick)** the box below before submitting so we know you read the template. It is intentionally pre-checked: - [ ] I DID NOT read this template and provide the requested details.
bsakaguchi 2026-10-20 17:24:27 +07:00
  • closed this issue
  • added the
    bug
    label
Author
Owner

@DarkPulse commented on GitHub (Apr 20, 2026):

Exactly what it sounds like. You're probably using too few tokens to generate the game.

Marinara Engine tries to fudge for this by temporarily doubling max tokens when it generates the game world for the first time. In my plays, it's needed about 3000-4000 or so, give or take, to generate a world. It might need significantly more if you attach lorebooks and stuff.

How low is your token limit? If that's set to only 1024 or so, you're probably too low. Try bumping that up to 2048-4096 and see if it goes through then. (Marinara Engine should nudge this up to 4096-8192 when making the world.)

<!-- gh-comment-id:4283594364 --> @DarkPulse commented on GitHub (Apr 20, 2026): Exactly what it sounds like. You're probably using too few tokens to generate the game. Marinara Engine tries to fudge for this by temporarily doubling max tokens when it generates the game world for the first time. In my plays, it's needed about 3000-4000 or so, give or take, to generate a world. It might need significantly more if you attach lorebooks and stuff. How low is your token limit? If that's set to only 1024 or so, you're probably too low. Try bumping that up to 2048-4096 and see if it goes through then. (Marinara Engine should nudge this up to 4096-8192 when making the world.)
Author
Owner

@rieverg commented on GitHub (Apr 20, 2026):

I put it at 8192 right before trying to start a game actually, is that too many?

Edit: Tried again with 5k and got the same exact error again

Image
<!-- gh-comment-id:4283606774 --> @rieverg commented on GitHub (Apr 20, 2026): I put it at 8192 right before trying to start a game actually, is that too many? Edit: Tried again with 5k and got the same exact error again <img width="1080" height="418" alt="Image" src="https://github.com/user-attachments/assets/de522a55-4682-49cb-8b9c-f16e9fcd4709" />
Author
Owner

@rieverg commented on GitHub (Apr 20, 2026):

Oh and I'm using Deepseek, I forgot to put it into the main post

<!-- gh-comment-id:4283616149 --> @rieverg commented on GitHub (Apr 20, 2026): Oh and I'm using Deepseek, I forgot to put it into the main post
Author
Owner

@SpicyMarinara commented on GitHub (Apr 20, 2026):

It's making up JSON variabels that are not a part of the schema, use a different model, Deepseek is ass.

<!-- gh-comment-id:4283749453 --> @SpicyMarinara commented on GitHub (Apr 20, 2026): It's making up JSON variabels that are not a part of the schema, use a different model, Deepseek is ass.
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#43
No description provided.