mirror of
https://github.com/rehan-remade/universal-modder.git
synced 2026-11-05 01:37:40 +00:00
[PR #96] [MERGED] fix(scan): Slay the Spire 2 gets its own route, not StS1's ModTheSpire #120
Labels
No labels
pull-request
No milestone
No project
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set.
Reference
rehan-remade/universal-modder#120
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?
📋 Pull Request Information
Original PR: https://github.com/rehan-remade/universal-modder/pull/96
Author: @AltDoug
Created: 10/5/2026
Status: ✅ Merged
Merged: 10/6/2026
Merged by: @rehan-remade
Base:
main← Head:fix/sts2-known-route📝 Commits (1)
d88f688fix(scan): Slay the Spire 2 gets its own route, not StS1's ModTheSpire📊 Changes
2 files changed (+11 additions, -0 deletions)
View changed files
📝
tests/test_um.py(+10 -0)📝
um/scan.py(+1 -0)📄 Description
um scan "Slay the Spire 2"puts "ModTheSpire + BaseMod (Java, SpirePatch)" first. That's Slay the Spire 1 tooling: the"slay the spire"key matches "Slay the Spire 2" as a substring. StS2 is Godot 4.5 + .NET, and its mods are a C# .dll + .pck + .json manifest that the game's own loader picks up frommods/, usually built on BaseLib (Alchyr.Sts2.BaseLibon NuGet).Fix: a
"slay the spire 2"entry inKNOWN. #45's longest-key rule makes it win over the StS1 entry. It points atgodot.md, so the generic Godot route is folded into it, same as other known games that share their engine's playbook.Tests: new
test_slay_the_spire_2_is_not_sts1(fails before, passes after); full suite 59 passed on Windows 11, Python 3.12. By hand on a real install (Steam build, Godot 4.5.1): route 1 is now the StS2 loader.Found and fixed with AI assistance (Claude Code); the repro and the fix were run by hand on Windows 11.
🤖 Generated with Claude Code
🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.