-
Notifications
You must be signed in to change notification settings - Fork 12
Expand file tree
/
Copy pathWINAMP_AVS_FILEFORMAT
More file actions
50 lines (34 loc) · 919 Bytes
/
WINAMP_AVS_FILEFORMAT
File metadata and controls
50 lines (34 loc) · 919 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
Author: Dennis Smit
AVS Preset version 2.0
The file format can be read completely sequential, when
I state 'marker 0x00' and after that:
options:
some options:
0x42
I mean that this option is the next byte from the marker.
________________________________________________________
General things:
Palette: Palettes in elements are at a general point
in a section (FIXME) and can be parsed the sameway always.
_________________________________________________________
File magic:
The preset file starts with:
"Nullsoft AVS Preset 0.2"
Main section marker:
0x1a
options:
clear screen:
0x01: on
0x00: off
memory layout: (in bytes)
[marker][clearscreen]
Comment section marker:
0x15 (int)
next section:
(int)
options:
text length:
length (int)
followed by the text itself
memory layout: (in bytes)
[marker][ ][ ][ ][nextsection][ ][ ][ ][length][ ][ ][ ][t][e][x][t][\0]