-
Notifications
You must be signed in to change notification settings - Fork 25
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Mods cannot find memory signatures when playing on Linux using Proton, etc. #4
Comments
FWIW the skip intro screen mod works just fine on Linux. This doesn't scan memory, but instead has a series of hardcoded offsets that it tries. From the logs I notice that there are multiple regions that are skipped, and that only 16-17 regions are checked before |
The pause mod made by iArtorias also works (the keycode for the keyboard doesn't appear to be picked up correctly, but pausing with the controller binding works fine). That mod also does memory scanning, but it uses a cross-platform library instead of the Windows APIs. Maybe try using that for your memory scanning? |
I'm kind of hesitant to jump ship and abandon my homebrewed code... I think that the code that needs to be changed to make the memory scanning work on Linux (Proton) is minimal. After all, it does seem to work its way through the memory correctly, but maybe it skips some necessary sections? or the signature checking acts different? I've seen some posts from some years back saying that VirtualQuery did not work correctly in Proton/whatever compatibility layer, I think it's likely that this one is the culprit for me too. I'll look at this some more in the near future. In the meantime anyone is welcome to investigate (sigscanning code is in ModUtils.h). |
Should have been fixed by #9 |
The mods will attempt to scan the memory, but will fail to find the signatures.
The text was updated successfully, but these errors were encountered: