Skip to content
This repository has been archived by the owner on Apr 29, 2024. It is now read-only.

Commit

Permalink
Merge pull request #263 from storm-devs/feature/python-converter
Browse files Browse the repository at this point in the history
Add python converter for saves made on storm 2.8
  • Loading branch information
espkk authored Nov 21, 2021
2 parents 0d2a4fd + 1722841 commit d71f515
Show file tree
Hide file tree
Showing 4 changed files with 1,982 additions and 0 deletions.
13 changes: 13 additions & 0 deletions tools/gamesave-convert/convert_all.py
Original file line number Diff line number Diff line change
@@ -0,0 +1,13 @@
import glob
import os.path

import gamesave_convert

if __name__ == '__main__':
files = glob.iglob('./SAVE/**/*', recursive=True)
for filename in files:
if os.path.isfile(filename):
try:
gamesave_convert.process_file(filename)
except:
print(f'Error processing file {filename}')
Loading

0 comments on commit d71f515

Please sign in to comment.