Jump to content
prototype1479

Converting .pac or .paa to png

Recommended Posts

@echo off
MD temp
FOR /F "tokens=1* delims=. " %%A in ('dir /b *.paa') do (
"D:\SteamLibrary\steamapps\common\Arma 3 Tools\TexView2\Pal2PacE" %%A.paa temp\%%A.png
 if ERRORLEVEL 1 goto err
)
rem move stuff to current dir and clean out temp dir.
move temp\*.png .
rd temp
pause

Can't find the pmc page, but that's what I have saved in a .bat file. Change the file path to yours

  • Thanks 1

Share this post


Link to post
Share on other sites

Can you tell me how to use this? And what if I wanted to convert .PNG to .PAC or .PAA then what do I change here?

Share this post


Link to post
Share on other sites
1 hour ago, prototype1479 said:

Can you tell me how to use this? And what if I wanted to convert .PNG to .PAC or .PAA then what do I change here?

 

Open notepad, copy code into it, save as a .bat file instead of .txt. Then put the file in the folder with the images you want to convert.

 

For png > paa etc, just change those extensions in the code

  • Thanks 1

Share this post


Link to post
Share on other sites
On 1/19/2020 at 9:01 AM, prototype1479 said:

got an error

what error?

Share this post


Link to post
Share on other sites
13 hours ago, prototype1479 said:

the one with spaces on their names doesn't get converted (also extra dots)

 

What files is that?

I can't think of any arma files that have spaces or extra dots... This from some mod? As it looks like they don't know what they are doing

Share this post


Link to post
Share on other sites
Quote

Just open the .paa in TexView 2, and Save As PNG.

I need one that mass converts it - like 2000 of them at once automatically.

 

Doing it 1 by 1 is just repetitive and uncreative work which I should be spending my time on a creative work.

 

Quote

I can't think of any arma files that have spaces or extra dots... This from some mod? As it looks like they don't know what they are doing

Yeah well... is there any other code that converts the ones with spaces and extra dots?

Share this post


Link to post
Share on other sites
On 2/1/2020 at 9:09 AM, prototype1479 said:

I need one that mass converts it - like 2000 of them at once automatically.

I thiiink, ImageToPaa/pac2pal can also be used to convert paa to png on command line. Never tried that though.

  • Thanks 1

Share this post


Link to post
Share on other sites

Please sign in to comment

You will be able to leave a comment after signing in



Sign In Now

×