Skip to content

Commit e106e40

Browse files
committed
feat: add decrypt-saves utility script
1 parent dbe58c3 commit e106e40

File tree

1 file changed

+7
-0
lines changed

1 file changed

+7
-0
lines changed

bin/decrypt-saves

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,7 @@
1+
#!/bin/sh
2+
3+
for x in share/saves/*/*.sav; do
4+
dir="${x%/*}"
5+
sid=$(cat "$dir/steamid")
6+
cargo run -p bl4-cli -- save decrypt -i "$x" -s "$sid" -o "${x%.sav}.yaml"
7+
done

0 commit comments

Comments
 (0)