Skip to content

Added CloudRedirect support (Cloud saves/luas/achivements/etc)#138

Merged
OpenSteam001 merged 3 commits into
OpenSteam001:mainfrom
Peron4TheWin:main
Jun 25, 2026
Merged

Added CloudRedirect support (Cloud saves/luas/achivements/etc)#138
OpenSteam001 merged 3 commits into
OpenSteam001:mainfrom
Peron4TheWin:main

Conversation

@Peron4TheWin

Copy link
Copy Markdown
Contributor

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 the CloudRedirectHost module for hosting and interfacing with cloud_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

  • Added a new CloudRedirectHost module that loads and manages the cloud_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]
  • Integrated the new module into the build system by updating CMakeLists.txt.

Configuration: Cloud Section

  • Introduced a [cloud] section in the configuration file, allowing users to enable or disable cloud save redirection and specify the path to cloud_redirect.dll. (opensteamtool.example.toml, src/Utils/Config/Config.cpp) [1] [2] [3] [4] [5]

Integration: Network Packet Hooking

  • Updated the network packet hooks to intercept outgoing Steam Cloud RPCs (those with target_job_name starting 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.

@Peron4TheWin

Copy link
Copy Markdown
Contributor Author

(Tested and working both for upload saves / luas and download )

@Selectively11

Selectively11 commented Jun 24, 2026

Copy link
Copy Markdown

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!!!

@OpenSteam001 OpenSteam001 merged commit 00984b4 into OpenSteam001:main Jun 25, 2026
2 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants