Commit Graph

1251 Commits

Author SHA1 Message Date
Johannes Schickel
99c59cdeb2 AGOS: Let listSaves return list sorted on slot numbers. 2016-02-25 21:39:45 +01:00
Alexandre Detiste
6c298e964f JANITORIAL: Typos detected with lintian & grep 2016-02-15 18:27:02 +01:00
Johannes Schickel
37ec3978d6 AGOS: Only request actual save slots in listSaves. 2016-01-26 16:35:30 +01:00
Kirben
11c7d38e09 AGOS: Fix music looping in disk version of Simon1, a regression from svn 22907. 2015-07-24 20:34:52 +10:00
Johannes Schickel
757077fecc AGOS: Add simple volume control when Simon1 AdLib output is used. 2015-07-23 22:33:57 +02:00
Johannes Schickel
cf42dc0a35 AGOS: Slight cleanup in Simon1 AdLib output initialization code. 2015-07-23 22:33:56 +02:00
Johannes Schickel
33c57c632c Revert "AGOS: Add updated patch for #647 - Simon 1 DOS Adlib instrument bank"
This reverts commit 06addfc404.

We implement the actual Simon1 DOS AdLib driver now, thus this code is
obsolete.
2015-07-23 22:33:56 +02:00
Johannes Schickel
979a885ef9 AGOS: Add initial version of Simon1 DOS AdLib output.
Testing so far has not really happened. Only the first part of the intro has
been tested.
2015-07-23 22:33:56 +02:00
Max Horn
856475067a MISC: Remove some unused private member variables 2015-07-19 17:13:18 +02:00
Matthew Hoops
bed9da8b9d AUDIO: Remove all AudioStream access to OPL 2015-07-07 20:19:47 -04:00
Matthew Hoops
0c5d40e94c AGOS: Use the built-in OPL timer 2015-07-07 20:19:45 -04:00
Matthew Hoops
2e8f9dcec9 AUDIO: Remove the sample rate configuration from the OPL code 2015-07-07 20:19:42 -04:00
Torbjörn Andersson
cc46c92a8e AGOS: Remove unused field
Should have been removed in a4b8c6e054
but wasn't.
2015-07-07 00:32:54 +02:00
Kirben
cf92118507 AGOS: Fix turning music on and off in Amiga versions. 2015-07-05 11:41:10 +10:00
Kirben
a7fe40d3b1 AGOS: The sound effects in Simon the Sorcerer 1 (Floppy) are only meant for Adlib. 2015-07-05 11:20:39 +10:00
Kirben
a4b8c6e054 AGOS: Revert 46d1c106ca:
AGOS: Give each MIDI track its own loop flag

Since the changes broke looping in Simon the Sorcerer 2.
2015-07-05 10:58:35 +10:00
Martin Kiewitz
96005c7da9 AUDIO: Miles Audio AdLib instrument stream support
- not using byte pointer + size and instead now a
  SeekableReadStream for factory
- adjusted ACCESS + AGOS engines accordingly
2015-07-04 12:55:49 +02:00
Martin Kiewitz
7753f2d516 AGOS: Simon 2: use common PKWARE data comp. lib
use PKWARE data compression library code from COMMON/
AdLib drivers will get changed to use streams too
2015-07-04 01:50:07 +02:00
Martin Kiewitz
870b33743f AGOS: Simon 2: extract MIDPAK.AD from SETUP.SHR
implements support for extracting MIDPAK.AD from SETUP.SHR
this way the user isn't required to install the game and can just
use the files copied from CD-ROM.
Files inside SETUP.SHR were compressed using PKWARE data compression
library.

PKWARE decompression code based on information released by
Ben Rudiak-Gould in comp.compression on 13.8.2001

Miles Audio support is still disabled atm
and has to be enabled manually
2015-07-03 21:02:13 +02:00
Martin Kiewitz
453a800754 AGOS: music: simplified music-mode code in open()
combined both Accolade + Miles Audio initial open() code
2015-07-03 01:09:36 +02:00
Martin Kiewitz
32c5c2f50f AGOS: disable Miles Audio for Simon 2
enabled it by accident in the last commit
2015-07-03 00:59:17 +02:00
Martin Kiewitz
a4d3ad396c AGOS: Accolade music driver: fix memory leak
in factory
2015-07-03 00:57:25 +02:00
Martin Kiewitz
bfa7d89500 AGOS: Accolade music: read driver data in factory
moved driver reading code into factory of both Accolade music drivers
2015-07-03 00:52:36 +02:00
Martin Kiewitz
710aeb380b AGOS: SIMON2: set nativeMT32, so mt32 tracks get
set _nativeMT32, so that the MT32 XMIDI track set is getting used
and not the general MIDI one for MT32 Miles Audio playback.
This should solve the MT32 music issues, although this needs
to get verified in detail.
2015-07-01 20:39:00 +02:00
Martin Kiewitz
b38c161c18 AGOS: add Miles Audio support for simon 2
currently not enabled by default, because there are some
issues.
2015-07-01 12:40:16 +02:00
Torbjörn Andersson
b57e9ae814 AGOS: Adjust indentation. 2015-06-30 18:54:10 +02:00
Kirben
d48ccd357d AGOS: Fix bug #5986 - AGOS: Simon1 Amiga CD32 Verb Area missing. 2015-06-30 20:43:10 +10:00
Kirben
927ff67ce6 AGOS: List Infocom versions of Simon the Sorcerer 1 during detections. 2015-06-30 13:49:01 +10:00
Martin Kiewitz
fe31e6a3f6 AGOS: Accolade AdLib: remove _ from reset-methods
remove "_" from reset-method-names
2015-06-27 19:05:59 +02:00
Martin Kiewitz
371d5e1d90 Merge branch 'master' of github.com:scummvm/scummvm 2015-06-21 11:20:01 +02:00
Martin Kiewitz
155d554183 AGOS: MidiParser_S1D: do proper skipping of SysEx
figured out the code that the original interpreters used to
skip over the header-SysEx
2015-06-21 11:19:28 +02:00
Kirben
2e8fd74548 AGOS: Allow digital sound effects file to be used in PC version of Elvira 2. 2015-06-21 19:14:54 +10:00
Martin Kiewitz
5f77bcc74c AGOS: Accolade MT32: General MIDI mapping
- renamed _MT32 to _nativeMT32
this name doesn't really make sense, because MUNT isn't a native
MT32, but the name is common to the other engines
- implement MT32 -> General MIDI mapping in case no MT32 is
available
- implement dialog screen, so that user is told about General MIDI
mapping and that it may sound awful
2015-06-21 10:06:12 +02:00
Martin Kiewitz
3f9c44c743 AGOS: Accolade AdLib/MT32 driver naming cleanup 2015-06-21 03:23:01 +02:00
Martin Kiewitz
01802eec5f AGOS: Accolade adlib driver: remove debug warning 2015-06-21 01:26:16 +02:00
Martin Kiewitz
ac505b5c71 AGOS: Elvira 2 MUSIC.DRV variant comment added 2015-06-21 01:22:57 +02:00
Martin Kiewitz
69436f6c41 AGOS: Elvira 2 seems to use MUSIC.DRV variant
- Kirben told me that Elvira 2 is shipped with MUSIC.DRV and
INSTR.DAT file. Using MUSIC.DRV file makes the music work properly
I couldn't check, b/c I own none of these games.

- also commented out implemented bug of INSTR.DAT/MUSIC.DRV
This bug only affected the adlib drivers, so I guess we should
rather fix it instead of implementing the same buggy behavior
2015-06-21 01:20:21 +02:00
Martin Kiewitz
d24c68c739 AGOS: implement Accolade AdLib + MT32 music drivers
- both known variants are supported (INSTR.DAT + MUSIC.DRV)
- INSTR.DAT/MUSIC.DRV holds channel mapping, instrument mapping, etc.
- fixed bug inside S1D MidiParser, that ruined some instrument changes
0xFC header was seen as 2 byte header, but it's 4 bytes in Elvira 2
and 5 bytes in Waxworks / Simon 1 demo
- dynamic channel allocation for the MUSIC.DRV adlib driver is not
implemented atm, simply because at least the demos of Waxworks and
Simon 1 do not use this feature
- sound effects of Waxworks are not implemented atm
- note: the game "Altered Destiny" uses Accolade INSTR.DAT variant too
2015-06-21 00:45:45 +02:00
Kirben
06addfc404 AGOS: Add updated patch for #647 - Simon 1 DOS Adlib instrument bank 2015-05-26 13:23:20 +10:00
Kirben
61f0d247aa AGOS: Add proper fix for regression when loading saved games in PC version of Waxworks. 2015-05-21 14:24:52 +10:00
Kirben
4a13462db2 AGOS: Fix regression when loading saved games in PC version of Waxworks. 2015-05-20 11:48:31 +10:00
Kirben
aba98e910c AGOS: Fix changing rooms in the PC version of Waxworks. 2015-05-19 20:23:21 +10:00
Kirben
1aa67cbc96 AGOS: Revert last change for PC version of Waxworks. 2015-05-18 17:12:08 +10:00
Kirben
08744f4ebf AGOS: Fix restoring room state, when changing rooms in PC version of Waxworks. 2015-05-18 16:09:44 +10:00
Kirben
5beeadfd76 Merge pull request #526 from eriktorbjorn/agos-midiloop
AGOS: Give each MIDI track its own loop flag (bug #6665)
2014-11-28 15:14:39 +11:00
Torbjörn Andersson
f94f48ae2b AGOS: Fix invisibility in Amiga CD32 Simon the Sorcerer 1 demo
This probably affects the full version as well, but I haven't
verified that. Either way, the old code was obviously wrong while
the new makes it look right to me.
2014-11-19 22:59:34 +01:00
Torbjörn Andersson
74509eb8ac AGOS: Added detection for Simon the Sorcerer 1 CD32 demo
I have verified that the demo is completable, though it doesn't
actually seems to end. You're just told that there is nothing more
for you to do.
2014-11-19 20:39:27 +01:00
Filippos Karapetis
2621d22cb7 AGOS: Remove trailing whitespace 2014-10-28 16:04:52 +02:00
Torbjörn Andersson
46d1c106ca AGOS: Give each MIDI track its own loop flag
This is needed because the MIDI resources have their own loop flag
that overrides the global one. This makes a difference for games
that use MIDI both for music and sound effects, such as (limited
to?) the floppy version of Simon the Sorcerer 1.
2014-08-18 13:45:20 +02:00
Kirben
cc1a570f96 AGOS: Revert my MIDI changes that caused bug #6664. 2014-06-29 23:36:11 +10:00