freesci-develop
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[freesci-develop] Amiga bank.001 dissected


From: Rickard Lind
Subject: [freesci-develop] Amiga bank.001 dissected
Date: Sun, 19 Jan 2003 10:35:47 +0100 (MET)

Hi,

This morning I took a closer look at the bank.001 files in the Amiga
games. Since I have not had a chance to look at amigasnd.drv I have not
verified my interpretation of the data structures.

Header:

Position        Type    Bytes   Description
------------------------------------------------------------------------
0x0000 (0)      String  16      Filename (?)
0x0010 (16)     ?       2       Unknown (always 0x00 0x20)
0x0012 (18)     String  20      Bank name (?)
0x0026 (38)     BE Word 2       Number of instruments, n
0x0028 (40)                     Instrument Data Blocks

Instrument Data Block:

Position        Type    Bytes   Description
------------------------------------------------------------------------
0x0000 (0)      BE Word 2       SCI Patch number (the mapped instrument)
0x0002 (2)      String  29      Instrument name
0x001f (31)     ?       14      Unknown (rate, loop points, loop type)
0x002d (45)     BE Word 2       Length of sample data, l(i)
0x002f (47)     ?       14      Unknown (rate, loop points, loop type)
0x003d (61)     S8      l(i)    Sample Data, 8 bit unsigned

The file size should then be:
38+sum(i,1,n,60+l(i))

-- 
/Rickard Lind







reply via email to

[Prev in Thread] Current Thread [Next in Thread]