-
Notifications
You must be signed in to change notification settings - Fork 3
/
Copy pathRunAssetCooker.bat
37 lines (31 loc) · 1006 Bytes
/
RunAssetCooker.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
@echo off
echo ====================================
echo == Checking for AssetCooker exec. ==
echo ====================================
echo(
IF NOT EXIST "tools/bin/AssetCooker.exe" (
echo ERROR: AssetCooker executable not found!
echo(
echo Please download, build, and copy the executable into this directory! This is temporary..
echo You can find the code at https://github.com/jlaumon/AssetCooker
echo(
pause
exit /b 1
) ELSE (
echo AssetCooker executable found!
)
echo(
echo ====================================
echo ====== Ensure tools are built ======
echo ====================================
echo(
cmake --build build --target GltfImportTool --config Release
cmake --build build --target IESConvertTool --config Release
cmake --build build --target ArkAssetBakeTool --config Release
echo(
echo ====================================
echo ====== Launching AssetCooker! ======
echo ====================================
pushd "tools/bin"
start AssetCooker.exe
popd