PMC websites shut down October 13th 2025 unless yearly web hosting fees are paid. Please Support PMC to help keep these websites online.

Enjoyed or found this pages content useful, please Support PMC to help me keep this web page online beyond october 13th 2025 when yearly web hosting fees are due.

User Tools

Site Tools


arma:tools:pal2pace

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revisionPrevious revision
Next revision
Previous revision
arma:tools:pal2pace [2007/07/10 09:52] – external edit 127.0.0.1arma:tools:pal2pace [2024/08/01 15:28] (current) – links added. snakeman
Line 1: Line 1:
-====== Pal2PacE ======+====== ArmA 1 Pal2PacE ====== 
 + 
 +[[https://www.pmctactical.org/forum/viewforum.php?f=42|ArmA 1 Forum]], [[:arma|ArmA 1 Home]], [[arma:config|ArmA 1 Config]], [[arma:tools|ArmA 1 Tools]], [[arma:file_formats|ArmA 1 File Formats]], [[arma:missions|ArmA 1 Missions]], [[arma:modeling|ArmA 1 3D Modeling]], [[arma:terrain|ArmA 1 Terrain]], [[arma:texturing|ArmA 1 Texturing]], [[arma:scripting|ArmA 1 Scripting]] 
 + 
 +**ArmA 1** aka Armed Assault (ArmA) 
 + 
 +The official BIS tool Pal2PacE is a command line tool for texture conversion. The conversion engine is identical to [[arma:tools:texview2|TexView 2]]. See [[arma:texturing:texture_naming_rules|ArmA Texture Naming Rules]] for more information about the conversion process. 
 + 
 +Buldozer comes with pal2pace.exe and pal2pac.dll. 
 + 
 +The call is like this: 
 +<code> 
 +pal2pace -combine 4.tga 3.tga 2.tga 1.tga 1234.pac 
 +</code> 
 + 
 +(only tga -> pac possible as far as I know) 
 + 
 +So for example - texture name: 
 +<code> 
 +e1f2g4a2 
 +4 = a2 (top right) 
 +3 = g4 (top left) 
 +2 = f2 (down right) 
 +1 = e1 (down left) 
 + 
 +34 
 +12 
 + 
 +pal2pace -combine a2.tga g4.tga f2.tga e1.tga e1f2g4a2.pac 
 +</code> 
 + 
 +This is a 4 texture transition. so for a half half texture 2 two its like this: 
 +<code> 
 +pal2pace -combine g4.tga g4.tga e1.tga e1.tga e1e1g4g4.pac 
 +</code> 
 +You are best to work with some text editor capable of handling regular expressions, like EditPadPro. 
 + 
 +Search text: 
 +<code> 
 +([a-z0-9][a-z0-9])([a-z0-9][a-z0-9])([a-z0-9][a-z0-9])([a-z0-9][a-z0-9]) 
 +</code> 
 +Replacement text: 
 +<code> 
 +D:\pal2pace\pal2pace -combine \4.tga \3.tga \2.tga \1.tga \1\2\3\4.pac 
 +</code> 
 + 
 +It looks for a string of two characters or numbers each and makes the output command for it. 
 + 
 + 
 +====== Notes ====== 
 + 
 +See also [[ofp:tools:pal2pace|OFP pal2pace tool]].
  
-The official BIS tool Pal2PacE is a command line tool for texture conversion. The conversion engine is itentical to TexView 2. See [[arma:texture_naming_rules|ArmA Texture Naming Rules]] for more information about the conversion process. 
arma/tools/pal2pace.1184061153.txt.gz · Last modified: 2009/08/24 20:52 (external edit)