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.