Skip to content

Dynamically detect rbp offset used in GetRbp#716

Merged
notfood merged 1 commit intorwmt:devfrom
mibac138:dynamic-rbp
Oct 1, 2025
Merged

Dynamically detect rbp offset used in GetRbp#716
notfood merged 1 commit intorwmt:devfrom
mibac138:dynamic-rbp

Conversation

@mibac138
Copy link

In case the detection fails, fallback to the previous value of 1 long as the previous code used + 1 to actually mean 8 bytes. If something does go wrong with the detection, dump the code of the whole method to help debug.

Needs more testing to make sure it works correctly across different machines.

Tested with the save file from #658 (comment)
Related: #562, #662

In case the detection fails, fallback to the previous value of 1 long as
the previous code used + 1 to actually mean 8 bytes. If something does
go wrong with the detection, dump the code of the whole method to help
debug.
@notfood notfood added enhancement New feature or request. 1.6 Fixes or bugs relating to 1.6 (Not Odyssey). labels Sep 27, 2025
@notfood notfood moved this to In review in 1.6 and Odyssey Sep 27, 2025
@notfood
Copy link
Member

notfood commented Sep 27, 2025

Need testing on Mac. Works fine under Linux.

Multiplayer-v0.11.0-beta-dynamic-rbp.zip

@notfood notfood merged commit fd2ebfd into rwmt:dev Oct 1, 2025
1 check passed
@github-project-automation github-project-automation bot moved this from In review to Done in 1.6 and Odyssey Oct 1, 2025
@mibac138 mibac138 deleted the dynamic-rbp branch October 1, 2025 03:00
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

1.6 Fixes or bugs relating to 1.6 (Not Odyssey). enhancement New feature or request.

Projects

Status: Done

Development

Successfully merging this pull request may close these issues.

2 participants