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
- Clone this repository.
- 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.0.tar.gz
(13.1 kB
view details)
Built Distribution
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
igi2mef-0.1.0-py3-none-any.whl
(13.7 kB
view details)
File details
Details for the file igi2mef-0.1.0.tar.gz.
File metadata
- Download URL: igi2mef-0.1.0.tar.gz
- Upload date:
- Size: 13.1 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.2.0 CPython/3.13.5
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
83bf15f421b4b0a65e16dc73e10f9894b561a141812c4402b0cd39f050d0b969
|
|
| MD5 |
baab9aa4a48cac704ce2a61b85896d8c
|
|
| BLAKE2b-256 |
02bde6e7b5c90093f722aa8453505fef06cb6e517667303295db092267d2de98
|
File details
Details for the file igi2mef-0.1.0-py3-none-any.whl.
File metadata
- Download URL: igi2mef-0.1.0-py3-none-any.whl
- Upload date:
- Size: 13.7 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.2.0 CPython/3.13.5
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
ba6815971a8e5e13712eddfb1355a2b150a3c453eeb76e8d9da353a14884feb7
|
|
| MD5 |
a35abc17830ef667e58ce97255c06ed1
|
|
| BLAKE2b-256 |
75c34299f5c4beb4c9dcf3469a984988d42c83f7ea792c98054085c0edb9db7b
|