====== ArmA 2 DePac ======
[[https://www.pmctactical.org/forum/viewforum.php?f=50|ArmA 2 Forum]], [[:arma2|ArmA 2 Home]], [[arma2:config|ArmA 2 Config]], [[arma2:file_formats|ArmA 2 File Formats]], [[arma2:missions|ArmA 2 Missions]], [[arma2:modeling|ArmA 2 3D Modeling]], [[arma2:scripting|ArmA 2 Scripting]], [[arma2:terrain|ArmA 2 Terrain]], [[arma2:texturing|ArmA 2 Texturing]], [[arma2:tools|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 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 [[http://dev.withsix.com/projects/mikero-pbodll/files|Mikero tools homepage]] in Dev-Heaven.