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.4.tar.gz (10.4 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.4-py3-none-any.whl (10.6 kB view details)

Uploaded Python 3

File details

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

File metadata

  • Download URL: igi2mef-0.1.4.tar.gz
  • Upload date:
  • Size: 10.4 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.4.tar.gz
Algorithm Hash digest
SHA256 6ac69432d6ad76d3c3efd44f759f5ae09d6130beac57cade689893ef35c292aa
MD5 b30af7d441ffa6327091152637f19e5d
BLAKE2b-256 121e29cfed16d5fc9e44cf3fe2b7af6e160058270413e32d6a413c6def5d98c3

See more details on using hashes here.

File details

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

File metadata

  • Download URL: igi2mef-0.1.4-py3-none-any.whl
  • Upload date:
  • Size: 10.6 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.4-py3-none-any.whl
Algorithm Hash digest
SHA256 7ac6292c95d917b7383a5616c8e96fc060960d6ad81c78b3dfe12825bb3cd957
MD5 225ecb61c2c9d9938c25bc0e5d79b7ca
BLAKE2b-256 564f9511b167448942c04871a6a3b1ecad9752eee1eace38cff87303fac7e2bc

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