Wolvenkit.CLI: Usage
Last updated
Was this helpful?
Last updated
Was this helpful?
Was this helpful?
@echo off
setlocal
set "cli_path=C:\01_apps\Wolvenkit_CLI_8_15\Wolvenkit.CLI.exe"
set "modpath=F:\CyberpunkFiles\temp"
FOR %%F IN ("%modpath%\*.archive") DO (
SET "baseName=%%~nF"
"%cli_path%" uncook -p "%%F" -o "%modpath%\output" REM -w *.xbm --uext png
REM Move PNG files and preserve relative paths
FOR /R "%modpath%\output" %%G IN (*.png) DO (
SET "relPath=%%~pG"
SETLOCAL enabledelayedexpansion
SET "newDir=%modpath%\out\!baseName!\!relPath!"
mkdir "!newDir!" >nul 2>&1
move "%%G" "!newDir!"
ENDLOCAL
)
)
PAUSE
EXIT