Author: Mikero
All Mikero tools 'behave', install, and operate in an identical manner. You are strongly advised to read the General Readme once.
Except for Operation Flashpoint, Dep3d is not intended to reverse engineer odol p3d's back to mlods
Without options, DeP3d simply inspects any p3d for errors.
With options, you can:
Output is generally produced on screen
A no nonsense auto installer saving you sweat and tears.
Do not run this, or any tool from bis, as administrator.
'Admin' is not what you think it is, it is an alias for 'Microsoft Office Use only'.
Consider yourself warned.
Grab the self installers for these here
DeP3d [-options...] Anyfile[.p3d] | AnyFolder | Any List | "Comma,Separated,list"
Options are case insensitive.
none
| List type of p3d and nlods and verify integrity-?
| List syntax-P
| Don't pause-W
| Warnings are errors (for trailing spaces in named selections)-S[nn]
| List all named selections. (see below)-Es
| folder | nameof[.p3d] | <file.list> : Extract skeleton(s) to <model.cfg>.-Em
| folder | nameof[.p3d] | <file.list> Extract rvmats to screen.-Ex
| List skeleton name (if any) to screen-2
| Ofp to arma mlod-O
| Origami-FL[nn]
| List files (see below)-FX
| Fix files (see below)-GX
| Edit lod properties (see below) (DEPRECATED)-GL[nn] [-lod=whatever]
| List properties-GDname [-lod=whatever]
| Delete property-GSname=value [-lod=whatever]
| Add or change-LL
| List lods-LB
| List boundingboxAll dos tools operate this way, not just dep3d.
It is useful to quickly scan a folder, series of folders, or a list of p3d's looking for changes to the format.
One such example is introduction of a physx lod.
To that end, and in keeping with other pbo tools, dep3d accepts scan syntax on the command line (-options are assumed).
dir /b somefolder > some.lst
.dep3d will convert ODOL (binarised) to MLOD (unbinarised) origami (paper) models.
They have no use whatsoever to the thief but will prove useful/instructive for everyone else.
The purpose of providing this feature is to allow authors the create either encrypted, or obfuscated pbos AND supply origami for map makers so that those models can also be used in maps.
dep3d will convert any OFP p3d (binarised, unbinarised, or demo) to arma mlod. This is the only 'reverse engineering' allowed.
All credit to kju for remorseless testing of 'undocumented features' in this section.
You can list, change, add or delete properties with the following syntax:
+|-GL[nn] [-lod=whatever ]
| List lod(s)
[nn] is an optional number in decimal or hex. By default, is zero.
[nn] translates to a bit field. The combined values are as follows:
-GLname
| List all lods with this named property
-GDname [-lod=whatever]
Delete property
-GSname=value [-lod=whatever]
| Set/add/change
-GSname=value
| Change only, do not add
Examples
listing | -GL -lod=2 | list all properties in the 2nd lod |
-GL -lod=7.0e15 | list all properties in the firegeometry lod | |
-GL -lod=Memory | list all properties in the Memory lod | |
-GL | list all properties all lods | |
-GL4 | list only lods that have properties | |
-GLname | list all properties of lods that have this property | |
delete | -GDname | delete 'name' from all lods |
-GDname -lod=1000.0 | delete 'name' from the viewgunner lod | |
set | -GSname=value -lod=Geometry | Change or add property in the geolod |
-GSname=value -lod=1.0e15 | Change or add property in the memory lod | |
-GSname=value | Change value in all lods that have it. (mass add not permitted) |
LOD RESOLUTIONS
-lod=whatever can be a physical lod number OR a lod's resolution OR the 'accepted' name of the lod itself as below (case insensitive).
lod's accepted name or, lod's resolution
All all lods
ViewGunner 1000.0
ViewPilot 1100.0
ViewCargo 1200.0
ViewCargoGeom 1202.0
shadowvolumes 10000.0 ...
edits 20000.0 ...
Geometry 1.0e13
Bouyancy 2.0e13
Physx(old) 3.0e13
Physx 4.0e13
Memory 1.0e15
LandContact 2.0e15
Roadway 3.0e15
Paths 4.0e15
Hitpoints 5.0e15
ViewGeometry 6.0e15
FireGeometry 7.0e15
ViewCargoGeometry 8.0e15
ViewCargoFireGeometry 9.0e15
ViewCommander 1.0e16
ViewCommanderGeometry 1.1e16
ViewCommanderFireGeometry 1.2e16
ViewPilotGeometry 1.3e16
ViewPilotFireGeometry 1.4e16
ViewGunnerGeometry 1.5e16
ViewGunnerFireGeometry 1.6e16
SubParts 1.7e16
ShadowVolumeViewCargo 1.8e16
ShadowVolumeViewPilot 1.9e16
ShadowVolumeViewGunner 2.0e16
Wreck 2.1e16
Also referred to as 'sections' in a model.cfg)
dep3d -S[n]
The default is to:
[n] is optional n and, by default, is zero.
n is a decimal number which translates to a bit field. The combined values are as follows: