SARCExtract - A SARC extractor for Switch, 3DS, and Wii U games!

Discussion in 'Switch - Hacking & Homebrew' started by AboodXD, Jul 27, 2017.

  1. AboodXD
    OP

    AboodXD I hack NSMB games, and other shiz.

    Member
    2,699
    1,427
    Oct 11, 2014
    United Arab Emirates
    Not under a rock.
    How to use:
    - Drag and drop a SARC or SZS file to the program and wait.

    Credits:
    • NWPlayer123: Original SARCExtract for Wii U.
    • Stella/AboodXD: Ported to Python 3, made libyaz0, added support for little endian SARC files and fixed guessing names.

    Download.
    Source code / GitHub.
     
    Last edited by AboodXD, Nov 19, 2017 at 3:04 PM
    Don Jon, KiiWii, MrGarapablo and 8 others like this.
  2. NANASHI89

    NANASHI89 GBAtemp Maniac

    Member
    1,146
    122
    May 3, 2012
    United States
    What's a SARC?

    Sent from my SM-T280 using Tapatalk
     
  3. AboodXD
    OP

    AboodXD I hack NSMB games, and other shiz.

    Member
    2,699
    1,427
    Oct 11, 2014
    United Arab Emirates
    Not under a rock.
    An archive format used in 3DS, Wii U, and Switch games.

    — Posts automatically merged - Please don't double post! —

    Whoops, there was a typo somewhere in the code, please redownload.
     
  4. Mat37

    Mat37 GBAtemp Regular

    Member
    220
    18
    Dec 3, 2016
    France
    Where's the output ? I can't find it
     
  5. AboodXD
    OP

    AboodXD I hack NSMB games, and other shiz.

    Member
    2,699
    1,427
    Oct 11, 2014
    United Arab Emirates
    Not under a rock.
    Did you redownload?
     
  6. systemconfigtoolcorrector

    systemconfigtoolcorrector Member

    Newcomer
    41
    17
    Jan 24, 2017
    United States
    oh WiiUZip extracts the sarcs just fine but i guess if you prefer python then this is for you
     
  7. AboodXD
    OP

    AboodXD I hack NSMB games, and other shiz.

    Member
    2,699
    1,427
    Oct 11, 2014
    United Arab Emirates
    Not under a rock.
    Well, no, WiiUZip crashes when it opens SARC files without names. (yes, those files exist and are used a lot in MK8 and MK8 DX)
    This tool extracts them just fine.
     
  8. Mat37

    Mat37 GBAtemp Regular

    Member
    220
    18
    Dec 3, 2016
    France
    Yes
     
  9. AboodXD
    OP

    AboodXD I hack NSMB games, and other shiz.

    Member
    2,699
    1,427
    Oct 11, 2014
    United Arab Emirates
    Not under a rock.
    Please download again and tell me if it works or not.
     
  10. Rafa10PT

    Rafa10PT Member

    Newcomer
    18
    0
    Jul 27, 2017
    Portugal
    It worked with the Switch! Did you have to test it with SDK sources?
     
  11. AboodXD
    OP

    AboodXD I hack NSMB games, and other shiz.

    Member
    2,699
    1,427
    Oct 11, 2014
    United Arab Emirates
    Not under a rock.
    No, just tested it with multiple SZS/SARC files from MK8 DX and ARMS.
     
  12. Rafa10PT

    Rafa10PT Member

    Newcomer
    18
    0
    Jul 27, 2017
    Portugal
    OK. It's happening really fast! I saw a tread about a ROMFS explorer for the Switch.
     
  13. Mat37

    Mat37 GBAtemp Regular

    Member
    220
    18
    Dec 3, 2016
    France
    Works this time, thanks
    So, we can't extract anything from the file created ?
     
  14. AboodXD
    OP

    AboodXD I hack NSMB games, and other shiz.

    Member
    2,699
    1,427
    Oct 11, 2014
    United Arab Emirates
    Not under a rock.
    Depends on what the extracted file is.

    SARC is really like ZIP, it can store anything.
     
  15. Mat37

    Mat37 GBAtemp Regular

    Member
    220
    18
    Dec 3, 2016
    France
    Oh okay, anyways thank you, great program !
     
  16. KoopaStarRpad

    KoopaStarRpad Advanced Member

    Newcomer
    86
    8
    Apr 27, 2015
    Zimbabwe
    Minor annoyance:
    I could use the legacy SARCExtract on my Mac's Terminal, now I need to use an EXE.

    Good job, though, thanks!
     
  17. AboodXD
    OP

    AboodXD I hack NSMB games, and other shiz.

    Member
    2,699
    1,427
    Oct 11, 2014
    United Arab Emirates
    Not under a rock.
    Use the source code.
     
    KoopaStarRpad likes this.
  18. pinkupi13

    pinkupi13 Advanced Member

    Newcomer
    77
    2
    May 8, 2016
    Australia
    splatoon 2's files turn out weird, the last letter of the extension is cut off and the first two letters of the filename in the beginning get cut out.
    example: http://prntscr.com/g5ixqs
    some of those are meant to be gear or weapon or whatever, and they're msbts because i can change the extension and they work like a charm in msbteditor, but that is a bit annoying.
     
  19. AboodXD
    OP

    AboodXD I hack NSMB games, and other shiz.

    Member
    2,699
    1,427
    Oct 11, 2014
    United Arab Emirates
    Not under a rock.
    Redownload, I fixed this days ago. (A couple of hours after I posted this thread)
     
  20. KoopaStarRpad

    KoopaStarRpad Advanced Member

    Newcomer
    86
    8
    Apr 27, 2015
    Zimbabwe
    smh when do i start concentrating
    Thanks for bothering to answer! Works like a charm.
     
    Last edited by KoopaStarRpad, Aug 7, 2017