Version 0.7 of the PACK tool is available now. It brings some major improvements to the tool to make your life a lot easier when using it.

Features
  • Maintain a consistent ordering of the files in the PACK. Previously this depended on the order in which files are supplied, but it appears that Medieval II: Total War wants them sorted.
  • Avoid packing duplicate files. Previously pack -a some.pack duplicate.txt duplicate.txt would pack the file duplicate.txt twice, no longer. It prints a warning about the second duplicate.txt instead. Duplicates are not removed if they already exist in the pack, however.
  • Parsing logic for -t, --text, -0 and --xargs options is now more lenient. Empty strings (lines) are silently discarded instead of triggering a failure to pack. Closing delimiters for the last entry in the parsed file are no longer required, either.


Bug fixes
  • Fix memory access warning in the parsing logic which deals with the -t/--text options.


Misc
  • Output of the -l, --list commands is now sorted and in-order as well.