Originally posted by Sample quote
Code
Sample code
Sample post
Name: | ExoticMatter |
Forum Posts: | 603 (0.11 per day) (View) |
Forum Threads: | 30 (20.10 posts per thread) |
Registered: | (15 years, 6 months and 16 days ago) |
Last Post: | , in GradientTool - Latest Version: v0.8.2.1 (July 7, ‘15) (Resource & Tool Releases) |
Last Activity: | (8 years and 15 days ago) |
Files: | View |
Submissions: | 3 (View) |
Location: | Canada |
Local Time: | (-5 hours from the server) |
embed-spc
class on a direct link to an SPC file, and the script will take care of the rest!<a class="embed-spc" href="http://bin.smwcentral.net/u/7478/smw.zip">Super Mario World OST</a> <a class="embed-spc" href="http://bin.smwcentral.net/u/7478/yi.zip">Yoshi’s Island OST</a> <a class="embed-spc" href="http://bin.smwcentral.net/u/7478/dkq.zip">Donkey Kong Country 2: Diddy Kong’s Quest OST</a> <a class="embed-spc" href="https://www.dropbox.com/s/zhxir2guz09nwo6/mmx-16.spc?dl=1">Megaman X – Storm Eagle</a>
byte[] v5_to_v8 = { 0x00, 0x08, 0x10, 0x19, 0x21, 0x29, 0x31, 0x3A, 0x42, 0x4A, 0x52, 0x5A, 0x63, 0x6B, 0x73, 0x7B, 0x84, 0x8C, 0x94, 0x9C, 0xA5, 0xAD, 0xB5, 0xBD, 0xC5, 0xCE, 0xD6, 0xDE, 0xE6, 0xEF, 0xF7, 0xFF, };
// where v5 is a 5-bit colour channel value byte v8 = v5_to_v8[v5];
Sample code