Tool: ztpack.exe - trigger-segfault/TriggersTools.CatSystem2 GitHub Wiki

Tool: ztpack.exe

The command line tool ztpack is used to create and extract ZT Package (.zt) archive files. It is available in many of the publicly released CatSystem2 toolsets.

Usage

CatSystem 2 Z-compressed Package File creation tool
pack:   ztpack <outfile> <file> [file] ...
unpack: ztpack /d <ztfile> <outdir>

arguments:
  outfile   output file name (with extension)
  file      file name(s) or folder(s) to pack

  /d        unpack mode
  ztfile    input zt file to unpack
  outdir    output directory to unpack files to

Notes

  • ztpack requires at least one file to pack. This is a limitation of the .zt format.
  • ztpack can pack subdirectories and files (through use of wildcards), however, it cannot properly unpack them. Note that subdirectories are an explicitly supported part of the .zt format.

Examples

Package "sys_sac.zt" with ".wav" files in "sac" folder

ztpack sys_sac.zt "..\sound\sac\*.wav"

Unpackage "sys_sac.zt" into "sac" folder

ztpack sys_sac.zt "..\sound\sac"

See also

External links


Todo:

  • List locale requirements
  • \ path slashes required?
⚠️ **GitHub.com Fallback** ⚠️