Author: Mikero
All Mikero tools 'behave', install, and operate in an identical manner. You are strongly advised to read the General Readme once.
Detex lists, compares or creates the Texheaders.bin from paX files.
Note that pax means paa or pac. With a minor exception that will never be encountered anywhwere except flashpoint's indexed-pac files, they are treated identically.
Brief description of what a texheader is.
A texheader contains brief information about every paX file in the starting directory (if any), and all subsequent folders. It is used in conjunction with the creation of a pbo, and would normally reside in the root folder of that pbo.
Unlike all other file\references in bis, this file contains addresses relative to where the texheader is located. In effect, relative to the root of the pbo, not the prefix.
The contents of a texheader is quite small and contains the essential details of
where each mipmap is in each paX,
the type of paX format (dxt, argb1555, etc)
the all important type of pax file _suffix (_co,_ca, _nohq, etc)
texheaders were introduced in the game engine, as of operation arrowhead. Prior to this, the same information was generated during the game.exe load time.
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
Unless explicitly overridden, the default filename for reading or writing is 'texheaders.bin'
DeTex [-options] infileOrFolder [OutfileOrFolder]
Options are case insensitive.
-P
| Don't pause-M
| Make-N
| Make noisy-C
| CompareAnalyses the texheader and displays on screen, and any subsequent texheaders in the subfolders.
detex -M p:/my_pProject/Folder [destination\FILE]
creates a teheaders bin at the root of a project\folder
optionally, this file can be written elsewhere (but serves no real purpose)
detex -C this\folder that\folder
compares one (or several) texheaders agaisnt each other. Useful for large teams wanting to know if sommething has changed from the original.