mirror of
https://github.com/KillzXGaming/Switch-Toolbox
synced 2024-11-10 07:04:36 +00:00
5.8 KiB
5.8 KiB
Switch-Toolbox
A tool to edit many formats of Nintendo Switch and Wii U.
Changelog 1.0 Experimental / BETA
Releases
https://github.com/KillzXGaming/Switch-Toolbox/releases
Discord
Features
This tool currently features:
- BFRES
- Fully supports Wii U and Switch.
- Model importing (dae, fbx, obj, and csv)
- Material editing (Render info, texture mapping, parameters, etc)
- Material copying
- Animation and model sub section can be exported/imported.
- Can delete, add, replace individual objects from an fmdl.
- Can create new sub sections and data
- Can preview skeletal, SRT, param, texture pattern, and bone visual animations. (Param ones will vary)
- Can export and import fully rigged models with bone support.
- Can convert gif files to texture pattern animations. Very WIP atm.
Can Edit Formats
- BFRES
- BNTX
- BFLYT
- BFLAN
- NUTEXB
- XTX
- GTX
- SARC
- BARS
- KCL
- BFLIM
- GFPAK
- BEA
- AAMP (Wii U and Switch)
- BYAML/BYML (Wii U, 3DS, and Switch)
- PTCL (Wii U, 3DS, and Switch)
- TMPK
- PAK/IGA (Crash Bandicoot/Crash Team Racing)
- IGZ Textures (Crash Bandicoot/Crash Team Racing)
- BFFNT (Textures only)
Can Preview
- BCRES
- Models, materials, and textures.
- BFSHA
- Can view options, samplers, attributes, and uniform blocks.
- BNSH
- Can extract shader vertex and fragment shaders from variations/programs
- SHARCFB and SHARC
- Basic preview of some shader program data.
- Can edit both v1 and v2 AAMP (Wii U and Switch)
- EFC
- Can preview effect tables and link PTCL.
- NUT
- Can preview NTWU, NTP3, and NTWD variants. Editng will be soon
- MSBT
- Very basic previewing.
- MP3, OGG, IDSP, HPS, WAV, BFWAV, BFSTM, BCWAV, BCWAV
- Can listen to audio and convert between certain formats. Thanks to VGAudio and CSCore
- NARC
- SP2 (Team Sonic Racing)
- GFMDL
- TEX (3DS)
- NUSHDB (Switch Namco Shaders)
- SDF (Snow Drop Engine)
- NCA
- NSP
- IStorage
- NXARC
- LZARC
- IGA .pak
- RARC
- GMX (TPHD Models)
- MKAGPDX Model .bin files
- MKAGPDX Archive .pac files
- ME01 and SA01 archives.
- Luigi's Mansion 2 Dark Moon (archives, models, and textures)
- TPL
- TXE
- BTI
- G1T
- CMB (OOT3D, MM3D, LM3DS)
- CTXB (OOT3D, MM3D, LM3DS)
- GAR (OOT3D, MM3D, LM3DS)
- ZSI (OOT3D, MM3D)
- BinGZ (Hyrule Warriors)
- PAC (Sonic Forces)
- Gamecube ISOs (file system)
Tutorials
https://github.com/KillzXGaming/Switch-Toolbox/wiki
Issues or Requests
https://github.com/KillzXGaming/Switch-Toolbox/issues
Building
To build make sure you have Visual Studio installed (I use 2017, older versions may not work) and open the .sln. Then build the solution as release. It should compile properly on the latest.
In the event that the tool cannot compile, check references. All the libraries are stored in Switch-Toolbox/Lib folder.
Credits
- Smash Forge Devs (SMG, Ploaj, jam1garner, smb123w64gb, etc) for some code ported over. Specifically animation stuff and some rendering.
- Assimp devs for their massive asset library!
- Wexos (helped figure out a few things, ie format list to assign each attribute)
- JuPaHe64 for the base 3D renderer.
- Every File Explorer devs (Gericom) for Yaz0 and bitmap font stuff
- Exelix for Byaml, Sarc and KCL library
- Syroot for helpful IO extensions and libraries
- GDKChan for PICA shaders stuff used with bcres, structs for bcres, and some DDS decode methods
- AboodXD for some foundation stuff with exelix's SARC library, Wii U (GPU7) and Switch (Tegra X1) textures swizzling, reading/converting uncompressed types for DDS, and documentation for GTX, XTX, and BNTX
- MelonSpeedruns for logo.
- BrawlBox team for brawl libaries used for brres parsing.
- Sage of Mirrors for SuperBMDLib.
- Ambrosia for BTI and TXE support.
- Kuriimu for some IO and file parsing help
- Skyth and Radfordhound for PAC documentation
Resources
- Treeview Icons by icons8
- Smash Forge (Currently placeholders)
Documentation (File Formats)
- http://mk8.tockdom.com/wiki/
- https://wiki.oatmealdome.me/Category:File_formats
- https://github.com/Kinnay/Nintendo-File-Formats/wiki
- http://Avsys.xyz/wiki/Category:File_Formats
Libraries
- [SuperBMDLib] (https://github.com/Sage-of-Mirrors/SuperBMD)
- Brawl Lib (for brres section conversion)
- Exelix (Sarc, kcl, and byml libraries)
- ZstdNet (Compression)
- Be.HexEditor by Bernhard Elbl
- GL EditorFramwork by jupahe64
- WeifenLuo for docking suite
- SF Graphics by SMG (Experimental (currently just a placeholder for shader workflow and some useful things)
- Audio & MIDI library
- VGAudio
- CSCore
- Assimp
- OpenTK
- BezelEngineArchive Library
- Syroot BinaryData
- Syroot Maths
- Syroot Bfres Library (Wii U)
- LibHac
Helpful Tools
License in Switch_Toolbox\Lib\Licenses
Please note if you do not want your library used or if i'm missing credits!