open a MSDos window and navigate to the folder containing your 5,892 .tga files (example only !

)...
at the dos prompt type...
>path=<PathToPal2Pace>
>pal2pace *.tga
It will convert all .tga's to .paa's in the same folder.
also...
>pal2pace *.png
will convert all .png files to .paa...
if you don't want to do the 'path' command then just copy pal2pace.exe to the folder where your .tga's or .png's are sitting...
cheers.
However, if you want to go from .paa to .tga format then you have to explicitly say this for each file.paa.
the easy way is to open an msdos window and navigate to the folder with the .paa's you want to convert.
At the dos prompt type...
>dir *.paa>convert.cmd
NOTE: that is .paa>convert.cmd, there is a '>' sign there... it means do the dir command and 'pipe' the output to the file convert.cmd.
Open convert.cmd in a text editor and go from something that looks like this...
Code: Select all
Volume in drive O is ArmA
Volume Serial Number is 10D3-F0C0
Directory of O:\WORK\snakeman\synMoveUV_problem\MergeTextures
11/06/2008 04:00 p.m. 43,871 001.paa
11/06/2008 04:00 p.m. 43,855 ak47_newr1d.paa
11/06/2008 04:00 p.m. 43,855 ak47_newr2d.paa
11/06/2008 04:00 p.m. 2,897 ak47_spoust.paa
11/06/2008 04:00 p.m. 43,855 bedna_big.paa
11/06/2008 04:00 p.m. 826 blck_sum.paa
11/06/2008 04:00 p.m. 11,080 bois.paa
11/06/2008 04:00 p.m. 43,855 bouda_bedna.paa
11/06/2008 04:00 p.m. 43,855 krabice.paa
11/06/2008 04:00 p.m. 43,855 krabice_2.paa
11/06/2008 04:00 p.m. 11,065 molo_drev_side.paa
11/06/2008 04:00 p.m. 43,855 prkynka_l.paa
11/06/2008 04:00 p.m. 11,065 rpg-7_s1.paa
11/06/2008 04:00 p.m. 11,065 rpg-7_s2.paa
11/06/2008 04:00 p.m. 43,855 seno01.paa
11/06/2008 04:00 p.m. 22,000 v3s_kisna_t.paa
11/06/2008 04:00 p.m. 174,934 zalchat_stena.paa
11/06/2008 04:00 p.m. 43,855 zalchat_strbot.paa
18 File(s) 683,498 bytes
0 Dir(s) 15,598,710,784 bytes free
To something that looks like this...
Code: Select all
path=o:\tools\texview2
pal2pace 001.paa 001.tga
pal2pace ak47_newr1d.paa ak47_newr1d.tga
pal2pace ak47_newr2d.paa ak47_newr2d.tga
pal2pace ak47_spoust.paa ak47_spoust.tga
pal2pace bedna_big.paa bedna_big.tga
pal2pace blck_sum.paa blck_sum.tga
pal2pace bois.paa bois.tga
pal2pace bouda_bedna.paa bouda_bedna.tga
pal2pace krabice.paa krabice.tga
pal2pace krabice_2.paa krabice_2.tga
pal2pace molo_drev_side.paa molo_drev_side.tga
pal2pace prkynka_l.paa prkynka_l.tga
pal2pace rpg-7_s1.paa rpg-7_s1.tga
pal2pace rpg-7_s2.paa rpg-7_s2.tga
pal2pace seno01.paa seno01.tga
pal2pace v3s_kisna_t.paa v3s_kisna_t.tga
pal2pace zalchat_stena.paa zalchat_stena.tga
pal2pace zalchat_strbot.paa zalchat_strbot.tga
Save it... and then go back to your dos prompt and type...
>convert.cmd
the batch file will convert the specified .paa's to .tga's...
cheers... Sy.