PMC websites shut down September 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 september 13th 2025 when yearly web hosting fees are due.

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