The Outforce OPF: Difference between revisions
Jump to navigation
Jump to search
imported>Ikskoks |
imported>Ikskoks |
||
| (13 intermediate revisions by the same user not shown) | |||
| Line 11: | Line 11: | ||
<div class="toccolours mw-collapsible" id="mw-customcollapsible-myDivision" style="width:800px; overflow:auto;"> | <div class="toccolours mw-collapsible" id="mw-customcollapsible-myDivision" style="width:800px; overflow:auto;"> | ||
<pre> | <pre> | ||
// | // HEADER | ||
23 - Signature (Outforce Packed Content) | |||
4 - Version? (29) | |||
2 - Project Name Length (21) | |||
21 - Project Name (Outforce Base Project) | |||
2 - Developer Name Length (8) | |||
8 - Developer Name (O3 Games) | |||
2 - Email Length (16) | |||
16 - Email (Info@o3games.com) | |||
4 - Description Length (including null terminator) (132) | |||
131 - Description | |||
1 - null Terminator | |||
2 - Unknown (1) | |||
8 - null | |||
// IMAGE DIRECTORY AND FILE DATA | |||
4 - Number of Images | |||
// for each Image | |||
2 - Filename Length | |||
X - Filename | |||
2 - Source File Path Length | |||
X - Source File Path | |||
2 - Drive Length | |||
X - Drive | |||
4 - Image Width | |||
4 - Image Height | |||
4 - Red Bits? | |||
4 - Green Bits? | |||
4 - Blue Bits? | |||
4 - Alpha Bits? | |||
4 - Unknown (257) | |||
4 - Unknown | |||
4 - Unknown (32) | |||
74 - Unknown | |||
4 - Number of Colors (can be null) | |||
4 - Number of Colors (can be null) | |||
// for each color | |||
1 - Red | |||
1 - Green | |||
1 - Blue | |||
1 - Alpha | |||
4 - File Length | |||
X - File Data (JPEG Image) | |||
// SCRIPTS DIRECTORY AND FILE DATA | |||
4 - Number of Scripts | |||
// for each Script | |||
2 - Filename Length | |||
X - Filename | |||
899 - File Data | |||
// CLASSES DIRECTORY AND FILE DATA | |||
4 - Number of Classes | |||
// for each class | |||
2 - Class Type Length | |||
X - Class Type (CBaseClass, CUnit, etc) | |||
5 - Unknown | |||
4 - null | |||
2 - Filename Length | |||
X - Filename | |||
26 - null (can have some data in here, but usually null) | |||
4 - Unknown (16256) | |||
4 - Unknown (16256) | |||
4 - Unknown (16256) | |||
X - File Data (complicated structure) | |||
</pre> | </pre> | ||
</div> | </div> | ||
| Line 17: | Line 88: | ||
=== Notes and Comments === | === Notes and Comments === | ||
* The Outforce has | * The Outforce has "'''PackedProject.OPF'''" file stored inside "'''Content.box'''" archive in "Outforce" directory. | ||
* Game has been created on '''O3D Engine'''. | |||
=== Games === | === Games === | ||
| Line 29: | Line 101: | ||
=== Compatible Programs === | === Compatible Programs === | ||
* Game Extractor (see [https://github.com/wattostudios/GameExtractor/blob/master/src/org/watto/ge/plugin/archive/Plugin_OPF_OUTFORCE.java Plugin_OPF_OUTFORCE.java] source code) | |||
=== See Also === | |||
* [[The Outforce BOX]] | |||
* [http://www.watto.org/specs.html?specs=Archive_OPF_OUTFORCE OPF file format (watto.org)] | |||
<br/><br> | <br/><br> | ||
Latest revision as of 20:10, 29 July 2022
Back to index | Edit this page
OPF
- Format Type : Archive
- Endian Order : Little Endian
- Signature : Outforce Packed Content
Format Specifications
// HEADER
23 - Signature (Outforce Packed Content)
4 - Version? (29)
2 - Project Name Length (21)
21 - Project Name (Outforce Base Project)
2 - Developer Name Length (8)
8 - Developer Name (O3 Games)
2 - Email Length (16)
16 - Email (Info@o3games.com)
4 - Description Length (including null terminator) (132)
131 - Description
1 - null Terminator
2 - Unknown (1)
8 - null
// IMAGE DIRECTORY AND FILE DATA
4 - Number of Images
// for each Image
2 - Filename Length
X - Filename
2 - Source File Path Length
X - Source File Path
2 - Drive Length
X - Drive
4 - Image Width
4 - Image Height
4 - Red Bits?
4 - Green Bits?
4 - Blue Bits?
4 - Alpha Bits?
4 - Unknown (257)
4 - Unknown
4 - Unknown (32)
74 - Unknown
4 - Number of Colors (can be null)
4 - Number of Colors (can be null)
// for each color
1 - Red
1 - Green
1 - Blue
1 - Alpha
4 - File Length
X - File Data (JPEG Image)
// SCRIPTS DIRECTORY AND FILE DATA
4 - Number of Scripts
// for each Script
2 - Filename Length
X - Filename
899 - File Data
// CLASSES DIRECTORY AND FILE DATA
4 - Number of Classes
// for each class
2 - Class Type Length
X - Class Type (CBaseClass, CUnit, etc)
5 - Unknown
4 - null
2 - Filename Length
X - Filename
26 - null (can have some data in here, but usually null)
4 - Unknown (16256)
4 - Unknown (16256)
4 - Unknown (16256)
X - File Data (complicated structure)
Notes and Comments
- The Outforce has "PackedProject.OPF" file stored inside "Content.box" archive in "Outforce" directory.
- Game has been created on O3D Engine.
Games
List of games using this file format:
- The Outforce (PC) (*OPF)
QuickBMS Script
Not written yet.
Compatible Programs
- Game Extractor (see Plugin_OPF_OUTFORCE.java source code)
See Also