forked from MangosExtras/MangosOne_Localised
-
Notifications
You must be signed in to change notification settings - Fork 0
/
4_InstallLocales.bat
581 lines (520 loc) · 26.4 KB
/
4_InstallLocales.bat
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
350
351
352
353
354
355
356
357
358
359
360
361
362
363
364
365
366
367
368
369
370
371
372
373
374
375
376
377
378
379
380
381
382
383
384
385
386
387
388
389
390
391
392
393
394
395
396
397
398
399
400
401
402
403
404
405
406
407
408
409
410
411
412
413
414
415
416
417
418
419
420
421
422
423
424
425
426
427
428
429
430
431
432
433
434
435
436
437
438
439
440
441
442
443
444
445
446
447
448
449
450
451
452
453
454
455
456
457
458
459
460
461
462
463
464
465
466
467
468
469
470
471
472
473
474
475
476
477
478
479
480
481
482
483
484
485
486
487
488
489
490
491
492
493
494
495
496
497
498
499
500
501
502
503
504
505
506
507
508
509
510
511
512
513
514
515
516
517
518
519
520
521
522
523
524
525
526
527
528
529
530
531
532
533
534
535
536
537
538
539
540
541
542
543
544
545
546
547
548
549
550
551
552
553
554
555
556
557
558
559
560
561
562
563
564
565
566
567
568
569
570
571
572
573
574
575
576
577
578
579
580
581
@ECHO OFF
set addrealmentry=YES
set DBType=POPULATED
set activity=N
set locFR=NO
set locES=NO
set locDE=NO
set locKO=NO
set locCH=NO
set locTW=NO
set locRU=NO
set locIT=NO
set locMX=NO
rem -- Change the values below to match your server --
set mysql=Tools\
set svr=localhost
set user=root
set pass=mangos
set port=3306
set wdb=mangos1
set wdborig=mangos1
set cdb=character1
set cdborig=character1
set rdb=realmd
set rdborig=realmd
rem -- Don't change past this point --
:main
color 0e
CLS
echo.
echo __ __ _ _ ___ ___ ___
echo ^| \/ ^|__ _^| \^| ^|/ __^|/ _ \/ __^| Database Localisation
echo ^| ^|\/^| / _` ^| .` ^| (_ ^| (_) \__ \
echo ^|_^| ^|_\__,_^|_^|\_^|\___^|\___/^|___/ Loader v0.01
echo.
echo _____________________________________________________________
echo.
echo Website / Forum / Wiki: https://getmangos.eu
echo _____________________________________________________________
echo.
ECHO.
echo Locales : F - Toggle French (%locFR%)
echo G - Toggle German (%locDE%)
echo R - Toggle Russian (%locRU%)
echo C - Toggle Chinese (%locCH%)
echo T - Toggle Taiwanese (%locTW%)
echo S - Toggle Spanish (%locES%)
echo M - Toggle Spanish (Mexican) (%locMX%)
echo K - Toggle Korean (%locKO%)
echo I - Toggle Italian (%locIT%)
echo.
echo N - Next Step
echo X - Exit
echo.
set /p activity=. Please select an activity ? :
if %activity% == F goto ToggleLocFR:
if %activity% == f goto ToggleLocFR:
if %activity% == G goto ToggleLocDE:
if %activity% == g goto ToggleLocDE:
if %activity% == R goto ToggleLocRU:
if %activity% == r goto ToggleLocRU:
if %activity% == T goto ToggleLocTW:
if %activity% == t goto ToggleLocTW:
if %activity% == C goto ToggleLocCH:
if %activity% == c goto ToggleLocCH:
if %activity% == M goto ToggleLocMX:
if %activity% == m goto ToggleLocMX:
if %activity% == S goto ToggleLocES:
if %activity% == s goto ToggleLocES:
if %activity% == K goto ToggleLocKO:
if %activity% == k goto ToggleLocKO:
if %activity% == I goto ToggleLocIT:
if %activity% == i goto ToggleLocIT:
if %activity% == N goto Step1:
if %activity% == n goto Step1:
if %activity% == X goto done:
if %activity% == x goto done:
if %activity%. == . goto main:
goto main
:ToggleLocFR
if %locFR% == NO goto ToggleLocFRNo:
if %locFR% == YES goto ToggleLocFRYes:
goto main
:ToggleLocFRNo
set locFR=YES
goto main
:ToggleLocFRYes
set locFR=NO
goto main
:ToggleLocCH
if %locCH% == NO goto ToggleLocCHNo:
if %locCH% == YES goto ToggleLocCHYes:
goto main
:ToggleLocCHNo
set locCH=YES
goto main
:ToggleLocCHYes
set locCH=NO
goto main
:ToggleLocTW
if %locTW% == NO goto ToggleLocTWNo:
if %locTW% == YES goto ToggleLocTWYes:
goto main
:ToggleLocTWNo
set locTW=YES
goto main
:ToggleLocTWYes
set locTW=NO
goto main
:ToggleLocDE
if %locDE% == NO goto ToggleLocDENo:
if %locDE% == YES goto ToggleLocDEYes:
goto main
:ToggleLocDENo
set locDE=YES
goto main
:ToggleLocDEYes
set locDE=NO
goto main
:ToggleLocES
if %locES% == NO goto ToggleLocESNo:
if %locES% == YES goto ToggleLocESYes:
goto main
:ToggleLocESNo
set locES=YES
goto main
:ToggleLocESYes
set locES=NO
goto main
:ToggleLocMX
if %locMX% == NO goto ToggleLocMXNo:
if %locMX% == YES goto ToggleLocMXYes:
goto main
:ToggleLocMXNo
set locMX=YES
goto main
:ToggleLocMXYes
set locMX=NO
goto main
:ToggleLocRU
if %locRU% == NO goto ToggleLocRUNo:
if %locRU% == YES goto ToggleLocRUYes:
goto main
:ToggleLocRUNo
set locRU=YES
goto main
:ToggleLocRUYes
set locRU=NO
goto main
:ToggleLocIT
if %locIT% == NO goto ToggleLocITNo:
if %locIT% == YES goto ToggleLocITYes:
goto main
:ToggleLocITNo
set locIT=YES
goto main
:ToggleLocITYes
set locIT=NO
goto main
:ToggleLocKO
if %locKO% == NO goto ToggleLocKONo:
if %locKO% == YES goto ToggleLocKOYes:
goto main
:ToggleLocKONo
set locKO=YES
goto main
:ToggleLocKOYes
set locKO=NO
goto main
:Step1
if not exist %mysql%\mysql.exe then goto patherror
color 08
CLS
echo.
echo __ __ _ _ ___ ___ ___
echo ^| \/ ^|__ _^| \^| ^|/ __^|/ _ \/ __^| Database Setup
echo ^| ^|\/^| / _` ^| .` ^| (_ ^| (_) \__ \
echo ^|_^| ^|_\__,_^|_^|\_^|\___^|\___/^|___/ and World Loader
echo.
echo _____________________________________________________________
echo.
echo.
set /p svr=What is your MySQL host name? [%svr%] :
if %svr%. == . set svr=localhost
set /p user=What is your MySQL user name? [%user%] :
if %user%. == . set user=root
set /p pass=What is your MySQL password? [%pass%] :
if %pass%. == . set pass=mangos
set /p port=What is your MySQL port? [%port%] :
if %port%. == . set port=3306
set showWorld=1
if %showWorld% == 1 set /p wdb=What is your World database name? [%wdb%] :
if %wdb%. == . set wdb=%wdborig%
color 02
:WorldDB
if %locFR% == YES goto LoadFR:
:WorldDB1
if %locDE% == YES goto LoadDE:
:WorldDB2
if %locKO% == YES goto LoadKO:
:WorldDB3
if %locCH% == YES goto LoadCH:
:WorldDB4
if %locTW% == YES goto LoadTW:
:WorldDB5
if %locES% == YES goto LoadES:
:WorldDB6
if %locMX% == YES goto LoadMX:
:WorldDB7
if %locRU% == YES goto LoadRU:
:WorldDB8
if %locIT% == YES goto LoadIT:
goto done:
:LoadFR
echo Loading French Locale into World Database %wdb%
echo .... Command (1/14)
%mysql%mysql -q -s -h %svr% --user=%user% --password=%pass% --port=%port% %wdb% < Translations\French\French_CommandHelp.sql
echo .... Creatures (2/14)
%mysql%mysql -q -s -h %svr% --user=%user% --password=%pass% --port=%port% %wdb% < Translations\French\French_Creature.sql
echo .... Creature AI Texts (3/14)
%mysql%mysql -q -s -h %svr% --user=%user% --password=%pass% --port=%port% %wdb% < Translations\French\French_Creature_AI_Texts.sql
echo .... DB Script Strings (4/14)
%mysql%mysql -q -s -h %svr% --user=%user% --password=%pass% --port=%port% %wdb% < Translations\French\French_db_script_string.sql
echo .... GameObjects (5/14)
%mysql%mysql -q -s -h %svr% --user=%user% --password=%pass% --port=%port% %wdb% < Translations\French\French_Gameobject.sql
echo .... Gossip Texts (6/14)
%mysql%mysql -q -s -h %svr% --user=%user% --password=%pass% --port=%port% %wdb% < Translations\French\French_Gossip_texts.sql
echo .... Gossip_Menu_option (7/14)
%mysql%mysql -q -s -h %svr% --user=%user% --password=%pass% --port=%port% %wdb% < Translations\French\French_Gossip_Menu_option.sql
echo .... Items (8/14)
%mysql%mysql -q -s -h %svr% --user=%user% --password=%pass% --port=%port% %wdb% < Translations\French\French_Items.sql
echo .... Mangos String (9/14)
%mysql%mysql -q -s -h %svr% --user=%user% --password=%pass% --port=%port% %wdb% < Translations\French\French_Mangos_String.sql
echo .... PageText (10/14)
%mysql%mysql -q -s -h %svr% --user=%user% --password=%pass% --port=%port% %wdb% < Translations\French\French_PageText.sql
echo .... Points of Interest (11/14)
%mysql%mysql -q -s -h %svr% --user=%user% --password=%pass% --port=%port% %wdb% < Translations\French\French_Points_of_interest.sql
echo .... Quests (12/14)
%mysql%mysql -q -s -h %svr% --user=%user% --password=%pass% --port=%port% %wdb% < Translations\French\French_Quest.sql
echo .... Script Texts (13/14)
%mysql%mysql -q -s -h %svr% --user=%user% --password=%pass% --port=%port% %wdb% < Translations\French\French_Script_Texts.sql
echo .... NpcText (14/14)
%mysql%mysql -q -s -h %svr% --user=%user% --password=%pass% --port=%port% %wdb% < Translations\French\French_NpcText.sql
goto WorldDB1:
:LoadDE
echo Loading German Locale into World Database %wdb%
echo .... Command (1/14)
%mysql%mysql -q -s -h %svr% --user=%user% --password=%pass% --port=%port% %wdb% < Translations\German\German_CommandHelp.sql
echo .... Creatures (2/14)
%mysql%mysql -q -s -h %svr% --user=%user% --password=%pass% --port=%port% %wdb% < Translations\German\German_Creature.sql
echo .... Creature AI Texts (3/14)
%mysql%mysql -q -s -h %svr% --user=%user% --password=%pass% --port=%port% %wdb% < Translations\German\German_Creature_ai_texts.sql
echo .... DB Script Strings (4/14)
%mysql%mysql -q -s -h %svr% --user=%user% --password=%pass% --port=%port% %wdb% < Translations\German\German_db_script_string.sql
echo .... GameObjects (5/14)
%mysql%mysql -q -s -h %svr% --user=%user% --password=%pass% --port=%port% %wdb% < Translations\German\German_Gameobject.sql
echo .... Gossip Texts (6/14)
%mysql%mysql -q -s -h %svr% --user=%user% --password=%pass% --port=%port% %wdb% < Translations\German\German_Gossip_texts.sql
echo .... Gossip_Menu_option (7/14)
%mysql%mysql -q -s -h %svr% --user=%user% --password=%pass% --port=%port% %wdb% < Translations\German\German_Gossip_Menu_option.sql
echo .... Items (8/14)
%mysql%mysql -q -s -h %svr% --user=%user% --password=%pass% --port=%port% %wdb% < Translations\German\German_Items.sql
echo .... Mangos String (9/14)
%mysql%mysql -q -s -h %svr% --user=%user% --password=%pass% --port=%port% %wdb% < Translations\German\German_Mangos_String.sql
echo .... PageText (10/14)
%mysql%mysql -q -s -h %svr% --user=%user% --password=%pass% --port=%port% %wdb% < Translations\German\German_PageText.sql
echo .... Points of Interest (11/14)
%mysql%mysql -q -s -h %svr% --user=%user% --password=%pass% --port=%port% %wdb% < Translations\German\German_Points_of_interest.sql
echo .... Quests (12/14)
%mysql%mysql -q -s -h %svr% --user=%user% --password=%pass% --port=%port% %wdb% < Translations\German\German_Quest.sql
echo .... Script Texts (13/14)
%mysql%mysql -q -s -h %svr% --user=%user% --password=%pass% --port=%port% %wdb% < Translations\German\German_Script_Texts.sql
echo .... NpcText (14/14)
%mysql%mysql -q -s -h %svr% --user=%user% --password=%pass% --port=%port% %wdb% < Translations\German\German_NpcText.sql
goto WorldDB2:
:LoadKO
echo Loading Korean Locale into World Database %wdb%
echo .... Command (1/14)
%mysql%mysql -q -s -h %svr% --user=%user% --password=%pass% --port=%port% %wdb% < Translations\Korean\Korean_CommandHelp.sql
echo .... Creatures (2/14)
%mysql%mysql -q -s -h %svr% --user=%user% --password=%pass% --port=%port% %wdb% < Translations\Korean\Korean_Creature.sql
echo .... Creature AI Texts (3/14)
%mysql%mysql -q -s -h %svr% --user=%user% --password=%pass% --port=%port% %wdb% < Translations\Korean\Korean_Creature_ai_texts.sql
echo .... DB Script Strings (4/14)
%mysql%mysql -q -s -h %svr% --user=%user% --password=%pass% --port=%port% %wdb% < Translations\Korean\Korean_db_script_string.sql
echo .... GameObjects (5/14)
%mysql%mysql -q -s -h %svr% --user=%user% --password=%pass% --port=%port% %wdb% < Translations\Korean\Korean_Gameobject.sql
echo .... Gossip Texts (6/14)
%mysql%mysql -q -s -h %svr% --user=%user% --password=%pass% --port=%port% %wdb% < Translations\Korean\Korean_Gossip_texts.sql
echo .... Gossip Menu Option (7/14)
%mysql%mysql -q -s -h %svr% --user=%user% --password=%pass% --port=%port% %wdb% < Translations\Korean\Korean_Gossip_Menu_option.sql
echo .... Items (8/14)
%mysql%mysql -q -s -h %svr% --user=%user% --password=%pass% --port=%port% %wdb% < Translations\Korean\Korean_Items.sql
echo .... Mangos String (9/14)
%mysql%mysql -q -s -h %svr% --user=%user% --password=%pass% --port=%port% %wdb% < Translations\Korean\Korean_Mangos_String.sql
echo .... PageText (10/14)
%mysql%mysql -q -s -h %svr% --user=%user% --password=%pass% --port=%port% %wdb% < Translations\Korean\Korean_PageText.sql
echo .... Points of Interest (11/14)
%mysql%mysql -q -s -h %svr% --user=%user% --password=%pass% --port=%port% %wdb% < Translations\Korean\Korean_Points_of_interest.sql
echo .... Quests (12/14)
%mysql%mysql -q -s -h %svr% --user=%user% --password=%pass% --port=%port% %wdb% < Translations\Korean\Korean_Quest.sql
echo .... Script Texts (13/14)
%mysql%mysql -q -s -h %svr% --user=%user% --password=%pass% --port=%port% %wdb% < Translations\Korean\Korean_Script_Texts.sql
echo .... NpcText (14/14)
%mysql%mysql -q -s -h %svr% --user=%user% --password=%pass% --port=%port% %wdb% < Translations\Korean\Korean_NpcText.sql
goto WorldDB3:
:LoadCH
echo Loading Chinese Locale into World Database %wdb%
echo .... Command (1/14)
%mysql%mysql -q -s -h %svr% --user=%user% --password=%pass% --port=%port% %wdb% < Translations\Chinese\Chinese_CommandHelp.sql
echo .... Creatures (2/14)
%mysql%mysql -q -s -h %svr% --user=%user% --password=%pass% --port=%port% %wdb% < Translations\Chinese\Chinese_Creature.sql
echo .... Creature AI Texts (3/14)
%mysql%mysql -q -s -h %svr% --user=%user% --password=%pass% --port=%port% %wdb% < Translations\Chinese\Chinese_Creature_ai_texts.sql
echo .... DB Script Strings (4/14)
%mysql%mysql -q -s -h %svr% --user=%user% --password=%pass% --port=%port% %wdb% < Translations\Chinese\Chinese_db_script_string.sql
echo .... GameObjects (5/14)
%mysql%mysql -q -s -h %svr% --user=%user% --password=%pass% --port=%port% %wdb% < Translations\Chinese\Chinese_Gameobject.sql
echo .... Gossip Texts (6/14)
%mysql%mysql -q -s -h %svr% --user=%user% --password=%pass% --port=%port% %wdb% < Translations\Chinese\Chinese_Gossip_texts.sql
echo .... Gossip Menu Option (7/14)
%mysql%mysql -q -s -h %svr% --user=%user% --password=%pass% --port=%port% %wdb% < Translations\Chinese\Chinese_Gossip_Menu_option.sql
echo .... Items (8/14)
%mysql%mysql -q -s -h %svr% --user=%user% --password=%pass% --port=%port% %wdb% < Translations\Chinese\Chinese_Items.sql
echo .... Mangos String (9/14)
%mysql%mysql -q -s -h %svr% --user=%user% --password=%pass% --port=%port% %wdb% < Translations\Chinese\Chinese_Mangos_String.sql
echo .... PageText (10/14)
%mysql%mysql -q -s -h %svr% --user=%user% --password=%pass% --port=%port% %wdb% < Translations\Chinese\Chinese_PageText.sql
echo .... Points of Interest (11/14)
%mysql%mysql -q -s -h %svr% --user=%user% --password=%pass% --port=%port% %wdb% < Translations\Chinese\Chinese_Points_of_interest.sql
echo .... Quests (12/14)
%mysql%mysql -q -s -h %svr% --user=%user% --password=%pass% --port=%port% %wdb% < Translations\Chinese\Chinese_Quest.sql
echo .... Script Texts (13/14)
%mysql%mysql -q -s -h %svr% --user=%user% --password=%pass% --port=%port% %wdb% < Translations\Chinese\Chinese_Script_Texts.sql
echo .... NpcText (14/14)
%mysql%mysql -q -s -h %svr% --user=%user% --password=%pass% --port=%port% %wdb% < Translations\Chinese\Chinese_NpcText.sql
goto WorldDB4:
:LoadTW
echo Loading Taiwanese Locale into World Database %wdb%
echo .... Command (1/14)
%mysql%mysql -q -s -h %svr% --user=%user% --password=%pass% --port=%port% %wdb% < Translations\Taiwanese\Taiwanese_CommandHelp.sql
echo .... Creatures (2/14)
%mysql%mysql -q -s -h %svr% --user=%user% --password=%pass% --port=%port% %wdb% < Translations\Taiwanese\Taiwanese_Creature.sql
echo .... Creature AI Texts (3/14)
%mysql%mysql -q -s -h %svr% --user=%user% --password=%pass% --port=%port% %wdb% < Translations\Taiwanese\Taiwanese_Creature_ai_texts.sql
echo .... DB Script Strings (4/14)
%mysql%mysql -q -s -h %svr% --user=%user% --password=%pass% --port=%port% %wdb% < Translations\Taiwanese\Taiwanese_db_script_string.sql
echo .... GameObjects (5/14)
%mysql%mysql -q -s -h %svr% --user=%user% --password=%pass% --port=%port% %wdb% < Translations\Taiwanese\Taiwanese_Gameobject.sql
echo .... Gossip Texts (6/14)
%mysql%mysql -q -s -h %svr% --user=%user% --password=%pass% --port=%port% %wdb% < Translations\Taiwanese\Taiwanese_Gossip_texts.sql
echo .... Gossip Menu Option (7/14)
%mysql%mysql -q -s -h %svr% --user=%user% --password=%pass% --port=%port% %wdb% < Translations\Taiwanese\Taiwanese_Gossip_Menu_option.sql
echo .... Items (8/14)
%mysql%mysql -q -s -h %svr% --user=%user% --password=%pass% --port=%port% %wdb% < Translations\Taiwanese\Taiwanese_Items.sql
echo .... Mangos String (9/14)
%mysql%mysql -q -s -h %svr% --user=%user% --password=%pass% --port=%port% %wdb% < Translations\Taiwanese\Taiwanese_Mangos_String.sql
echo .... PageText (10/14)
%mysql%mysql -q -s -h %svr% --user=%user% --password=%pass% --port=%port% %wdb% < Translations\Taiwanese\Taiwanese_PageText.sql
echo .... Points of Interest (11/14)
%mysql%mysql -q -s -h %svr% --user=%user% --password=%pass% --port=%port% %wdb% < Translations\Taiwanese\Taiwanese_Points_of_interest.sql
echo .... Quests (12/14)
%mysql%mysql -q -s -h %svr% --user=%user% --password=%pass% --port=%port% %wdb% < Translations\Taiwanese\Taiwanese_Quest.sql
echo .... Script Texts (13/14)
%mysql%mysql -q -s -h %svr% --user=%user% --password=%pass% --port=%port% %wdb% < Translations\Taiwanese\Taiwanese_Script_Texts.sql
echo .... NpcText (14/14)
%mysql%mysql -q -s -h %svr% --user=%user% --password=%pass% --port=%port% %wdb% < Translations\Taiwanese\Taiwanese_NpcText.sql
goto WorldDB5:
:LoadES
echo Loading Spanish Locale into World Database %wdb%
echo .... Command (1/14)
%mysql%mysql -q -s -h %svr% --user=%user% --password=%pass% --port=%port% %wdb% < Translations\Spanish\Spanish_CommandHelp.sql
echo .... Creatures (2/14)
%mysql%mysql -q -s -h %svr% --user=%user% --password=%pass% --port=%port% %wdb% < Translations\Spanish\Spanish_Creature.sql
echo .... Creature AI Texts (3/14)
%mysql%mysql -q -s -h %svr% --user=%user% --password=%pass% --port=%port% %wdb% < Translations\Spanish\Spanish_Creature_ai_texts.sql
echo .... DB Script Strings (4/14)
%mysql%mysql -q -s -h %svr% --user=%user% --password=%pass% --port=%port% %wdb% < Translations\Spanish\Spanish_db_script_string.sql
echo .... GameObjects (5/14)
%mysql%mysql -q -s -h %svr% --user=%user% --password=%pass% --port=%port% %wdb% < Translations\Spanish\Spanish_Gameobject.sql
echo .... Gossip Texts (6/14)
%mysql%mysql -q -s -h %svr% --user=%user% --password=%pass% --port=%port% %wdb% < Translations\Spanish\Spanish_Gossip_texts.sql
echo .... Gossip Menu Option (7/14)
%mysql%mysql -q -s -h %svr% --user=%user% --password=%pass% --port=%port% %wdb% < Translations\Spanish\Spanish_Gossip_Menu_Option.sql
echo .... Items (8/14)
%mysql%mysql -q -s -h %svr% --user=%user% --password=%pass% --port=%port% %wdb% < Translations\Spanish\Spanish_Items.sql
echo .... Mangos String (9/14)
%mysql%mysql -q -s -h %svr% --user=%user% --password=%pass% --port=%port% %wdb% < Translations\Spanish\Spanish_Mangos_String.sql
echo .... PageText (10/14)
%mysql%mysql -q -s -h %svr% --user=%user% --password=%pass% --port=%port% %wdb% < Translations\Spanish\Spanish_PageText.sql
echo .... Points of Interest (11/14)
%mysql%mysql -q -s -h %svr% --user=%user% --password=%pass% --port=%port% %wdb% < Translations\Spanish\Spanish_Points_of_interest.sql
echo .... Quests (12/14)
%mysql%mysql -q -s -h %svr% --user=%user% --password=%pass% --port=%port% %wdb% < Translations\Spanish\Spanish_Quest.sql
echo .... Script Texts (13/14)
%mysql%mysql -q -s -h %svr% --user=%user% --password=%pass% --port=%port% %wdb% < Translations\Spanish\Spanish_Script_Texts.sql
echo .... NpcText (14/14)
%mysql%mysql -q -s -h %svr% --user=%user% --password=%pass% --port=%port% %wdb% < Translations\Spanish\Spanish_NpcText.sql
goto WorldDB6:
:LoadMX
echo Loading Spanish (south American) Locale into World Database %wdb%
echo .... Command (1/14)
%mysql%mysql -q -s -h %svr% --user=%user% --password=%pass% --port=%port% %wdb% < Translations\Spanish_South_American\SpanishSA_CommandHelp.sql
echo .... Creatures (2/14)
%mysql%mysql -q -s -h %svr% --user=%user% --password=%pass% --port=%port% %wdb% < Translations\Spanish_South_American\SpanishSA_Creature.sql
echo .... Creature AI Texts (3/14)
%mysql%mysql -q -s -h %svr% --user=%user% --password=%pass% --port=%port% %wdb% < Translations\Spanish_South_American\SpanishSA_Creature_ai_texts.sql
echo .... DB Script Strings (4/14)
%mysql%mysql -q -s -h %svr% --user=%user% --password=%pass% --port=%port% %wdb% < Translations\Spanish_South_American\SpanishSA_db_script_string.sql
echo .... GameObjects (5/14)
%mysql%mysql -q -s -h %svr% --user=%user% --password=%pass% --port=%port% %wdb% < Translations\Spanish_South_American\SpanishSA_Gameobject.sql
echo .... Gossip Texts (6/14)
%mysql%mysql -q -s -h %svr% --user=%user% --password=%pass% --port=%port% %wdb% < Translations\Spanish_South_American\SpanishSA_Gossip_texts.sql
echo .... Gossip Menu Option (7/14)
%mysql%mysql -q -s -h %svr% --user=%user% --password=%pass% --port=%port% %wdb% < Translations\Spanish_South_American\SpanishSA_Gossip_Menu_option.sql
echo .... Items (8/14)
%mysql%mysql -q -s -h %svr% --user=%user% --password=%pass% --port=%port% %wdb% < Translations\Spanish_South_American\SpanishSA_Items.sql
echo .... Mangos String (9/14)
%mysql%mysql -q -s -h %svr% --user=%user% --password=%pass% --port=%port% %wdb% < Translations\Spanish_South_American\SpanishSA_Mangos_String.sql
echo .... PageText (10/14)
%mysql%mysql -q -s -h %svr% --user=%user% --password=%pass% --port=%port% %wdb% < Translations\Spanish_South_American\SpanishSA_PageText.sql
echo .... Points of Interest (11/14)
%mysql%mysql -q -s -h %svr% --user=%user% --password=%pass% --port=%port% %wdb% < Translations\Spanish_South_American\SpanishSA_Points_of_interest.sql
echo .... Quests (12/14)
%mysql%mysql -q -s -h %svr% --user=%user% --password=%pass% --port=%port% %wdb% < Translations\Spanish_South_American\SpanishSA_Quest.sql
echo .... Script Texts (13/14)
%mysql%mysql -q -s -h %svr% --user=%user% --password=%pass% --port=%port% %wdb% < Translations\Spanish_South_American\SpanishSA_Script_Texts.sql
echo .... NpcText (14/14)
%mysql%mysql -q -s -h %svr% --user=%user% --password=%pass% --port=%port% %wdb% < Translations\Spanish_South_American\SpanishSA_NpcText.sql
goto WorldDB7:
:LoadRU
echo Loading Russian Locale into World Database %wdb%
echo .... Command (1/14)
%mysql%mysql -q -s -h %svr% --user=%user% --password=%pass% --port=%port% %wdb% < Translations\Russian\Russian_CommandHelp.sql
echo .... Creatures (2/14)
%mysql%mysql -q -s -h %svr% --user=%user% --password=%pass% --port=%port% %wdb% < Translations\Russian\Russian_Creature.sql
echo .... Creature AI Texts (3/14)
%mysql%mysql -q -s -h %svr% --user=%user% --password=%pass% --port=%port% %wdb% < Translations\Russian\Russian_Creature_AI_Texts.sql
echo .... DB Script Strings (4/14)
%mysql%mysql -q -s -h %svr% --user=%user% --password=%pass% --port=%port% %wdb% < Translations\Russian\Russian_db_script_string.sql
echo .... GameObjects (5/14)
%mysql%mysql -q -s -h %svr% --user=%user% --password=%pass% --port=%port% %wdb% < Translations\Russian\Russian_Gameobject.sql
echo .... Gossip Texts (6/14)
%mysql%mysql -q -s -h %svr% --user=%user% --password=%pass% --port=%port% %wdb% < Translations\Russian\Russian_Gossip_texts.sql
echo .... Gossip Menu Option (7/14)
%mysql%mysql -q -s -h %svr% --user=%user% --password=%pass% --port=%port% %wdb% < Translations\Russian\Russian_Gossip_Menu_option.sql
echo .... Items (8/14)
%mysql%mysql -q -s -h %svr% --user=%user% --password=%pass% --port=%port% %wdb% < Translations\Russian\Russian_Items.sql
echo .... Mangos String (9/14)
%mysql%mysql -q -s -h %svr% --user=%user% --password=%pass% --port=%port% %wdb% < Translations\Russian\Russian_Mangos_String.sql
echo .... PageText (10/14)
%mysql%mysql -q -s -h %svr% --user=%user% --password=%pass% --port=%port% %wdb% < Translations\Russian\Russian_PageText.sql
echo .... Points of Interest (11/14)
%mysql%mysql -q -s -h %svr% --user=%user% --password=%pass% --port=%port% %wdb% < Translations\Russian\Russian_Points_of_interest.sql
echo .... Quests (12/14)
%mysql%mysql -q -s -h %svr% --user=%user% --password=%pass% --port=%port% %wdb% < Translations\Russian\Russian_Quest.sql
echo .... Script Texts (13/14)
%mysql%mysql -q -s -h %svr% --user=%user% --password=%pass% --port=%port% %wdb% < Translations\Russian\Russian_Script_Texts.sql
echo .... NpcText (14/14)
%mysql%mysql -q -s -h %svr% --user=%user% --password=%pass% --port=%port% %wdb% < Translations\Russian\Russian_NpcText.sql
goto WorldDB8:
:LoadIT
echo Loading Italian Locale into World Database %wdb%
echo .... Command (1/14)
%mysql%mysql -q -s -h %svr% --user=%user% --password=%pass% --port=%port% %wdb% < Translations\Italian\Italian_CommandHelp.sql
echo .... Creatures (2/14)
%mysql%mysql -q -s -h %svr% --user=%user% --password=%pass% --port=%port% %wdb% < Translations\Italian\Italian_Creature.sql
echo .... Creature AI Texts (3/14)
%mysql%mysql -q -s -h %svr% --user=%user% --password=%pass% --port=%port% %wdb% < Translations\Italian\Italian_Creature_AI_Texts.sql
echo .... DB Script Strings (4/14)
%mysql%mysql -q -s -h %svr% --user=%user% --password=%pass% --port=%port% %wdb% < Translations\Italian\Italian_db_script_string.sql
echo .... GameObjects (5/14)
%mysql%mysql -q -s -h %svr% --user=%user% --password=%pass% --port=%port% %wdb% < Translations\Italian\Italian_Gameobject.sql
echo .... Gossip Texts (6/14)
%mysql%mysql -q -s -h %svr% --user=%user% --password=%pass% --port=%port% %wdb% < Translations\Italian\Italian_Gossip_texts.sql
echo .... Gossip Menu Option (7/14)
%mysql%mysql -q -s -h %svr% --user=%user% --password=%pass% --port=%port% %wdb% < Translations\Italian\Italian_Gossip_Menu_option.sql
echo .... Items (8/14)
%mysql%mysql -q -s -h %svr% --user=%user% --password=%pass% --port=%port% %wdb% < Translations\Italian\Italian_Items.sql
echo .... Mangos String (9/14)
%mysql%mysql -q -s -h %svr% --user=%user% --password=%pass% --port=%port% %wdb% < Translations\Italian\Italian_Mangos_String.sql
echo .... PageText (10/14)
%mysql%mysql -q -s -h %svr% --user=%user% --password=%pass% --port=%port% %wdb% < Translations\Italian\Italian_PageText.sql
echo .... Points of Interest (11/14)
%mysql%mysql -q -s -h %svr% --user=%user% --password=%pass% --port=%port% %wdb% < Translations\Italian\Italian_Points_of_interest.sql
echo .... Quests (12/14)
%mysql%mysql -q -s -h %svr% --user=%user% --password=%pass% --port=%port% %wdb% < Translations\Italian\Italian_Quest.sql
echo .... Script Texts (13/14)
%mysql%mysql -q -s -h %svr% --user=%user% --password=%pass% --port=%port% %wdb% < Translations\Italian\Italian_Script_Texts.sql
echo .... NpcText (14/14)
%mysql%mysql -q -s -h %svr% --user=%user% --password=%pass% --port=%port% %wdb% < Translations\Italian\Italian_NpcText.sql
goto done:
:patherror
echo Cannot find required files.
pause
goto :error
:error
echo _____________________________________________________________
echo.
echo Install Database Process Failed
echo _____________________________________________________________
echo.
goto finish:
:done
color 08
echo.
echo __ __ _ _ ___ ___ ___
echo ^| \/ ^|__ _^| \^| ^|/ __^|/ _ \/ __^| Database Localisation
echo ^| ^|\/^| / _` ^| .` ^| (_ ^| (_) \__ \
echo ^|_^| ^|_\__,_^|_^|\_^|\___^|\___/^|___/ Loader
echo.
echo _____________________________________________________________
echo.
echo Database Creation and Load complete
echo _____________________________________________________________
echo.
echo Done :)
echo.
:finish
pause