tiargus
Tools to work with the 4X video game Terra Invicta.
Features
- Parse and inspect Terra Invicta save files (
.gzformat) - Query habitat sites, factions, settlements, and space bodies
- Export site data to Excel spreadsheets
- Extract and export location data to YAML
Installation
pip install tiargus
Quick Start
from tiargus import TerraInvictaSave, SpaceBodyModule
save = TerraInvictaSave.load()
bodies = SpaceBodyModule.from_save(save)
for body in bodies:
print(body.name)
CLI Tools
| Command | Description |
|---|---|
argus site-report |
Generate an Excel report of all hab sites |
argus extract-game-data |
Rebuild bundled game-data YAML resources |
Contributing
Contributions are welcome. The short version:
- Fork the repo and create a branch.
- Install dev dependencies:
pip install -e ".[dev]" - Make your changes and run
pytest. - Open a pull request against
main.
See CONTRIBUTING.md for the full process and guidelines.