https://bugs.winehq.org/show_bug.cgi?id=43280
Bug ID: 43280 Summary: Gothic 1, no Music Product: Wine-staging Version: 2.10 Hardware: x86-64 OS: FreeBSD Status: UNCONFIRMED Severity: normal Priority: P2 Component: -unknown Assignee: wine-bugs@winehq.org Reporter: shitman71@hotmail.com CC: erich.e.hoover@wine-staging.com, michael@fds-team.de, sebastian@fds-team.de
Music not working in Gothic 1 and other games, this was introduced with windows vista sp1. They did some changes to their soundsystem or something like this, this affected many games. I gues this was introduced in wine too.
I dont know what exactly was done but i know problems with music existed even in win8.1.
https://bugs.winehq.org/show_bug.cgi?id=43280
SF shitman71@hotmail.com changed:
What |Removed |Added ---------------------------------------------------------------------------- Component|-unknown |-unknown Product|Wine-staging |Wine
https://bugs.winehq.org/show_bug.cgi?id=43280
SF shitman71@hotmail.com changed:
What |Removed |Added ---------------------------------------------------------------------------- Resolution|--- |FIXED Status|UNCONFIRMED |RESOLVED
--- Comment #1 from SF shitman71@hotmail.com --- Can be fixed by installing directmusic and dmsynth.
https://bugs.winehq.org/show_bug.cgi?id=43280
Sebastian Lackner sebastian@fds-team.de changed:
What |Removed |Added ---------------------------------------------------------------------------- Summary|Gothic 1, no Music |No music in Gothic 1 | |(incomplete dmusic/dmsynth | |implementation) Resolution|FIXED |--- Status|RESOLVED |UNCONFIRMED Component|-unknown |directx-dmusic
--- Comment #2 from Sebastian Lackner sebastian@fds-team.de --- (In reply to SF from comment #1)
Can be fixed by installing directmusic and dmsynth.
Glad that it works, but please note that closing the bug as FIXED is not correct. Wine has a builtin directmusic / dmsynth implementation, which most likely still suffers from this bug. Installing native DLLs via winetricks is always just a workaround.
Now that you know which component is involved, it would help to attach terminal output (with and without WINEDEBUG=+dmusic) so that developers can further track down what exactly is missing in Wine.
https://bugs.winehq.org/show_bug.cgi?id=43280
consolelogger consolelogger@rhyta.com changed:
What |Removed |Added ---------------------------------------------------------------------------- CC| |consolelogger@rhyta.com
--- Comment #3 from consolelogger consolelogger@rhyta.com --- Created attachment 65523 --> https://bugs.winehq.org/attachment.cgi?id=65523 console log with +dmusic etc.
Ubuntu 19.10 - Wine 4.18 - wine-mono-4.9.3.msi
I can confirm this bug. Crashes on the main menu screen, when music is not disabled in GOTHIC.INI .
Console log is attached. I am happy to provide more details and do tests when asked.
https://bugs.winehq.org/show_bug.cgi?id=43280
Alistair Leslie-Hughes leslie_alistair@hotmail.com changed:
What |Removed |Added ---------------------------------------------------------------------------- CC| |leslie_alistair@hotmail.com
--- Comment #4 from Alistair Leslie-Hughes leslie_alistair@hotmail.com --- 0009:fixme:dmstyle:IDirectMusicTrack8Impl_GetParam (07A26708, GUID_IDirectMusicStyle, 0, 00000000, 0089444C): stub
This appears to be the cause of the crash, it needs to return a valid IDirectMusicStyle interface.
https://bugs.winehq.org/show_bug.cgi?id=43280
--- Comment #5 from Alistair Leslie-Hughes leslie_alistair@hotmail.com --- Created attachment 65558 --> https://bugs.winehq.org/attachment.cgi?id=65558 Possible solution.
If possible, can you try this patch to see if it stops the crash.
https://bugs.winehq.org/show_bug.cgi?id=43280
Alistair Leslie-Hughes leslie_alistair@hotmail.com changed:
What |Removed |Added ---------------------------------------------------------------------------- Keywords| |patch
https://bugs.winehq.org/show_bug.cgi?id=43280
--- Comment #6 from consolelogger consolelogger@rhyta.com --- Created attachment 65682 --> https://bugs.winehq.org/attachment.cgi?id=65682 console log with Alistair Leslie-Hughes' patch
Debian 10 - Wine 4.19 built from source with Alistair Leslie-Hughes' patch - wine-mono-4.9.3.msi
I built wine with your patch (thank you that one). The game still crashes with music enabled. The log for that is attached above.
I am happy to do more tests, but if needed there is a 90MB small demo for the game available that crashes in the same way with music enabled. https://www.fileplanet.com/archive/p-66776/Gothic-Demo
https://bugs.winehq.org/show_bug.cgi?id=43280
Olivier F. R. Dierick o.dierick@piezo-forte.be changed:
What |Removed |Added ---------------------------------------------------------------------------- Keywords| |download CC| |o.dierick@piezo-forte.be URL| |https://www.fileplanet.com/ | |archive/p-5260/Gothic-Demo- | |English
--- Comment #7 from Olivier F. R. Dierick o.dierick@piezo-forte.be --- (In reply to consolelogger from comment #6)
I am happy to do more tests, but if needed there is a 90MB small demo for the game available that crashes in the same way with music enabled. https://www.fileplanet.com/archive/p-66776/Gothic-Demo
Hello,
The link you provide is for the German version of the demo.
For convenience, I put the link to the English demo in the URL field.
Please, confirm that the English demo is also affected by the issue.
Regards.
https://bugs.winehq.org/show_bug.cgi?id=43280
--- Comment #8 from consolelogger consolelogger@rhyta.com --- Created attachment 65687 --> https://bugs.winehq.org/attachment.cgi?id=65687 demo console log with Alistair Leslie-Hughes' patch
Ok, the bug can be reproduced with the linked english demo, too. And while it has a bigger file size, it has the same (newer) version number the full game has, so the behavior there is more likely to be the same.
(Btw. What is required to have the bug get a different status from UNCONFIRMED? We are doing tests and writing patches, but the status doesn't reflect that...)
https://bugs.winehq.org/show_bug.cgi?id=43280
Zebediah Figura z.figura12@gmail.com changed:
What |Removed |Added ---------------------------------------------------------------------------- CC| |z.figura12@gmail.com Ever confirmed|0 |1 Status|UNCONFIRMED |NEW
--- Comment #9 from Zebediah Figura z.figura12@gmail.com --- (In reply to consolelogger from comment #8)
(Btw. What is required to have the bug get a different status from UNCONFIRMED? We are doing tests and writing patches, but the status doesn't reflect that...)
Confirmed status doesn't really matter.
https://bugs.winehq.org/show_bug.cgi?id=43280
Alistair Leslie-Hughes leslie_alistair@hotmail.com changed:
What |Removed |Added ---------------------------------------------------------------------------- Attachment #65558|0 |1 is obsolete| |
--- Comment #10 from Alistair Leslie-Hughes leslie_alistair@hotmail.com --- Created attachment 65688 --> https://bugs.winehq.org/attachment.cgi?id=65688 Stop crash
You need to apply https://source.winehq.org/patches/data/173756
and the attached patch. For me, this stops the crash.
At lot more work will be required for music to actual work.
https://bugs.winehq.org/show_bug.cgi?id=43280
--- Comment #11 from Alistair Leslie-Hughes leslie_alistair@hotmail.com --- (In reply to Alistair Leslie-Hughes from comment #10)
Created attachment 65688 [details] Stop crash
You need to apply https://source.winehq.org/patches/data/173756
and the attached patch. For me, this stops the crash.
These patches are now upstream.
https://bugs.winehq.org/show_bug.cgi?id=43280
--- Comment #12 from consolelogger consolelogger@rhyta.com --- Most awesome. Thanks leslie_alistair, mstefani and julliard! I will test Gothic 1 and 2 with Wine 4.21 and write that up for the AppDB. Cheers!
https://bugs.winehq.org/show_bug.cgi?id=43280
Alistair Leslie-Hughes leslie_alistair@hotmail.com changed:
What |Removed |Added ---------------------------------------------------------------------------- Attachment #65688|0 |1 is obsolete| |
--- Comment #13 from Alistair Leslie-Hughes leslie_alistair@hotmail.com --- Comment on attachment 65688 --> https://bugs.winehq.org/attachment.cgi?id=65688 Stop crash
Fixed upstream.
https://bugs.winehq.org/show_bug.cgi?id=43280
Alistair Leslie-Hughes leslie_alistair@hotmail.com changed:
What |Removed |Added ---------------------------------------------------------------------------- Keywords|patch |
https://bugs.winehq.org/show_bug.cgi?id=43280
Chebanenko Igor chebanenkoigor93@gmail.com changed:
What |Removed |Added ---------------------------------------------------------------------------- CC| |chebanenkoigor93@gmail.com
--- Comment #14 from Chebanenko Igor chebanenkoigor93@gmail.com --- Created attachment 68227 --> https://bugs.winehq.org/attachment.cgi?id=68227 Gothic II Win7 API Monitoring
API monitoring in Gothic II in Win 7. I don't know if that will help,but still... Gothic II ships with the same game engine,so info will be actual, I think...
https://bugs.winehq.org/show_bug.cgi?id=43280
Anya maniikarabera@protonmail.ch changed:
What |Removed |Added ---------------------------------------------------------------------------- CC| |maniikarabera@protonmail.ch
https://bugs.winehq.org/show_bug.cgi?id=43280
--- Comment #15 from Gijs Vermeulen gijsvrm@gmail.com --- Still present in wine-6.5-275-gac65e154096.
`winetricks -q gmdls directmusic` works around.
https://bugs.winehq.org/show_bug.cgi?id=43280
tt_1 herrtimson@yahoo.de changed:
What |Removed |Added ---------------------------------------------------------------------------- CC| |herrtimson@yahoo.de
--- Comment #16 from tt_1 herrtimson@yahoo.de --- (In reply to Gijs Vermeulen from comment #15)
Still present in wine-6.5-275-gac65e154096.
`winetricks -q gmdls directmusic` works around.
Is this still correct for Gothic 1 with more recent wine-7.x versions?
For Gothic2 it is winetricks directmusic, but sometimes there are noisy cracks in the dialogues - resetting dsound to builtin works around that.
https://bugs.winehq.org/show_bug.cgi?id=43280
--- Comment #17 from Chebanenko Igor chebanenkoigor93@gmail.com --- Created attachment 75554 --> https://bugs.winehq.org/attachment.cgi?id=75554 Gothic in Wine 8.21
Debug file from Wine 8.21
https://bugs.winehq.org/show_bug.cgi?id=43280
soredake broaden_acid002@simplelogin.com changed:
What |Removed |Added ---------------------------------------------------------------------------- CC|broaden_acid002@simplelogin | |.com |
https://bugs.winehq.org/show_bug.cgi?id=43280
--- Comment #18 from Chebanenko Igor chebanenkoigor93@gmail.com --- Created attachment 76124 --> https://bugs.winehq.org/attachment.cgi?id=76124 Gothic in Wine 9.3
Debug from Gothic in Wine 9.3 (+relay,+seh,+tid)
https://bugs.winehq.org/show_bug.cgi?id=43280
Michael Stefaniuc mstefani@winehq.org changed:
What |Removed |Added ---------------------------------------------------------------------------- CC| |mstefani@winehq.org
--- Comment #19 from Michael Stefaniuc mstefani@winehq.org --- Thanks, but that trace is not very useful. Can you please run a "+seh,+dsound,+dsound3d,+dswave,+dmband,+dmcompos,+dmdump,+dmfile,+dmfileraw,+dmime,+dmloader,+dmobj,+dmscript,+dmstyle,+dmsynth,+dmusic" debug?
https://bugs.winehq.org/show_bug.cgi?id=43280
--- Comment #20 from Chebanenko Igor chebanenkoigor93@gmail.com --- Created attachment 76132 --> https://bugs.winehq.org/attachment.cgi?id=76132 Debug from Gothic
Another debug.
https://bugs.winehq.org/show_bug.cgi?id=43280
--- Comment #21 from Chebanenko Igor chebanenkoigor93@gmail.com --- Created attachment 76345 --> https://bugs.winehq.org/attachment.cgi?id=76345 Gothic in Wine 9.7
+seh,+dsound,+dsound3d,+dswave,+dmband,+dmcompos,+dmdump,+dmfile,+dmfileraw,+dmime,+dmloader,+dmobj,+dmscript,+dmstyle,+dmsynth,+dmusic
https://bugs.winehq.org/show_bug.cgi?id=43280
--- Comment #22 from Chebanenko Igor chebanenkoigor93@gmail.com --- Created attachment 76421 --> https://bugs.winehq.org/attachment.cgi?id=76421 Gothic in Wine 9.8