igipy
Reverse engineering tools for Project I.G.I and Project I.G.I 2: Covert Strike game files.
igipy is a Python CLI tool for converting proprietary game file formats from IGI 1 and IGI 2 into standard, open formats. It is a direct successor and refactor of the tool published at https://github.com/NEWME0/Project-IGI/.
Installation
Requires Python 3.13.
pip install --upgrade igipy
Quick Start
-
Run
igipyonce to generate the configuration file:igipy
-
Edit
igipy.json— point each game'sgame_dirat your installation. The generated file has a block per game (igi1andigi2). Each pipeline endpoint can be a directory (*_is_zip: false) or a single.ziparchive (*_is_zip: true, path must end in.zip):{ "igi1": { "collect_is_zip": false, "convert_is_zip": false, "game_dir": "C:/Games/ProjectIGI", "collect_path": "igi1_collected.zip", "convert_path": "igi1_converted.zip" }, "igi2": { "collect_is_zip": false, "convert_is_zip": false, "game_dir": "C:/Games/ProjectIGI2", "collect_path": "igi2_collected.zip", "convert_path": "igi2_converted.zip" } }
-
Collect the game files, then convert them — use the
igi1origi2command group for the game you want:igipy igi1 collect # gather IGI 1 files into collect_path igipy igi1 convert-tex-to-tga # run an IGI 1 converter into convert_path igipy igi2 collect # gather IGI 2 files into collect_path igipy igi2 convert-all # convert everything into convert_path
Commands
The workflow is two-stage: collect gathers raw game files from game_dir into the collect
endpoint (copying loose files and unpacking .res archives), then the convert-* commands read
from the collect endpoint and write converted assets to the convert endpoint. Both endpoints are a
directory or a .zip depending on collect_is_zip / convert_is_zip. Every convert-* command
accepts --dry to preview without writing.
igipy igi1 …
| Command | Description |
|---|---|
collect |
Gather IGI 1 game files into the collect endpoint (loose files + unpacked .res, language .res → JSON). |
convert-qvm-to-qsc |
Decompile .qvm bytecode to .qsc script source. |
convert-tex-to-tga |
Convert .tex / .spr / .pic textures to .tga. |
convert-wav-to-wav |
Decode ADPCM .wav audio to standard PCM .wav. |
res-to-zip <file.res> |
Convert a single .res file to .zip (binary) or .json (strings). |
extensions-of-game |
Print a file-type count table for the game install directory. |
extensions-of-collect |
Print a file-type count table for the collect endpoint. |
extensions-of-convert |
Print a file-type count table for the convert endpoint. |
igipy igi2 …
| Command | Description |
|---|---|
collect |
Gather IGI 2 game files into the collect endpoint (loose files + unpacked .res, language .res → JSON). |
convert-all |
Run every IGI 2 converter below in sequence. |
convert-raw |
Copy raw assets (.mp3, .bmp, .jpg, .tga, .json) through unchanged. |
convert-qvm-to-qsc |
Decompile .qvm → .qsc. |
convert-wav-to-wav |
Decode ADPCM .wav → standard .wav. |
convert-tex-to-tga |
.tex / .spr / .pic → .tga. |
convert-fnt-to-zip |
.fnt bitmap font → BMFont (.fnt + .tga) zip. |
convert-thm-to-tga |
.thm terrain heightmaps → grayscale .tga. |
convert-tmm-to-tga |
.tmm terrain material maps → palette .tga. |
convert-tlm-to-tga |
.tlm terrain lightmaps → .tga. |
convert-olm-to-tga |
.olm object lightmaps → .tga. |
convert-syn-to-json |
.syn lip-sync envelopes → .json. |
convert-dat-forest-to-json |
forest_*.dat vegetation placement → .json. |
convert-dat-graph-to-json |
graph*.dat AI navigation graphs → .json. |
convert-dat-graphcover-to-json |
graphcover*.dat AI cover/visibility data → .json. |
convert-iff-to-json |
.iff skeletal animation → .json. |
convert-iff-to-gltf |
.iff skeletal animation → glTF. |
convert-iff-to-fbx |
.iff skeletal animation → FBX. |
convert-iff-to-qsc |
.iff skeletal animation → .bef text source. |
convert-mef-to-fbx |
.mef 3D model → FBX. |
convert-mef-to-gltf |
.mef 3D model → glTF. |
convert-mef-to-qsc |
.mef 3D model → text source. |
res-to-zip <file.res> |
Convert a single .res file to .zip / .json. |
extensions-of-game |
Print a file-type count table for the game install directory. |
extensions-of-collect |
Print a file-type count table for the collect endpoint. |
extensions-of-convert |
Print a file-type count table for the convert endpoint. |
igipy core …
| Command | Description |
|---|---|
count-extensions <path> |
Count files by extension in a directory or .zip. |
copy-files <src> <dst> |
Copy filtered game files between directories (skips .res / .mtp and .dat paired with .mtp). |
printable <file> |
Print printable ASCII strings found in a binary file. |
gconv [args…] |
Run the bundled gconv.exe. |
Documentation
Full documentation is split by scope — shared core formats, igi1, and igi2. See the documentation table of contents:
- docs/README.md — index of all format references, game structure notes, and per-game file extension inventories.
License
MIT
Metadata
Release files for igipy 1.0.0
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | Provenance | Actions |
|---|---|---|---|---|
| igipy-1.0.0.tar.gz | 431.8 kB | Without provenance | Details for igipy-1.0.0.tar.gz |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Actions Reset |
|---|---|---|---|---|
| igipy-1.0.0-py3-none-any.whl | Python 3 | none | any | Details for igipy-1.0.0-py3-none-any.whl |
Total release size: 814.6 kB
Release files / igipy-1.0.0.tar.gz
| Download URL | igipy-1.0.0.tar.gz |
|---|---|
| Size | 431.8 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
e8b4dcd745a3008d8700083784b436e88d6f9adc4d35c97b8b8e8a0a5496d01d
|
|
BLAKE2b-256 checksum How to use checksums |
e80c4b6c3a71753bcf23c4d17949e12664a854885ec1b4d9ddd08cbbd5b8f9e8
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
uv/0.9.3
|
Release files / igipy-1.0.0-py3-none-any.whl
| Download URL | igipy-1.0.0-py3-none-any.whl |
|---|---|
| Size | 382.7 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
324d8ff24954510a27ca8d43d109a3ff2ef5756b7bb9bfff12537fa36492ed50
|
|
BLAKE2b-256 checksum How to use checksums |
4158e994a7d528cd1540a7a75b12191e7c0f9d4c4cc448524ac98cb4c2600059
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
uv/0.9.3
|
Security for igipy 1.0.0
Provenance
Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.
No provenance found
None of the files in this release were uploaded with provenance metadata.
A note on package security
PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.
To learn more about protecting yourself from malicious actors, visit our package security documentation.