Skip to content

TotkMods/Totk-ZstdTool

Repository files navigation

Totk Decompression/Compression Tool

License: AGPL v3 Downloads

A simple tool for decompressing and compressing .zs files in TotK.

Table of Contents

Setup

  1. Download and install the .NET 8 Runtime.
  2. Download the latest release of Totk zStd Tool.
  3. Open the application and configure your settings:
    • Game Path: Specify the path to your Totk game dump (RomFS - not an XCI or NSP file). This field is required.

Usage

To use the Totk Decompression/Compression Tool, follow these steps:

  1. Browse for a .zs file located in your Totk game dump.
  2. Click on the Decompress button to decompress the file and save the raw output to your computer.

Command Line Usage

Note: Before using the command line interface (CLI) tools, make sure you have set up the game paths in the user interface.

  • To decompress a file, use the following command: decompress </path/file.bin.zs> [-o|--output OUTPUT]

    Example:

    decompress F:\Bin\Totk\Bootup.pack.zs -o ./Bootup.pack
    
  • To compress a file, use the following command: compress </path/file.bin> [-o|--output OUTPUT] [-d|--dictionaries TRUE|false]

    Example:

    compress F:\Bin\Totk\Bootup.pack -o ./Bootup.pack.zs
    

License

This project is licensed under the AGPL v3 License.

© Arch Leaders, 2023-2024