CPP File Format: Difference between revisions

From Bohemia Interactive Community
Jump to navigation Jump to search
mNo edit summary
 
m (Text replacement - "{{unsupported-doc}}" to "{{Feature|UnsupportedDoc}}")
 
(7 intermediate revisions by one other user not shown)
Line 1: Line 1:
{{unsupported-doc}}
{{Feature|UnsupportedDoc}}


FileExtension .cpp is a generic identifier that indicates the contents are to be raPified (binarised)
FileExtension .cpp is a generic identifier that ''indicates'' the contents contain pre-raPified text and ''can'' be raPified (binarised). This is by-convention-only. The ''actual'' contents could be binarised already. The engine doesn't care.


The only 'official' use of cpp are in addon [[Config File Format|config.cpp]] files. ***By convention only***, #include files can also be called cpp,hpp or h. All includes, indicate some form of rapifiable text, OR, sqf statements.
The binarised (raPified) equivalent of any .cpp file is .bin.
 
There are currently several cpp/bin files used by bis.
 
*[[Config.cpp/bin File Format|Config.cpp/bin]]
*[[Mod.cpp/bin File Format|Mod.cpp/bin]]
*[[Product.cpp/bin File Format|Product.cpp/bin]]
*[[Resource.cpp/bin]] // OFP only
 
In all circumstances, a .cpp, if present in the same folder, takes precedence. (the .bin is ignored).


[[Category:BIS_File_Formats]]
[[Category:BIS_File_Formats]]

Latest revision as of 15:56, 1 February 2021

bi symbol white.png
Disclaimer: This page describes internal undocumented structures of Bohemia Interactive software.

This page contains unofficial information.

Some usage of this information may constitute a violation of the rights of Bohemia Interactive and is in no way endorsed or recommended by Bohemia Interactive.
Bohemia Interactive is not willing to tolerate use of such tools if it contravenes any general licenses granted to end users of this community wiki or BI products.

FileExtension .cpp is a generic identifier that indicates the contents contain pre-raPified text and can be raPified (binarised). This is by-convention-only. The actual contents could be binarised already. The engine doesn't care.

The binarised (raPified) equivalent of any .cpp file is .bin.

There are currently several cpp/bin files used by bis.

In all circumstances, a .cpp, if present in the same folder, takes precedence. (the .bin is ignored).