Skip to content

About

Operation Flashpoint: Cold War Crisis Source Code

Resources

Contributing

Stars

2 stars

Watchers

0 watching

Forks

 
 

Latest commit

 

History

93 Commits

Folders and files

NameName
Last commit message
Last commit date
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

openofpcwc-projectigi

Operation Flashpoint: Cold War Crisis — Project I.G.I. Remake

A total conversion project that fuses the open-world military sandbox of Operation Flashpoint: Cold War Crisis (2001) with the stealth-infiltration tension and close-quarters gunplay of Project I.G.I. (2000), built on the open-sourced Poseidon engine source.

Operation Flashpoint: Cold War Crisis

This repository holds the engine and game source code (codename Poseidon) - the game first released in 2001 as Operation Flashpoint: Cold War Crisis. The code has been modernized to C++20, built with CMake and Clang, with cross-platform support for Windows x64 and Linux x64.

Github Treeview

https://treegit.macosxjs.com/?url=igiteam/openofpcwc-projectigi

Github Tree Api Direct JSON

https://api.github.com/repos/igiteam/openofpcwc-projectigi/git/trees/main?recursive=1

Poseidon WASM (browser build)

https://motionmark.itch.io/poseidonwasm

PROJECT I.G.I

PROJECT IGI README

Operation Flashpoint: Cold War Crisis

Operation Flashpoint: Cold War Crisis

https://raw.githubusercontent.com/igiteam/openofpcwc-projectigi/refs/heads/main/david_jones.png

project-igi-intro-hd-4k

Operation Flashpoint's Next-Gen Face Tech

Operation Flashpoint - The Battlefield single mission

Project IGI 1 - Mission 1 - Trainyard

igi heightmap

im-going-in-ost - Full Playlist

Project IGI - I'm Going In

WS11WineCX20.0.4 (MacOSX Big Sur 32bit)

WS11WineCX20.0.4.tar.7z

wine windows games on macosx

openofpcwc-projectigi

https://github.com/igiteam/openofpcwc-projectigi

openofpcwc-projectigi

Operation Flashpoint - Cold War Crisis 2001

Operation Flashpoint - Cold War Crisis 2001

Bohemia Interactive Editing Tools Bundle 1.6gb

https://github.com/igiteam/project-igi-tools

Bohemia Interactive Editing Tools Bundle 1.6gb

Digimask SDK

Digimask SDK

DigimaskPS2.txt

This is Football 2005 PS2 Digimask

opflash_-_uber_editor_tutorial

opflash_-_uber_editor_tutorial

Operation Flashpoint: Cold War Crisis Tutorials

https://archive.org/details/tutorials-ofp

https://archive.org/details/rinza_ofp_tutorials_eng

Operation Flashpoint Tutorials

https://archive.org/details/Eidos_Project_IGI_Im_Going_In_Windows_2001_ENG

Project I.G.I. (2000) to Operation Flashpoint: Cold War Crisis

Format conversion map for the opencwc-projectigi total conversion.


Conversion Map

IGI 1 Format IGI Role OFP CWC Target OFP Role Difficulty Notes
.hmp Terrain heightmap tiles (16-bit elevation) .wrp (4WVR) Elevations Terrain height data Medium OFP stores elevations as ushort in cm. Convert IGI grid to Elevations[Ysize][Xsize]; RealHeight = value * 0.05 for metres.
.lmp Terrain grayscale lightmap (8-bit) .wrp TextureIndex Per-cell texture reference High No direct OFP terrain-lightmap slot in 4WVR. Bake into textures, discard, or approximate.
.ctr + .cmd Terrain octree + mesh LOD commands .wrp terrain grid (implicit) Fixed 256x256 cell grid High No direct mapping. Flatten the IGI octree into a uniform heightmap before export. LOD structure is discarded.
.bit Terrain 1-bit raycast mask .wrp collision (implicit) Collision from heightmap Low Not needed as a separate asset; OFP derives collision from the heightmap. Use only to verify accuracy.
.mef 3D model geometry .p3d (ODOL7) Model geometry High MEF type versions (32B/40B) have no direct P3D equivalent. Requires Oxygen 2 or Oxygen Light. Scale conversion needed.
.tex Texture bitmaps .paa / .pac OFP textures Medium Convert to PAA/PAC. OFP .wrp references textures in a 512-entry table of 32-byte ASCIIZ filenames.
.olm Object static lightmaps .p3d vertex lighting / .paa baked Object lighting High No direct slot; rebake lighting in Oxygen or export as texture overlays.
.mtp Model-texture package .p3d + .paa Model material assignment Medium Reconstruct material mappings in Oxygen's P3D structure.
.graph / .dat AI navigation graph OFP AI (no direct file) Engine-internal pathfinding Very High No external navmesh format. Discard AI paths or approximate via mission-editor waypoints.
.qvm / .qsc Script bytecode / source .sqs / .sqf OFP scripting Very High QVM opcodes unrelated to SQF/SQS. Scripts must be rewritten, not converted.
.spr 2D billboarding sprites .paa with alpha Textured quads Medium Export as PAA, place as P3D quads with ViewDensity transparency.
.pic Static menu pictures .paa UI textures Low Direct image conversion.
.fnt Bitmap font atlas OFP fonts (.fxy + .paa) UI text Medium OFP uses FXY descriptor + PAA atlas; remap glyphs.
.iff / .bef Skeletal animation .rtm Animation Very High Must be retargeted / re-authored in Oxygen.
.wav Innerloop audio samples .wss (or OGG) Audio Medium Convert to WSS or OGG depending on OFP version support.
.afp / .avi Video / intro packages .ogv OFP cutscenes Low Re-encode to Theora/OGV.
.res Resource archive .pbo Addon archive Medium Repack converted assets into PBO via MakePbo or BinPbo.

IGI 1 Format Specification Links

Base URL: https://project-igi-research.vercel.app/igi1

Format Name Engine Role Specification
.qvm QVM Script Bytecode View Specification
.qsc QSC Script Source Language View Specification
.res RES Resource Archive View Specification
.mef MEF 3D Model Geometry View Specification
.tex TEX Texture Bitmaps View Specification
.spr SPR 2D Billboarding Sprites View Specification
.pic PIC Static Menu Pictures View Specification
.mtp MTP Model-Texture Package View Specification
.dat DAT Asset Mappings & Graphs View Specification
.graph Graph AI Navigation Graph View Specification
.fnt FNT Bitmap Font Atlas View Specification
.iff IFF Skeletal Animation View Specification
.bef BEF Animation Text Script View Specification
.olm OLM Object Static Lightmaps View Specification
.hmp HMP Terrain Heightmap Tiles View Specification
.lmp LMP Terrain Grayscale Lightmap View Specification
.ctr CTR Terrain Octree Hierarchy View Specification
.cmd CMD Terrain Mesh LOD Commands View Specification
.bit BIT Terrain 1-Bit Raycast Mask View Specification
.wav WAV Innerloop Audio Samples View Specification
.afp / .avi AFP/AVI Video & Intro Packages View Specification

Key Conversion Constraints

  1. Terrain is the hardest bottleneck. OFP's .wrp format is strictly a 256x256 uniform grid with per-cell texture indices. IGI's octree-based LOD terrain (.ctr/.cmd) must be baked down to a flat heightmap. You lose IGI's LOD optimization — the OFP terrain will be simpler but will load and render in the CWR engine.

  2. Models must go through Oxygen. There is no direct MEF-to-P3D converter. You need Bohemia's Oxygen 2 (or Oxygen Light) to author .p3d files. If the IGI .mef can be exported to an intermediate format (OBJ/3DS), it can then be imported into Oxygen. Note that 3DS-to-P3D conversion requires a 10x scale increase.

  3. Binarize for final packaging. After authoring .wrp in 4WVR (via WrpTool/Visitor) and .p3d in Oxygen, use Binarize to convert to engine-optimized OPRW/ODOL formats. Use the old Binarize for .wrp islands and the new Binarize for .p3d models.

  4. Scripts and AI are not convertible. QVM bytecode has no mapping to SQF. AI navigation (.graph) has no file-level counterpart. These must be reimplemented — which is why this is a total conversion, not a port.

  5. The Project-IGI-Terrain/ folder already handles the terrain path. That code parses .hmp/.lmp/.ctr/.cmd/.bit — it is the source side of the terrain conversion. The missing piece is the export step: a 4WVR .wrp writer that emits the OFP header, elevation array, texture index array, texture filename table, and model list.


Quick Start

cmake --preset win-x64-clang-rwdi
cmake --build build/win-x64-clang-rwdi

On GNU/Linux, use the matching linux-x64-clang-rwdi preset.

Layout

  • Apps - executable targets
  • Engine - engine libraries and Rust Trident tooling
  • Master server tools - Rust service and CLI crates
  • Tests - test source trees; CI currently compiles them only
  • cmake/ - presets, toolchains, vcpkg triplets, and overlay ports
  • docker/ - container support for service and runtime environments
  • packages/ - ignored local game data staging area
  • resources/ - application icon resources
  • thirdparty/ - vendored third-party headers and sources

Dev Environment

Official White Wii Remote With Nunchuk — Tested And Working — £14.99 https://www.ebay.co.uk/itm/800847189353

Infrared Sensor Bar USB for Wii Emulator Remote Motion Detection Setup — £6.69 https://www.ebay.co.uk/itm/227423830875

Apple MacBook Pro Retina 15in (2014) i7 2.8GHz 16GB 1TB SSD GT 750M — £120.30 https://www.ebay.co.uk/itm/800844561513

WS11WineCX20.0.4 (Wine engine) https://igiteam.github.io/wine_engines/

Official Genuine Sony PS3 PlayStation 3 DualShock 3 Wireless Controller Black — £19.99 https://www.ebay.co.uk/itm/840031043465

Amazon Basics 4K HDMI Cable 3m — 18Gbps High Speed with Ethernet, 4K@60Hz, 2160p — £8.44 https://www.ebay.co.uk/itm/327352257557

wiimote_nunchuk_macosx https://github.com/igiteam/wiimote-nunchuk

xbox360_input_gui_py https://github.com/igiteam/xbox360_input_gui_py

logitec_mx_mouse_3_macos https://github.com/igiteam/logitec_mx_mouse_3_macos

igi1-macbook-3d-workstation https://github.com/igiteam/igi1-macbook-3d-workstation


About

Operation Flashpoint: Cold War Crisis Source Code

Resources

Contributing

Stars

2 stars

Watchers

0 watching

Forks

Releases

Packages

Contributors

Languages