Skip to content

xrCompress

PRXPHET edited this page May 27, 2025 · 2 revisions

xrCompress is included in engine releases since version 2.1.*

Fixed and improved version of the original compressor. Starts packaging via a bat file of the form:

xrCompress “gamedata” -ltx xrCompress_Cfg.ltx -filename gamedata.db_base_configs

The first parameter is the name of the folder whose contents are to be packed. Commands:

-ltx ; path to the configuration file. It is important, it will not run without it.
-filename ; name of the archive to be created by the compressor (WITHOUT SPACES!)
-xdb ; packing archives in .xdb format.
-WW ; packing archives in WorldWide format.
-fast ; fast packing, small compression.
-store ; packing all files without compression. Fastest mode.
-max_size 50 ; maximum size of created archive in MB. In this example - 50 mb. By default, the compressor has a limit of ~1900 MB.
  • Large amounts of data are naturally split automatically.
  • Settings for ignored files, etc. are in xrCompress_Cfg.ltx.
  • Compression of *.geom, *.geomx, *.ogm files is disabled and other nuances are taken into account.
  • Archives gamedata.db_pack_#0, gamedata.db_pack_#1, ... etc. will be created in the !Ready\ folder.
  • Compressor logs will be created in the logs\ folder.
Clone this wiki locally