ROM Hack RELEASE SARC Tool - A tool for extracting/packing SARC/SZS files

AboodXD

I hack NSMB games, and other shiz.
OP
Member
Joined
Oct 11, 2014
Messages
2,880
Trophies
1
Location
Not under a rock.
XP
2,921
Country
United Arab Emirates
SARC Tool v0.5
A tool for extracting/packing SARC/SZS files

Code:
Usage:
  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)

Download.
Source code (GitHub).

Examples:
  • Extracting an szs file named "test.szs":
    Code:
    main test.szs
  • Extracting a sarc file named "test.sarc":
    Code:
    main test.sarc
  • Packing a folder named "test" as a big endian (Wii U) sarc file:
    Code:
    main test
  • Packing a folder named "test" as a little endian (3DS / Switch) sarc file:
    Code:
    main -little test
  • Packing a folder named "test" as a big endian (Wii U) sarc file with the file name "test2.sarc":
    Code:
    main -o test2.sarc test
  • Packing a folder named "test" as a big endian (Wii U) szs file using level 9 (best/slowest compression):
    Code:
    main -compress 9 test
  • Packing a folder named "test" as a little endian (3DS / Switch) szs file using level 9 (best/slowest compression):
    Code:
    main -little -compress 9 test
  • 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):
    Code:
    main -compress 9 -o test2.szs test
 
Last edited by AboodXD,

AboodXD

I hack NSMB games, and other shiz.
OP
Member
Joined
Oct 11, 2014
Messages
2,880
Trophies
1
Location
Not under a rock.
XP
2,921
Country
United Arab Emirates
Nice Work! Can't wait for BNTX Injecting
It has been done already. I made both an injector and an actual editor, but I have yet to release them.

The problem is that I fear people will start making lazy mods for Odyssey, just like they did for MK8; that's why I didn't release the editor yet.
 
Last edited by AboodXD,

RetroGamer732

Well-Known Member
Member
Joined
Oct 30, 2015
Messages
166
Trophies
0
XP
238
Country
United States
It has been done already. I made both an injector and an actual editor, but I have yet to release them.

The problem is that I fear people will start making lazy mods for Odyssey, just like they did for MK8DX; that's why I didn't release the editor yet.
What do you mean by lazy mods? I ask because I like to make mods and I just like getting opinions on quality vs lazy.
 

AboodXD

I hack NSMB games, and other shiz.
OP
Member
Joined
Oct 11, 2014
Messages
2,880
Trophies
1
Location
Not under a rock.
XP
2,921
Country
United Arab Emirates
What do you mean by lazy mods? I ask because I like to make mods and I just like getting opinions on quality vs lazy.
The majority of MK8 custom tracks are lazily made, half baked, and they just suck.

The only good custom tracks are Atlas's and Wexos's; that's it.

I don't want people to do to SMO and MK8DX what they did to MK8.
This is also why Wexos is planning to not release a new version of his toolbox.
 

RetroGamer732

Well-Known Member
Member
Joined
Oct 30, 2015
Messages
166
Trophies
0
XP
238
Country
United States
The majority of MK8 custom tracks are lazily made, half baked, and they just suck.

The only good custom tracks are Atlas's and Wexos's; that's it.

I don't want people to do to SMO and MK8DX what they did to MK8.
This is also why Wexos is planning to not release a new version of his toolbox.
Okay, I was thinking you meant lazy texture edits (I primarily mod Smash). I'm personally someone who likes putting in new characters rather than stages, and I've even been guilty of lazy mods myself, but I've always been trying to improve my work.
 

AboodXD

I hack NSMB games, and other shiz.
OP
Member
Joined
Oct 11, 2014
Messages
2,880
Trophies
1
Location
Not under a rock.
XP
2,921
Country
United Arab Emirates
Just released version 0.4.

Changelog:
* 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.

Download.
 
Last edited by AboodXD,

TheZoroark007

Well-Known Member
Member
Joined
Apr 2, 2014
Messages
611
Trophies
0
Age
25
XP
1,648
Country
Germany
I am somehow unable to pack a working .szs file for Mario Kart 8 Deluxe. At first I thought I messed up while creating the .bfres so I unpacked an already existing, working mod (https://gamebanana.com/skins/164232) with Sarc_tool 0.4, put the .bfres into a folder named "Kinopico" and ran the command "sarc_tool.exe main -little -compress 9 Kinopico". It created a .szs file but when I wanted to test that file on my switch the game closed with an error message stating "The software was closed because an error occurred" as as soon as I selected the character. What am I doing wrong here ?

Here is my compiled file if that helps: https://www.dropbox.com/s/w26zma2v7y3bdxu/Kinopico.szs?dl=0
 

cualquiercosa327

Well-Known Member
Member
Joined
Mar 24, 2009
Messages
201
Trophies
1
XP
428
Country
Hello, first give you thanks for this great program: it is very useful!

i am trying to mod Smile Basic 4 for Switch (jap version is the only available yet) changing the vibration files it included for the one i want.
All 62 bnvib files are included on an file with arc extension.

Curiously the other files of the game also have the same extension and i could extract them without any problem with sactool.
I have look it with a hexeditor and it seems this file is a SBA2 format.
Could you add this format on your tool?
A lot of thanks
 

windmill

Well-Known Member
Member
Joined
Sep 23, 2018
Messages
148
Trophies
0
Age
21
XP
1,317
Country
United States
Incompatible with Miitopia's enemy.sarc fille. Repacking a completely vanilla file will still crash upon load.
 

Elly_0312

New Member
Newbie
Joined
Apr 4, 2021
Messages
1
Trophies
0
Age
25
XP
31
Country
United States
Any tutorial as to how to use this? I've been trying for a couple of days and I really can't figure it out
╥__╥

(and all I want this is to rip some sfx from a switch game) ANY help would be dearly appreciate it
 

AboodXD

I hack NSMB games, and other shiz.
OP
Member
Joined
Oct 11, 2014
Messages
2,880
Trophies
1
Location
Not under a rock.
XP
2,921
Country
United Arab Emirates
Any tutorial as to how to use this? I've been trying for a couple of days and I really can't figure it out
╥__╥

(and all I want this is to rip some sfx from a switch game) ANY help would be dearly appreciate it
Could you state how you tried to use it and in what way it failed?
 

Site & Scene News

Popular threads in this forum

General chit-chat
Help Users
  • BakerMan @ BakerMan:
    fuck ubisoft, and fuck activision
    +1
  • realtimesave @ realtimesave:
    Nintendo needs to release a new console, switch is getting such shitty little games lately lol it's pathetic
  • Purple_Heart @ Purple_Heart:
    Lmao a new flashcart... The Unlock Switch... I knew it's not fake xD
    +1
  • NinStar @ NinStar:
    A new consoles won't solve that problem
  • NinStar @ NinStar:
    It will actually make it worse
  • The Real Jdbye @ The Real Jdbye:
    well actually
    a new console won't do anything right now, because the games are still in development, that's why there are few games being released
  • The Real Jdbye @ The Real Jdbye:
    it won't make the games finish any faster
  • Veho @ Veho:
    2/3rds of launch titles for the Switch 2 will just be lazy ports of Switch games anyway.
  • The Real Jdbye @ The Real Jdbye:
    probably
  • The Real Jdbye @ The Real Jdbye:
    maybe mario kart 9 will be a launch title
  • The Real Jdbye @ The Real Jdbye:
    i really want a new mario kart
  • Veho @ Veho:
    What, you mean the endless stream of DLCs doesn't count?
  • Veho @ Veho:
    Why develop a new game when you can just sell season passes forever?
  • Veho @ Veho:
    I'm still on MKDS so I'm not bothered :tpi:
  • The Real Jdbye @ The Real Jdbye:
    i like the dlc tbh, i'd like a new game more
  • ZeroT21 @ ZeroT21:
    but the current version is still selling fine at full price
  • SylverReZ @ SylverReZ:
    Hello
  • ZeroT21 @ ZeroT21:
    sup
    +1
  • SylverReZ @ SylverReZ:
    @realtimesave, You seen the Unlock Switch flashcart yet?
  • K3Nv2 @ K3Nv2:
    I'll see the 19.0 update that blocks use ability to it
    +1
  • K3Nv2 @ K3Nv2:
    Lol newegg+
    Screenshot-20240423-053504-Gmail.jpg
  • S @ salazarcosplay:
    does update 19 really block it
  • SylverReZ @ SylverReZ:
    Update 19 never came out yet. Just the 18.1.
    SylverReZ @ SylverReZ: Update 19 never came out yet. Just the 18.1.