Skip to content

fix(favorites): prevent I4 1.1.1 CTD when opening the Favorites menu - #3

Merged
codepuncher merged 1 commit into
mainfrom
fix/favorites-ctd-i4-1-1-1
Sep 26, 2026
Merged

codepuncher merged 1 commit into
mainfrom
fix/favorites-ctd-i4-1-1-1

Conversation

@codepuncher

Copy link
Copy Markdown
Owner

Summary

Fixes the crash when opening the Favorites menu with I4 1.1.1.

I4 1.1.1 was built with CommonLib's 1.7.99 SkyrimVM layout, so on 1.6.x its GetNoIconColors reads the VM pointer from the wrong offset. The next VM call jumps to 0x656D6167 and the game crashes. Only Favorites is affected: I4 calls GetNoIconColors only when the icon setter has no _noIconColors member, and FavoritesIconSetter is the only one without it.

The fix hooks FavoritesMenu::ProcessMessage, and when the menu is shown, sets _noIconColors on the setter before I4's processList runs. I4 then skips its broken lookup. The value is read the same way I4 reads it (MCM override, then config.txt), so "Disable Icon Colors" still works in Favorites.

Related

Fixes #1

@codepuncher
codepuncher force-pushed the fix/favorites-ctd-i4-1-1-1 branch from 2669266 to 70232fd Compare September 26, 2026 02:39
@codepuncher
codepuncher force-pushed the fix/favorites-ctd-i4-1-1-1 branch 2 times, most recently from aaf0d6d to 8f817dc Compare September 26, 2026 03:16
@codepuncher
codepuncher force-pushed the fix/favorites-ctd-i4-1-1-1 branch from 8f817dc to ad32ea8 Compare September 26, 2026 03:17
@codepuncher
codepuncher merged commit d2f0e99 into main Sep 26, 2026
1 check passed
@codepuncher
codepuncher deleted the fix/favorites-ctd-i4-1-1-1 branch September 26, 2026 03:19
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.

CTD when opening Favourites in I4

1 participant