Help:Tools/sarc: Difference between revisions

From ZeldaMods (Breath of the Wild)
Jump to navigation Jump to search
imported>Leoetlino
imported>Leoetlino
(whoops. GPLv3 -> GPLv2+)
Line 5: Line 5:
| authors = leoetlino
| authors = leoetlino
| source = https://github.com/leoetlino/sarc
| source = https://github.com/leoetlino/sarc
| license = GPLv3
| license = GPLv2+
| written_in = Python
| written_in = Python
| win_only =  
| win_only =  

Revision as of 14:55, 21 October 2018

sarc
Author(s) leoetlino
Source code https://github.com/leoetlino/sarc
License GPLv2+
Written in Python
Platform support Cross-platform

sarc is a tool that can read and generate both big endian and little endian SARC archives, whether they are Yaz0 compressed or not. It is one of the few tools that are able to align file data correctly.

Setup

Install the sarc package. [CLI help]

Known issues

None

Usage

This tool automatically decompresses Yaz0-compressed archives, and re-compresses them when repacking if the extension starts with an s.

  • To extract: sarc extract INPUT_FILE.pack
  • To pack: sarc create [-b] INPUT_FOLDER OUTPUT_FILE.sbactorpack (Use -bfor Wii U only).
  • If you are using this tool for non-BotW games, make sure to pass the --not-botw flag as other games need different packing rules.
  • More commands in the readme.