XEEN: Fix voice playback in World of Xeen Darkside

This commit is contained in:
Paul Gilbert 2018-05-05 11:58:33 -04:00
parent 49116b4ae7
commit f2d80f4ae3
2 changed files with 7 additions and 8 deletions

13
README
View File

@ -927,14 +927,11 @@ is simpler and more straightforward than moving around using the menu.
3.15 Might and Magic Xeen games notes:
--------------------------------------
To properly plan the World of Xeen CD Talkie using original discs,
use LAME or some other MP3 encoder to rip the cd audio tracks to files.
Name the files track2.mp3 track3.mp3 etc. ScummVM must be compiled with
MAD support to use this option. You will need to rip the file from the
CD as a WAV file, then encode the MP3 files in constant bit rate. This
can be done for each track with a LAME command line like:
lame -t -q 0 -b 96 track2.wav track2.mp3
To properly play the World of Xeen CD Talkie using original discs,
use LAME or some other encoder to rip the cd audio tracks to files,
either mp3 or ogg. Whichever you choose, the tracks of the first CD
should be named from track02 to track29, whereas the second CD's
audio tracks should be encoded as track30 through to track60.
For the GOG Might and Magic 4-5 installation, install the game to your
computer, and do the following steps:

View File

@ -1475,6 +1475,8 @@ bool Scripts::cmdPlayCD(ParamsIterator &params) {
int trackNum = params.readByte();
int start = params.readUint16LE() * 60 / 75;
int finish = params.readUint16LE() * 60 / 75;
if (_vm->_files->_ccNum)
trackNum += 30;
g_system->getAudioCDManager()->play(trackNum, 1, start, finish - start, false, Audio::Mixer::kSpeechSoundType);
return true;