User Tools

Site Tools


arma2:tools:depew

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
Last revision Both sides next revision
arma2:tools:depew [2012-08-02 07:54]
snakeman added new depew info.
arma2:tools:depew [2012-09-17 07:03]
snakeman fixed manual typo.
Line 1: Line 1:
 ====== DePew ====== ====== DePew ======
  
-DePew is a simple application which analyses PEW files, exports/​imports objects and deletes objects/​templates.+DePew is a simple application which analyses PEW files, exports / imports objects and deletes objects / templates.
  
-Formats supported range from Pose57(elite) thru to Pose60 (a2)+Formats supported range from Pose57 (Elite) thru to Pose60 (ArmA 2).
  
 Syntax: Syntax:
Line 12: Line 12:
 Options: Options:
 <​code>​ <​code>​
-none: simply analyse the pew to verify it's integrity. +Options:  
--LO: list all objects + none:​ simply analyse the pew to verify it's integrity. 
--LT: list all templates + -LO[X][Cc]: list all objects ​in world tools format 
--DO[Y]: delete all objects + -LT[Cc]: list all templates 
--DT[Y]: delete all templates (and objects) + -X:​ enhanced. (Includes relative height info) 
--I[Y]: import objects (and build templates where necessary) + -Cc:​ Separation char (default is ,) 
--Y: don't prompt for ask. + -DO[Y]: delete all objects 
--E: export objects in Visitor 3 script format. + -DT[Y]: delete all templates (and objects) 
--EX: ehnhanced eXport (includes relative height info) + -I[Y]: import objects (and build templates where necessary
--T: will create a copy of the pewfile, using the dll's internals, and then checks it for errors. + -R[Y]:​ Reduce object memory (by deleting unused
-this is a confidence test of the dll, not, the pew + -Y:             ​don't prompt for ask. 
--P: pause on completion + -E[X][Cc]: Export Objects 
--RReduce object memory ​(by deleting unused+ -T: will create a copy of the pewfile, using the dll's internals, and then checks it for errors. 
-</​code>​+ this is a confidence test of the dll, not, the pew 
 + -P: pause on completion 
 + -K: no pause on error (useful for bat commands which will test the return val anyway) 
 + -A: Add offsets x,y (and optionally z). See below 
 + -U: show usage stats of objects and templates 
 +</​code>​
  
 Export syntax: Export syntax:
  
-DePew -E[X] SomePew export.txt+DePew -E[X][Cc] SomePew export.txt
  
 Import Syntax: Import Syntax:
  
-DePew -I import.txt SomePew+DePew -I[Y] import.txt SomePew
  
-Import works with all known forms of Visitor 3 export syntax. Specifically +Import works with all known forms of world tool export syntax. Specificallyone object per line.
- +
-one object per line+
  
 FileName<​separator>​X<​separator>​Y<​separator>​Z[<​Separator>​Degrees]<​optional separator>​ FileName<​separator>​X<​separator>​Y<​separator>​Z[<​Separator>​Degrees]<​optional separator>​
  
 <​separator>​ can be ; , | or space. Spaces if used in a file name must (obviously) be enclosed in quotes <​separator>​ can be ; , | or space. Spaces if used in a file name must (obviously) be enclosed in quotes
 +
 +Add Offsets
 +
 +Operates at two different levels
 +
 +-A x,y[,z] import.txt SomePew : Will add offsets ONLY to imported.txt\\
 +-A x,y[,z] SomePew : Will add offsets to ALL current pew objects.
  
 Requires DePbo.dll - Check [[http://​dev-heaven.net/​projects/​mikero-pbodll|Mikero tools homepage]] in Dev-Heaven. Requires DePbo.dll - Check [[http://​dev-heaven.net/​projects/​mikero-pbodll|Mikero tools homepage]] in Dev-Heaven.
arma2/tools/depew.txt · Last modified: 2017-02-28 07:02 by snakeman