-
Notifications
You must be signed in to change notification settings - Fork 1
Expand file tree
/
Copy pathbuild.bat
More file actions
87 lines (73 loc) · 2.37 KB
/
Copy pathbuild.bat
File metadata and controls
87 lines (73 loc) · 2.37 KB
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
@echo off
del "AITD-tools.zip"
rd /s/q ".\LifeDISA\LifeDISA\bin\Release\net9.0-windows\"
rd /s/q ".\MemoryViewer\MemoryViewer\bin\Release\net9.0-windows\"
rd /s/q ".\TrackDISA\TrackDISA\bin\Release\net9.0\"
rd /s/q ".\VarsViewer\VarsViewer\bin\Release\net9.0\"
rd /s/q ".\PAKExtract\PAKExtract\bin\Release\net9.0-windows\"
rd /s/q ".\MoviePlayer\MoviePlayer\bin\Release\net9.0\"
dotnet build -c Release ".\LifeDISA\LifeDISA.slnx"
if %ERRORLEVEL% NEQ 0 pause
dotnet build -c Release ".\MemoryViewer\MemoryViewer.slnx"
if %ERRORLEVEL% NEQ 0 pause
dotnet build -c Release ".\TrackDISA\TrackDISA.slnx"
if %ERRORLEVEL% NEQ 0 pause
dotnet build -c Release ".\VarsViewer\VarsViewer.slnx"
if %ERRORLEVEL% NEQ 0 pause
dotnet build -c Release ".\PAKExtract\PAKExtract.slnx"
if %ERRORLEVEL% NEQ 0 pause
dotnet build -c Release ".\MoviePlayer\MoviePlayer.slnx"
if %ERRORLEVEL% NEQ 0 pause
if exist C:\MinGW\bin\gcc.exe (
C:\MinGW\bin\gcc.exe -shared -O2 -s "UnPAK\unpak.c" -o "UnPAK\bin\Release\UnPAK.dll"
if %ERRORLEVEL% NEQ 0 pause
)
"%PROGRAMFILES%\7-Zip\7z" a -tzip "LifeDISA.zip" ^
".\LifeDISA\LifeDISA\bin\Release\net9.0-windows\*" ^
"-x!*\" ^
"-mx=9"
if %ERRORLEVEL% NEQ 0 pause
"%PROGRAMFILES%\7-Zip\7z" a -tzip "MemoryViewer.zip" ^
".\MemoryViewer\MemoryViewer\bin\Release\net9.0-windows\*" ^
"-x!*\" ^
"-mx=9"
if %ERRORLEVEL% NEQ 0 pause
"%PROGRAMFILES%\7-Zip\7z" a -tzip "TrackDISA.zip" ^
".\TrackDISA\TrackDISA\bin\Release\net9.0\*" ^
"-x!*\" ^
"-mx=9"
if %ERRORLEVEL% NEQ 0 pause
"%PROGRAMFILES%\7-Zip\7z" a -tzip "VarsViewer.zip" ^
".\VarsViewer\VarsViewer\bin\Release\net9.0\*" ^
"-x!*\" ^
"-mx=9"
if %ERRORLEVEL% NEQ 0 pause
"%PROGRAMFILES%\7-Zip\7z" a -tzip "PAKExtract.zip" ^
".\PAKExtract\PAKExtract\bin\Release\net9.0-windows\*" ^
"-x!*\" ^
"-mx=9"
if %ERRORLEVEL% NEQ 0 pause
"%PROGRAMFILES%\7-Zip\7z" a -tzip "MoviePlayer.zip" ^
".\MoviePlayer\MoviePlayer\bin\Release\net9.0\*" ^
"-x!*\" ^
"-mx=9"
if %ERRORLEVEL% NEQ 0 pause
md "%TEMP%\GAMEDATA"
copy /y ".\GAMEDATA\vars.txt" "%TEMP%\GAMEDATA"
"%PROGRAMFILES%\7-Zip\7z" a -tzip "AITD-tools.zip" ^
"%TEMP%\GAMEDATA" ^
"LifeDISA.zip" ^
"MemoryViewer.zip" ^
"TrackDISA.zip" ^
"VarsViewer.zip" ^
"PAKExtract.zip" ^
"MoviePlayer.zip" ^
"-mx=9"
if %ERRORLEVEL% NEQ 0 pause
rd /s/q "%TEMP%\GAMEDATA"
del "LifeDISA.zip"
del "MemoryViewer.zip"
del "TrackDISA.zip"
del "VarsViewer.zip"
del "PAKExtract.zip"
del "MoviePlayer.zip"