-
Notifications
You must be signed in to change notification settings - Fork 5
/
README
106 lines (70 loc) · 3.27 KB
/
README
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
Hugor - A portable Hugo engine
Written and maintained by Nikos Chantziaras <[email protected]>
"Hugor" stands for "Hugo Runner." It plays adventure games created with
Kent Tessman’s Hugo authoring system:
http://ifwiki.org/index.php/Hugo
All multimedia features of Hugo are supported: video, graphics, audio
samples and music.
Hugor runs on all current major operating systems (Linux, MacOS and
Microsoft Windows). You can find binaries at:
https://github.com/realnc/hugor/releases/latest
The source code is hosted at:
https://github.com/realnc/hugor
If you have questions, you can use the intfiction.org forum:
https://www.intfiction.org
or the Jolt Country forum:
https://www.joltcountry.com/phpBB3
Compiling from source
=====================
(NOTE: These instructions are for Unix systems (Linux, macOS, *BSD, etc.)
On Windows, you're on your own. The official Windows binary for Hugor is
built in Linux, using an MXE [https://mxe.cc] toolchain.)
If you wish to build from source, you will need the development packages
for the Qt library. At least Qt 5.5 is required. 5.6 or newer is *highly*
recommended, preferably 5.9 or newer.
For audio support, you will need development files for:
SDL 2
libmpg123
libopenmpt or libxmp or libmodplug
libsndfile
libfluidsynth (version 2.x; 1.x will not work)
libADLMIDI (optional; it plays MIDI through OPL3 emulation)
Video is supported through LibVLC. It is usually installed as part of the
VLC media player on Linux. It should be detected though pkg-config. The
LibVLC ffmpeg/libav plugin needs to be installed (which is the case by
default on pretty much every Linux distro.) When building on macOS or
Windows, I wish you good luck... You need to make sure the LibVLC
libraries and headers are available through pkg-config.
If all dependencies are available, you can build and install Hugor with
the following commands:
qmake
make -jN
Substitute the 'N' in '-jN' with the amount of CPUs or cores in your
system in order to utilize all of them for a faster compilation process.
This will build Hugor with audio and video support, with libopenmpt as the
MOD music backend.
On macOS, this will create an application bundle (Hugor.app) that you can
run. You can also move it into /Applications. You might want to run the
"macdeployqt" command-line tool (comes with Qt) on the app bundle in order
to copy needed libraries into it.
On other Unix systems, you can install into /usr/local with:
make install
To specify a different path, you should pass PREFIX to qmake prior to
installing:
qmake PREFIX=/some/other/directory
To disable video support, use:
qmake -config disable-video
To disable audio support, use:
qmake -config "disable-audio disable-video"
(Note that you can't have video support without audio support.)
The recognized config options are:
xmp - Use libxmp instead of libopenmpt
modplug - Use libmodplug instead of libopenmpt
adlmidi - Enable OPL3 emulator (requires libADLMIDI)
disable-audio - Disable audio support
disable-video - Disable video support
The recognized installation directory options are:
PREFIX - Install prefix. Default is /usr/local.
BINDIR - Default is PREFIX/bin.
DATADIR - Default is PREFIX/share.
DOCDIR - Default is DATADIR/doc/hugor-version