User Tools

Site Tools


arma2:tools:depac

DePac

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: 2017-02-28 06:59 by snakeman