Session-gated MinIO save sync with AppImage GUI, CLI edit/session flow, and Gitea release helper. Co-authored-by: Cursor <[email protected]>
1.6 KiB
1.6 KiB
Add / remove games
Add
syncgames add \
--name "Elden Ring (Seamless)" \
--platform steam \
--paths "/absolute/or/~/path/to/save/dir_or_file" \
--versions 5 \
--steam-appid 1245620 \
--process-name eldenring.exe
Effects:
- Writes
config/games/<slug>.toml(or~/.config/syncgames/games/depending on config root). - Ensures remote prefixes
games/<slug>/live/and emptymeta.jsonif absent (does not overwrite existing live). - Does not upload local saves until first
endafter astart(or explicit first push with force after careful review).
Multiple --paths allowed. Globs are expanded at session time.
Platforms
| Value | Meaning |
|---|---|
steam |
Steam / Proton; optional steam_appid for watchers |
eden |
Eden emulator saves |
yuzu |
Yuzu / Yuzu-fork saves |
other |
Manual paths only |
Session loop
syncgames start <game-id>
# launch game, play, quit
syncgames end <game-id>
With systemd watchers enabled, start/end can run automatically when the process appears/exits.
Remove
syncgames remove <game-id>
# optional: syncgames remove <game-id> --purge-remote
Default:
- Disable watchers for that game.
- Move remote
games/<id>/→retired/<id>-<YYYYMMDD>/. - Rename local TOML to
*.removedor delete per flag. - Clear local session state.
--purge-remote permanently deletes remote prefixes (dangerous; requires typing game id again interactively when TTY).
Templates
See templates/game.toml and seeded examples under config/games/.