StarTrekker pack format Created by Mr. Spiv / Cave (1991) Analysed by Asle / ReDoX (asle@mygale.org) Source: - four packed files sent by Gryzor (thx !) Offset size (byte) Comment ------ ----------- ------- 0 20 (14h) Title ************************************** * the following is repeated 31 times * * with 8 bytes description for 1 smp * ****************************************************** * 20 2 Sample Size / 2 * (14h) * 22 1 Finetune (0 -> F) * (16h) * 23 1 Volume (0 - 40h) * (17h) * 24 2 Loop Start / 2 * (18h) * 26 2 Loop Size / 2 * (1Ah) * * ****************************************************** 268 2 Number of pattern to play (*4) (10Ch) *4 because each pattern is stored as an address (dword) 270 2 ?!? ($0000) (10Eh) 272 512 pattern table. Address of each pattern (110h) (200h) starting AFTER this pattern list. meaning first pattern address is $00000000 !. Just add $314 to each address. 784 4 Address of sample data (add $314 !). (310h) 788 ? pattern data. the size is between 100h and 400h. (314h) each note is packed as follow : case 1: (same as ptk with the first bits set to 0) Sample number (*4 !!) / /\ || | | 0000 0000 0000 0000 0000 0000 0000 0000 | | | | | | | | \ / \/ \ / | Note Period effect effect \ parameter -- description bit set to 0 case 4: (no note) - description bit 7 set to 1 / | 1000 0000 Follow Sample datas stored like Protracker. Nothing is packed..