A work in progress implementation of Heroes III Battle Mode written in Rust.
- Rust compiler
Any relatively recent stable version should work.
- SDL2 libraries (SDL2, SDL2_mixer, SDL2_ttf)
Important: SDL3 (via sdl2-compat) is currently incompatible — graphics appear as black squares. You must use a real SDL2 installation.
- Heroes of Might and Magic III
The engine is developed with the GoG Complete Edition, but a demo version is also verified to work with minor tweaks.
- Copy
config.default.rontoconfig.ron:
cp config.default.ron config.ron- Open
config.ronand adjust the following settings:game_folder: Path to your Heroes 3 installation (where the.exeis located).ttf_font: Path to a.ttffont file on your system (used for creature counts).
Development build:
cargo buildRelease (optimized) build:
cargo build --releaseAfter compiling, the executable will be located in:
- Development:
./target/debug/Valor - Release:
./target/release/Valor
If you are using the demo version, you’ll need to adjust it's files for the engine to locate them.
- Rename files in
Datafolder to be capitalized lowercase:Data/H3BITMAP.LOD->Data/H3bitmap.lodData/H3SPRITE.LOD->Data/H3sprite.lodData/HEROES3.SND->Data/Heroes3.snd
- Rename
MP3folder toMp3 - Make 3 copies of
Mp3/COMBAT01.MP3and name themCOMBAT02.MP3,COMBAT03.MP3,COMBAT04.MP3
This project is licensed under the GNU General Public License v3.0.




