Skip to content

Shadsterwolf/BotWUnpacker

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

75 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Intro

  • This is a tool for both NEW and PRO modders for Zelda: Breath of the Wild
  • SARC is a collection of files(nodes), usually in the form of ".pack" files for this game.
  • Yaz0 is a compression algorithm, usually containing an ".s" at the beginning of the extension.
  • You can easily read these file's headers using HxD, which is a free hex editor tool.
  • This modding tool can help you take apart those files and put them back together to play and test!
  • As for what to do with those files is up to you! Do research, look up a guide, join a community, and have fun with it!

Features

  • Wii U & Switch Support (Version 3.0.0+)
  • Unpack & Build SARC files!
  • Decode & Encode Yaz0 files!
  • Smart extension handling (.sbactorpack <-> .bactorpack) when decoding/encoding
  • Mass Unpack all SARC files
  • Auto Decode Unpacked Yaz0 Files
  • Compare Tool to check your SARC nodes from original to your custom ones!
  • Padding Tool to sync your SARC nodes for those very special files!

Drag and Drop

  • Drag a SARC or Yaz0 file over the .exe and watch the magic happen!
  • Automatically decodes, upon detecting Yaz0 file(s) (will overwrite existing)
  • Automatically unpacks, upon detecting SARC file(s) (will NOT overwrite existing)
  • Supports multiple files and folders, from the same source location where you dropped it from !

Console

/ command
<> required argument
[] optional argument

  • Decode
    /d <Input File> [Output File]
    /decode <Input File> [Output File]
    
  • Encode
    /e <Input File> [Output File]
    /encode <Input File> [Output File]
    
  • Unpack
    /u <Input File> [Output Folder]
    /unpack <Input File> [Output Folder]
    
  • Build (Pack)
    /bu <Input Folder> [Output File]
    /buildwiiu <Input Folder> [Output File]
    /bs <Input Folder> [Output File]
    /buildswitch <Input Folder> [Output File]
    
    Examples:
    BotwUnpacker.exe /d "C:\OrignalFiles\WiiU\Model.sbactorpack" "C:\CustomFiles\WiiU\LinkModel\Model.bactorpack"
    BotwUnpacker.exe /u "C:\CustomFiles\WiiU\LinkModel\Model.bactorpack"
    BotwUnpacker.exe /bu "C:\CustomFiles\WiiU\LinkModel\Model" "C:\CustomFiles\Model.bactorpack"
    BotwUnpacker.exe /bs "C:\CustomFiles\Switch\LinkModel\Model"
    

Solution Build

.Net 6

  1. Use latest version of Visual studio
  2. Download/Clone Master branch and open it
  3. Build or Execute Debug

.Net Framework 4.8 (OLD)

  1. Use Visual Studio 2019
  2. Download/Clone NetFramework branch and open it
  3. Open Tools > NuGet Package Manager > Manage NuGet Packages for Solution...
  4. Search and Install the following:
  • Fody & Costura (This is to compile any .DLL files into the EXE, latest version only works on Visual Studio 2019!)
  • Microsoft.WindowsAPICodePack-Core (Common .DLL library, used make folder select operations similar to file select)
  • Microsoft.WindowsAPICodePack-Shell

Credits

Made by Shadsterwolf
Uwizard code SARC.cs heavily modified (and mostly commented!)
Decode based off of thakis's and shevious's python code, recoded in C#
Encode was re-researched and programmed by myself!

About

Zelda : Breath of the Wild modding tool - Unpack, Build, Decode, and Encode

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Languages