prototype1479 63 Posted January 18, 2020 Is there a way to convert a mass amount of .pac or .paa to png? Or even do the opposite? Share this post Link to post Share on other sites
RoF 240 Posted January 18, 2020 @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 2 Share this post Link to post Share on other sites
prototype1479 63 Posted January 19, 2020 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
RoF 240 Posted January 19, 2020 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 1 Share this post Link to post Share on other sites
prototype1479 63 Posted January 19, 2020 Thanks it worked but what about the ones that didn't get converted and got an error? Share this post Link to post Share on other sites
Dedmen 2590 Posted January 21, 2020 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
prototype1479 63 Posted January 29, 2020 the one with spaces on their names doesn't get converted (also extra dots) Share this post Link to post Share on other sites
RoF 240 Posted January 30, 2020 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
MrCrazyDude115 132 Posted January 30, 2020 Just open the .paa in TexView 2, and Save As PNG. Share this post Link to post Share on other sites
prototype1479 63 Posted February 1, 2020 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
Dedmen 2590 Posted February 4, 2020 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. 1 Share this post Link to post Share on other sites