BLooperZ / remonstered

Builds sound resource for ScummVM using High-Quality SFX and Speech from DOTT Remastered.
GNU General Public License v3.0
23 stars 1 forks source link

Unsupported in ScummVM 2.6.0 #3

Open SirYodaJedi opened 2 years ago

SirYodaJedi commented 2 years ago

Source (from ScummVM Discord server):

image

The new reimplementation of iMUSE is not going to support MP3/OGG/FLAC audio files, so files would need to be reencoded as Creative VOC in order to be used. Supposedly SoX can do this, but at the very least it is probably necessary to update the readme when 2.6.0 releases to warn users.

BLooperZ commented 2 years ago

Thank you, but there is more to that (re-encoding as VOC will not suffice) (dropping support in ScummVM 2.6.0 comes from same reason) the VOC-based edition does not have offset table, the individual VOC streams are referenced directly by their offset in-file. that means, in order to change the audio stream, the script itself (which specify the sound reference) has to be changed accordingly as well.

(the ogg/mp3/flac variants had an offset table, mapping original/virtual/reference offset to actual offset in compressed monster file)... as far as I understand, support was dropped due to direct offset manupulation by some iMuse opcodes. Need to look deeper in new iMuse implementation to see if that "layer of indirection" can still be re-introduced while supporting the functionality of those opcodes. (might be possible if any offset manipulation always results exactly at the start of some stream)

elvisish commented 1 year ago

DOTT still works in 2.6.0 apparently but FT doesn't, what format does DOTT use and could FT be converted to that?