Skip to content

fix FGR rooms not being grouped together - #144

Merged
viddie merged 2 commits into
viddie:mainfrom
all1xon:fgr-grouped-room-fix
Aug 28, 2026
Merged

viddie merged 2 commits into
viddie:mainfrom
all1xon:fgr-grouped-room-fix

Conversation

@all1xon

@all1xon all1xon commented Aug 25, 2026

Copy link
Copy Markdown
Contributor

This commit fixes grouped rooms not working in full game runs by using the names present in the debug map itself instead of using the full name (uid:roomName) to search for grouped rooms. It also takes the possibility of a room being named the same in multiple maps (f.e. Vanilla Celeste with numbers) into consideration by comparing the uids of the chapters themself.

@viddie viddie left a comment

Copy link
Copy Markdown
Owner

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

other than a small thing, looks good.

Comment thread ConsistencyTracker.cs Outdated
if (rInfo.GroupedRooms != null && rInfo.GroupedRooms.Contains(roomName)) {
if (rInfo.GroupedRooms == null || !rInfo.GroupedRooms.Contains(splitRoomName.Item2)) continue;
if (splitRoomName.Item1 == "Not FGR") return rInfo.DebugRoomName;
Tuple<string, string> splitDebugRoomName = SplitFgrRoomName(rInfo.DebugRoomName);

Copy link
Copy Markdown
Owner

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

this variable name is a bit odd, since it sounds very similar to splitRoomName. it should indicate its temporary/iterative nature somehow.

Comment thread ConsistencyTracker.cs
}

public static Tuple<string, string> SplitFgrRoomName(string roomName) {
if (!roomName.Contains(":")) return Tuple.Create("Not FGR", roomName);

Copy link
Copy Markdown
Owner

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

just a question: this means if a chapter uid ever becomes Not FGR it could be a problem?

i'm not 100% sure thats impossible to happen, but feel free to dismiss this if you are sure its fine.

Copy link
Copy Markdown
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

If it somehow did manage to become Not FGR, then it could become an issue, however due to how the roomName is gotten (it should always append the sidename on room transition, so that even if the base chapter uid was "Not FGR", it'd just become "Not FGR/Normal") it shouldn't be an issue imo.

@all1xon

all1xon commented Aug 28, 2026

Copy link
Copy Markdown
Contributor Author

Hopefully that variable name is better now, couldn't think of anything better at like 6am. If necessary I can think of different ones later.

@all1xon
all1xon requested a review from viddie August 28, 2026 04:03
@viddie
viddie merged commit d9ef0cd into viddie:main Aug 28, 2026
1 check passed
@all1xon
all1xon deleted the fgr-grouped-room-fix branch August 28, 2026 19:10
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants