Switch-Toolbox/README.md

128 lines
5.6 KiB
Markdown
Raw Normal View History

2018-11-12 00:38:37 +00:00
# Switch-Toolbox
A tool to edit many formats of Nintendo Switch and some Wii U.
2018-11-12 00:40:38 +00:00
2018-11-18 17:38:32 +00:00
## Changelog
2018-12-11 00:59:24 +00:00
v0.8.5.1
- Basic .nutexb dds injection. Must be same width/height and format due to .arc size limitations atm!
v0.8.4 - v0.8.5
- Textures for Wii U deswizzle properly thanks to AboodXD.
- Zstb compressed files will be detected and decompressed automatically on open.
- Textures BC1-BC5 will show properly if DirectXTex is not working on older windows versions. Small work around atm.
- Improper transformations (like bad rotations) should be fixed now.
- Basic GTX file viewing
- Fixed BNTX texture alignment if there is only one texture present in the file.
- Many more bug fixes to enhance the user experience.
v0.8.3
- Support all nutexb formats from .arc.
- Fix brightness issues for nutexb srgb (using unorm for decoding atm).
v0.8.2 Changelog
- Fixed nutexb errors (incorrect sizes)
- Batch exporting nutexb works properly now. Will export with offset for unique name.
- DDS save properly to open in photoshop and other programs.
v0.8.1 Changelog
- Fixed error messages and freezes from nutexb.
v0.8 Changelog
- DDS compression reworked allowing png importing, and previewing of all DDS formats from [DirectXTex](https://github.com/Microsoft/DirectXTex).
- Exporting/importing of all animation types as binary.
- .Nutexb previewing/exporting. (and batch exporting)
- DAE/FBX rigging supported. Models will no longer show invisible.
- Improvements to BFRES library. Some games may work better now.
- Channel types are now set on import. May fix normal map issues.
- Archives use double click for opening files
- DDS cubemaps can be imported
- GFPAK repacking (untested)
- Animations for skeleton animations can be played (thanks to smash forge).
- Improvements to UI. May load quicker.
- Update bake map placeholder textures to look proper.
- Many improvements and big fixes!
2018-11-18 17:38:32 +00:00
v0.72 Changelog
- Fixed crashes from RGBA DDS.
- Added an option to disable viewport. (May be quicker, and for those who use old GL versions).
v0.71 Changelog
- Stability improvements.
- Add byml editor back in.
- Some bug fixes and exception issues
This tool currently features:
- BFRES
- 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.
- BNTX
- Can add/remove textures.
- Can import textures as DDS. (Thanks to AboodXD! png/jpeg, etc planned later)
- Can export as binary, dds, png, tga, etc.
- Can preview mipmap and surface(array) levels.
2018-12-11 00:59:24 +00:00
- NUTEXB
- Can export as binary, dds, png, tga, etc.
- Can preview.
2018-11-18 17:38:32 +00:00
- SARC
- Supported editing/saving data opened. (Automatically saves data opened in objectlist if supported)
- Supports padding (Thanks to Exelix and AboodXD)
- Can save sarcs in sarcs in sarcs.
- BARS
- Can extract and replace audio files.. (rebuilds the file)
- KCL
- Preview collision models.
- Replace/Export as obj (Thanks to Exelix)
- BFFNT
2018-12-11 00:59:24 +00:00
- Can extract font images and preview their image arrays (BNTX)
2018-11-18 17:38:32 +00:00
- GFPAK
2018-12-11 00:59:24 +00:00
- Can extract, edit, and rebuild (untested).
2018-11-18 17:38:32 +00:00
2018-11-21 00:10:53 +00:00
## Building
2018-11-18 17:35:53 +00:00
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.
2018-11-18 17:38:32 +00:00
## This tool is in BETA and not final! Code also needs some major clean up!
2018-11-12 01:21:56 +00:00
## Credits
2018-11-17 22:40:14 +00:00
- Smash Forge Devs (SMG, Ploaj, jam1garner, smb123w64gb, etc) for some code ported over. Specifically animation stuff, GTX c# implementation, and some rendering.
2018-11-12 01:21:56 +00:00
- 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 stuff
- Exelix for Byaml, Sarc and KCL library
2018-11-20 20:30:44 +00:00
- Syroot for helpful IO extensions and libraries
2018-11-12 01:21:56 +00:00
- GDK Chan for some DDS decode methods
2018-11-17 22:39:57 +00:00
- AboodXD for some foundation stuff with exelix's SARC library, GTX and BNTX texture swizzling and documentation
2018-11-12 01:21:56 +00:00
- MelonSpeedruns for logo.
Resources
- [Treeview Icons by icons8](https://icons8.com/)
- Smash Forge (Currently placeholders)
2018-11-20 20:42:56 +00:00
Libraries
2018-11-12 01:28:30 +00:00
- [Exelix (Sarc, kcl, and byml libraries)](https://github.com/exelix11/EditorCore/tree/master/FileFormatPlugins)
2018-11-12 01:21:56 +00:00
- [ZstdNet (Compression)](https://github.com/skbkontur/ZstdNet)
2018-11-12 01:31:26 +00:00
- [Be.HexEditor by Bernhard Elbl](https://sourceforge.net/projects/hexbox/)
2018-11-12 01:21:56 +00:00
- GL EditorFramwork by jupahe64
2018-11-12 01:31:26 +00:00
- [WeifenLuo for docking suite](http://dockpanelsuite.com/)
2018-11-12 01:28:30 +00:00
- [SF Graphics by SMG (Experimental](https://github.com/ScanMountGoat/SFGraphics) (currently just a placeholder for shader workflow and some useful things)
- [Audio & MIDI library](https://github.com/naudio/NAudio)
- [VGAudio](https://github.com/Thealexbarney/VGAudio)
- [Assimp](https://bitbucket.org/Starnick/assimpnet/src/master/)
- [OpenTK](https://github.com/opentk/opentk)
- [BezelEngineArchive Library](https://github.com/KillzXGaming/BEA-Library-Editor)
2018-11-12 01:30:26 +00:00
- [Syroot BinaryData](https://gitlab.com/Syroot/BinaryData)
- [Syroot Maths](https://gitlab.com/Syroot/Maths)
- [Syroot Bfres Library (Wii U)](https://gitlab.com/Syroot/NintenTools.Bfres)
2018-11-12 01:28:30 +00:00
- [Costura for embedding data for plugins](https://github.com/Fody/Costura)
2018-11-12 01:30:26 +00:00
- [CsvHelper (unused atm but planned to be used](https://joshclose.github.io/CsvHelper/)
2018-11-12 01:21:56 +00:00
License
in Switch_Toolbox\Lib\Licenses
Please note if you do not want your library used or if i'm missing credits!