Strips out identical, repeated asset streams to minimize initial file size.
Most versions use an xtool.ini . You can configure library paths and default settings there to avoid long command strings.
It organizes this raw data into a format that a secondary compressor (like LZMA2 or Zstd) can handle more efficiently. xtool library by razor12911 work
XTool acts as a "preprocessor" before final compression. In the world of game repacking—such as those from FitGirl Repacks—it identifies compressed streams within game files, decompresses them temporarily, and then lets a final high-ratio compressor (like or LOLZ ) pack them more tightly than originally possible. Development & Standalone Use
The XTool library has a wide range of applications across various industries, including: Strips out identical, repeated asset streams to minimize
Once a stream is discovered (for example, a Zlib-compressed texture stream), XTool decodes it back into its within a temporary buffer. Uncompressed data is highly repetitive, containing easily recognizable patterns and long stretches of redundant code. 3. Stream Deduplication and Reassignment
While benchmarks show that XTool is not about compressing the file itself, but about preparing data for other compressors, the above result shows the output after XTool's pre-processing is sent to 7-Zip for LZMA2 compression. The final compressed size is , a significant reduction from the original 937.3 MB . It organizes this raw data into a format
It can find "hidden" compression in game archives that other tools miss.
As of 2026, the project has reached a mature and stable state. Since Razor12911 announced that he has stopped active development, the tool is considered feature-complete for its intended purpose. This doesn't mean it's going away.
The is a highly specialized data manipulation tool that works primarily as a precompressor designed to optimize data structures for massive size reduction , making it a staple asset in the video game repacking community. Mostly coded in Pascal, XTool acts as an intermediary utility. It intercepts, scans, and temporarily inflates streams of compressed game assets—such as those packed using zlib, lz4, zstd, or Oodle—back into their raw, uncompressed state.