Debian Codegraph @

docs/fheroes2.6.in

raw
1 .\" Hey, EMACS: -*- nroff -*-
2 .\" (C) Copyright 2022 - 2025 fheroes2 team <[email protected]>
3 .\"
4 .TH fheroes2 6 "April 2025"
5 .\" Please adjust this date whenever revising the manpage.
6 .SH NAME
7 fheroes2 \- free remake of the Heroes of Might and Magic II game engine
8 .SH SYNOPSIS
9 .B fheroes2
10 .SH DESCRIPTION
11 \fBfheroes2\fP is a free implementation of the Heroes of Might and Magic II game engine,
12 a classic turn-based strategy game, with significant improvements in gameplay, graphics
13 and logic (including support for high-resolution graphics, improved AI,
14 numerous fixes and UI improvements).
15 .PP
16 To play the game, the assets from the demo version or the full version of the original
17 Heroes of Might and Magic II game are needed.
18 .SH GAME DATA PATHS
19 .SS The engine assets are searched for in the following directories:
20 #_SG
21 .TP
22 .B @FHEROES2_DATA@
23 System-wide data directory that can be accessed by all users.
24 #_EG
25 .TP
26 .B $FHEROES2_DATA
27 This environment variable may contain the path to a custom assets directory.
28 .TP
29 .B Game engine executable directory
30 Directory containing the executable file used to run the engine.
31 .TP
32 .B @data@
33 Per-user data directory.
34 This path can be overridden by \fIXDG_DATA_HOME\fP environment variable.
35 .PP
36 .SS The structure of engine assets is as follows:
37 .TP
38 .B anim/*.smk
39 .TQ
40 .B anim2/*.smk
41 .TQ
42 .B heroes2/anim/*.smk
43 Video files of the original game.
44 .TP
45 .B data/*.agg
46 Assets of the original game (required).
47 .TP
48 .B files/data/*.h2d
49 Additional non-original assets from the fheroes2 project. These assets are inextricably linked
50 to a specific version of the engine, and must be updated when the engine version changes.
51 .TP
52 .B files/lang/*.mo
53 Translations of the fheroes2 project into different languages.
54 .TP
55 .B files/soundfonts/*.sf2
56 .TQ
57 .B files/soundfonts/*.sf3
58 Additional SoundFont files for the MIDI synthesizer.
59 .TP
60 .B files/timidity/timidity.cfg
61 Configuration file for the TiMidity MIDI synthesizer.
62 .TP
63 .B files/timidity/instruments/*.pat
64 GUS patches (samples of musical instruments) for the TiMidity MIDI synthesizer.
65 .TP
66 .B maps/*.fh2m
67 Map files in the fheroes2 format.
68 .TP
69 .B maps/*.h2c
70 .TQ
71 .B maps/*.hxc
72 Campaign map files.
73 .TP
74 .B maps/*.mp2
75 .TQ
76 .B maps/*.mx2
77 Map files in the original game format.
78 .TP
79 .B music/*.flac
80 .TQ
81 .B music/*.mp3
82 .TQ
83 .B music/*.ogg
84 Music tracks ripped from the original game CD. These tracks should be named as \fIhomm2_XX.ext\fP
85 or \fITrackXX.ext\fP where \fIXX\fP is a track number and \fIext\fP is an extension. Numeration
86 starts from \fI01\fP for the \fIhomm2_\fP prefix and from \fI02\fP for the \fITrack\fP prefix.
87 .SH ENVIRONMENT
88 .TP
89 .B FHEROES2_DATA
90 See the section \fBGAME DATA PATHS\fP above.
91 .SH FILES
92 .TP
93 .B @config@
94 This directory contains per-user configuration files.
95 \fIfheroes2.cfg\fP is for game options and \fIfheroes2.key\fP is for hotkeys.
96 This path can be overridden by the \fIXDG_CONFIG_HOME\fP environment variable.
97 .TP
98 .B @data@/files/save
99 This directory contains per-user save files.