GV

GeezerVison

The World Wide Web, restored to 800 pixels of glory.

Home|About|Gaming cabinet|Archives|How it works|Starter sites

On this site

  • Sign in
  • ActionsCI/CD and automation
  • CodespacesCloud development environments
  • All Features
  • Documentation
  • Training
  • Certifications
  • Build with Copilot
  • Customize Copilot
  • Integrations
  • Trending repos
  • GitHub Sponsors
  • Developer articles
  • Enterprises

This view

  • Original page
  • New address

GeezerVison is showing github.com — GitHub - ModernMAK/Relic-Game-Tool: Reader/Extractor for Relic SGA and Relic Chunky files.

This repository was archived by the owner on Oct 10, 2023. It is now read-only.
BranchesTags
Open more actions menu

Latest commit

 

History

210 Commits
210 Commits

Folders and files

NameName
Last commit message
Last commit date
.github/workflows
.github/workflows
 
 
rewrite in progress
rewrite in progress
 
 
src
src
 
 
test_data/sga
test_data/sga
 
 
tests
tests
 
 
.gitattributes
.gitattributes
 
 
.gitignore
.gitignore
 
 
.pylintrc
.pylintrc
 
 
LICENSE.txt
LICENSE.txt
 
 
MANIFEST.in
MANIFEST.in
 
 
README.md
README.md
 
 
mypy.ini
mypy.ini
 
 
pyproject.toml
pyproject.toml
 
 
requirements.txt
requirements.txt
 
 
setup.cfg
setup.cfg
 
 

Repository files navigation

ARCHIVE NOTICE

This repo is no longer maintained; the current repo is maintained at MAK-Relic-Tool.


Relic SGA Archive Tool

PyPI PyPI - Python Version PyPI - License linting: pylint Checked with mypy Pytest Pylint MyPy

Disclaimer

Not affiliated with Sega, Relic Entertainment, or THQ.

Warning

This project runs executables (pre-packaged) to encode/decode audio files.

Description

A tool for parsing and extracting assets from Relic Entertainment games; primarily Dawn of War I, DoW II, and DoW III.

Installation (Pip)

Installing from PyPI (Recommended)

pip install relic-game-tool

Installing from GitHub

For more information, see pip VCS support

pip install git+https://github.com/ModernMAK/Relic-Game-Tool

Usage

Via importing the python package, or running the relic from the command line.

As a Python Library

Details pending

As a Command Line Tool

After installing the package with pip, the tool can be run by entering relic into the command prompt. The tool will list arguments and sub commands available.

relic

Quick Use

In general, it's best to unpack the SGA files to avoid unpacking the SGA for multiple extraction passes.

To unpack SGA files, we can use the following command:

relic sga unpack 'DoW directory' -o 'storage path' -r -b -e

First, the path to the DoW game is specified, we only use one path to avoid extracting other game assets to the same output directory.
In the case of DoW, the latest game contains almost all assets of the previous releases.
The flag-o specifies the output directory, this is optional, but makes it easier to perform the next step, extracting assets.
The -r flag will search all files and folders within the directory.
The -b flag will not extract archives which contain certain keywords marking them as lower quality assets, this will prevent lower quality assets from overwriting higher quality ones.
The -e flag will force the program to crash on an error; in most cases, the output is bad, and a bug report should be submitted.

After unpacking the SGA archives, we can extract assets from Relic Chunky files.

relic chunky extract {extractor} 'storage path' -o 'extract path' -r -e

Extractor expects the 'type' of chunky to extract, running relic chunky extract will list available extractors. First, the path to the unpacked archive, 'storage path' should be the same path used after the -o flag. The flags -o, -r, and -e function the same as above.

relic chunky extract

Format Specifications

I've compiled what I've learned on the Wiki. It may be lacking compared to the actual python code; for more information, you may wish to examine the relic\sga, relic\chunky, and relic\chunky_formats sub-packages instead.

About

Reader/Extractor for Relic SGA and Relic Chunky files.

Topics

chunkydawn-of-warpythonrelic-chunkyrelic-entertainmentrelic-sgasgawarhammer-40kwarhammer40kwh40k

Resources

Readme
GPL-3.0 license
Activity

Stars

17 stars

Watchers

1 watching

Forks

2 forks
Report repository

Releases

Used by

Contributors

Languages

You are visitor 01402775 — GeezerVison does not store the pages you look up.
Best viewed with Netscape Navigator 4.7 or Internet Explorer 6 at 800×600. No cookies required.