You do not have permission to edit this page, for the following reason:
The action you have requested is limited to users in one of the groups: Users, Administrators.
Free text:
A tool for extracting/packing SARC/SZS files. Makes use of SarcLib and libyaz0. ==User guide== ===Requirements=== *SarcLib v0.3 or higher (get it using pip) *libyaz0 v0.5 or higher (get it using pip) ===Usage=== <pre> main [option...] file/folder Packing Options: -o <output> output file name (Optional) -little (or -l) output will be in little endian if this is used -compress <level> Yaz0 (SZS) compress the output with the specified level(0-9) (If unsure, use 1) 0: No compression (Fastest) 9: Best compression (Slowest) </pre> ===Example usage=== Extracting an szs file named "test.szs": <br> <code>main test.szs</code> Extracting a sarc file named "test.sarc": <br> <code>main test.sarc</code> Packing a folder named "test" as a big endian (Wii U) sarc file: <br> <code>main test</code> Packing a folder named "test" as a little endian (3DS / Switch) sarc file: <br> <code>main -little test</code> Packing a folder named "test" as a big endian (Wii U) sarc file with the file name "test2.sarc": <br> <code>main -o test2.sarc test</code> Packing a folder named "test" as a big endian (Wii U) szs file using level 9 (best/slowest compression): <br> <code>main -compress 9 test</code> Packing a folder named "test" as a little endian (3DS / Switch) szs file using level 9 (best/slowest compression): <br> <code>main -little -compress 9 test</code> Packing a folder named "test" as a big endian (Wii U) szs file with the file name "test2.szs", using level 9 (best/slowest compression): <br> <code>main -compress 9 -o test2.szs test</code> ==Screenshots== https://dlhb.gamebrew.org/switchhomebrews/sarctoolnx2.png ==Changelog== '''v0.5 2918/08/25''' *Fixed required alignment for SMM2 Course data. '''v0.4 2019/07/08''' *Fixed getting alignment for the first file. (packing 1 file) *Added alignment for SHARC and SHARCFB. *Fixed a rare edge case where extracting doesn't work. '''v0.3 2018/07/02''' *Added support for extracting files. *Added support for SZS (Yaz0 compressed) files. *The data start offset and alignment are now automatically calculated. *Added support for extracting and packing files with only the name hash. '''v0.2 2018/08/05''' *Fixed an issue with paths. '''v0.1 2017/08/05''' *Initial release. == External links == * GitHub - https://github.com/aboood40091/SARC-Tool * GBAtemp - https://gbatemp.net/threads/sarc-tool-a-tool-for-extracting-packing-sarc-szs-files.509768/
Advertising: