recon
Recon:
Recon OFP modding utility: Binarizes an addon, puts optimized
data into a PBO and copies it to a mod/addons directory.
Place the recon.exe into the same directory as bin.bat and
binarize.exe. Use recon.exe at your own risk!
Usage:
recon ADDONNAME MODNAME [-hwtl] [-nobin] [-binconf] [-binpath BINPATH]
[-noversion] [-ofppath OFPPATH] [-createdir]
Checks first ADDONNAME\config.cpp for errors, then
runs binarize on P3Ds and WRPs in directory ADDONNAME, packs
files from Opt\ADDONNAME into ADDONNAME.pbo and copies it over
to MODNAME\addons.
Command line parameters
-hwtl: Run binarize with -hwtl (hardware texture and lighting)
-nobin: Don't binarize addon, just PBO and copy to addons-dir
-binconf: binarize the config.cpp (you need cfgcheck.exe)
-binpath BINPATH: path to binarize.exe
-ofppath OFPPATH: path to OFP / ArmA directory
-createdir: create Mod directory, if it does not exist
-noversion: Don't create version file
Example:
create BISman-addon and copy into @ECP\addons-mod directory:
recon BISman @ECP
Example 2:
create BISbus-addons, binarize config, binarize with Hardware
Texture and Lighting, copy into @ECP\addons:
recon BISbus @ECP -binconf -hwtl
Example 3:
create myNoe-addon, binarize with old version of binarize (that
doesn't crash on WRP-files), copy into mymod\addons:
recon myNoe mymod -binpath oldbinarize.exe
Important:
There has to be a config.cpp in the addon directory (binarize requires
a config.cpp). If CfgCheck.exe is in the same directory as recon, then
recon will call CfgCheck and check the config.cpp, and abort if any
errors occur in the config.cpp. CfgCheck is recommended; for binarizing
Configs, CfgCheck is required!
Additionally, the MODNAME\Addons-directory has to exist in the OFP/ArmA-
directory. The OFP-directory is automatically retrieved from the Windows
registry.
Overview:
RECON is a utility for automatization of the following addon testing/creation
tasks:
binarize, create PBO, copy PBO to OFP addons directory.
Tipps:
If your addon contains textures/images that aren't used in any
model/island, then you should create dummy models, that use
those textures/images. This is useful for injury textures,
damage textures, faces, icons and other uses of textures that
aren't used by any model directly (ie setObjectTexture).
Just create a plane with many x- and y-segments, texture the segments
and they will be copied to the Opt-directory and RECON packs them
into the PBO.
Author:
Lukas Pinkowski, vektorboson@gmx.de
Version:
1.11
BUGS:
Unknown
Date:
June 01, 2006
History:
1.11
- Fixed: Bug in Preprocessor with TABS after Macro-Definitions
1.10
- Added: -ofppath parameter, if OFP is not found
- Changed: use -createdir parameter to create nonexistent Mod
directories
- Improved: Some error and info messages
1.9
- Fixed: Copies sub-directories into OPT\addon
- Changed: Build/Version file structure
1.8
- Changed: Build/Version number is increased after correct configcheck
- Added: Version SQF file generation
- Added: Build/Version file contains date information
- Added: -binpath command line parameter
1.7
- Added: Build/Version number file generation
- Added: -noversion (suppress version file)
1.6
- Fixed: removed bin.bat requirement
1.5
- Fixed: -hwtl parameter now works
1.4
- Added: -binconf parameter
1.3
- Added: -nobin parameter
1.2
- Added: creates Mod+addons directories, if they don't exist
1.1
- Added: Checks for config.cpp in addon-directory (required!)
- Added: Checks for cfgcheck and uses it for config.cpp
1.0
initial version
Page generated by Ddoc. (C) 2005-2006 Lukas Pinkowski, vektorboson@gmx.de