[Bug 48308] New: KERNEL32.dll.SetEnvironmentStringsW function needed for GoG Galaxy
https://bugs.winehq.org/show_bug.cgi?id=48308 Bug ID: 48308 Summary: KERNEL32.dll.SetEnvironmentStringsW function needed for GoG Galaxy Product: Wine-staging Version: 5.0-rc1 Hardware: x86-64 OS: Linux Status: UNCONFIRMED Severity: normal Priority: P2 Component: -unknown Assignee: wine-bugs(a)winehq.org Reporter: berillions(a)gmail.com CC: leslie_alistair(a)hotmail.com, z.figura12(a)gmail.com Distribution: --- Created attachment 66020 --> https://bugs.winehq.org/attachment.cgi?id=66020 Crash dialog box Hi, The open beta for GoG Galaxy 2 is available to replace Galaxy 2. The launcher works with Wine and it's possible to install/update games with it but it's not possible to launch a game. Each time you launch a game, a crash report box appears. In the output console, i have this line which appears each time a game is launched : ------ 2019-12-18 23:29:24.624 [Information][ (0)] [TID 9][galaxy_client]: Launching the game: Beyond Good and Evil (gog_1207658746). wine: Call from 0x7bc94bf9 to unimplemented function KERNEL32.dll.SetEnvironmentStringsW, aborting 2019-12-18 23:29:24.627 [Information][ (0)] [TID 9][galaxy_client]: The game 'gog_1207658746' is pending launch. ------ Thanks for your help -- 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=48308 Zebediah Figura <z.figura12(a)gmail.com> changed: What |Removed |Added ---------------------------------------------------------------------------- Component|-unknown |kernel32 CC|leslie_alistair(a)hotmail.com | |, z.figura12(a)gmail.com | Product|Wine-staging |Wine --- Comment #1 from Zebediah Figura <z.figura12(a)gmail.com> --- Not a Staging bug; moving to the Wine product. -- 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=48308 --- Comment #2 from Berillions <berillions(a)gmail.com> --- (In reply to Zebediah Figura from comment #1)
Not a Staging bug; moving to the Wine product.
I choose wine-staging instead of Wine because GoG Galaxy 2 does not work oob with plain Wine. Staging patches are needed to use correctly the launcher. -- 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=48308 Zebediah Figura <z.figura12(a)gmail.com> changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |z.figura12(a)gmail.com --- Comment #3 from Zebediah Figura <z.figura12(a)gmail.com> --- (In reply to Berillions from comment #2)
(In reply to Zebediah Figura from comment #1)
Not a Staging bug; moving to the Wine product.
I choose wine-staging instead of Wine because GoG Galaxy 2 does not work oob with plain Wine. Staging patches are needed to use correctly the launcher.
Sure, and that's useful to mention. But we reserve the Staging product for bugs *caused* or introduced by Staging patches. -- 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=48308 --- Comment #4 from Berillions <berillions(a)gmail.com> --- Created attachment 66029 --> https://bugs.winehq.org/attachment.cgi?id=66029 SetEnvironmentStringsW stub patch Hello, With the help from Gverm (Gijs Vermeulen) on VKx Discord, i create a patch to add stub function for SetEnvironmentStringsW. I can confirm that the patch works in my case and all my games can be launched directly from the launcher. -- 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=48308 Beta Version <betaversiondot(a)gmail.com> changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |betaversiondot(a)gmail.com --- Comment #5 from Beta Version <betaversiondot(a)gmail.com> --- (In reply to Berillions from comment #4)
Created attachment 66029 [details] SetEnvironmentStringsW stub patch
Hello,
With the help from Gverm (Gijs Vermeulen) on VKx Discord, i create a patch to add stub function for SetEnvironmentStringsW.
I can confirm that the patch works in my case and all my games can be launched directly from the launcher.
Hi. Any ideas when this patch will be added to Wine? -- 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=48308 --- Comment #6 from Nikolay Sivov <bunglehead(a)gmail.com> --- I don't think it makes sense to have a stub, proper implementation with tests does not look too hard. It's a new function, so it won't make it to 5.0 most likely. -- 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=48308 Olivier F. R. Dierick <o.dierick(a)piezo-forte.be> changed: What |Removed |Added ---------------------------------------------------------------------------- Summary|KERNEL32.dll.SetEnvironment |KERNEL32.dll.SetEnvironment |StringsW function needed |StringsW function needed |for GoG Galaxy |for GoG Galaxy 2 beta CC| |o.dierick(a)piezo-forte.be -- 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=48308 --- Comment #7 from Berillions <berillions(a)gmail.com> --- (In reply to Nikolay Sivov from comment #6)
I don't think it makes sense to have a stub, proper implementation with tests does not look too hard. It's a new function, so it won't make it to 5.0 most likely.
it's hard for me :D you're free to do that if you want -- 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=48308 Vijay Kamuju <infyquest(a)gmail.com> changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |infyquest(a)gmail.com --- Comment #8 from Vijay Kamuju <infyquest(a)gmail.com> --- This might need tests due to https://github.com/MicrosoftDocs/feedback/issues/2235 -- 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=48308 maniikarabera(a)protonmail.ch changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |maniikarabera(a)protonmail.ch -- 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=48308 Evgenii Burmentev [:virus_found] <vir.found(a)gmail.com> changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |vir.found(a)gmail.com -- 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=48308 --- Comment #9 from Beta Version <betaversiondot(a)gmail.com> --- With WINE 5.1 that is still an issue. Can somebody add this stub provided by Berillions, so that GOG Galaxy could be used without waiting until somebody add a proper implementation? -- 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=48308 krinkodot22(a)hotmail.com changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |krinkodot22(a)hotmail.com --- Comment #10 from krinkodot22(a)hotmail.com --- Still a problem in wine-5.3 (Staging). -- 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=48308 Ernestas Kulik <ernestas.kulik+wine(a)gmail.com> changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |ernestas.kulik+wine(a)gmail.c | |om --- Comment #11 from Ernestas Kulik <ernestas.kulik+wine(a)gmail.com> --- Oh, good, and I was about to give this a stab myself: https://www.winehq.org/pipermail/wine-devel/2020-January/157715.html -- 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=48308 wk(a)mailstation.de changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |wk(a)mailstation.de -- 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=48308 gardenapple <goldenapplemc3(a)gmail.com> changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |goldenapplemc3(a)gmail.com -- 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=48308 Alexandr Oleynikov <sashok.olen(a)gmail.com> changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |sashok.olen(a)gmail.com --- Comment #12 from Alexandr Oleynikov <sashok.olen(a)gmail.com> --- Since that attempt at implementation was rejected upstream with no follow up, can at least the stub be staged? Thanks -- 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=48308 Yaroslav Freeman <arhangel3102(a)gmail.com> changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |arhangel3102(a)gmail.com --- Comment #13 from Yaroslav Freeman <arhangel3102(a)gmail.com> --- Wine 5.7 Staging. The same error appears. GOG Galaxy 2.0 itself works well. I can run it and install the game. However, there is no way to start the game from the client. A dialog box for sending an error message appears. 2020-04-29 17:47:54.704 [Information][ (0)] [TID 40][galaxy_client]: Launching the game: Risen 3: Titan Lords (gog_1454068042). wine: Call from 0x7bc92d79 to unimplemented function KERNEL32.dll.SetEnvironmentStringsW, aborting 2020-04-29 17:47:54.707 [Information][ (0)] [TID 40][galaxy_client]: The game 'gog_1454068042' is pending launch. -- 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=48308 --- Comment #14 from Zebediah Figura <z.figura12(a)gmail.com> --- I can't get Galaxy 2 to install in either upstream Wine or Wine-Staging, using either the reported version of 5.0 or the current version of 5.7. In every case it gets stuck spinning on PeekMessage() and has an unresponsive UI and black text. Are there workarounds which haven't been mentioned in the original report? zeb(a)terabithia:~/Downloads$ sha1sum GOG_Galaxy_2.0.exe 1f0310b2adb6b6ad2e0ff968a20c232bb9bd6835 GOG_Galaxy_2.0.exe -- 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=48308 --- Comment #15 from Yaroslav Freeman <arhangel3102(a)gmail.com> --- (In reply to Zebediah Figura from comment #14)
Я не могу заставить Galaxy 2 установить в любом восходящем Wine или Wine-Staging, используя либо сообщенную версию 5.0, либо текущую версию 5.7. В каждом случае он застревает вращаясь на PeekMessage () и имеет безответный пользовательский интерфейс и черный текст.
Существуют ли обходные пути, которые не были упомянуты в первоначальном отчете?
zeb(a)terabithia:~ / скачивает$ sha1sum GOG_Galaxy_2.0.exe 1f0310b2adb6b6ad2e0ff968a20c232bb9bd6835 GOG_Galaxy_2.0.exe
You need to install NET.Framework 4.7.1 -- 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=48308 Zebediah Figura <z.figura12(a)gmail.com> changed: What |Removed |Added ---------------------------------------------------------------------------- Status|UNCONFIRMED |RESOLVED Fixed by SHA1| |877bf2a7a09b9fb21f1aeb7a576 | |a033bf5910f16 Resolution|--- |FIXED --- Comment #16 from Zebediah Figura <z.figura12(a)gmail.com> --- Fixed by <https://source.winehq.org/git/wine.git/commitdiff/877bf2a7a09b9fb21f1aeb7a576a033bf5910f16>. -- 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=48308 --- Comment #17 from Yaroslav Freeman <arhangel3102(a)gmail.com> --- (In reply to Zebediah Figura from comment #16)
Fixed by <https://source.winehq.org/git/wine.git/commitdiff/ 877bf2a7a09b9fb21f1aeb7a576a033bf5910f16>.
Will this fix be added to the next wine-staging release? -- 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=48308 --- Comment #18 from Zebediah Figura <z.figura12(a)gmail.com> --- (In reply to Yaroslav Freeman from comment #17)
Will this fix be added to the next wine-staging release?
Yes, it will be released as part of wine and wine-staging 5.8. -- 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=48308 --- Comment #19 from Yaroslav Freeman <arhangel3102(a)gmail.com> --- (In reply to Zebediah Figura from comment #18)
Yes, it will be released as part of wine and wine-staging 5.8.
Thank you so much. -- 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=48308 Alexandre Julliard <julliard(a)winehq.org> changed: What |Removed |Added ---------------------------------------------------------------------------- Status|RESOLVED |CLOSED --- Comment #20 from Alexandre Julliard <julliard(a)winehq.org> --- Closing bugs fixed in 5.8. -- 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=48308 Gijs Vermeulen <gijsvrm(a)gmail.com> changed: What |Removed |Added ---------------------------------------------------------------------------- Summary|KERNEL32.dll.SetEnvironment |GoG Galaxy 2 Beta crashes |StringsW function needed |on unimplemented function |for GoG Galaxy 2 beta |kernel32.dll.SetEnvironment | |StringsW -- 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 (1)
-
WineHQ Bugzilla