New infos about .OPF file (from Watto's website:
http://www.watto.org/specs.html?specs=A ... F_OUTFORCE)
// RGBA is either 8,8,8,8 or 24,16,8,8
// HEADER
23 - Header (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)
Needed information:
The OPF is a funny file - it's not a traditional archive. I think I would need to know either...
1. How does the game know where all the files are in this archive, and/or
2. What is the actual structure of the Classes section - how do you convert the Classes back into real objects, so I know how to pack them back again.
=======================================================7
If you still interested in the game please join our:
Discord server:
https://discord.com/channels/7416477335 ... 4263775234
Moddb site:
https://www.moddb.com/games/the-outforce