forked from Lknechtli/BetterCombatEvolved
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathpack.bat
25 lines (19 loc) · 984 Bytes
/
pack.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
cd "C:\Program Files (x86)\Witcher 3 Mod Tools\bin\x64"
setlocal
set modName=modTriangle
set unpackedPath=C:\W3mods\BetterCombatEvolved\temp
xcopy "%unpackedPath%\content\scripts" "C:\GOG Games\The Witcher 3 Wild Hunt\Mods\%modName%\content\scripts" /S/K/I/Y
rmdir "%unpackedPath%\content\scripts" /S/Q
set isEmpty=true
for /F %%i in ('dir /b /a "%unpackedPath%\content\*"') do (
if not "%%i" == "scripts" (
set isEmpty=false
)
)
if "%isEmpty%" == "false" (
wcc_lite pack -dir="%unpackedPath%\content" -outdir="C:\GOG Games\The Witcher 3 Wild Hunt\Mods\%modName%\content"
wcc_lite metadatastore -path="C:\GOG Games\The Witcher 3 Wild Hunt\Mods\%modName%\content"
)
@echo off
REM wcc_lite uncook -skiperrors -indir="C:\GOG Games\The Witcher 3 Wild Hunt\content\content0\bundles" -outdir="C:\W3mods\modReference"
REM wcc_lite uncook -skiperrors -indir="C:\GOG Games\The Witcher 3 Wild Hunt\Mods\modShmadrian\content" -outdir="C:\W3mods\derp"