forked from SileNTViP/AGS-Tool
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathMain.dfm
349 lines (349 loc) · 7.06 KB
/
Main.dfm
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
296
297
298
299
300
301
302
303
304
305
306
307
308
309
310
311
312
313
314
315
316
317
318
319
320
321
322
323
324
325
326
327
328
329
330
331
332
333
334
335
336
337
338
339
340
341
342
343
344
345
346
347
348
349
object MainForm: TMainForm
Left = 0
Top = 0
BorderIcons = [biSystemMenu]
BorderStyle = bsSingle
Caption = 'AGS Tool'
ClientHeight = 394
ClientWidth = 313
Color = clBtnFace
Font.Charset = DEFAULT_CHARSET
Font.Color = clWindowText
Font.Height = -11
Font.Name = 'Tahoma'
Font.Style = []
OldCreateOrder = False
Position = poScreenCenter
OnClose = FormClose
OnCreate = FormCreate
PixelsPerInch = 96
TextHeight = 13
object Label1: TLabel
Left = 167
Top = 133
Width = 115
Height = 13
Caption = 'Version 1.8 by SileNTViP'
end
object GroupBox1: TGroupBox
Left = 159
Top = 8
Width = 145
Height = 87
Caption = 'For Notabenoid'
TabOrder = 2
object ImportTXT: TButton
Left = 8
Top = 51
Width = 128
Height = 25
Caption = 'Create TRS from Inbox'
TabOrder = 0
OnClick = ImportTXTClick
end
object SaveTXT: TButton
Left = 8
Top = 20
Width = 128
Height = 25
Caption = 'Extract TXT from TRS'
TabOrder = 1
OnClick = SaveTXTClick
end
end
object GroupBox2: TGroupBox
Left = 159
Top = 152
Width = 145
Height = 121
Caption = 'Work with game files'
TabOrder = 3
object ExtrLIB: TButton
Left = 8
Top = 16
Width = 128
Height = 25
Caption = 'Extract from game lib'
TabOrder = 0
OnClick = ExtrLIBClick
end
object ExtrEXE: TButton
Left = 8
Top = 47
Width = 128
Height = 25
Caption = 'Extract from EXE'
TabOrder = 1
OnClick = ExtrEXEClick
end
object MakeEXE: TButton
Left = 8
Top = 78
Width = 128
Height = 25
Caption = 'Build EXE'
TabOrder = 2
Visible = False
OnClick = MakeEXEClick
end
end
object Button1: TButton
Left = 167
Top = 399
Width = 19
Height = 22
Caption = 'Button1'
TabOrder = 1
Visible = False
OnClick = Button1Click
end
object GroupBox3: TGroupBox
Left = 8
Top = 8
Width = 145
Height = 119
Caption = 'Create TRS from game'
TabOrder = 0
object ExtractEXE: TButton
Left = 7
Top = 20
Width = 129
Height = 25
Caption = 'Create TXT from game'
TabOrder = 0
OnClick = ExtractEXEClick
end
object CreateTXT2TRS: TButton
Left = 8
Top = 82
Width = 128
Height = 25
Caption = 'Create TRS from TXT'
TabOrder = 1
OnClick = CreateTXT2TRSClick
end
object CreateFromDTA: TButton
Left = 8
Top = 51
Width = 128
Height = 25
Caption = 'TXT from DTA&&CRM'
TabOrder = 2
OnClick = CreateFromDTAClick
end
end
object GroupBox4: TGroupBox
Left = 8
Top = 133
Width = 145
Height = 142
Caption = 'Work with translations'
TabOrder = 4
object DecompileTRA: TButton
Left = 8
Top = 17
Width = 128
Height = 25
Caption = 'Decompile TRA'
TabOrder = 0
OnClick = DecompileTRAClick
end
object CompileTRS: TButton
Left = 8
Top = 48
Width = 128
Height = 25
Caption = 'Compile TRS'
TabOrder = 1
OnClick = CompileTRSClick
end
object TRSAdder: TButton
Left = 8
Top = 79
Width = 128
Height = 25
Caption = 'TRS Adder diff'
TabOrder = 2
OnClick = TRSAdderClick
end
object CreateFrom2TXT: TButton
Left = 8
Top = 110
Width = 128
Height = 25
Caption = 'Create TRS from 2'#1093' TXT'
TabOrder = 3
OnClick = CreateFrom2TXTClick
end
end
object GroupBox5: TGroupBox
Left = 8
Top = 279
Width = 295
Height = 50
Caption = 'WFN fonts'
TabOrder = 5
object wfn2bdf: TButton
Left = 8
Top = 16
Width = 128
Height = 25
Caption = 'WFN to BDF'
TabOrder = 0
OnClick = wfn2bdfClick
end
object bdf2wfn: TButton
Left = 159
Top = 16
Width = 128
Height = 25
Caption = 'BDF to ext. WFN'
TabOrder = 1
OnClick = bdf2wfnClick
end
end
object GroupBox6: TGroupBox
Left = 8
Top = 335
Width = 295
Height = 50
Caption = 'Sprites'
TabOrder = 6
object ExtrSpr: TButton
Left = 8
Top = 14
Width = 128
Height = 25
Caption = 'Decompile sprites'
TabOrder = 0
OnClick = ExtrSprClick
end
object GenSpr: TButton
Left = 159
Top = 16
Width = 128
Height = 25
Caption = 'Compile sprites'
TabOrder = 1
OnClick = GenSprClick
end
end
object RoomBtn: TButton
Left = 177
Top = 427
Width = 128
Height = 25
Caption = #1050#1086#1084#1085#1072#1090#1099
Enabled = False
TabOrder = 7
OnClick = RoomBtnClick
end
object btn1: TButton
Left = 15
Top = 427
Width = 75
Height = 25
Caption = 'btn1'
Enabled = False
TabOrder = 8
OnClick = btn1Click
end
object btn2: TButton
Left = 96
Top = 427
Width = 75
Height = 25
Caption = 'btn2'
Enabled = False
TabOrder = 9
OnClick = btn2Click
end
object chkTRAV2: TCheckBox
Left = 167
Top = 101
Width = 115
Height = 17
Caption = 'Compile TRA for V2'
TabOrder = 10
end
object odGame: TOpenDialog
DefaultExt = '*.exe;ac2game.dat'
Filter = 'AGS Game|*.exe;ac2game.dat'
Left = 264
Top = 200
end
object odTRS: TOpenDialog
DefaultExt = '*.trs'
Filter = 'Translation TRS|*.trs'
Left = 72
Top = 144
end
object odTRA: TOpenDialog
DefaultExt = '*.tra'
Filter = 'Translation TRA|*.tra'
Left = 72
Top = 192
end
object sdTRS: TSaveDialog
DefaultExt = '*.trs'
Filter = 'AGS Translation TRS|*.trs'
Left = 112
Top = 144
end
object odLIB: TOpenDialog
DefaultExt = '*.vox;ac2game.dat'
Filter = 'All Supported Files|*.vox;ac2game.dat'
Left = 264
Top = 160
end
object odTXT: TOpenDialog
DefaultExt = '*.txt'
Filter = 'Translation Text|*.txt'
Left = 120
end
object odWFN: TOpenDialog
DefaultExt = '*.wfn'
Filter = 'AGS WFN Fonts|agsfnt*.wfn'
Left = 136
Top = 288
end
object odBDF: TOpenDialog
DefaultExt = '*.bdf'
Filter = 'Bitmap Font File|*.bdf'
Left = 264
Top = 288
end
object sdEXE: TSaveDialog
DefaultExt = '*.exe'
Filter = 'AGS Game Executable|*.exe'
Left = 264
Top = 240
end
object odSPR: TOpenDialog
DefaultExt = 'acsprset.spr'
Filter = 'AGS Sprites|acsprset.spr'
Left = 136
Top = 336
end
object sdSPR: TSaveDialog
DefaultExt = 'acsprset.spr'
FileName = 'acsprset.spr'
Filter = 'AGS Sprites|acsprset.spr'
Left = 264
Top = 344
end
object odDTACRM: TOpenDialog
DefaultExt = '*.crm;*.dta'
Filter = 'Game Main File & Rooms|*.crm;*.dta'
Title = 'Choose Main Game File DTA or Room file CRM'
Left = 119
Top = 48
end
object sdDTACRM: TSaveDialog
DefaultExt = '*.txt'
Filter = 'Text Files|*.txt'
Title = 'Save Extracted text to file'
Left = 63
Top = 48
end
end