Repack: Xtool Library By Razor12911
XTool is a high-performance precompression and preprocessing tool developed by Razor12911, primarily used by game repackers to significantly reduce the final size of large data sets. Unlike traditional single-threaded tools, XTool is designed for modern systems, utilizing multi-threading to speed up both encoding and decoding processes. Core Functions & Features
Broad Codec Support: It supports a wide array of modern game engine codecs, including Oodle (Kraken, Mermaid), Zstd, LZ4, and even specialized filters for textures and media. xtool library by razor12911 repack
1. In-place Decompression (No Temporary Files)
Traditional repacking works like this: Decompress data.big → Write to temp_folder → Recompress with LZMA2 → Delete original. This requires massive temporary space (often 2-3x the game size). Closed source
- Closed source. razor12911 has never released the full source. The community respects this, but it means only a few people truly understand the internals.
- Windows-centric. Heavy use of
VirtualAlloc,MapViewOfFile, and PE-specific parsers. Linux/Wine support is hit-or-miss. - No streaming. Because it relies on random access to the original archive, xTool cannot decompress from a pipe or socket – the entire repack must be on local storage.
- Virus false positives. Due to its byte-level patching and memory modification techniques, every AV engine flags xTool as a “hacktool.” This is expected, but annoying.
Advanced Data Management: Features include deduplication to remove duplicate data streams and precompression databases to speed up future processing. Advanced Data Management : Features include deduplication to
Restore (for Installation):xtool.exe decode
: A "trial and error" feature that helps users decide which specific library or method will work best for a given set of game data. Broad Compatibility