This shows you the differences between two versions of the page.
— |
arma2:convert-all-paa-textures-to-tga-format [2016-10-31 16:01] (current) snakeman created convert-all-paa-textures-to-tga-format initial page. |
||
---|---|---|---|
Line 1: | Line 1: | ||
+ | ====== Convert all PAA textures to TGA format ====== | ||
+ | This how to guide shows you how to convert ArmA 2 PAA texture files into TGA format in a directory. | ||
+ | |||
+ | You need to have ArmA 2 bis tools installed, specifically pal2pace.exe and in our example .bat file its assumed to be in PATH, otherwise you need to include path to it. | ||
+ | |||
+ | **convert_paa_to_tga.bat**: | ||
+ | <code dos> | ||
+ | @echo off | ||
+ | md temp | ||
+ | FOR /F "tokens=1* delims=. " %%A in ('dir /b *.paa') do ( | ||
+ | Pal2PacE %%A.paa temp\%%A.tga | ||
+ | ) | ||
+ | move temp\*.tga . | ||
+ | rd temp | ||
+ | pause | ||
+ | exit | ||
+ | </code> |