Amiga MOD Packers Described - Custom #3 - Binary Described
Anim ripped from Digital Illusion's MotorHead
Yeah :) at least in HTML format !.
Anim ripped from Digital Illusion's MotorHead




  Format name : Binary - Phobia
Created by : ?!? Amigo / Binary ?!?

Sources :
*
musics from the musicdisk Phobia by Binay. Musics by Joe / Binary.
12 musics in this format. It was release in 1995.

Note : Not really a packer since 'depacked' and 'packed' files have the same size ... another replayer then.


OFFSET
SIZE (bytes)
COMMENT
0
20(14h)
- Title

The following is repeated 31 times
with 30 bytes description for one sample
20(14h)
42(2Ah)
44(2Ch)
45(2Dh)
46(2Eh)
48(30h)
22(16h)
2
1
1
2
2
- Sample name
- Sample size / 2
- Finetune
- Volume (0->40h)
- Loop size / 2
- Loop start / 2
Note : Beware here coz the loops are saved the other way around under PTK (e.g. Start before Size)

3B6h
3B7h
3B8h
438h
43Ch
1
1
80h
4
?
- number of pattern to play
- Noisetracker byte ($7F)
- Pattern list
- Id: "BNR!"
- Pattern datas.


each pattern is stored one after another and is 400h bytes long :

pattern 0 :
  • row 0 | voice 1 | voice 2 | voice 3 | voice 4 |
  • row 1 | voice 1 | voice 2 | voice 3 | voice 4 |
  • row 2 ...
  • row 63| voice 1 | voice 2 | voice 3 | voice 4 |

  • pattern 1 : ...

  • With 4 bytes for a voice description. It all sounds like PTK but .. there is this little repacking of the notes ... Heh :).


  • Note packing :

       - set BPM flag
      /
     |            note nbr *2           Sample Number *8
     |           /     \               /     \
     |          |       |             |       |
     0000-0000  0000-0000  0000-0000  0000-0000
      ||     |             |       |
      | \   /               \     /
      | Fx *4               FX value
      |
      |
      Flag bit. if set to 1 : no note.

    Fx: no remap in this format :) ... very standard
    Note Number: it's the 'standard' ptk table, well, only the number of the note which we have to replace by the ptk value. Note that these numbers are reversed here ... look at the table below
    Fx Value: same as PTK.
    Sample Number: same as Fx ... *8 here ... replayer speed I guess.
    set BPM flag: seems that when set to 1 it means a set BPM cmd ('F' under PTK) and that is valid for whatever 'Fx' value there is ... though, I've found out that it's always set to 'D'.
    It surely is for synchronizing with screen drawings or whatever. If not, I definitly dont get the point :).

    relative note number: (Protracker)
    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

    become : (This format)
    C-1 to B-1 : 24,23,22,21,20,1f,1e,1d,1c,1b,1a,19
    C-2 to B-2 : 18,17,16,15,14,13,12,11,10,0f,0e,0d
    C-3 to B-3 : 0c,0b,0a,09,08,07,06,05,04,03,02,01

    Follow Sample datas stored like Protracker. Nothing is packed..
     

    Click "back" to go back :)