OpenCompote.SGA 0.0.2

dotnet add package OpenCompote.SGA --version 0.0.2
                    
NuGet\Install-Package OpenCompote.SGA -Version 0.0.2
                    
This command is intended to be used within the Package Manager Console in Visual Studio, as it uses the NuGet module's version of Install-Package.
<PackageReference Include="OpenCompote.SGA" Version="0.0.2" />
                    
For projects that support PackageReference, copy this XML node into the project file to reference the package.
<PackageVersion Include="OpenCompote.SGA" Version="0.0.2" />
                    
Directory.Packages.props
<PackageReference Include="OpenCompote.SGA" />
                    
Project file
For projects that support Central Package Management (CPM), copy this XML node into the solution Directory.Packages.props file to version the package.
paket add OpenCompote.SGA --version 0.0.2
                    
#r "nuget: OpenCompote.SGA, 0.0.2"
                    
#r directive can be used in F# Interactive and Polyglot Notebooks. Copy this into the interactive tool or source code of the script to reference the package.
#:package OpenCompote.SGA@0.0.2
                    
#:package directive can be used in C# file-based apps starting in .NET 10 preview 4. Copy this into a .cs file before any lines of code to reference the package.
#addin nuget:?package=OpenCompote.SGA&version=0.0.2
                    
Install as a Cake Addin
#tool nuget:?package=OpenCompote.SGA&version=0.0.2
                    
Install as a Cake Tool

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 alternate text is missing from this package README image Supported SGA-V2.md
V3 The Outfit alternate text is missing from this package README image Planned
V4 Company of Heroes 1 alternate text is missing from this package README image Planned SGA-V4.md
V5 Warhammer 40,000: Dawn of War 2 alternate text is missing from this package README image Planned SGA-V5.md
V6 Can be created using Company of Heroes 2 archive.exe. alternate text is missing from this package README image Planned
V7 Company of Heroes 2 alternate text is missing from this package README image Planned SGA-V7.md
V9 Warhammer 40,000: Dawn of War 3 alternate text is missing from this package README image Planned
V10 Age of Empires 4,<br> Company of Heroes 3 alternate text is missing from this package README image Planned

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.

Development

The project is organised as a .NET solution with the following components:

  • OpenCompote.SGA — Core library for working with SGA Archives.
  • OpenCompote.CliCurrently 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 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. 
Compatible target framework(s)
Included target framework(s) (in package)
Learn more about Target Frameworks and .NET Standard.
  • 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.