Repository for storing common/shared useful codes for SMW modding.
Feel free to contribute at will! The more, the better. Learn more at CONTRIBUTING
- Custom block template for GPS by Alcaro
- Decompress GFX file by Vitor Vilela
- Decode SNES planar format to bitmap by Vitor Vilela
- VRAM/CGRAM/WRAM read/write macros by Ladida
- Get acts like from map16 number by Vitor Vilela
- Aiming routine by MarioE
- Aiming/Atan2 routine by Akaginite
- Fast 9-bit input sin/cos macro by Vitor Vilela
- Hex to Dec routine by Vitor Vilela
- Standard 8-bit input sin/cos routine by Vitor Vilela
- Square root routine by MarioE
- Standard find OAM slot by Vitor Vilela
- Aiming/Atan2 routine by Akaginite
- Convert R/G/B from hue component (HSV/HSL algorithm) by Vitor Vilela
- Invoke SA-1 CPU from SNES CPU by Vitor Vilela
- Invoke SNES CPU from SA-1 CPU by Vitor Vilela
- 32-bit pseudo random number generator by Vitor Vilela
- 32x32 graphics rotation routine by Vitor Vilela
- 32x32 graphics rotate by y-axis routine by Vitor Vilela
- Erase current save slot by Sixtare
- Clear layer 3 from VRAM by Vitor Vilela
Algorithms and codes for scripting and SMW tools designing.
- TPL/MW3/PAL, SNES <-> HEX color algorithms C# code by Vitor Vilela
- FuSoYa's Lunar Compress P/Invoke wrapper C# code by Vitor Vilela
SnesGFX base graphics engine C# code by Vitor Vilela
- Interface for SnesGFX graphics type C# code
- Linear GFX algorithms C# code
- Packed GFX algorithms C# code
- Planar/Linear converter, 2/3/4/8/Mode7 converters C# code
- Main program base library C# code
- Reverse engineer Addmusic4, HFD's Addmusic and AddmusicM SPC algorithm C# code by Vitor Vilela
- Decode BRR file C# code by Vitor Vilela
- Convert SPC to N-SPC volume C# code by Vitor Vilela
Diagrams, references, datasheets, maps, etc.
- Game modes by Alcaro