SKYT packer format Created by Mr. Bluesky / Drifters (NoiseConverter tells it's SKYT/Drifters) Analysed by Asle / ReDoX (asle@mygale.org) Source : - two SKYT packed files sent by Gryzor (thx !) Offset size (byte) Comment ------ ----------- ------- ************************************** * the following is repeated 31 times * * with 8 bytes description for 1 smp * ********************************************************* * 0 2 Sample Size / 2 * 2 1 Finetune (0 -> F) * 3 1 Volume (0 - 40h) * 4 2 Loop Start / 2 * 6 2 Loop Size / 2 * if there's no loop, this value * is $0000 (not $0001 as ptk !) * * ********************************************************* 248 8 ?!? (empty bytes). It could be for a 32nd (F8h) sample or just to wait $100 address :). 256 4 ID "SKYT" (100h) 260 1 Size of pattern table (-1) (104h) 261 ? Pattern table. (105h) What's really stored is the number of each track. dump exemple: 0100: 53 4B 59 54 13 00 0B 00 - 0C 00 0D 00 0E 00 0B 00 SKYT............ 0110: 0F 00 10 00 11 00 12 00 - 13 00 14 00 15 00 0B 00 ................ - pattern table size is 20 ($13+1) - first pattern tracks are $000b,$000c,$000d and $000e ? 1 ?!? ($00h) ? ? track datas. Each track is 256 bytes long (64 rows * 4 bytes). So, each note takes 4 bytes and is stored that way : -Relative note Nbr -Unused / \ / / | | | | 0000 0000 0000 0000 0000 0000 0000 0000 | || | | | | | / / \ / \/ \ / / / Sample effect effect Unused---- number parameter relative note number (PTK): C-1 to B-1 : 856,808,762,720,678,640,604,570,538,508,480,453 C-2 to B-2 : 428,404,381,360,339,320,302,285,269,254,240,226 C-3 to B-3 : 214,202,190,180,170,160,151,143,135,127,120,113 becomes (SKYT): C-1 to B-1 : 01,02,03,04,05,06,07,08,09,0a,0b,0c C-2 to B-2 : 0d,0e,0f,10,11,12,13,14,15,16,17,18 C-3 to B-3 : 19,1a,1b,1c,1d,1e,1f,20,21,22,23,24 Follows Sample datas stored like ProTracker. Nothing is packed..