Added CloudRedirect support (Cloud saves/luas/achivements/etc)#138
Merged
Conversation
Contributor
Author
|
(Tested and working both for upload saves / luas and download ) |
|
I just got done chasing a bunch of ST-related nonsense issues, so I haven't had time to read this at all. YAY, it uses the API! Woohoo!!! |
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.
This pull request introduces support for Steam Cloud save redirection for unlocked games using CloudRedirect, along with the necessary configuration and integration in the codebase. It adds a new
[cloud]section in the config, implements theCloudRedirectHostmodule for hosting and interfacing withcloud_redirect.dll, and hooks into the network packet handling to intercept and redirect Steam Cloud RPCs for eligible games. The changes are organized into three main themes: feature addition, configuration, and integration with the network hooks.Feature: Steam Cloud Save Redirection
CloudRedirectHostmodule that loads and manages thecloud_redirect.dll, handles initialization, app registration, RPC forwarding, and shutdown, allowing OpenSteamTool to redirect Steam Cloud saves for unlocked games. (src/Utils/CloudRedirect/CloudRedirectHost.cpp,src/Utils/CloudRedirect/CloudRedirectHost.h) [1] [2]CMakeLists.txt.Configuration: Cloud Section
[cloud]section in the configuration file, allowing users to enable or disable cloud save redirection and specify the path tocloud_redirect.dll. (opensteamtool.example.toml,src/Utils/Config/Config.cpp) [1] [2] [3] [4] [5]Integration: Network Packet Hooking
target_job_namestarting with"Cloud.") and, if CloudRedirect is active and handles the request, suppress the outbound frame and deliver a synthesized response locally. (src/Hook/Hooks_NetPacket.cpp) [1] [2] [3] [4] [5] [6] [7]These changes enable OpenSteamTool to optionally redirect Steam Cloud saves for unlocked games to CloudRedirect.