- PowerShell 59%
- Batchfile 21.8%
- Rust 11%
- TypeScript 5.5%
- CSS 1.7%
- Other 1%
- Add Set-StrictMode and comment-based help - Wrap DwmApi Add-Type in try/catch to avoid duplicate type errors - Replace empty catch blocks with Write-Verbose logging - Fix Convert-CloudRedirectPassword to return (not plaintext) on failure - Add Update-CloudRedirectPassword helper; use in sync button and form close - Cache Get-SteamUsers with 30s TTL to avoid re-parsing loginusers.vdf - Add timeout to Wait-Process in Stop-SteamGracefully - Set .TopMost to keep dialog on top - Convert scriptblocks to proper functions (New-SettingLabel, New-SettingTextBox) - Replace hardcoded form heights with dynamic ClientSize calculation - Guard with @() to handle - Remove dead code (empty if blocks for IsAll/IsFile) - Change Write-Host to Write-Verbose - Add rclone env var cleanup in finally block - Add rclone --log-file output to sync.log in AppData - Fix rclone argument array initialization to avoid string concatenation - Switch from Start-Process to & call operator for reliable output capture |
||
|---|---|---|
| Fixes | ||
| rclone | ||
| sync-cloudredirect | ||
| achievements_unlcoker_exe.ps1 | ||
| achievements_unlocker_bat.ps1 | ||
| AchSync-PC.ps1 | ||
| AchSync-work.ps1 | ||
| AppID.lua | ||
| Launch Option.txt | ||
| README.md | ||
| run.bat | ||
| run_achievements.bat | ||
| run_ludusavi.bat | ||
| run_sam.bat | ||
| steamtools-nocloud.ps1 | ||
| Sync-Cloudredirect.ps1 | ||
| SyncSaves.ps1 | ||
| Update.ps1 | ||
Steam Tools
A collection of scripts and tools designed to enhance and automate various aspects of managing Steam games, particularly focused on achievement unlocking, save synchronization, and game-specific fixes. These tools are primarily intended for personal use and automation.
Cloudreve Save Sync GUI (Sync-Cloudredirect.ps1)
A native Windows Forms GUI application written in PowerShell that synchronizes your game saves to and from a self-hosted Cloudreve WebDAV server using rclone. It automatically detects your local Steam account folders and provides a simple interface to upload or download saves.
How to Run
You have several options to run the sync GUI:
Option 1: Run Remotely (One-Liner)
If you just want to run the tool without downloading it permanently:
irm https://forgejo.mohandl3g.ly/MohandL3G/steam-tools/raw/branch/main/Sync-Cloudredirect.ps1 | iex
Option 2: Install to Start Menu (Recommended)
Create a permanent shortcut in your Start Menu that runs the tool in the background (no console window):
$s=(New-Object -ComObject WScript.Shell).CreateShortcut("$env:APPDATA\Microsoft\Windows\Start Menu\Programs\Cloudreve Sync.lnk");$s.TargetPath="powershell.exe";$s.Arguments="-ExecutionPolicy Bypass -WindowStyle Hidden -Command ""irm https://forgejo.mohandl3g.ly/MohandL3G/steam-tools/raw/branch/main/Sync-Cloudredirect.ps1 | iex""";$s.Save();Write-Host "Shortcut Created!" -Fore Green
Option 3: Install Locally (PowerShell Alias)
Add a sync command to your PowerShell profile:
$pDir = Split-Path $PROFILE; if (-not (Test-Path $pDir)) { New-Item -Path $pDir -ItemType Directory -Force }; Add-Content -Path $PROFILE -Value "`nfunction sync { irm https://forgejo.mohandl3g.ly/MohandL3G/steam-tools/raw/branch/main/Sync-Cloudredirect.ps1 | iex }" -Force
After running this, just type sync in any new PowerShell window!
Option 4: Uninstall Locally
To remove the sync alias or the Start Menu shortcut:
- Alias:
(Get-Content $PROFILE) -notmatch "function sync {" | Set-Content $PROFILE - Shortcut:
Remove-Item "$env:APPDATA\Microsoft\Windows\Start Menu\Programs\Cloudreve Sync.lnk"
Note
The sync tool requires
rcloneto be installed. If missing, the script will offer to install it for you via Winget.
Note: These scripts often contain hardcoded paths tailored to my local environment. Adjust them accordingly if using them on a different system.