Debian Codegraph @

README

raw
1 AdPlug - A free AdLib sound player library
2 Copyright (C) 1999 - 2025 Simon Peter, et al.
3
4 Website: http://adplug.github.io/
5
6 Description:
7 ------------
8 AdPlug is a free, multi-platform, hardware independent AdLib sound
9 player library, mainly written in C++. AdPlug plays sound data,
10 originally created for the AdLib (OPL2/3) audio board, on top of an
11 OPL2/3 emulator or by using the real hardware. No OPL2/3 chips are
12 required for playback.
13
14 Supported platforms:
15 --------------------
16 AdPlug currently is tested to compile and run well on the following
17 platforms and compilers:
18
19 Platform Operating System Compiler
20 -------- ---------------- --------
21 IA32 - x86 MS-DOS 6.22 DJGPP 2.0.5 / GCC 12.2.0
22 MS-DOS 6.22 DJGPP 2.0.5 / GCC 4.8.5
23 x86_64 Linux GCC 4.8
24 Linux GCC 11.3.0
25 Linux CLANG 10.0.1
26 MACOS GCC 14.0.0
27 MACOS CLANG 14.0.0
28
29 This list only incorporates platforms on which this release of AdPlug
30 has been tested successfully. This and earlier versions of AdPlug may
31 and did run on a variety of other platforms as well.
32
33 The library builds as dynamic and/or static link library, depending on
34 the facilities provided by the host OS. These are autodetected.
35
36 Prerequisites:
37 --------------
38 AdPlug depends upon the following libraries:
39
40 Library: Version:
41 -------- --------
42 libbinio >= 1.4
43
44 libbinio can be obtained from http://adplug.github.io/libbinio/.
45
46 Installation:
47 -------------
48 Please refer to the INSTALL file for installation instructions.
49
50 Linux/OSX git:
51 --------------
52 If you checked out from git, please first run:
53
54 autoreconf --install
55
56 to generate the build cruft and get the configure script. Oh, and did I
57 mention you need recent versions of autoconf, automake and libtool?
58
59 Windows git:
60 ------------
61 If you checked out from git, you will need to copy src\version.h.in to
62 src\version.h and replace @VERSION@ with a proper version number.
63
64 A Visual Studio 2015 solution you can open and build is located in
65 contrib\vs2015\vs2015.sln.
66
67 Debugging AdPlug:
68 -----------------
69 If you feel you have to debug AdPlug, you can compile it with debug logging
70 support. This is disabled by default. To enable it, you have to define the
71 DEBUG preprocessor macro. This is done by passing the '--enable-debug'
72 commandline option to the 'configure' script to enable debugging.
73
74 AdPlug logs to stderr by default. The output can be redirected anytime to a
75 user specified logfile. This is done by using the 'CAdPlug::debug_output'
76 method of the 'CAdPlug' class.
77
78 If you have changed a format and the tests now fail (run "make check"), once
79 you have confirmed the output is correct, there will be a *.test file in the
80 test/ folder. Rename this from .test to .ref to have it used as the new
81 reference data.
82
83 The emulator license issue:
84 ---------------------------
85 AdPlug now uses WoodyOPL, the LGPL-licenced OPL emulator from the DOSBox
86 team.
87
88 Previously, AdPlug used MAME's fmopl OPL2 emulator. While this distribution
89 includes an old LGPL'd version of the emulator, which was developed by
90 Tatsuyuki Satoh alone, who relicensed this version under the LGPL, there is
91 a patch available in the `mame` branch of the GitHub repository
92 that replaces the old version by the latest version from the MAME source
93 distribution. The new version features improved emulation quality, but is
94 licensed under the MAME license, which restricts commercial redistribution.
95
96 The same goes for the OPL3 emulator, which requires the new version of
97 the OPL2 emulator to build.
98
99 Later versions of MAME are released under the GPL, so this patch could be
100 updated to use that instead, however this is probably not necessary given
101 the high quality of the WoodyOPL emulator.
102
103 - Simon Peter <[email protected]>