-
Notifications
You must be signed in to change notification settings - Fork 0
/
Sonic_Chronicles:_The_Dark_Brotherhood%2FResearch.mw
295 lines (278 loc) · 5.08 KB
/
Sonic_Chronicles:_The_Dark_Brotherhood%2FResearch.mw
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
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
== Archives ==
{| class="wikitable"
! Name
! Type
! Documentation
! Status
|-
|*.nds
|Nintendo DS image
|
| style="background-color: green;" |supported
|-
|*.herf
|Hashed ERF file
|
| style="background-color: green;" |supported
|-
|*.dict
|Dictionary for the hashed ERF files
|
| style="background-color: green;" |supported
|}
== Resource files ==
=== Areas, Rooms and Placeables ===
{| class="wikitable"
! Extension
! Type ID
! Type description/Usage
! Format
! Documentation
! Status
|-
|are || 2012 || static area information || gff || [https://github.com/xoreos/xoreos-docs/raw/master/specs/bioware/AreaFile_Format.pdf AreaFile_Format.pdf]
| style="background-color: yellow;" |
|-
|cbgt || 21004 || compressed area background || ||
| style="background-color: green;" |
|-
|cdpth || 21005 || compressed area depth || ||
| style="background-color: green;" |
|}
=== Models, Textures and Materials ===
{| class="wikitable"
! Extension
! Type ID
! Type description/Usage
! Format
! Documentation
! Status
|-
|tga || 3 || targa image || binary || ||
|-
|raw || 21021 || raw image || binary || ||
|-
|pal || 21020 || palette || binary || ||
|-
|nanr || 21008 || nitro animation resource || binary || ||
|-
|nbfp || 21009 || nitro basic file palette || binary || ||
|-
|nbfs || 21010 || nitro basic file screen || binary || ||
|-
|ncer || 21011 || nitro cell resource || binary || ||
|-
|ncgr || 21012 || nitro character graphics resource || binary || ||
|-
|nclr || 21013 || palette definition || binary || ||
|-
|nsbca || 21015 || character animation || binary || ||
|-
|nsbmd || 21016 || model definition || binary || ||
|-
|nsbta || 21017 || texture animation || binary || ||
|-
|nsbtp || 21018 || texture part || binary || ||
|-
|nsbtx || || texture data || binary || ||
|}
=== Scripting and Triggers ===
{| class="wikitable"
! Extension
! Type ID
! Type description/Usage
! Format
! Documentation
! Status
|}
=== Quests, Texts and Dialogues ===
{| class="wikitable"
! Extension
! Type ID
! Type description/Usage
! Format
! Documentation
! Status
|-
|tlk || 2018 || string definitions || talk table || [https://github.com/xoreos/xoreos-docs/raw/master/specs/bioware/TalkTable_Format.pdf TalkTable_Format.pdf] ||
|-
|dlg || 2029 || dialog definition || gff || [https://github.com/xoreos/xoreos-docs/raw/master/specs/bioware/Conversation_Format.pdf Conversation_Format.pdf] ||
|-
|itm || 21007 || item definition || 2da || ||
|}
=== GUI ===
{| class="wikitable"
! Extension
! Type ID
! Type description/Usage
! Format
! Documentation
! Status
|-
|gui || 2047 || dialog definition || gff || ||
|-
|nftr || || font definition || binary || ||
|}
=== Static Properties ===
{| class="wikitable"
! Extension
! Type ID
! Type description/Usage
! Format
! Documentation
! Status
|-
|2da || 2017 || static data tables || 2da || [https://github.com/xoreos/xoreos-docs/raw/master/specs/bioware/2DA_Format.pdf 2DA_Format.pdf] ||
|-
|gff || 2037 || generic gff file || gff || ||
|-
|gda || 22008 || static table data || gff || ||
|}
=== Others ===
{| class="wikitable"
! Extension
! Type ID
! Type description/Usage
! Format
! Documentation
! Status
|-
|emit || 21006 || || || ||
|-
|plo || 22021 || plot information || gff || ||
|-
|sadl || 21022 || sound list || text || ||
|-
|sdat || 21023 || sound data || binary || ||
|-
|smp || 21024 || sound map || binary || ||
|-
|spl || 21025 || spell definition || 2da || ||
|-
|vx || 21026 || prerendered video || actimagine || ||
|-
|walk.tga || || || || ||
|-
|0x[0-9ABCDEF]{8} || unknown hash? || || || ||
|}
== GUI ==
* Layout defined in the .gui resources in Gff4 format
* Both screens are of size 256x192
* Coordinate system is 2D, (0,0) is in the upper left corner
* Both screens define their own coordinate system from (0,0) to (256,192)
* To implement both screens easily, use a GUI size 256x384 and add 192 to the Y coordinate for the lower screen
* The following values for the labels are used:
{| class="wikitable"
! integer value
! usage
|-
|60000
|X coordinate of the widget in the upper screen
|-
|60001
|Y coordinate of the widget in the upper screen
|-
|60002
|width of the widget in the upper screen
|-
|60003
|height of the widget in the upper screen
|-
|60004
|background texture
|-
|60005
|Default text?
|-
|60006
|only used in test.gui
|-
|60007
|
|-
|60008
|only used in test.gui
|-
|60009
|
|-
|60010
|
|-
|60011
|
|-
|60013
|uint8, PANE attribute, possible values 0,1,255
|-
|60014
|
|-
|60015
|palette
|-
|60016
|vector3f, text color?
|-
|60017
|
|-
|60018
|X coordinate of the widget in the lower screen
|-
|60019
|Y coordinate of the widget in the lower screen
|-
|60020
|width of the widget in the lower screen
|-
|60021
|height of the widget in the lower screen
|-
|60022
|
|-
|60023
|strref in the tlk file
|-
|60024
|uint8, always 0
|-
|60025
|uint8, LIST attribute, always 17
|-
|60026
|
|-
|60027
|
|-
|60028
|uint8, always 0
|-
|60029
|
|-
|60030
|
|-
|62000
|widget name
|-
|62002
|list of children widgets
|-
|62003
|list of some textures (active state?)
|-
|62004
|list of some textures (inactive state?)
|-
|62005
|list of some textures
|-
|62006
|list of some textures
|-
|62007
|list of some textures