https://bugs.winehq.org/show_bug.cgi?id=51502
Bug ID: 51502 Summary: Civilization 3 Sound Stutters, loops, and fails (eventually) Product: Wine Version: 6.13 Hardware: x86-64 OS: Linux Status: UNCONFIRMED Severity: normal Priority: P2 Component: mountmgr.sys Assignee: wine-bugs@winehq.org Reporter: bryan@varnernet.com Distribution: ---
Audio on Civilization III is just not very good.
Typical short sounds stutter, playback sounding badly rendered into the target buffer, loop when they shouldn't, etc.
The most common problem is for the sound (all of it) to just stop, or just continuously loop a small soundfile that should have been a one-off play at the triggered point in time.
Looks like the app is using dsound, along with winmm to mmioOpenA the .wav's.
https://bugs.winehq.org/show_bug.cgi?id=51502
Bryan Varner bryan@varnernet.com changed:
What |Removed |Added ---------------------------------------------------------------------------- Component|mountmgr.sys |directx-dsound
https://bugs.winehq.org/show_bug.cgi?id=51502
--- Comment #1 from Max Mad nirterigno@vusra.com --- Created attachment 74604 --> https://bugs.winehq.org/attachment.cgi?id=74604 dummy sound to replace glitching waw's
Check comment about sound.
https://bugs.winehq.org/show_bug.cgi?id=51502
Max Mad nirterigno@vusra.com changed:
What |Removed |Added ---------------------------------------------------------------------------- CC| |nirterigno@vusra.com
--- Comment #2 from Max Mad nirterigno@vusra.com --- Hello. i realized that the files that cause the problem are the .waw ones. Having this in consideraiton, i asked what could happen if i remove o replace those files with dummy ones. After trying it several times, i found a way to play the game with sound, avoiding the continuous save>restart games.
For this, i obtained a 'dummy' .waw which has size different from 0kb, and its sound is 'void'. After that, i had to replace every file that was prone to bug in-game. I made a list of them, and i replaced them with the .waws.
After that, i found myself able to play smoothly the game with sounds, i even have some FX sounds, like unit ones.
I will attach the file i used, in case somebody would like to test it.
Here i will add a list of the commands i use to replace the .waw, to avoid do it by hand:
Civ3/Sounds: Button OK.wav ;PopupInfo.wav ;PopupConsole.wav; PopupAdvisor.wav ;LoveTheKing.wav ;MorphText.wav
Sounds/AMbience SFX: Cricket.wav ;Eagle.wav; Hawk.wav; Meadowlark.wav ;Oriole.wav; Skylark.wav; wolf1.wav; Woodlark.wav
EVERY .waw inside Sound/Build/Ancient: AncECa.wavAncECb.wavAncECc.wavAncECd.wavAncECe.wavAncECf.wavAncECg.wavAncECh.wavAncECi.wavAncGRa.wavAncGRb.wavAncGRc.wavAncGRd.wavAncGRe.wavAncGRf.wavAncGRg.wavAncGRh.wavAncGRi.wavAncMEa.wavAncMEb.wavAncMEc.wavAncMEd.wavAncMEe.wavAncMEf.wavAncMEg.wavAncMEh.wavAncMEi.wavAncMEj.wavAncNAa.wavAncNAb.wavAncNAc.wavAncNAd.wavAncNAe.wavAncNAf.wavAncNAg.wavAncORa.wavAncORb.wavAncORc.wavAncORd.wavAncORe.wav
And the commands i use where:
find . -name "*.wav" -exec cp dummy.wav {} ; --> Inside Sounds/Ambience SFX find . -name "*OK*" -exec cp dummy.wav {} ; --> Inside Sounds find . -name "Popup*" -exec cp dummy.wav {} ; --> Inside Sounds find . -name "Love*" -exec cp dummy.wav {} ; --> Inside Sounds find . -name "*.wav" -exec cp dummy.wav {} ; --> Inside Sounds/Build/Ancient find . -name "MorphT*" -exec cp dummy.wav {} ; --> Inside Sounds
After all this, there's still 1 sound that glitches, the one that happens when you create a new game, which avoids the music from play. It gets solved saving the game at start, and loading it from saved games, then music and sounds go smooth.
Another problem i noticed is the music in diplomacy scenes. The sounds goes from stereo(both speakers) to mono (one speaker).I still do not know why this happens, its a bit annoying but the music and remaining FXs still plays, so i decided to share this with you.
If somebody made another way to do this in a cleaner way or has a solution for the 'diplomacy' sound problem, i would like to see it.
M.
https://bugs.winehq.org/show_bug.cgi?id=51502
--- Comment #3 from Max Mad nirterigno@vusra.com --- Created attachment 74673 --> https://bugs.winehq.org/attachment.cgi?id=74673 Posisble Bug(wine 8.10)
Just for the record, the diplomacy sound works properly in older wine versions. I installed wine 5.9 in playonlinux, and the diplomacy sound worked properly(both speakers with music and sound).
Also, i attach a image. This happened in a modpack, using wine last version(wine 8.10) Both things,the diplomacy sound and the mod error which exits the games, were solved downgrading, so maybe there's some kind of new bug into wine newer versions with this game.
M.