Fldicoahkiin/SteamCloudFileManager
Acerca de
Cross-platform GUI for Steam Cloud. Visualizes remote storage as a file tree with download, upload, and delete capabilities. Built with Rust. | 跨平台 Steam 云存档 GUI。以树状视图显示云端文件,支持下载、上传及删除操作。基于 Rust 开发。
Productividad y automatizaciónWhat you can do
- VDF File Tree Visualization: Fully parses remotecache.vdf to reconstruct the cloud directory structure.
- Batch Transfer: Supports multi-file selection and drag-and-drop for uploads/downloads.
- Deep Control: Directly delete cloud files and force sync status updates.
- Root Path Mapping: Parses numeric Root IDs (0-12) from remotecache.vdf and automatically resolves them to absolute local disk paths (this mapping is undocumented in official sources).
Crecimiento de estrellas medido
- in 24h
- +1
- in 7 days
- +4
- in 15 days
- +8
- in 1 month
- Recopilando historial
Cambios netos en períodos que se solapan, no totales diarios. Los datos no disponibles se dejan en blanco. Las estrellas indican interés, no calidad.
README.md
OriginalSteam Cloud File Manager
English | 简体中文
Cross-platform Steam Cloud file management utility built with Rust and egui.
Features
A cloud save management utility built with Rust and the Steamworks SDK. By directly interfacing with low-level Steam APIs, it provides complete visibility and control over your cloud files. It supports uploading, downloading, and deleting individual files, and introduces a symlink sync solution to resolve cross-platform configuration sync issues.
- VDF File Tree Visualization: Fully parses
remotecache.vdfto reconstruct the cloud directory structure. - Batch Transfer: Supports multi-file selection and drag-and-drop for uploads/downloads.
- Deep Control: Directly delete cloud files and force sync status updates.
- Root Path Mapping: Parses numeric Root IDs (0-12) from
remotecache.vdfand automatically resolves them to absolute local disk paths (this mapping is undocumented in official sources). - Search & Filter: Supports regex search for filenames, paths, and sync status.
- Game Library Scanning: Automatically discovers local games by parsing
libraryfolders.vdf. - Symlink Sync: Supports mounting locally unsupported files to Steam Cloud via symlinks (Experimental).
- UFS Config Management: Directly read/write
appinfo.vdfto edit Auto-Cloud configuration like the Steamworks backend (Experimental). Add/edit/delete savefiles rules and rootoverrides path mappings to customize cloud sync behavior. - Multi-Platform Support: Windows / macOS / Linux.
Risks
This tool works with Steam through interfaces that Valve does not document for players. Read this before you use it.
- Deletion is permanent. Delete removes a file from Steam Cloud and also deletes the local copy. Forget removes it from Steam Cloud and keeps the local copy. Neither can be undone. Use Backup before you delete.
- Steam debug mode. The file list and download links come from Steam's own logged-in web pages, read through the
-cef-enable-debugginglaunch option. The tool only reads these pages. Steam client or page changes can break this at any time. - Steamworks API as the game. To change cloud files, a worker process loads the Steamworks SDK with the game's App ID. While it is connected, Steam shows you as playing that game.
- UFS injection (experimental, off by default). It modifies Steam's local
appinfo.vdf. Steam overwrites the change when it receives new app info, and wrong rules can make Steam sync the wrong folder. It must be enabled in Settings → Advanced, after a risk notice.appinfo.vdfis backed up before every injection. - Account switching writes Steam's login settings:
loginusers.vdf, plusregistry.vdfon macOS/Linux or theAutoLoginUserregistry value on Windows. - Terms of Service. The Steam Subscriber Agreement forbids modifying Steam software (section 2.G) and tampering with the execution of Steam or using unauthorized third-party software to interact with its processes (section 4.B). Valve may restrict or terminate accounts without notice (sections 4.D and 9.C). UFS injection is closest to these clauses. We know of no public case of an account penalized for tools like this one, but there is no guarantee. Use at your own risk; the software comes with no warranty (see License).
- What it does not do. No DLL injection, no hooking of the Steam client, no emulation of Steam's network protocols, and no support for games you do not own.
Platform Compatibility
Supports Windows (x64), macOS (Intel & Apple Silicon), and Linux (x64). Build artifacts include standard installers and portable versions (Generic Binary / AppImage).
Note: Due to upstream Steamworks SDK limitations, we cannot currently build ARM64 versions for Windows and Linux.
Installation
Windows
Note:
- Windows: Logs are saved in the
logs/folder in the application directory.- macOS: Logs are saved in
~/Library/Logs/SteamCloudFileManager/directory.- Linux: Logs are saved in
~/.local/share/SteamCloudFileManager/logs/directory.
macOS
Homebrew
Install (Recommended, auto-installs to Applications):
brew tap Fldicoahkiin/tap
brew install --cask steam-cloud-file-manager
If the app is reported as damaged, run:
xattr -cr "/Applications/Steam Cloud File Manager.app"
Install as Formula (Terminal launch command only):
brew install steam-cloud-file-manager
Manual Installation
Download the version for your architecture:
Open the DMG file
Drag the app to the Applications folder
If you encounter a "Damaged" or "Cannot be opened" error, run the following command in Terminal to fix the signature:
xattr -c "/Applications/Steam Cloud File Manager.app"
Arch Linux (AUR)
yay -S steam-cloud-file-manager-bin
# or
paru -S steam-cloud-file-manager-bin
Manual build:
git clone https://aur.archlinux.org/steam-cloud-file-manager-bin.git
cd steam-cloud-file-manager-bin
makepkg -si
steam-cloud-file-manager
Or download pre-built package:
tar -xzf SteamCloudFileManager-*-linux-x86_64-aur.tar.gz
cd SteamCloudFileManager-*-linux-x86_64-aur
makepkg -si
steam-cloud-file-manager
Debian/Ubuntu
sudo dpkg -i steam-cloud-file-manager_*.deb
sudo apt-get install -f
steam-cloud-file-manager
Fedora/RHEL/openSUSE
sudo dnf install ./steam-cloud-file-manager-*.rpm
steam-cloud-file-manager
AppImage (Universal)
chmod +x SteamCloudFileManager-*.AppImage
./SteamCloudFileManager-*.AppImage
.tar.gz (Universal)
tar -xzf SteamCloudFileManager-*-linux-x86_64.tar.gz
./steam-cloud-file-manager
Build from Source
git clone https://github.com/Fldicoahkiin/SteamCloudFileManager.git
cd SteamCloudFileManager
cargo build --release
Build Dependencies:
Cargo
Rust 1.90.0+
- Uses Rust 2021 edition
- Install:
curl --proto '=https' --tlsv1.2 -sSf https://sh.rustup.rs | sh
C++ Toolchain:
- Windows:
- Visual Studio 2019 or newer (recommend installing "Desktop development with C++" workload)
- Or Build Tools for Visual Studio
- macOS:
- Xcode Command Line Tools:
xcode-select --install
- Xcode Command Line Tools:
- Linux:
- gcc/g++ or clang
- Ubuntu/Debian:
sudo apt install build-essential - Fedora:
sudo dnf install gcc gcc-c++ - Arch:
sudo pacman -S base-devel
- Windows:
Runtime Dependencies:
- Steam client (must run in debug mode)
Usage
Steam Debug Mode
This tool uses the CDP protocol to communicate with Steam, so you must launch Steam with debugging enabled.
Why is this required?
- CDP (Chrome DevTools Protocol) is the debugging interface for Steam's built-in browser.
- We use this interface to fetch the cloud file list and download links.
- The CDP port is only active when debug mode is enabled.
Windows:
- Right-click your Steam shortcut and select "Properties".
- Add
-cef-enable-debuggingto the end of the "Target" field. - Click "OK" and launch Steam.
macOS:
Quit Steam.
Run in Terminal:
open -a Steam --args -cef-enable-debugging
Linux:
Close Steam.
Run in Terminal:
steam -cef-enable-debugging &Or edit your Steam shortcut and append
-cef-enable-debuggingto the Exec line.
Note: The software features a built-in "Restart Steam in Debug Mode" button that automates this process.
Basic Workflow
- Ensure Steam is running in debug mode.
- Select the target game:
- Game Library: Click the game library button to select a local game (auto-connects).
- Manual Input: Enter App ID and click "Connect".
- Once loaded, manipulate files via the tree view on the left.
App IDs can be found in Steam Store URLs or on SteamDB.
⚠️ Warning
- Irreversible Action: Deletions are committed to the local cache immediately.
- Data Safety: We recommend backing up original files before batch operations.
- Sync Mechanism: Changes are written to the local cache and uploaded asynchronously by Steam. Do not kill the Steam process before sync completes.
Cloud Sync Mechanism
graph TB
subgraph dev["🔧 Developer"]
Steamworks["Steamworks Backend<br/>Configure ufs"]
GameCode["Game Code"]
end
Cloud(("🌐 Steam Server"))
subgraph client["🖥️ Steam Client"]
subgraph vdf["Local VDF Files"]
AppInfo[(appinfo.vdf)]
RemoteCache[(remotecache.vdf)]
end
subgraph sync["☁️ Steam Cloud Sync"]
Auto["Steam Auto-Cloud<br/>Auto recursive file matching"]
API["Steam Cloud API<br/>ISteamRemoteStorage"]
end
end
%% Steamworks config delivery
Steamworks --> Cloud
Cloud -->|Deliver ufs Config| AppInfo
AppInfo -->|ufs Config Rules| Auto
Auto --> RemoteCache
%% Game code calls API
GameCode -->|Call API| API
API -->|Write File| RemoteCache
%% Bidirectional sync
RemoteCache <===>|Bidirectional Sync| Cloud
This Tool's Interaction Flow:
graph TB
Tool["🛠️ This Tool"]
subgraph client["🖥️ Steam Client"]
subgraph vdf["Local VDF Files"]
AppInfo[(appinfo.vdf)]
RemoteCache[(remotecache.vdf)]
end
subgraph sync["☁️ Steam Cloud Sync"]
Auto["Steam Auto-Cloud"]
API["Steam Cloud API"]
end
Browser["🌐 Steam Built-in Browser<br/>127.0.0.1:8080"]
end
Cloud(("🌐 Steam Server"))
%% This tool's operations (inject into flow)
Tool -.->|Read| AppInfo
Tool -.->|Read| RemoteCache
Tool ==>|Inject ufs Config| AppInfo
Tool -->|Call API| API
Tool -->|CDP Get Download Link| Browser
%% Steam internal flow
AppInfo -->|ufs Config Rules| Auto
Auto --> RemoteCache
API -->|Write File| RemoteCache
RemoteCache <===>|Bidirectional Sync| Cloud
Browser <-->|Access Cloud Storage| Cloud
Full Architecture Diagram (Click to Expand)
graph LR
subgraph left["External"]
subgraph dev["🔧 Developer"]
Steamworks["Steamworks Backend<br/>Configure ufs"]
GameCode["Game Code"]
end
Tool["🛠️ This Tool"]
end
subgraph client["🖥️ Steam Client"]
subgraph vdf["Local VDF Files"]
AppInfo[(appinfo.vdf)]
RemoteCache[(remotecache.vdf)]
end
subgraph sync["☁️ Steam Cloud Sync"]
Auto["Auto-Cloud"]
API["Steam Cloud API"]
end
Browser["🌐 Built-in Browser"]
end
Cloud(("🌐 Steam<br/>Server"))
%% Developer flow
Steamworks --> Cloud
Cloud -->|Deliver ufs Config| AppInfo
GameCode -->|Call API| API
%% Steam internal flow
AppInfo --> Auto
Auto --> RemoteCache
API --> RemoteCache
RemoteCache <===> Cloud
Browser <--> Cloud
%% This tool's operations
Tool -.->|Read| AppInfo
Tool -.->|Read| RemoteCache
Tool ==>|Inject ufs| AppInfo
Tool -->|Call| API
Tool -->|CDP| Browser
Two Types of Steam Cloud Sync
Steam provides two cloud sync mechanisms:
Auto-Cloud
Developers configure in Steamworks backend, Steam automatically scans specified directories:
- Steam actively scans configured directories
- Automatically matches files based on patterns (e.g.,
*.sav) - New files are automatically added to remotecache.vdf and synced
- Configuration stored in appinfo.vdf's
ufssection
Steam Cloud API
Game code calls ISteamRemoteStorage::FileWrite() to explicitly register files:
- Steam does not actively scan
- Requires game to call API to register files
- User-created files are not automatically synced
This Tool's Positioning:
This tool provides two ways to control cloud sync:
- Steam Cloud API: Manually call API to register files, solving the problem of games not writing to symlinked directories
- UFS Config Injection (New Feature): Directly modify local
appinfo.vdf'sufssection, enabling Steamworks-like configuration management. You can:- Add/edit/delete
savefilesrules (specify sync directories, file patterns, and recursive search option) - Add/edit/delete
rootoverridespath mappings (cross-platform path conversion) - Configure
pathtransformspath transformation rules (optional, for dynamic path substitution) - Customize cloud sync paths for any game
- Add/edit/delete
⚠️ Note: UFS config injection modifies local appinfo.vdf. Steam updates may overwrite these changes. Backup your configuration before modifying.
Data Flow
graph TD
subgraph Toolbar
Upload[Upload]
Download[Download]
SyncToCloud[Sync to Cloud]
Delete[Delete]
Forget[Forget]
Compare[Compare Files]
Refresh[Refresh]
Backup[Backup]
end
subgraph SteamAPI[Steam API]
WriteFile[write_file]
ReadFile[read_file]
DeleteFile[delete_file]
ForgetFile[forget_file]
SyncCloud[sync_cloud_files]
end
subgraph DataFetch[Data Fetching]
CDPClient[CDP Client]
VDFParser[VDF Parser]
end
Upload -->|Select Local File| WriteFile
WriteFile --> SyncCloud
Download --> CDPClient
CDPClient -->|Get Download URL| HTTP[HTTP Download]
HTTP --> LocalDisk[Local Disk]
SyncToCloud -->|Upload Local-Only Files| WriteFile
Delete --> DeleteFile
DeleteFile --> SyncCloud
Forget -->|Remove from Cloud, Keep Local| ForgetFile
ForgetFile --> SyncCloud
Compare --> CDPClient
Compare --> VDFParser
CDPClient -->|Calculate Cloud Hash| HashCompare[Hash Compare]
VDFParser -->|Calculate Local Hash| HashCompare
Backup --> ReadFile
ReadFile --> LocalDisk
Refresh --> VDFParser
Refresh --> CDPClient
VDFParser --> FileList[File List]
CDPClient --> FileList
SyncCloud -.->|Background Async| CloudServer[Steam Cloud]
Data Source Priority
| Source | Data Content | Priority | Description |
|---|---|---|---|
| VDF | Local cached file list, sync status | Primary | Parses remotecache.vdf |
| CDP | Real-time cloud file list, download URLs | Supplement | Via Steam's built-in browser |
| Steam API | File read/write/delete, quota query | Operations | ISteamRemoteStorage interface |
Sync Status (is_persisted)
Newly uploaded file
is_persisted = false ← Only in local cache
↓
Steam background upload (takes seconds to minutes)
↓
is_persisted = true ← Synced to cloud
⚠️ Important:
sync_cloud_files()returns immediately; actual upload happens asynchronously in background. Steam forces sync completion on disconnect.
CDP Protocol
Fetches real-time cloud data via Steam's CEF (Chromium Embedded Framework) debug interface:
- Detect: Access
http://127.0.0.1:8080/jsonto get debug target list - Connect: Establish WebSocket connection to target page
- Navigate: Go to
store.steampowered.com/account/remotestorage - Inject: Execute JavaScript to extract file list and download URLs
- Merge: Combine CDP data with VDF data, supplementing download URLs and real-time status
VDF Parsing & Root Mapping
The tool parses remotecache.vdf in real-time for file lists, and parses appinfo.vdf to extract game cloud rules (ufs section), automatically handling Steam's Root ID mapping:
What is Root ID?
Steam uses numeric Root IDs (0-12) in remotecache.vdf to identify file storage locations. This numeric ID to path mapping is not documented in any official sources - it has been verified through VDF file parsing and actual game testing.
| Root ID | Steamworks Root Name | Windows Path Example |
|---|---|---|
| 0 | Default |
userdata/{uid}/{appid}/remote/ |
| 1 | App Install Directory |
steamapps/common/GameName/ |
| 2 | WinMyDocuments |
%USERPROFILE%\Documents\ |
| 3 | WinAppDataLocal |
%LOCALAPPDATA%\ |
| 9 | WinSavedGames |
%USERPROFILE%\Saved Games\ |
| 11 | SteamCloudDocuments |
Documents\Steam Cloud\ |
| 12 | WinAppDataLocalLow |
%USERPROFILE%\AppData\LocalLow\ |
Details:
Developers use string names in Steamworks backend configuration (e.g.,
WinMyDocuments)Steam client stores as numeric IDs in
remotecache.vdf(e.g.,2)Official docs only publish string names; numeric IDs are obtained by parsing remotecache.vdf
Root Path Mapping Table - Complete validation data and cross-platform mappings
Note: The Root path mapping table is verified through actual game testing. Contributions of new validation data are welcome!
TODO
Feature Development
- Multi-language support (i18n) - Chinese/English
- Version update detection
- Tree view
- Batch upload/download
- File conflict detection and handling
- Cloud save backup
- Symlink sync support (experimental)
- UFS config management (experimental) - Steamworks-like Auto-Cloud configuration editing
- Automatic backup schedule
- Launch on startup (system tray background service)
- Auto-inject UFS config on startup (auto-detect local save paths without manual operation)
- UFS config management page (dedicated visual interface, replacing current popup editor)
- Cloud save version history (view and rollback to previous versions)
Package Manager Support
- AUR (Arch User Repository) -
yay -S steam-cloud-file-manager-bin - Homebrew (macOS) -
brew tap Fldicoahkiin/tap && brew install steam-cloud-file-manager - Winget (Windows) -
winget install steam-cloud-file-manager - Scoop (Windows) -
scoop install steam-cloud-file-manager - Chocolatey (Windows) -
choco install steam-cloud-file-manager - APT Repository (Debian/Ubuntu) -
apt install steam-cloud-file-manager - DNF/YUM Repository (Fedora/RHEL) -
dnf install steam-cloud-file-manager - Flatpak -
flatpak install steam-cloud-file-manager - Snap -
snap install steam-cloud-file-manager
Contributing
Welcome to submit Issues and Pull Requests! See CONTRIBUTING.md for detailed guidelines.
How to Contribute
- 🐛 Report Bugs: Use Issue templates to submit problems
- ✨ Request Features: Share your ideas and suggestions
- 📖 Improve Documentation: Help improve README and technical docs
- 🌐 Contribute Translations: Add new languages, see i18n Contribution Guide
- 🗺️ Add Root Mappings: Submit game remotecache.vdf validation data to help improve the Root Path Mapping Table
- 🔧 Submit Code: Fix bugs or implement new features
Currently supported languages:
- 简体中文
- English
Contributors
Project Structure
src/
├── main.rs # Entry: initialize logger, start eframe
├── app.rs # Main app: state holder, UI render loop
├── app_state.rs # State structure definitions
├── app_handlers.rs # Business logic handlers
├── async_handlers.rs # Async task management (channel holders)
│
├── steam_api.rs # Steam API wrapper (CloudFile struct)
├── steam_worker.rs # External process communication (JSON RPC)
├── steam_process.rs # Steam process management (start/stop)
│
├── file_manager.rs # File operations (upload/download/delete)
├── file_tree.rs # File tree structure
├── downloader.rs # Batch downloader
├── backup.rs # Backup functionality
├── conflict.rs # Conflict detection
├── symlink_manager.rs # Symlink management
│
├── vdf_parser.rs # VDF file parsing (appinfo.vdf, loginusers.vdf)
├── appinfo_writer.rs # appinfo.vdf writing (UFS config injection)
├── path_resolver.rs # Path resolution (savefiles config → actual paths)
├── cdp_client.rs # CDP web parsing (fetch remote file list)
├── game_scanner.rs # Game scanning (merge VDF + CDP)
├── user_manager.rs # User management
│
├── config.rs # Configuration management (settings persistence)
├── update.rs # Auto update
├── logger.rs # Logging system
├── i18n/ # Internationalization
│ ├── mod.rs # Language enum and dispatch
│ ├── en.rs # English
│ └── zh.rs # 简体中文 (Chinese Simplified)
├── icons.rs # Icon system (Phosphor Icons)
├── version.rs # Version info
│
└── ui/
├── mod.rs # UI module exports
├── app_panels.rs # Panel rendering (top/bottom/center, action buttons, status bar)
├── controls.rs # Control rendering
├── file_list.rs # File list (table/tree view)
├── windows.rs # Windows (game selector, user selector)
├── settings.rs # Settings window
├── theme.rs # Theme system (dark/light mode)
├── upload_dialog.rs # Upload dialog
├── backup_dialog.rs # Backup dialog
├── conflict_dialog.rs # Conflict dialog
├── guide_dialog.rs # Guide dialog
├── appinfo_dialog.rs # AppInfo dialog
├── symlink_dialog.rs # Symlink dialog
└── font_loader.rs # Font loader
License
This project is licensed under GPL-3.0 - see LICENSE file for details.
Acknowledgments
Core Dependencies
- steamworks-rs - Rust bindings for Steamworks SDK
- egui - Immediate mode GUI framework
- eframe - Cross-platform framework for egui
- keyvalues-parser - VDF text format parser
- tungstenite - WebSocket client (CDP communication)
Utility Libraries
- rfd - Native file dialogs
- ureq - HTTP client
- anyhow - Error handling
- tracing - Logging/tracing
- serde - Serialization framework
- image - Image processing
- self_update - Auto update
- regex - Regular expressions
- chrono - Date/time
- walkdir - Directory traversal
- open - Open files/URLs
- dirs - System directories
- uuid - UUID generation
- sha1 - Hash computation
- byteorder - Byte order handling
UI Extensions
- egui-phosphor - Phosphor icon library
- egui_extras - egui extension components
Packaging Tools
- cargo-bundle - macOS .app/.dmg packaging
- cargo-deb - Debian/Ubuntu .deb packaging
- cargo-generate-rpm - Fedora/RHEL .rpm packaging
- cargo-appimage - Universal AppImage packaging
- cargo-aur - Arch Linux PKGBUILD generation
Reference Projects
- SteamCloudFileManagerLite - Lightweight C# implementation
- Facepunch.Steamworks - Steamworks C# wrapper
- SteamTools (Watt Toolkit) - Open source Steam toolkit
- SteamDatabase/SteamAppInfo - appinfo.vdf binary format documentation
- tormak9970/new-vdf-parser - Rust binary VDF parser library
- tralph3/Steam-Metadata-Editor - Python Steam metadata editor
Documentation
- Steamworks SDK - Official SDK documentation
- Steamworks Steam Cloud - Official Steam Cloud documentation
- ISteamRemoteStorage API - Steam Cloud API reference
- Steam Cloud Best Practices - Official best practices
- VDF Parser (Python) - Python VDF parser library
- Stack Exchange: Steam Cloud - Root path community verification
- Quick Guide to Steam Cloud Saves - Developer cloud save guide
- A Gentle Introduction to Steamworks - Steamworks integration tutorial
- Elena Temple Dev Blog - Unity cloud save configuration example
Star History
Explorar proyectos relacionados
Cargando…