Deterministic Postload#2
Open
SirCxyrtyx wants to merge 2 commits into
Open
Conversation
Mgamerz
reviewed
Jul 25, 2026
| if (!GLEBinkProxy.AsiLoader->Activate()) | ||
| { | ||
| GLogger.writeln(L"OnAttach: ERROR: loading of one or more ASI plugins failed!"); | ||
| return false; |
Member
There was a problem hiding this comment.
if an ASI mod fails to load we should probably skip it, not abort, otherwise one bad ASI will ruin the rest, like some of our older ASIs
| GLogger.writeln(L"InstallDRMv4Hook: ERROR: failed to install post-drm hook (code = %d).", static_cast<int>(spiReturn)); | ||
| return; | ||
| } | ||
| GLogger.writeln(L"InstallDRMv4Hook: successfully installed hook on Activation64.dll."); |
Member
There was a problem hiding this comment.
Does this work on DRM-free executables? Is Actionvation64 used?
Member
Author
There was a problem hiding this comment.
Probably not. I could have it fall back to the old method if Activation64.dll is not found.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
By hooking a function in the activator dll that is called after decryption and directly before it calls Winmain in the exe, we can ensure postload asis are able to hook functions prior to any MassEffect{1|2|3}.exe code is run.