Skip to content

MJOLNIR CLI cli-v0.5.0

Choose a tag to compare

@github-actions github-actions released this 24 Oct 07:38
· 13 commits to main since this release
Immutable release. Only release title and notes can be modified.
2151d19

Halo 2 maps, every Megalo game type readable, and game types checked before they ship

The CLI converts MCC Halo 2 multiplayer maps, reads and lists any Megalo game type, checks one is safe before it is packed, and writes Team Slayer.

Added

  • mjolnir cache info|tags|stage reads other Halo games' map files.
    cache info names the game a .map comes from; cache stage stages an
    MCC Halo 2 multiplayer map for conversion in the same layout the Halo CE
    converter writes, so tools/level/convert_ce_map.sh converts Halo 2 maps
    beside Halo CE ones.
  • mjolnir megalo dump <file> lists everything a Megalo game type holds:
    its options, teams, traits, strings and the whole script as triggers with
    named conditions and actions. It reads .mglo files and MCC Halo Reach
    .bin game variants, and says whether the file encodes back bit for bit.
  • mjolnir megalo validate <file> checks a game type is one the game can
    load safely. megalo write and map pack refuse to write one that is not.
  • mjolnir megalo write --mode team-slayer: Red against Blue, a kill of
    an enemy scores 1, a teammate kill costs 1.
  • mjolnir map pack --game halo1|halo2 tags a map pack with its game for
    the hub's game filter.
  • mjolnir live engine prints the running match's team and player
    scores.

Changed

  • mjolnir megalo write --mode ctf writes a CTF whose blue flag is its
    own object type (20), so each flag's colour comes from the game itself;
    --single-flag writes the old one-type script. It needs CE runtime 1.13.0
    or later.
  • mjolnir megalo write --tick-rate defaults to 60, the game's own rate:
    at 30, the dropped-flag reset and the health-pack respawn lasted half their
    time.

Full changelog · All releases


Install

Windows

scoop bucket add mjolnir https://github.com/devnull9090/mjolnir-core
scoop install mjolnir

macOS and Linux (Homebrew)

brew tap devnull9090/core https://github.com/devnull9090/mjolnir-core
brew install mjolnir

Debian, Ubuntu — sudo dpkg -i mjolnir_0.5.0_amd64.deb
Fedora, RHEL, CentOS, openSUSE — sudo rpm -i mjolnir-0.5.0-1.x86_64.rpm

Or take an archive below, unpack it anywhere, and put that folder on
your PATH. The Linux binary is statically linked, so it runs on any
distribution without installing anything alongside it.

Downloads

File SHA-256
mjolnir-0.5.0-windows-x64.zip 95cb4cc68fc9ec58f04e833abd5a94a377abdfce35a1996df6740261eff0369a
mjolnir-0.5.0-linux-x64.tar.gz 2c58f3919937c6a053804942da339452aa95558d60c6f218feee9ad512e52233
mjolnir-0.5.0-macos-universal.tar.gz aed8c86f6ec76b9b7194be911a782c79d39407e61b4b08551104335798149c92

The macOS build is a universal binary — the same file runs on Intel
and on Apple Silicon. .deb and .rpm checksums are in the
checksums file attached below.

Verify your download

(Get-FileHash .\mjolnir-*.zip -Algorithm SHA256).Hash
shasum -a 256 mjolnir-*.tar.gz

Compare the output with the checksum above. They must match exactly.