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
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
|
[
('lyt1', {
'a': 1,
'width': 608.0,
'height': 456.0
}),
('txl1', {
'textures': [
{'unk': 0, 'name': 'spam12345'},
{'unk': 1, 'name': 'spamnonexist'},
]
}),
('fnl1', {
'files': [
{'unk': 0, 'name': 'wbf1.brfna'},
{'unk': 0, 'name': 'wbf2.brfna'},
]
}),
('mat1', {
'materials': ['textmat']
}),
('pan1', {
'alpha': 0xff,
'alpha_2': 0x0,
'angle': 0,
'flags_1': 1,
'flags_2': 4,
'width': 608,
'height': 456,
'name': 'RootPane',
'x': 0,
'y': 0,
'xmag': 1,
'ymag': 1,
'z': 0
}),
'pas1',
('txt1', {
'alpha': 0xff,
'alpha_2': 0x0,
'angle': 0,
'flags_1': 1,
'flags_2': 0,
'height': 38,
'name': 'textbox',
'width': 400,
'x': 0,
'y': 50,
'xmag': 1,
'ymag': 1,
'z': 0,
'~text.material': 'textmat',
'~text.text': 'Some Text',
'~text.font_idx': 0,
'~text.unk4': 0,
'~text.color1': 0xffffffff,
'~text.color2': 0xffffffff,
'~text.font_size_x': 32.0,
'~text.font_size_y': 38.0,
'~text.char_space': -1.0,
'~text.line_space': -1.0,
}),
[('txt1', {
'alpha': 0xff,
'alpha_2': 0x0,
'angle': 0,
'flags_1': 1,
'flags_2': 0,
'height': 38,
'name': 'textbox%d' % i,
'width': 400,
'x': -250,
'y': -50 + 5*i,
'xmag': 1,
'ymag': 1,
'z': 0,
'~text.material': 'textmat',
'~text.text': 'benzin (and built-in fonts) ftw!',
'~text.font_idx': 1,
'~text.unk4': 0,
'~text.color1': 0xff + 0x01080800*i,
'~text.color2': 0xff + 0x08080100*i,
'~text.font_size_x': 32.0,
'~text.font_size_y': 38.0,
'~text.char_space': -1.0,
'~text.line_space': -1.0,
}) for i in xrange(2, 30)],
('pic1', {
'alpha': 0xff,
'alpha_2': 0x0,
'angle': 0,
'flags_1': 5,
'flags_2': 4,
'height': 38,
'name': 'pic',
'width': 400,
'x': 200,
'y': 50,
'xmag': 1,
'ymag': 2,
'z': 0,
'~pic.material': 'textmat',
'~pic.texcoords': [(0.0, 0.0, 1.0, 0.0, 0.0, 1.0, 1.0, 1.0)],
}),
'pae1',
('grp1', {
'name': 'RootGroup',
'subs': [],
'unk': 0
}),
'grs1',
('grp1', {
'name': 'ENG',
'subs': ['pic'],#'textbox',
'unk': 0
}),
'gre1',
]
|