User Tools

Site Tools


arma2:tools:depac

ArmA 2 DePac

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

DePac is a powerful analyzer of any PAC / PAA files.

Under all options, it lists the internal structure of the file:

  • It's type
  • It's Tags
  • The compression used (and whether ok)
  • The the sizes of the mipmaps

In addition, it will scan given folder(s) for all PAC's or all PAA's of a given type.

Thus, you can rapidly search for instance the p:/ca folder for DXT1 *paa

Output is produced on screen.

Syntax:

DePac [-options] Anyfile[.pac | .paa]
DePac [-options] AnyFolder
DePac [-options] FileList[.txt | .lst]
DePac [-options] PboName[.pbo | .xbo | .ebo]

-options (case insensitive)

 -N  Noisy (default)
 -B  brief (dir listing). best used for folder and or T scan
 -T<typelist> only list pac of type n. IF SPECIFIED must be last option

Type list

A typelist causes depac to only list specific types of paa.

A typelist is obviously only useful in conjunction with folder or pbo scan

The list consists of one or more comma separated values.

These values can either be expressed as hexadecimal, or the type name as follows

    0xFF0n =DXTn (n==1..7)
    0x1555 =RGB5
    0x4444 =RGB4
    0x8888 =RGB8
    0x8080 =GREY
    0x8080 =GRAY // alternate spelling
    0x4747 =INDX

File list

A FileList is useful in your projects where you *should* be checking quality-of-work before issuing to the public and you don't want a folder scan because some pac are still under development.

Example:

Depac -B MyGreatListOfShould-Be-Good-Pac

Or, simply point depac to the folder under review.

Specifying a pbo, obviously, looks for given pac in a given pbo

Examples:

DePac thisfile
Depac -btDXT1,DXT2,DXT5 ThisFolder // list (briefly) only files of type DXT which might be in ThisFolder
Depac -tINDX ThisPbo.pbo           // list only ofp pac-pallete types if they're in this pbo

Requires DePbo.dll - Check Mikero tools homepage in Dev-Heaven.

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