Help:Tools/sarc: Difference between revisions

imported>Leoetlino
No edit summary
imported>Leoetlino
 
(6 intermediate revisions by the same user not shown)
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 =  
Line 16: Line 16:


== Known issues ==
== Known issues ==
* None for ''Breath of the Wild'' currently.
None
* 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.


== Usage ==
== Usage ==
This tool automatically decompresses Yaz0-compressed archives, and re-compresses them when repacking if the extension starts with an <code>s</code>.
This tool automatically decompresses [[Yaz0]]-compressed archives, and re-compresses them when repacking if the extension starts with an <code>s</code>. This means that '''you do not need to compress or decompress files manually'''.
* To extract: <code>sarc extract INPUT_FILE.pack</code>
 
* To pack: <code>sarc create [-b] INPUT_FOLDER OUTPUT_FILE.sbactorpack</code> (Use <code>-b</code>for Wii U only).
* To '''extract''': <code>sarc extract INPUT_FILE.pack</code>
* To '''pack''' (create a new archive): <code>sarc create INPUT_FOLDER OUTPUT_FILE.sbactorpack</code> (add <code> -b</code> at the end of the line for 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 [https://github.com/leoetlino/sarc readme].
* More commands in the [https://github.com/leoetlino/sarc readme].
Anonymous user