This is an open source implementation of classic game Heroes of Might and Magic III Complete (HoMM3) "backend" (fully functional (well work in progress) game engine, without graphics) in pure Swift.
"Makt" means "Might" in Swedish 🇸🇪
Unintersting shared utility code stuff.
GZip decompressor package.
Contains all shared game models such as Hero
, Creature
, Spell
, Artifact
etc, but no logic at all.
"Malm" means "Ore" in Swedish 🇸🇪
Parser of HoMM3 asset files/archives: .lod
, .def
, .pcx
"Guld" means "Gold" in Swedish 🇸🇪
Conversion of .bik
and .smk
movie files into .mov
This package uses SwiftFFmpeg
which requires FFmpeg (Requires FFmpeg 4.0 or higher). on macOS, you can:
brew install ffmpeg
HoMM3 map file - .h3m
- parser.
Do check out H3M.md for map file structure.
A tile might contain multiple objects, in fact more than two! E.g. a Hero has a box of 3x2 and in the same origininating tile (lower left tile) of that 3x2 box, there might be another object, e.g. a resource. This is seen on tile (x: 25, y: 65)
on vanilla RoE map "Race for Ardintinny.h3m". Or on map "Rebellion" at (x: 52, y: 57)
there is a mountain
, rock
and crystalCavern
.
HoMM3 campaign file - .h3c
- parser.
A CLI toolset for extraction of game resources.
See README.
"Laka" means "Extract" in Swedish 🇸🇪
Binary tree packing algorithm used by Laka, to fit as many images in an as small square as possible.
See README.
The game engine.