fheroes2 - Man Page

free remake of Heroes of Might and Magic II game engine

Synopsis

fheroes2

Description

fheroes2 is a free implementation of Heroes of Might and Magic II game engine, a classic turn-based strategy, with significant improvements in the gameplay, graphics and logic (including support for high-resolution graphics, improved AI, numerous fixes and UI improvements).

To play the game, original resources from a demo or full version are needed.

Game Data Paths

The following directories are searched as data root:

/usr/share/fheroes2/data

The system-wide location that can be accessed by all users.

FHEROES2_DATA

This environment variable can contain a path to a directory with game files.

Current working directory
$HOME/.local/share/fheroes2

Per-user data directory. This path can be overridden by XDG_DATA_HOME environment variable.

The game resources which searched in these directories:

data/*.agg

Original assets (required).

files/data/*.h2d

Additional non-original assets from fheroes2 project.

files/lang/*.mo

Translations from fheroes2 project.

files/soundfonts/*

Additional SoundFont files for MIDI synthesizer. sf2 and sf3 formats are supported.

maps/*

Single scenarios and campaigns (h2c, hxc, mp2, mx2 files).

music/*

CD audio music tracks which are ripped in mp3, ogg or flac formats. The tracks should be named as "homm2_XX.ext" or "TrackXX.ext" where XX is a track number and ext is an extension. Numeration starts from "01" for the "homm2_" prefix and from "02" for the "Track" prefix.

anim/*.smk or anim2/*.smk or heroes2/anim/*.smk

Video files.

Environment

FHEROES2_DATA

See the section Game Data Paths above.

Files

$HOME/.config/fheroes2

This directory contains per-user configuration files. fheroes2.cfg is for game options and fheroes2.key is for hotkeys. This path can be overridden by the XDG_CONFIG_HOME environment variable.

Info

May 2022