profiles: back up a profile's saves before each run (upstream 8db940b) #42
No reviewers
Labels
No labels
accessibility
amd
bug
crash
device-removed
documentation
duplicate
enhancement
feature-request
good first issue
help wanted
input
invalid
launcher
memory
needs-logs
nvidia
off-topic
performance
question
shaders
stutter
visuals
wontfix
No milestone
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set
Reference
github/VGLALALA--ReVictory-RDNA3!42
Loading…
Reference in a new issue
No description provided.
Delete branch "github-bot/gh-42"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
@Kal0s-design on GitHub · 2026-12-05 16:57 UTC · original
Kal0s-design:port/save-backups→main· +195 −0 · 2 files · 1 commits · merged 2026-12-05 18:17 UTCThis brings over upstream 8db940b by SovietBearz0r unchanged, with the authorship kept.
Before each run, the saves the last session left are copied to saves-backup/// under the title's data folder, and the newest ten are kept. On a retail save that's 9 files and about 320 KB per run. Custom profiles back up under their own folder, and a profile with no saves makes no copy. VICTORY_SAVE_BACKUPS=0 turns it off. With people moving between builds and forks as often as they do here, a broken run eating a save seems worth guarding against.
It applies cleanly on main, the profiles tests it adds pass, and clippy reports nothing in profiles.rs.
AI-assisted: yes
🤖 Generated with Claude Code