[Bug 51502] New: Civilization 3 Sound Stutters, loops, and fails (eventually)
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(a)winehq.org Reporter: bryan(a)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. -- Do not reply to this email, post in Bugzilla using the above URL to reply. You are receiving this mail because: You are watching all bug changes.
https://bugs.winehq.org/show_bug.cgi?id=51502 Bryan Varner <bryan(a)varnernet.com> changed: What |Removed |Added ---------------------------------------------------------------------------- Component|mountmgr.sys |directx-dsound -- Do not reply to this email, post in Bugzilla using the above URL to reply. You are receiving this mail because: You are watching all bug changes.
https://bugs.winehq.org/show_bug.cgi?id=51502 --- Comment #1 from Max Mad <nirterigno(a)vusra.com> --- Created attachment 74604 --> https://bugs.winehq.org/attachment.cgi?id=74604 dummy sound to replace glitching waw's Check comment about sound. -- Do not reply to this email, post in Bugzilla using the above URL to reply. You are receiving this mail because: You are watching all bug changes.
https://bugs.winehq.org/show_bug.cgi?id=51502 Max Mad <nirterigno(a)vusra.com> changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |nirterigno(a)vusra.com --- Comment #2 from Max Mad <nirterigno(a)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. -- Do not reply to this email, post in Bugzilla using the above URL to reply. You are receiving this mail because: You are watching all bug changes.
https://bugs.winehq.org/show_bug.cgi?id=51502 --- Comment #3 from Max Mad <nirterigno(a)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. -- Do not reply to this email, post in Bugzilla using the above URL to reply. You are receiving this mail because: You are watching all bug changes.
http://bugs.winehq.org/show_bug.cgi?id=51502 balf raric <balf.raric@proton.me> changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |balf.raric@proton.me --- Comment #4 from balf raric <balf.raric@proton.me> --- Created attachment 80829 --> http://bugs.winehq.org/attachment.cgi?id=80829 2 fixed loopy .wav files Patch for 2 problematic .wav files - edited with audacity so their length is just under 3 seconds (see my comment in thread) -- Do not reply to this email, post in Bugzilla using the above URL to reply. You are receiving this mail because: You are watching all bug changes.
http://bugs.winehq.org/show_bug.cgi?id=51502 --- Comment #5 from balf raric <balf.raric@proton.me> --- Hi :) I've just stumbled upon the loopy sfx problem in Civ3. First of all, there is a less drastic temporary method of unlooping a stuck sound than save>restart (as suggested by Max Mad). Simply turning sfx off and back on again in preferences menu does the trick. There is also a more graceful and robust solution, I've found. Editing the problematic .wav files with audacity so their length is just under 3 seconds seems to work fine. Few hours into the game, I have only had problems with Hawk.wav and LoveTheKing.wav, both of which no longer loop after the trim + fadeout edit. For the lazy cnuts among us, I've added edited files to attachments. One goes to ./Sounds/LoveTheKing.wav, the other to ./Sounds/Ambience Sfx/Hawk.wav Offtopic side notes: - to make game run neatly in fullscreen mode, I've added KeepRes=1 to ./Conquests/conquests.ini - also added PlayIntro=0 just to skip skipping intro every time I run the game but not a real issue - to resolve the black map issue, I've created an empty ./Conquests/lib32/libOSMesa.so.8 file with touch and I'm running game with LD_LIBRARY_PATH=./lib32/ wine Civ3Conquests.exe in ./Conquests as working directory (https://bugs.winehq.org/show_bug.cgi?id=41930) Having implemented all of above, game runs smooth (so far). My config: Debian GNU/Linux 12 (bookworm) Linux 6.1.0-44-686-pae wine-8.0 (Debian 8.0~repack-4) Civilization III Complete v1.22 (gog) -- Do not reply to this email, post in Bugzilla using the above URL to reply. You are receiving this mail because: You are watching all bug changes.
http://bugs.winehq.org/show_bug.cgi?id=51502 balf raric <balf.raric@proton.me> changed: What |Removed |Added ---------------------------------------------------------------------------- Attachment #80829|1 |0 is patch| | -- Do not reply to this email, post in Bugzilla using the above URL to reply. You are receiving this mail because: You are watching all bug changes.
http://bugs.winehq.org/show_bug.cgi?id=51502 balf raric <balf.raric@proton.me> changed: What |Removed |Added ---------------------------------------------------------------------------- Attachment #80829|text/plain |application/zip mime type| | -- Do not reply to this email, post in Bugzilla using the above URL to reply. You are receiving this mail because: You are watching all bug changes.
participants (2)
-
WineHQ Bugzilla -
WineHQ Bugzilla