Skip to main content

A clean, performant parser for IGI 2: Covert Strike binary MEF models.

Project description

IGI 2 MEF Parsing Library (igi2mef)

A high-performance, specification-driven Python library for parsing IGI 2: Covert Strike binary .mef models.

Features

  • Precise Parsing: Optimized for Rigid, Bone, Lightmap, and Shadow models.
  • Exhaustive Specs: Includes guidemef.md, the master reference for the MEF format.
  • Production Ready: Clean API for developers to build viewers, converters, or engine mods.

Installation

From Source

  1. Clone this repository.
  2. Install in editable mode:
    pip install -e .
    

From PyPI (Coming Soon)

pip install igi2mef

Quick Start

from igi2mef import parse_mef

# Load a model
model = parse_mef("path/to/model.mef")

# Access geometry
print(f"Model Type: {model.header.type}")
for mesh in model.meshes:
    print(f"Mesh has {len(mesh.vertices)} vertices.")

Documentation

Check guidemef.md for a complete byte-level breakdown of the MEF format.

License

MIT License.

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

igi2mef-0.1.1.tar.gz (11.8 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

igi2mef-0.1.1-py3-none-any.whl (12.3 kB view details)

Uploaded Python 3

File details

Details for the file igi2mef-0.1.1.tar.gz.

File metadata

  • Download URL: igi2mef-0.1.1.tar.gz
  • Upload date:
  • Size: 11.8 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.2.0 CPython/3.13.5

File hashes

Hashes for igi2mef-0.1.1.tar.gz
Algorithm Hash digest
SHA256 d782d79bbfeb16673d741661d522d18eb93bf0fa79999c97971eef342782fffe
MD5 ce3819af6f2f54709a0e157afbadf8cf
BLAKE2b-256 99039419454e45aa4ad87cc4abe4898e76dd40fdfeb3d5c407e485d1f499520f

See more details on using hashes here.

File details

Details for the file igi2mef-0.1.1-py3-none-any.whl.

File metadata

  • Download URL: igi2mef-0.1.1-py3-none-any.whl
  • Upload date:
  • Size: 12.3 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.2.0 CPython/3.13.5

File hashes

Hashes for igi2mef-0.1.1-py3-none-any.whl
Algorithm Hash digest
SHA256 c29e232e9e86ef679a24d67be1a0c3e33eb1434f56271f7fa1dd0a53e8086346
MD5 7ee3599389254a61faa1e8be097aed7f
BLAKE2b-256 fce189e08582655c093c11b128c5ad6f592e54b70bb17e239e47343699d2b4d0

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page