1
0
mirror of https://github.com/JezuzLizard/BO2-Reimagined.git synced 2025-06-07 21:59:49 -05:00

Add build.bat

This commit is contained in:
Jbleezy 2023-12-25 14:55:11 -08:00
parent 6fb352ce1f
commit 4089eed44f
2 changed files with 17 additions and 1 deletions

1
.gitignore vendored
View File

@ -2,7 +2,6 @@
*.ff *.ff
*.iwd *.iwd
*.dds *.dds
build.bat
_zm_test.gsc _zm_test.gsc
games_mp.log games_mp.log
zmStats zmStats

17
build.bat Normal file
View File

@ -0,0 +1,17 @@
@echo off
set GAME_BASE=D:\Games\Steam\steamapps\common\Call of Duty Black Ops II
set OAT_BASE=C:\OpenAssetTools
set MOD_BASE=%cd%
"%OAT_BASE%\build\bin\Release_x86\Linker.exe" ^
--load "%GAME_BASE%\zone\all\zm_tomb.ff" ^
--load "%GAME_BASE%\zone\all\zm_buried.ff" ^
--load "%GAME_BASE%\zone\all\zm_prison.ff" ^
--load "%GAME_BASE%\zone\all\common_mp.ff" ^
--load "%GAME_BASE%\zone\all\frontend.ff" ^
--base-folder "%OAT_BASE%" ^
--asset-search-path "%MOD_BASE%" ^
--source-search-path "%MOD_BASE%\zone_source" ^
--output-folder "%MOD_BASE%" mod
if %ERRORLEVEL% NEQ 0 pause