[PR #177] [MERGED] Fix comfyui game asset generation #4493

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

📋 Pull Request Information

Original PR: https://github.com/Pasta-Devs/Marinara-Engine/pull/177
Author: @felorhik
Created: 4/22/2026
Status: ✅ Merged
Merged: 4/23/2026
Merged by: @SpicyMarinara

Base: main ← Head: fix/comfyui-generation


📝 Commits (3)

  • 7d475e8 Fix comfyui game asset generation
  • 69a938a Additional escaping for prompts
  • b87f6e5 Merge branch 'main' into fix/comfyui-generation

📊 Changes

3 files changed (+18 additions, -2 deletions)

View changed files

📝 packages/server/src/routes/game.routes.ts (+3 -0)
📝 packages/server/src/services/game/game-asset-generation.ts (+4 -0)
📝 packages/server/src/services/image/image-generation.ts (+11 -2)

📄 Description

Why this change

Fixes background and portrait generation for comfyui connections.

What changed

Portrait and Background game generation

Note: This still needs some testing. It seems to work, but its really hard to trigger tests of game portrait and background generation reliably.

Current issue I am having is that when a generation does happen, with a custom workflow not including %model% it gives an error saying it tried to use that as the model itself (since none are selected in the connection settings). The generation does work however, and generated using the correct workflow. So not sure what is triggering it yet.

The issue is likely separate to getting the game asset generation from utilising the comfyui workflow. So the fixes here may be able to be merged, though more testers for it would be good since I am having difficulty triggering the asset generation reliably.


🔄 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/177 **Author:** [@felorhik](https://github.com/felorhik) **Created:** 4/22/2026 **Status:** ✅ Merged **Merged:** 4/23/2026 **Merged by:** [@SpicyMarinara](https://github.com/SpicyMarinara) **Base:** `main` ← **Head:** `fix/comfyui-generation` --- ### 📝 Commits (3) - [`7d475e8`](https://github.com/Pasta-Devs/Marinara-Engine/commit/7d475e80b77c3e69329d113878a82b14e75c4df9) Fix comfyui game asset generation - [`69a938a`](https://github.com/Pasta-Devs/Marinara-Engine/commit/69a938add64ebda7d29835cd2a4bee0b400c1069) Additional escaping for prompts - [`b87f6e5`](https://github.com/Pasta-Devs/Marinara-Engine/commit/b87f6e54af9f41682d75c0b9fb3d3e0d75da714e) Merge branch 'main' into fix/comfyui-generation ### 📊 Changes **3 files changed** (+18 additions, -2 deletions) <details> <summary>View changed files</summary> 📝 `packages/server/src/routes/game.routes.ts` (+3 -0) 📝 `packages/server/src/services/game/game-asset-generation.ts` (+4 -0) 📝 `packages/server/src/services/image/image-generation.ts` (+11 -2) </details> ### 📄 Description ## Why this change Fixes background and portrait generation for comfyui connections. ## What changed Portrait and Background game generation Note: This still needs some testing. It seems to work, but its really hard to trigger tests of game portrait and background generation reliably. Current issue I am having is that when a generation does happen, with a custom workflow not including `%model%` it gives an error saying it tried to use that as the model itself (since none are selected in the connection settings). The generation does work however, and generated using the correct workflow. So not sure what is triggering it yet. The issue is likely separate to getting the game asset generation from utilising the comfyui workflow. So the fixes here may be able to be merged, though more testers for it would be good since I am having difficulty triggering the asset generation reliably. --- <sub>🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.</sub>
bsakaguchi 2026-10-22 04:08:06 +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#4493
No description provided.