Fix IClientRemoteStorage FileExists hook ABI for current Steam - #163
Open
wtfseanscool wants to merge 1 commit into
Open
Fix IClientRemoteStorage FileExists hook ABI for current Steam#163wtfseanscool wants to merge 1 commit into
wtfseanscool wants to merge 1 commit into
Conversation
This was referenced Sep 4, 2026
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.
Summary
Updates the
IClientRemoteStorage::FileExistshook to match the current Steam client's internal method ABI.The hook now receives and forwards:
void* pThisAppId_t appIduint32_t fileRootconst char* pchFileInstead of reading the AppID from the hard-coded
pThis + 0x38object offset, the hook now uses the explicit AppID argument and substitutes the active-route real AppID when required.Current Steam validation
Steam build:
1788400362steamclient64.dllSHA-256:caba4826aa3501039d095aee1843a6bfb270fb43a3ab4455b2d6733223579feeSteamUI.dllSHA-256:cb387adefbbac64a3c1490d4275d00daf3a1e0219b4580726ef7681db7429278The current
IClientRemoteStorage::FileExiststarget was resolved at:steamclient64.dll RVA 0x74FFF0The current-build pattern set was verified against the installed DLLs.
Result:
ALL RUNTIME PATTERNS VALIDRuntime validation
Tested with the locally built Release
LumaCore.dllloaded into the current Steam client.Observed:
LumaCore.dllloaded successfully intosteam.exehooks_installed = 42hooks_missed = []steamui_attach_state = attachedBuild validation
A clean x64 Release build completed successfully using MSVC and:
LumaCore/build.bat --release-only --no-pause --cleanScope
This PR contains only the LumaCore hook ABI correction.
The corresponding per-build Steam pattern files are handled separately in the pattern repository consumed by SFF.