ccmixar

command module
v0.0.0-...-b07591f Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Apr 7, 2024 License: ISC Imports: 24 Imported by: 0

README

C&C Mix Archiver

CCMIXAR is a command line tool for managing .mix archive files that are used by several C&C games. It can pack and unpack checksummed and encrypted .mix archives for C&C Tiberian Dawn, Tiberian Sun, Red Alert 1 and Red Alert 2. Compared to OmniBlade's ccmix, CCMIXAR is more efficient (faster) and does not contain any crufty C++ code written over a decade ago. Moreover, CCMIXAR automatically interprets and repairs damaged (or "protected") .mix files. It even recovers mangled local mix database.dat entries if they are present in the file.

Usage

Pack a directory in a .mix file

ccmixar pack -game <cc1|cc2|ra1|ra2> -mix <outpath> -dir <inpath> [-checksum] [-database] [-encrypt]

List content information of .mix file

ccmixar info -game <cc1|cc2|ra1|ra2> -mix <inpath>

Unpack a .mix file to a directory

ccmixar unpack -game <cc1|cc2|ra1|ra2> -mix <inpath> -dir <outpath>

Repair a damaged .mix file

ccmixar repair -game <cc1|cc2|ra1|ra2> -mix <inpath>

Acknowledgements

OmniBlade for his work reverse engineering the .mix file encryption algorithm and writing his ccmix tool which ccmixar is inspired by.

Olaf van der Spek for his work reverse engineering the C&C files formats and the tools he has developed over the years to allow modding these classic games.

Aldrinjohnom for detailing how to repair damaged .mix files.

Documentation

The Go Gopher

There is no documentation for this package.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL