User Tools

Site Tools


arma2:tools:depew

ArmA 2 DePew

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

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.

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

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 Mikero tools homepage in Dev-Heaven.

arma2/tools/depew.txt · Last modified: 2024/08/02 11:04 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.