Author: Mikero
All Mikero tools 'behave', install, and operate in an identical manner. You are strongly advised to read the General Readme once.
DeRap is aware of all binarised text files (known internally as raP) for all engine types and all extensions. Flashpoint , Xbox, Arma, Arrowhead, rvmat, bisurf,. etc etc.
All binary types will be converted into standard text class statements. With a #define to declare what engine-target this text must have been made for.
#define _ARMA_
#define _XBOX_
#define _OFP_
The resulting text output (known by Bis as paramfile data) is the same for all engines. The #define is merely a convenience for Rapify when converting back to binary, since the binary equivalents are different for each engine.
As a auto-documenting convenience, DeRap always produces an informational banner stating the time this text was produced and the file and filetime it came from. A big bonus when dealing with potentially updated source you were unaware of.
DeRap is one of the most heavily used support exes for the major Mikero tools such as pboProject, Eliteness and Arma3P.
It illustrates the benefit of using one, single, well proven, algorithm (and application) for every possible combination of the need to debinarise data. Only it is revised and updated, as appropriate, not the dozens of batch files and other exes that need extracted text.
The same philsophy is internal to dePbo. There is one place in the source code where all-things-rap, are accessed.
It is also the reason why there is only one location on your pc that this application can exist. You are not given the chance to use stale copies from 'some\where\else'.
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
Drag n drop any file onto the gui, or use its browse button.
Plain Jane text is shown in the window. It can be saved anywhere that gives you a thrill, or cut 'n pasted into whatever might give you a thrill.
Be aware that to protect you from real nasty surprises, the default output is renamed to .txt.
This to save you the embarrassment of overwriting the original file.
Rename the output suit your circumstance.
DeRap [-options] whateverFileOrFolder [whereverFileOrFolder]
Options are case insensitive.
-n
| Noisy-t
| Don't use tabbed output (use space)-P
| Don't pause-Q
| Test if file is in fact rapified.derap -Q nameOfFile
-s
| Silent (default) (DEPRECATED?)Input file versus input folder
DeRap will search the specified folder and all subfolders for rapified files.
The actual names of the files in the folders are immaterial. DeRap will examine all of them for mime-type rap. Those that are not rapped are ignored.
Hopefully obvious: if a destination is specified, it clearly must be a folder. DeRap will make that folder if not present (and all subsequent subfolders if any)
Output file or folder
GOLDEN RULE: *.bin is ALWAYS output as *.cpp irrespective of destination.
If no destination is specified:
When a destination is specified:
A check however is made that source and destination are not the same thru inadvertence (eg specifying same destination folder), if so output is appended with .txt
No Pause
Normally the exe will pause before exiting so that the user can 'see' the result. In a dos bat application this is not always wanted or desired (the bat file can or should do the pausing instead)