:: Compress a folder xTool a archive.bin "C:\MyGame" -m lzma2 -dict 512m -mx9

The -t100p flag, for instance, is used to allocate 100% of your CPU threads to the task, ensuring maximum performance.

Instead of compressing an already compressed file (which yields little to no size reduction), XTool intercepts the data, decompresses it temporarily so the compression algorithm can analyze the raw structure, and then repacks it. When the user installs the game, XTool reverses this process, ensuring the original files are restored perfectly.