[Scummvm-git-logs] scummvm master -> 39ce56a1e0a713a7df890c5d27314e098d0ce958

bluegr noreply at scummvm.org
Thu Jan 18 21:41:51 UTC 2024


This automated email contains information about 1 new commit which have been
pushed to the 'scummvm' repo located at https://github.com/scummvm/scummvm .

Summary:
39ce56a1e0 STARK: Fix not loading ssn sounds in Steam version


Commit: 39ce56a1e0a713a7df890c5d27314e098d0ce958
    https://github.com/scummvm/scummvm/commit/39ce56a1e0a713a7df890c5d27314e098d0ce958
Author: antoniou79 (a.antoniou79 at gmail.com)
Date: 2024-01-18T23:41:48+02:00

Commit Message:
STARK: Fix not loading ssn sounds in Steam version

This should address bug report #12956 about the missing sounds

It seems that the Steam version of TLJ has the .ssn sounds (found in the GOG version) as ovs (ogg vorbis) sounds.

I have tested with the provided saved game, and this fixes the sounds that were not loading (I think it's trains arriving/leaving sfx)

I only have the GOG version and the Steam versions of the game to test. I do not have any of the CDs version(s).

Changed paths:
    engines/stark/resources/sound.cpp


diff --git a/engines/stark/resources/sound.cpp b/engines/stark/resources/sound.cpp
index 527f227b1ea..be2df387a5b 100644
--- a/engines/stark/resources/sound.cpp
+++ b/engines/stark/resources/sound.cpp
@@ -78,7 +78,7 @@ Audio::RewindableAudioStream *Sound::makeAudioStream() {
 		// The 2 CD version uses Ogg Vorbis
 		Common::Path filename = _filename;
 		Common::String baseName(filename.baseName());
-		if (baseName.hasSuffix(".iss") || baseName.hasSuffix(".isn")) {
+		if (baseName.hasSuffix(".iss") || baseName.hasSuffix(".isn") || baseName.hasSuffix(".ssn")) {
 			baseName = Common::String(baseName.c_str(), baseName.size() - 4) + ".ovs";
 			filename = _filename.getParent().appendComponent(baseName);
 		}




More information about the Scummvm-git-logs mailing list