aboutsummaryrefslogtreecommitdiff
path: root/Minecraft.Client/Common/res/TitleUpdate/GameRules/BuildOnly/BuildGameRule_Durango.cmd
blob: bebbbd8e1334fcbabd5f0f34fafb67aa274d071a (plain)
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
@ECHO OFF

set RULENAME=%1
cd %RULENAME%

rem set TOOLS=..\..\..\..\..\..\Tools

echo Durango

echo Building Localisation...
%TOOLS%\NewLocalisationPacker --oldFormat Microsoft %CD%\Strings_Durango %CD%\languages.loc

echo Building Game Rules...
%TOOLS%\GameRulesPacker -i %CD%\GameRules.xml -o %CD%\ -c zlibrle

echo Building DLC Pack...
%TOOLS%\DLC_DataCreator2_CL --LittleEndian  %CD%\%RULENAME%.xml

rem Return the new tutorial.
copy %RULENAME%.pck ..\..\%RULENAME%_Durango.pck

echo Cleaning-up...
rem del %CD%\languages.loc
rem del %CD%\GameRules.grf
rem del %CD%\%RULENAME%.pck

echo Finished.
cd ..