User Tools

Site Tools


arma2:tools:reslodremover

ArmA 2 ResLodRemover

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

This tool is able to remove resolution LODs from binarized p3ds (ODOL) of ArmA and ArmA 2. It was created to help kju creating his PROPER vegetation pack and is now released to public with some adaptions.

Syntax:

ResLodRemover.exe src dst keepLods keepFirstLODs

src - path to binarized source p3d
dst - destination path
keepLods - integer declaring how many of the last resolution LODs shall be kept
keepFirstLODs - integer declaring how many of the first resolution LODs shall be kept

Examples:

"ResLodRemover.exe model.p3d reduced_model.p3d 2 1"

Assuming that model.p3d has 5 resolution LODs the above call would create a reduced_model.p3d with 3 resolution LODs:

  • the 2 last ones
  • and the first one from model.cfg

If model.p3d only has 3 or less resolution LODs the above call would not produce a reduced_model.p3d because no LOD could be removed.

If you want to create a p3d that only has the first resolution LOD a call would look like this:

"ResLodRemover.exe model.p3d reduced_model.p3d 0 1"

If you are just interested in the count of resolution LODs of model.p3d you can call it like this:

"ResLodRemover.exe model.p3d reduced_model.p3d 99 99"

Requires .NET Framework 3.5 and Bis.dll - Check T_D tools homepage in Dev-Heaven.

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