1
Utilities and 3rd Party Applications / .dat file decompressor
« on: March 12, 2015, 07:30:37 pm »
A Dwarf Fortress save in an uncompressed tar is 166,123,520 bytes (158.4 MiB). Compressed using xz, region2.tar.xz is 156,374,900 bytes (149.1 MiB). That's 94.1% of the original size.
The same Dwarf Fortress save is 1,296,906,240 bytes (1236.8 MiB) when decompressed using this program before archiving. Compressed with xz using the same settings, the result is 85,715,988 bytes (81.7 MiB). That's 51.6% of the original size.
As you can see, uncompressed saves compress down to a much smaller size than compressed saves. However, you probably don't want to play with uncompressed saves, especially if you have backups enabled. This utility will decompress any Dwarf Fortress .dat file that it is given (dragged onto the program). Any file that can't be decompressed will be left alone. If you give this utility a folder, it will try to decompress all the .dat files inside it.
Windows: http://dffd.bay12games.com/file.php?id=10672
Linux: http://dffd.bay12games.com/file.php?id=10673
Mac: http://dffd.bay12games.com/file.php?id=10674
Source code: https://github.com/BenLubar/df2014/tree/master/df-decompress
The same Dwarf Fortress save is 1,296,906,240 bytes (1236.8 MiB) when decompressed using this program before archiving. Compressed with xz using the same settings, the result is 85,715,988 bytes (81.7 MiB). That's 51.6% of the original size.
As you can see, uncompressed saves compress down to a much smaller size than compressed saves. However, you probably don't want to play with uncompressed saves, especially if you have backups enabled. This utility will decompress any Dwarf Fortress .dat file that it is given (dragged onto the program). Any file that can't be decompressed will be left alone. If you give this utility a folder, it will try to decompress all the .dat files inside it.
Windows: http://dffd.bay12games.com/file.php?id=10672
Linux: http://dffd.bay12games.com/file.php?id=10673
Mac: http://dffd.bay12games.com/file.php?id=10674
Source code: https://github.com/BenLubar/df2014/tree/master/df-decompress