mirror of
https://github.com/forkless/NotAlterra.git
synced 2026-08-22 02:38:38 +02:00
Improve game-running exit message
This commit is contained in:
@@ -0,0 +1,19 @@
|
||||
v0.1.0 — First public release
|
||||
|
||||
NotAlterra is an unofficial Subnautica 2 save-file manager.
|
||||
Cross-platform terminal application. No admin, no network.
|
||||
|
||||
Pre-compiled binaries — no installation, no dependencies. Just download,
|
||||
extract, and run.
|
||||
|
||||
Features:
|
||||
• Recover .sav from .bak with rollback and slot-aware targeting
|
||||
• Full backup / restore (savegame_* files only) with pre-restore snapshots
|
||||
• UE5 Config (.ini) management — backup, restore, guarded delete
|
||||
• GVAS save inspector with full metadata dump
|
||||
• Online / Local detection with mode-change and name-change warnings
|
||||
• Auto-locates save folders (Windows, Proton/Steam Deck)
|
||||
• Game-running guard, transaction log, and backup safety checks
|
||||
• Keyboard-driven TUI with popups, pickers, and resize support
|
||||
|
||||
Builds: Linux (amd64) • Windows x64 console
|
||||
+6
-1
@@ -143,7 +143,12 @@ fn run_app<B: Backend>(terminal: &mut Terminal<B>) -> Result<()> {
|
||||
|
||||
// Guard: exit if game is running
|
||||
if guard::game_running() {
|
||||
println!("Subnautica 2 is running. Close the game and relaunch NotAlterra.");
|
||||
println!("NotAlterra has detected that Subnautica 2 is currently running.\n");
|
||||
println!("The game holds file locks on your save files while active.");
|
||||
println!("Backing up or restoring saves while the game is running can result in");
|
||||
println!("incomplete, corrupt, or overwritten save files.\n");
|
||||
println!("To protect your save files, NotAlterra will now exit.\n");
|
||||
println!(" → Close Subnautica 2, then relaunch NotAlterra.");
|
||||
return Ok(());
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user