User Tools

Site Tools


arma2:terrain:howto-convert-layers-png-fast

ArmA 2 Converting Layers\*.png Fast

ArmA 2 Forum, ArmA 2 Home, ArmA 2 Config, ArmA 2 File Formats, ArmA 2 Missions, ArmA 2 3D Modeling, ArmA 2 Scripting, ArmA 2 Terrain, ArmA 2 Texturing, ArmA 2 Tools

If you get tired of waiting Visitor 3 buldozer to finish converting layers directory PNG files to PAA format, then you can setup pal2pace to run this faster.

Make a .bat file in your data\ directory, write these lines into it (in this example our path is c:\armatools\texview2\):

rem mask - quick, as they are simple images with few colors
START "" /D"%CD%" /B "c:\armatools\texview2\pal2pace" layers\m_*.png

rem satellite texture
rem 1st
START "" /D"%CD%" /B "c:\armatools\texview2\pal2pace" layers\s_00*.png

rem 2nd
START "" /D"%CD%" /B "c:\armatools\texview2\pal2pace" layers\s_01*.png

rem 3rd
START "" /D"%CD%" /B "c:\armatools\texview2\pal2pace" layers\s_02*.png

rem 4th
START "" /D"%CD%" /B "c:\armatools\texview2\pal2pace" layers\s_03*.png

rem 5th
START "" /D"%CD%" /B "c:\armatools\texview2\pal2pace" layers\s_04*.png

Now run the batch file. What happens now is that six (6) pal2pace processes are run at the same time. You can see the PNG's get converted much faster than what buldozer does, or single pal2pace would do alone.

The trick is that when buldozer does one PNG at the time, these pal2pace's will convert six at the time. This means that you need to have Dual or Quad Core processor so it spreads out the load to the separate cores.

Of course you can tweak the number of processes run, but on large satellite texture sizes the PNG's range from 000 up to 042 or even more. Please adjust the .bat file to meet PNG's of your project.

m1lkm8n created youtube video version of this guide.

arma2/terrain/howto-convert-layers-png-fast.txt · Last modified: 2024/08/02 09:03 by snakeman

Except where otherwise noted, content on this wiki is licensed under the following license: CC Attribution-Share Alike 4.0 International
CC Attribution-Share Alike 4.0 International Donate Powered by PHP Valid HTML5 Valid CSS Driven by DokuWiki

All PMC web site download services are temporarily suspended until web site yearly fees have been recovered, want to download addons/mods? Then Support PMC.

If you are grateful for all the work PMC has done in the past 25 years, use Support PMC page.