This shows you the differences between two versions of the page.
Both sides previous revision Previous revision | |||
arma3:batch-file-examples [2019-01-22 17:43] snakeman updated for arma3 and latest mikero tools -P parameter. |
arma3:batch-file-examples [2019-01-26 14:00] snakeman added resize paa command line header. |
||
---|---|---|---|
Line 303: | Line 303: | ||
for /f "tokens=2-4 delims=/ " %%a in ('date /T') do set day=%%b | for /f "tokens=2-4 delims=/ " %%a in ('date /T') do set day=%%b | ||
echo %year%-%month%-%day% | echo %year%-%month%-%day% | ||
+ | </code> | ||
+ | |||
+ | |||
+ | ====== Resize PAA Command Line ====== | ||
+ | |||
+ | Resize PAA file from command line. | ||
+ | |||
+ | This does all PAA files to 128 x 128 resolution in the current directory: | ||
+ | <code dos> | ||
+ | for /R %CD% %%i in (*.paa) do ( | ||
+ | echo %%i | ||
+ | "<steam>\steamapps\common\Arma 3 Tools\ImageToPAA\imagetopaa.exe" -size=128 %%i %%i | ||
+ | ) | ||
+ | pause | ||
+ | exit | ||
</code> | </code> |