source: zlibcat

Last change on this file was 501:1da14b3d8773, checked in by Simon Cross <hodgestar@…>, 11 years ago

Utility for examining compressed save games.

  • Property exe set to *
File size: 306 bytes
Line 
1#!/usr/bin/python
2
3import zlib
4
5def main(args):
6    filenames = args[1:]
7
8    try:
9        for name in filenames:
10            print zlib.decompress(open(name).read())
11    except IOError, e:
12        if e.errno != 32:
13            raise
14
15if __name__ == "__main__":
16    import sys
17    sys.exit(main(sys.argv))
Note: See TracBrowser for help on using the repository browser.