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 revision Previous revision
Next revision
Previous revision
arma:tools:pal2pace [2007-07-10 09:52]
127.0.0.1 external edit
arma:tools:pal2pace [2009-08-24 20:52] (current)
Line 1: Line 1:
 ====== Pal2PacE ====== ====== Pal2PacE ======
  
-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.+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]].
arma/tools/pal2pace.1184061153.txt.gz · Last modified: 2009-08-24 20:52 (external edit)