Create, list .mix files of Command & Conquer: Red Alert 2 / Command & Conquer: Yuri's Revenge. Once installed, you can invoke it as a standalone command or via the Python module:
ra2mixer <command> [options]
# or
python -m ra2mixer <command> [options]
📖 Available Commands
$ python -m ra2mixer -h
usage: ra2mix [-h] {list,l,extract,x,create,c} ...
List, extract, create MIX files
positional arguments:
{list,l,extract,x,create,c}
list (l) list files of MIX file
extract (x) extract files of MIX file
create (c) create MIX file from files
options:
-h, --help show this help message and exit
| Command | Description |
|---|---|
list |
View contents of a .mix archive |
extract |
Extract all files from a .mix archive |
create |
Pack files/folders into a new .mix archive |
🔍 List Contents
$ python -m ra2mixer list -h
usage: ra2mix list [-h] [--sort-by-offset {ascending,descending,a,d}] mix_files [mix_files ...]
positional arguments:
mix_files path to the .mix files
options:
-h, --help show this help message and exit
--sort-by-offset {ascending,descending,a,d}
Sort entries by offset
# Basic file listing
ra2mixer list game.mix
📦 Extract Archive
$ python -m ra2mixer extract -h
usage: ra2mix extract [-h] [-d DIR] mix_files [mix_files ...]
positional arguments:
mix_files path to the .mix files
options:
-h, --help show this help message and exit
-d DIR extract files into DIR
# Extract to a specific folder
ra2mixer extract game.mix -d output/
🛠️ Create Archive
$ python -m ra2mixer create -h
usage: ra2mix create [-h] [--no-names-db] [--game GAME] mix_file files [files ...]
positional arguments:
mix_file the mix file to create
files files to include
options:
-h, --help show this help message and exit
--no-names-db Dont add 'local mix database.dat'
--game GAME which game TD, RA, TS, DUNE2, DUNE2000, RA2, RA2_YR, RG, GR, GR_ZH, EBFD, NOX, BFME, BFME2, TW, TS_FS, UNKNOWN
# Pack all files from a directory
ra2mixer create new.mix assets/
# Pack specific files
ra2mixer create new.mix rules.ini art.ini audio01.wav
Metadata
Release files for ra2mixer 0.0.1
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | Provenance | Actions |
|---|---|---|---|---|
| ra2mixer-0.0.1.tar.gz | 163.9 kB | Without provenance | Details for ra2mixer-0.0.1.tar.gz |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Actions Reset |
|---|---|---|---|---|
| ra2mixer-0.0.1-py3-none-any.whl | Python 3 | none | any | Details for ra2mixer-0.0.1-py3-none-any.whl |
Total release size: 317.7 kB
Release files / ra2mixer-0.0.1.tar.gz
| Download URL | ra2mixer-0.0.1.tar.gz |
|---|---|
| Size | 163.9 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
f68e7e5af070dda5e718151eb36fcef8bda5e3869b64a5d3d1234f220637ff4b
|
|
BLAKE2b-256 checksum How to use checksums |
27b59ac6e2175e6a83c68e73598bd47ea4edb25b5c8a2e4721b02cc88ba6cf06
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/6.2.0 CPython/3.12.13
|
Release files / ra2mixer-0.0.1-py3-none-any.whl
| Download URL | ra2mixer-0.0.1-py3-none-any.whl |
|---|---|
| Size | 153.8 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
9306180f736616513058144879cbacd0018a0537f51f259bb9d513d53ec96d69
|
|
BLAKE2b-256 checksum How to use checksums |
d3934e1f2ef6a09db5de9832517894038e489f52393b8abab1c5f4d3e9ddac97
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/6.2.0 CPython/3.12.13
|
Security for ra2mixer 0.0.1
Provenance
Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.
No provenance found
None of the files in this release were uploaded with provenance metadata.
A note on package security
PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.
To learn more about protecting yourself from malicious actors, visit our package security documentation.