Typing mismatch for legendary installed.json requires_ot
Nobody has claimed this yet.
Assessment
- Difficulty
- 2/5
- Estimated time
- 1-3 hours
- Newbie friendliness
- 70/100
Research direction
Start in ficsitcli/metadata.go and inspect how Legendary's installed.json is unmarshaled, focusing on the requires_ot field. Reproduce the failure with a numeric 0 value and verify that installations using either numeric or boolean false metadata are parsed and remain visible in the manager.
Written by the indexing model from the issue text.
Description
System: Debian 13
I'm not sure if this is more a legendary issue, or a SMM issue, but metadata.go seems to be expecting a boolean value for installed.json -> game -> requires_ot however in some cases it gets saved as 0 instead of a boolean (I'm not sure if this is heroic causing this mismatch but it was across multiple games), this causes SMM to process the install, then discard it as invalid. Bringing you to a "there are x installs present" but with an invalid install tag, and also makes corresponding installs not appear on the debug info.
2026-07-28T14:02:30-04:00 INF SatisfactoryModManager/main.go:55 starting Satisfactory Mod Manager version=3.1.0 commit=935ec4ae90e4c46337122cdf568f78635d85087e date=2026-06-06T16:04:55Z type=appimage
2026-07-28T14:02:31-04:00 INF ficsitcli/metadata.go:27 failed to find installations error="Legendary not installed"
2026-07-28T14:02:31-04:00 INF ficsitcli/metadata.go:27 failed to find installations error="failed to parse legendary installed.json output: json: cannot unmarshal number into Go struct field Game.requires_ot of type bool"
2026-07-28T14:02:31-04:00 INF ficsitcli/metadata.go:27 failed to find installations error="steam-flatpak not installed"
2026-07-28T14:02:31-04:00 INF ficsitcli/metadata.go:27 failed to find installations error="steam-snap not installed"
2026-07-28T14:02:31-04:00 INF ficsitcli/metadata.go:27 failed to find installations error="Heroic not installed"
I resolved it by backing up installed.json and then replacing all "requires_ot": 0 with "requires_ot": false, which allowed the program to parse the installs again, but if possible it would be nice to have it realize that 0 = false for the metadata
- Dominant language
- Svelte
- Stars
- 500
- Forks
- 94
- Avg merge
- 9d 19h
- Merged PRs (30d)
- 2
Contributor guide
No contributing guide indexed for this repository
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
More from satisfactorymodding/SatisfactoryModManager
-
Difficulty 2/5 1-3 hours Newbie friendliness 68/100
-
Difficulty 3/5 1-2 days Newbie friendliness 45/100
satisfactorymodding/SatisfactoryModManager#363 · 1 comment ·
-
SMM 3.1.0 Satisfactory Steam Stable 1.2 Actual build CL495413 Resolver incorrectly uses CL273254 Open
Difficulty 3/5 1-2 days Newbie friendliness 58/100
satisfactorymodding/SatisfactoryModManager#361 · 1 comment ·
-
Custom game path Open
Difficulty 3/5 1-2 days Newbie friendliness 55/100
satisfactorymodding/SatisfactoryModManager#360 · 1 comment · 1 reaction ·
-
Difficulty 4/5 3-5 days Newbie friendliness 52/100
satisfactorymodding/SatisfactoryModManager#359 · 4 comments ·
All issues in satisfactorymodding/SatisfactoryModManager
Similar issues
-
bug clawsweeper:linked-pr-open clawsweeper:needs-live-repro clawsweeper:no-new-fix-pr impact:message-loss issue-rating: 🐚 platinum hermit P2 regression
Difficulty 2/5 1-3 hours Newbie friendliness 78/100
-
Difficulty 1/5 Under an hour Newbie friendliness 90/100
AXERA-TECH/ax-llm#77 ·
-
Difficulty 1/5 Under an hour Newbie friendliness 90/100
games-on-whales/wolf#509 ·
-
Difficulty 2/5 1-3 hours Newbie friendliness 78/100
-
enhancement
Difficulty 2/5 1-3 hours Newbie friendliness 72/100