Skip to content

Conversation

@RunnerScrab
Copy link
Contributor

@RunnerScrab RunnerScrab commented Oct 26, 2025

Adding 8 bytes of padding before BSTSmartPointer<BSScript::IVirtualMachine> impl in GameVM will make GameVM::GetVM() work in Starfield v1.15.222, and it also seems to put currentTime and currentMenuModeTime at the correct offsets from GameVM's base. GameScript::Logger is now also at the correct offset.

The other values in GameVM "look" correct, as the ones which are supposed to be pointers seem to point to other things in memory under debugging. I think it is likely that the 8 bytes of offset may fix them also, but do not presently know how to verify all of them.

@qudix qudix merged commit c0bad6a into libxse:main Oct 26, 2025
2 of 4 checks passed
@RunnerScrab RunnerScrab deleted the runnerscrab_fixGetVM branch October 26, 2025 05:52
@Meridiano
Copy link
Contributor

Please tell me your NexusMods account name, RunnerScrab, I want to send some DPs to you. If you prefer a private convo, my Discord ID is @meridiano.

@RunnerScrab
Copy link
Contributor Author

Please tell me your NexusMods account name, RunnerScrab, I want to send some DPs to you. If you prefer a private convo, my Discord ID is @meridiano.

sam271828182. Much appreciated!

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.

3 participants