mirror of
https://github.com/Pasta-Devs/Marinara-Engine.git
synced 2026-12-03 19:00:50 +07:00
[GH-ISSUE #790] [Issue]: Scene analyzer can generate Android Termux background filenames that are too long #383
Labels
No labels
android
bug
bugfix
ci
client
code freeze pause
container
dependencies
docs
documentation
duplicate
enhancement
feature
feature
feature
feature-creep
fixed-in-refactor
fixed-in-staging
good first issue
help wanted
in-pr
in-pr
needs-codeowner-decision
normal-scope
old-codebase
old-codebase
pull-request
qol
question
refactor
regression
revisit later
roadmap
scope-risk
scope-risk
server
server
shared
soup
upstream
windows
No milestone
No project
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set.
Reference
Pasta-Devs/Marinara-Engine#383
Loading…
Add table
Add a link
Reference in a new issue
No description provided.
Delete branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Originally created by @cha1latte on GitHub (May 13, 2026).
Original GitHub issue: https://github.com/Pasta-Devs/Marinara-Engine/issues/790
Originally assigned to: @cha1latte on GitHub.
Summary
In Game Mode on Android Termux, the scene analyzer can generate a background tag that uses the entire scene description as the slug. That slug becomes the illustration filename, exceeds Android/Termux filename length limits, and causes image saving to fail with
ENAMETOOLONG.Source: https://discord.com/channels/1417099416812392641/1504034653051293797
Expected behavior
Generated background illustration filenames should stay within platform filesystem filename limits. Long scene descriptions or tags should be shortened, hashed, or otherwise converted into safe filenames before writing the image.
Actual behavior
The scene analyzer sometimes uses a long scene description as the background slug/filename. On Android Termux, this can exceed the 255-byte filename limit and fail with
ENAMETOOLONG, preventing the generated image from saving.Steps to reproduce
packages/server/data/game-assets/backgrounds/illustrations/.ENAMETOOLONGand the image does not save.Marinara Engine version
v1.5.9
Install type
Termux
OS + version
Android, exact version not specified.
Browser or app shell
Termux
Screenshots or video
Not a visual/UI issue.
Logs
Additional context
Reporter is not sure whether this only affects Android/Termux or other platforms as well. Android filesystems commonly enforce a 255-byte filename limit, so the filename safety issue may be platform-sensitive.
Template check