OpenCompote.SGA
0.0.2
dotnet add package OpenCompote.SGA --version 0.0.2
NuGet\Install-Package OpenCompote.SGA -Version 0.0.2
<PackageReference Include="OpenCompote.SGA" Version="0.0.2" />
<PackageVersion Include="OpenCompote.SGA" Version="0.0.2" />
<PackageReference Include="OpenCompote.SGA" />
paket add OpenCompote.SGA --version 0.0.2
#r "nuget: OpenCompote.SGA, 0.0.2"
#:package OpenCompote.SGA@0.0.2
#addin nuget:?package=OpenCompote.SGA&version=0.0.2
#tool nuget:?package=OpenCompote.SGA&version=0.0.2
open-compote
A modern C# library for working with Relic Entertainment's .sga archive format. This project provides support for reading and writing SGA archives used in games built using the Essence engine.
About
open-compote is an open-source project aimed at providing mod tools developers and experienced modders with robust and easy to use tools for working with .sga archives. Whether you're developing mods, analysing game data, or building mod tools, this library offers a simple API for archive manipulation.
Current Status: Very early-stage development. Only SGA V2 is implemented, If you want support for additional versions early, you can contribute with issues, feature requests, or pull requests. Community contributions are welcome. And if you really want something what you can actually use now see link in Acknowledgments.
Supported SGA Versions
| Version | Games | Status | Documentation |
|---|---|---|---|
| V2 | Impossible Creatures,<br> Warhammer 40,000: Dawn of war | SGA-V2.md | |
| V3 | The Outfit | ||
| V4 | Company of Heroes 1 | SGA-V4.md | |
| V5 | Warhammer 40,000: Dawn of War 2 | SGA-V5.md | |
| V6 | Can be created using Company of Heroes 2 archive.exe. | ||
| V7 | Company of Heroes 2 | SGA-V7.md | |
| V9 | Warhammer 40,000: Dawn of War 3 | ||
| V10 | Age of Empires 4,<br> Company of Heroes 3 |
Key Features
- Type-safe API — Full C# integration with comprehensive type definitions
- Forward-looking — Comprehensive schema documentation for planned versions (V4, V5, V7)
- Well-documented — Detailed format specifications and examples
- Modular architecture — Clean separation between parsers and core functionality
Getting Started
For comprehensive documentation, API reference, and detailed schema specifications, visit our documentation page.
Quick Links
Development
The project is organised as a .NET solution with the following components:
- OpenCompote.SGA — Core library for working with SGA Archives.
- OpenCompote.Cli — Currently only for testing. Command-line tools for simple manipulation with SGA archives.
- tests — Unit tests.
Acknowledgments
Some resources that were useful while researching and implementing this project.
- MAK Relic-Tool – Similar project to this, but made in Python and on top of SGAs it also supports UCS and Chunky files.
- dow_utils – Dawn of War modding tutorials, file extension overview, and tools.
Disclaimer
Not affiliated with Relic Entertainment, Sega, or THQ Nordic. All rights belong to their respective parties.
| Product | Versions Compatible and additional computed target framework versions. |
|---|---|
| .NET | net10.0 is compatible. net10.0-android was computed. net10.0-browser was computed. net10.0-ios was computed. net10.0-maccatalyst was computed. net10.0-macos was computed. net10.0-tvos was computed. net10.0-windows was computed. |
-
net10.0
- No dependencies.
NuGet packages
This package is not used by any NuGet packages.
GitHub repositories
This package is not used by any popular GitHub repositories.
| Version | Downloads | Last Updated |
|---|---|---|
| 0.0.2 | 94 | 4/18/2026 |
### Added
- Initial release. Every previous releases are for testing only and will be hidden when i end with the pipeline.