Skip to content

JoeCoding3/SWITCHjs

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

90 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

This contains conversion/decompression tools for some Nintendo Switch file formats.

These tools (currently) can only convert files from Nintendo Switch formats into more easily usable ones. They cannot convert back to Nintendo Switch formats.
Note: These tools were each made for some of the Nintendo Switch games SMG1 (in SM3DAS), SM3DW+BF, SMBW, SMM2, and SMO (v1.2.0). They may or may not work with files from other games or consoles.

Credits: These are the wiki documentation pages I used to create these converters.

YAZ0: amnoid.de
SARC: Custom Mario Kart 8 Wiki
RARC: Custom Mario Kart Wiiki
BYML: ZeldaMods
BCSV: Luma's Workshop
BMG: Luma's Workshop, Custom Mario Kart Wiiki

Credits: These are the pages I used to create my binary file parsing library stored here (/libs/filebuf.js).

Floating-point number parsing: An article in Medium's TDS Archive written by Oleksii Trekhleb
Signed integer parsing: Sonoma State University CS Linux Server



This repository uses the library JSZip, made by https://github.com/Stuk, which is dual-licensed under the MIT license or the GPLv3 license. A copy of it is not stored here - instead, this just fetches the latest file from https://stuk.github.io/jszip/dist/jszip.min.js.
All other code in this repository is my own.