====== ArmA 2 DePew ====== [[https://www.pmctactical.org/forum/viewforum.php?f=50|ArmA 2 Forum]], [[:arma2|ArmA 2 Home]], [[arma2:config|ArmA 2 Config]], [[arma2:file_formats|ArmA 2 File Formats]], [[arma2:missions|ArmA 2 Missions]], [[arma2:modeling|ArmA 2 3D Modeling]], [[arma2:scripting|ArmA 2 Scripting]], [[arma2:terrain|ArmA 2 Terrain]], [[arma2:texturing|ArmA 2 Texturing]], [[arma2:tools|ArmA 2 Tools]] 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 (ArmA 2). Syntax: DePew [-option(s) [import.txt]] Anyfile[.pew] [export.txt] Options: Options: none: simply analyse the pew to verify it's integrity. -LO[X][Cc]: list all objects in world tools format -LT[Cc]: list all templates -X: enhanced. (Includes relative height info) -Cc: Separation char (default is ,) -DO[Y]: delete all objects -DT[Y]: delete all templates (and objects) -I[Y]: import objects (and build templates where necessary) -R[Y]: Reduce object memory (by deleting unused) -Y: don't prompt for ask. -E[X][Cc]: Export Objects -T: will create a copy of the pewfile, using the dll's internals, and then checks it for errors. 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 Export syntax: DePew -E[X][Cc] SomePew export.txt Import Syntax: DePew -I[Y] import.txt SomePew Import works with all known forms of world tool export syntax. Specifically, one object per line. FileNameXYZ[Degrees] 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.withsix.com/projects/mikero-pbodll/files|Mikero tools homepage]] in Dev-Heaven.