https://bugs.winehq.org/show_bug.cgi?id=39943
Bug ID: 39943 Summary: Worms Armageddon opens wine explorer instead of running Product: Wine Version: 1.9.0 Hardware: x86 OS: Linux Status: UNCONFIRMED Severity: normal Priority: P2 Component: -unknown Assignee: wine-bugs@winehq.org Reporter: aliovx@gmail.com Distribution: ---
Worms Armageddon 3.7.2.1 used to run fine with wine 1.7.xx and older versions, but since I upgraded to wine 1.9, when i start the game it open Wine Explorer instead of running normally.
https://bugs.winehq.org/show_bug.cgi?id=39943
--- Comment #1 from Bruno Jesus 00cpxxx@gmail.com --- Maybe a problem with spaces in the game path? Try installing in a path without spaces just to check.
https://bugs.winehq.org/show_bug.cgi?id=39943
--- Comment #2 from Ali aliovx@gmail.com --- (In reply to Bruno Jesus from comment #1)
Maybe a problem with spaces in the game path? Try installing in a path without spaces just to check.
Installation path is /home/user/.wine/drive_c/Team17/worms, so no spaces.
https://bugs.winehq.org/show_bug.cgi?id=39943
Austin English austinenglish@gmail.com changed:
What |Removed |Added ---------------------------------------------------------------------------- Keywords| |regression
--- Comment #3 from Austin English austinenglish@gmail.com --- Please run a regression test: http://wiki.winehq.org/RegressionTesting
https://bugs.winehq.org/show_bug.cgi?id=39943
--- Comment #4 from Ali aliovx@gmail.com --- Created attachment 53372 --> https://bugs.winehq.org/attachment.cgi?id=53372 Commit that introducted the bug
I did the git bisect sequence for regressions, commit 9db3444e4070025162a87cce49ca7fe9ef44ce56 seems to cause the issue, see the attached file.
https://bugs.winehq.org/show_bug.cgi?id=39943
Ali aliovx@gmail.com changed:
What |Removed |Added ---------------------------------------------------------------------------- Summary|Worms Armageddon opens wine |Worms Armageddon opens wine |explorer instead of running |explorer instead of running | |the game
https://bugs.winehq.org/show_bug.cgi?id=39943
Ali aliovx@gmail.com changed:
What |Removed |Added ---------------------------------------------------------------------------- Summary|Worms Armageddon opens wine |Worms Armageddon opens wine |explorer instead of running |explorer instead of running |the game |
https://bugs.winehq.org/show_bug.cgi?id=39943
--- Comment #5 from Alexandre Julliard julliard@winehq.org --- Please get a +process trace.
https://bugs.winehq.org/show_bug.cgi?id=39943
--- Comment #6 from Ali aliovx@gmail.com --- Created attachment 53393 --> https://bugs.winehq.org/attachment.cgi?id=53393 Strace wine worms Armageddon
https://bugs.winehq.org/show_bug.cgi?id=39943
Sebastian Lackner sebastian@fds-team.de changed:
What |Removed |Added ---------------------------------------------------------------------------- CC| |sebastian@fds-team.de Regression SHA1| |9db3444e4070025162a87cce49c | |a7fe9ef44ce56
https://bugs.winehq.org/show_bug.cgi?id=39943
--- Comment #7 from Sebastian Lackner sebastian@fds-team.de --- (In reply to Ali from comment #6)
Created attachment 53393 [details] Strace wine worms Armageddon
That is the not the log which was asked for. To grab a +process log, run:
WINEDEBUG=+process wine app.exe &> logfile.log
Where app.exe is the name of your executable. Also see http://wiki.winehq.org/FAQ#get_log
https://bugs.winehq.org/show_bug.cgi?id=39943
--- Comment #8 from Ali aliovx@gmail.com --- Created attachment 53396 --> https://bugs.winehq.org/attachment.cgi?id=53396 +process debug log
https://bugs.winehq.org/show_bug.cgi?id=39943
--- Comment #9 from Alexandre Julliard julliard@winehq.org --- trace:process:create_process_impl app (null) cmdline L"explorer "/desktop=WormsArmageddon,640x480" "C:\Team17\Worms Armageddon\WA.exe" /novirtualdesktop"
The /desktop option is incorrectly quoted. How did you install the application?
https://bugs.winehq.org/show_bug.cgi?id=39943
--- Comment #10 from Ali aliovx@gmail.com --- I have installed it using a CD. This is a ".wine" setup that I have since wine 1.6.x.
https://bugs.winehq.org/show_bug.cgi?id=39943
--- Comment #11 from Sebastian Lackner sebastian@fds-team.de --- (In reply to Alexandre Julliard from comment #9)
trace:process:create_process_impl app (null) cmdline L"explorer "/desktop=WormsArmageddon,640x480" "C:\Team17\Worms Armageddon\WA.exe" /novirtualdesktop"
The /desktop option is incorrectly quoted. How did you install the application?
This seems to be caused by a wine-specific hack included in Worms Amageddon. See http://worms2d.info/Worms_Armageddon_ReadMe_(English)/v3.6.30.0_Beta_Update:
""" [CS] A new compatibility setting for Wine has been added, Force Wine virtual desktop (ForceWineVirtualDesktop_On.reg). When this setting is enabled, W:A will automatically relaunch itself in a virtual desktop, by running “explorer "/desktop=640x480,Worms Armageddon" [WA.exe's full command-line] /novirtualdesktop”. (The /novirtualdesktop switch is used to temporarily override the effect of the setting, thus preventing W:A from entering into an endless loop.) """
https://bugs.winehq.org/show_bug.cgi?id=39943
--- Comment #12 from Alexandre Julliard julliard@winehq.org --- (In reply to Sebastian Lackner from comment #11)
(In reply to Alexandre Julliard from comment #9)
trace:process:create_process_impl app (null) cmdline L"explorer "/desktop=WormsArmageddon,640x480" "C:\Team17\Worms Armageddon\WA.exe" /novirtualdesktop"
The /desktop option is incorrectly quoted. How did you install the application?
This seems to be caused by a wine-specific hack included in Worms Amageddon. See http://worms2d.info/Worms_Armageddon_ReadMe_(English)/v3.6.30.0_Beta_Update:
""" [CS] A new compatibility setting for Wine has been added, Force Wine virtual desktop (ForceWineVirtualDesktop_On.reg). When this setting is enabled, W:A will automatically relaunch itself in a virtual desktop, by running “explorer "/desktop=640x480,Worms Armageddon" [WA.exe's full command-line] /novirtualdesktop”. (The /novirtualdesktop switch is used to temporarily override the effect of the setting, thus preventing W:A from entering into an endless loop.) """
That's pretty sad :-(
https://bugs.winehq.org/show_bug.cgi?id=39943
--- Comment #13 from Bruno Jesus 00cpxxx@gmail.com --- Fixed by http://source.winehq.org/git/wine.git/commitdiff/91a394a616e5d44db5100d24768... ?
https://bugs.winehq.org/show_bug.cgi?id=39943
--- Comment #14 from Sebastian Lackner sebastian@fds-team.de --- (In reply to Bruno Jesus from comment #13)
Fixed by http://source.winehq.org/git/wine.git/commitdiff/ 91a394a616e5d44db5100d24768ed037a6ae93be ?
The main issue is fixed, but the patch is not completely correct. manage_desktop() now fails to parse the desktop size when arguments are quoted.
https://bugs.winehq.org/show_bug.cgi?id=39943
Alexandre Julliard julliard@winehq.org changed:
What |Removed |Added ---------------------------------------------------------------------------- Fixed by SHA1| |91a394a616e5d44db5100d24768 | |ed037a6ae93be Status|UNCONFIRMED |RESOLVED Resolution|--- |FIXED
--- Comment #15 from Alexandre Julliard julliard@winehq.org --- (In reply to Sebastian Lackner from comment #14)
(In reply to Bruno Jesus from comment #13)
Fixed by http://source.winehq.org/git/wine.git/commitdiff/ 91a394a616e5d44db5100d24768ed037a6ae93be ?
The main issue is fixed, but the patch is not completely correct. manage_desktop() now fails to parse the desktop size when arguments are quoted.
Sure, but this is not a regression, that's the way it has always worked (or not worked if you like), and it's what Worms Armageddon is expecting.
A quoted option is illegal, and doesn't work on Windows. It only half-worked because the previous command-line parser was too permissive. I don't think there's any reason to fix it further.
https://bugs.winehq.org/show_bug.cgi?id=39943
Michael Stefaniuc mstefani@redhat.com changed:
What |Removed |Added ---------------------------------------------------------------------------- CC| |mstefani@redhat.com Target Milestone|--- |1.8.x
https://bugs.winehq.org/show_bug.cgi?id=39943
Alexandre Julliard julliard@winehq.org changed:
What |Removed |Added ---------------------------------------------------------------------------- Status|RESOLVED |CLOSED
--- Comment #16 from Alexandre Julliard julliard@winehq.org --- Closing bugs fixed in 1.9.2.
https://bugs.winehq.org/show_bug.cgi?id=39943
Michael Stefaniuc mstefani@redhat.com changed:
What |Removed |Added ---------------------------------------------------------------------------- Target Milestone|1.8.x |---
--- Comment #17 from Michael Stefaniuc mstefani@redhat.com --- Removing 1.8.x milestone from bugs included in 1.8.1.