Author: Mikero
All Mikero tools 'behave', install, and operate in an identical manner. You are strongly advised to read the General Readme once.
Rapify will binarise files into either flashpoint or elite/arma format.
The default is ARMA rapification and can be overridden on the command line to produce ofp format.
ANY file irrespective of it is extension, can be binarised. Thus *.rvmat, *.bikb *.ext *.fsm, *.cpp, *.sqm
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
Rapify [options...] whatever [wherever]
Options are case insensitive.
Rapify provides protection against overwriting the source file (since both plain text and bin file can have same extension)
UNCONDITIONAL: *.cpp to *.bin OR
whatever. * to whatever.*.bin OR
-S
| Silent (default)
-N
| Noisy. show processing
-A
| Arma compile (default)
-X
| *Xbox compile *
-O
| OFP compile
-E
| Enhanced lintchecking (extern file checks)
-L
| Lint check only (no save file)
-P
| Don't pause on error
-U
| Warnings are errors
-W
| Warnings are errors
Requires that the external file is in the 'correct' location on the <root> drive. This because all internal references are HARD WIRED to the <root> drive.
The <root> drive is ordinarily P: and it means you would
normally extract arma pbo's to achieve this miracle. (Use Arma3P).
Missions can also use relative addressing. There are other subtle nuances to missions and campaigns such as location of the ext folder, mission.sqm should normally be tested inside it is own package folder
There is NO difference in plain text between the them. It is impossible for the dll to determine which way to compile the binary unless it's told how to.
The default compile is for Arma. The -O option specifies OFP.
However, it is very, very good practice on your part to be specific, since future engines may use the extract same text (but their binary might be different again).
#define _ARMA_ // current default or
#define _OFP_ // or
#define_ XBOX_
Should be placed at the top of your config.cpp.
(Note that the dll automatically does this for you on any tool using Derapify)
Similarly the options:
-a // arma (current default)
-o // ofp
-x // xbox
Should be specified on the command line.
You have been warned.
XBOX ELITE
For xbox files that require authentication keys use
#define_ XBOX_
The 20 key sig will be autogenerated by this application.
access=
This is a reserved keyword from bis which is only ever encountered in the bin\config.bin.
It is 'there' to prevent inadvertent, or malicious, alteration of base characteristics for the engine.
A common mistake is to copy pasta this token when re-creating some class found in bin\config.bin.
A mod author has no reason to ever 'protect' his generated class, let alone alter what's there already.
superflous ;
More than one ;
has been encountered. This is acceptable in c syntax: and is treated as white space (ignored). Unfortunately bis binarise will crash if it encounters it when creating maps.
triailing , in an array
A trailing comma is in an array. This is acceptable in c syntax: and is treated as white space (ignored). Unfortunately bis binarise will crash if it encounters it when creating maps. Fsm files have this.