ROM Hack SARC File Manager - A tool for managing files inside SARC archives

PabloMK7

Red Yoshi! ^ω^
OP
Developer
Joined
Feb 21, 2014
Messages
2,604
Trophies
2
Age
24
Location
Yoshi's Island
XP
5,034
Country
Spain
EDIT
Proper SARC file add and removal has been added to Every File Explorer. You can get the modified build here:
https://github.com/mariohackandglitch/EveryFileExplorer/releases

I made a python 2.7 command line script for managing files inside SARC archives (.sarc or .szs files). Every File Explorer was lacking this feature, and I needed a tool as soon as possible, so... here it is. :)

Usage
Code:
SARC_filemanager.py SARC_file_path -a new_file

Features
  • Add new file name entries to existing SARC archives. (This will ONLY generate the file entry, with a size of 1 byte. Use better tools such as Every File Explorer to replace the new added entry with a proper file.)
Compatibility
  • Files must be Yaz0 decompressed, use Every File Explorer to decompress them. ("Tools -> Compression -> Yaz0 -> Decompress". Remember to compress them back after using this!)
  • Only little endian files are supported (3DS).
  • Files with a SFNT section aren't supported. (This includes some SARCs in which all files have proper names in Every File Explorer instead of a hex number.)
Planned features
  • Find a way to properly add actual files, instead of just a file entry with 1 byte size.
  • Remove files.
  • Add big endian (wii u) support.
  • Add support for SARCs with SFNT section.
Credits
  • Gericom: All the research about SARC files.
Download
https://github.com/mariohackandglitch/SARCFileManager/releases
 
Last edited by PabloMK7,

Site & Scene News

Popular threads in this forum

General chit-chat
Help Users
  • No one is chatting at the moment.
    Veho @ Veho: Spring is in the air. +1