http://bugs.winehq.org/show_bug.cgi?id=10603
GyB gyebro69@gmail.com changed:
What |Removed |Added ---------------------------------------------------------------------------- CC| |gyebro69@gmail.com
--- Comment #15 from GyB gyebro69@gmail.com 2010-07-19 12:50:20 --- I'd like to respond to the original bug reporter, who stated: the missing sounds in Sub Command and Dangerous Waters are due to the unimplemented functions in dsound.
He's completely wrong: the problem lies somewhere else in Wine. After running these games with a winedebug=+file traces it turned out Wine cannot open the corresponding sound (.wav) files. Here's a relevant line from the log:
warn:file:OpenFile (C:\Program Files\Sonalysts Combat Simulations\Dangerous Waters Demo\Audio\Sfx\sfx.agg+pinged.wav): return = HFILE_ERROR error= 2
All these games store their sound files in an Sfx.agg (compressed) file. Either Wine has problem with extracting them or simply Wine misses something in the pathnames directing to the files. Note the '+' (plus) sign in the pathname: 'sfx.agg+pinged.wav'. I don't know what '+' means under a native Windows environment (probably that it is a compressed file), but Wine surely misinterprets the path, thus cannot find the files. A 'dirty' workaround is to extract all the .wavs from the archives and place them into a directory named 'Sfx.agg+'. Sounds are now working in these games in Wine. For extracting, you need to use the utility agg.exe, available from the modding section of Dangerous Waters: http://www.commanders-academy.com/wiki/index.php?title=Modding_Tools (After extraction a mass-rename is needed to get rid of the first 15 characters of the extracted filenames.)
Sorry for this long-drawn-out explanation, I just wanted to point out, the originally reported issue doesn't belong to the unimplemented function in dsound.
Please, try these games using the aforementioned 'hack' (e.g. extracting the .wavs)
This was all tested with Wine-1.2.
P.s.: a big kudos to the guy on winehq's irc channel, who lead me to the right direction when asked him about the issue in these games, and suggested the solution.
This bugreport is surely valid though...for the other games reported in it, but not for the games: Sub Command, Dangerous Waters and Jane's 688(I) Hunter-Killer.
Regards