1. AboodXD

    OP AboodXD I hack NSMB games, and other shiz.
    Member

    Joined:
    Oct 11, 2014
    Messages:
    2,781
    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, Aug 25, 2019
  2. Getzabelz

    Getzabelz Member
    Newcomer

    Joined:
    May 19, 2018
    Messages:
    21
    Country:
    Spain
    What is this for?
     
    PeterMount likes this.
  3. Asia81

    Asia81 GBAtemp Guru
    Member

    Joined:
    Nov 15, 2014
    Messages:
    5,953
    Country:
    France
    If you have to ask, this not for you.
     
    GoldYoshi, Anonymous456 and AboodXD like this.
  4. AboodXD

    OP AboodXD I hack NSMB games, and other shiz.
    Member

    Joined:
    Oct 11, 2014
    Messages:
    2,781
    Country:
    United Arab Emirates
     
  5. RetroGamer732

    RetroGamer732 GBAtemp Regular
    Member

    Joined:
    Oct 30, 2015
    Messages:
    166
    Country:
    United States
    Nice Work! Can't wait for BNTX Injecting
     
  6. AboodXD

    OP AboodXD I hack NSMB games, and other shiz.
    Member

    Joined:
    Oct 11, 2014
    Messages:
    2,781
    Country:
    United Arab Emirates
    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, Jul 2, 2018
  7. RetroGamer732

    RetroGamer732 GBAtemp Regular
    Member

    Joined:
    Oct 30, 2015
    Messages:
    166
    Country:
    United States
    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.
     
  8. AboodXD

    OP AboodXD I hack NSMB games, and other shiz.
    Member

    Joined:
    Oct 11, 2014
    Messages:
    2,781
    Country:
    United Arab Emirates
    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.
     
  9. RetroGamer732

    RetroGamer732 GBAtemp Regular
    Member

    Joined:
    Oct 30, 2015
    Messages:
    166
    Country:
    United States
    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.
     
  10. AboodXD

    OP AboodXD I hack NSMB games, and other shiz.
    Member

    Joined:
    Oct 11, 2014
    Messages:
    2,781
    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, Jul 8, 2018
  11. TheZoroark007

    TheZoroark007 GBAtemp Advanced Fan
    Member

    Joined:
    Apr 2, 2014
    Messages:
    611
    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
     
  12. OutOfMind
    This message by OutOfMind has been removed from public view by porkiewpyne, Sep 23, 2018.
    Sep 23, 2018 Show
  13. NWwind

    NWwind Advanced Member
    Newcomer

    Joined:
    Feb 22, 2018
    Messages:
    94
    Country:
    Hong Kong
    Wiimms SZS Tools can do this (?). Isn't it?
     
  14. Gigaboy

    Gigaboy Member
    Newcomer

    Joined:
    May 12, 2019
    Messages:
    24
    Country:
    United States
    In case anyone was interested, I made GUI for SARC Tool v0.4. It was coded in Java and only verified to run on Windows. (It doesn't have the best coding practices either.)
    GitHub - SARC Tool GUI
     
    Last edited by Gigaboy, May 16, 2019
    AboodXD and paulloeduardo like this.
  15. AboodXD

    OP AboodXD I hack NSMB games, and other shiz.
    Member

    Joined:
    Oct 11, 2014
    Messages:
    2,781
    Country:
    United Arab Emirates
    Just released version 0.5.

    Changelog:
    * Fixed required alignment for SMM2 Course data.

    Download.
     
  16. cualquiercosa327

    cualquiercosa327 GBAtemp Regular
    Member

    Joined:
    Mar 24, 2009
    Messages:
    181
    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
     
  17. cualquiercosa327

    cualquiercosa327 GBAtemp Regular
    Member

    Joined:
    Mar 24, 2009
    Messages:
    181
    Country:
    Here is the file (I can no put the link correctly on the forum,sorry :
    https: anonfile. com
    /D252M9C1n4/vib_rar
     
    Last edited by cualquiercosa327, Dec 9, 2019
  18. windmill

    windmill Advanced Member
    Newcomer

    Joined:
    Sep 23, 2018
    Messages:
    65
    Country:
    United States
    Incompatible with Miitopia's enemy.sarc fille. Repacking a completely vanilla file will still crash upon load.
     
  19. AboodXD

    OP AboodXD I hack NSMB games, and other shiz.
    Member

    Joined:
    Oct 11, 2014
    Messages:
    2,781
    Country:
    United Arab Emirates
    Please PM that file.
     
Draft saved Draft deleted
Loading...

Hide similar threads Similar threads with keywords - extracting, packing, files