Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

implemented '.zt' archives. #481

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Commits on May 26, 2021

  1. implemented '.zt' archives.

    Add CatSystem2 `.zt` extension archive format (*CatSystem2 pack file*).
    
    * Usage: Extras/export pack files for CatSystem2 - often used to save wallpapers, wav files, or other extras to the user's computer.
    * Tag: `ZT/PACK` (chosen over *just* `ZT`, based on the devkit tool name: `ztpack.exe`, which also describes it as a *"pack file"*).
    * Extension: `*.zt` (found in `export.int` archive).
    * Signature: No file signature of any kind, immediately starts with an entry structure. A lot of sanity checks have been added.
    * Hierarchic: Yes, although this is rarely used, and CS2's implementation is rather buggy.
        * Buggy enough that Frontwing gave up and started putting zip files **into** zt files!
    	* The specification at least, is still well defined.
    * Archive layout is the standard offset-next approach seen in other CS2 formats. But there's two offset-next fields, one for subdirectory entries, and one for the next flat (current) directory entry.
        * Folders have their own entries, which are what point to child file entries.
    trigger-segfault committed May 26, 2021
    Configuration menu
    Copy the full SHA
    3f5795a View commit details
    Browse the repository at this point in the history