http://bugs.winehq.org/show_bug.cgi?id=26303
Summary: Rayman 2 Demo menu item doesn't work until you remove a backslash Product: Wine Version: 1.3.15 Platform: x86 OS/Version: Linux Status: NEW Severity: normal Priority: P2 Component: programs AssignedTo: wine-bugs@winehq.org ReportedBy: dank@kegel.com
ftp://ftp.ubisoft.com/Rayman2/rayman2high.zip (sha1sum 14b2ad6f41e2e1358f3a4a5167d67a7111ea4fb5 ) is a cute little game that works well if you do winetricks-alpha vd=640x480 dinput and run it with wine c:\UbiSoft\Rayman2Demo\Rayman2Demo.exe but it fails if you use the freedesktop.org icon placed on the desktop or in the system menus. The icon target is
env WINEPREFIX="$HOME/.local/share/wineprefixes/rayman2_demo" wine C:\windows\UbiSoft\SetupUbi.exe -play\ Rayman2
That command in a terminal reproduces the error. Removing the backslash between 'play' and 'Rayman2' works around the problem, and lets you start the game from the menus.
And commenting out the line case ' ': in winemenubuilder.c in escape() also works around the bug.
Are there programs that rely on spaces being escaped in fdo desktop entries?
http://bugs.winehq.org/show_bug.cgi?id=26303
--- Comment #1 from Dan Kegel dank@kegel.com 2011-03-04 14:10:05 CST --- Created an attachment (id=33528) --> (http://bugs.winehq.org/attachment.cgi?id=33528) Patch showing offending line
http://bugs.winehq.org/show_bug.cgi?id=26303
--- Comment #2 from Dan Kegel dank@kegel.com 2011-03-04 14:21:24 CST --- Let's make this just about the desktop icon. The system menu entry seems to be a different problem.
http://bugs.winehq.org/show_bug.cgi?id=26303
Dan Kegel dank@kegel.com changed:
What |Removed |Added ---------------------------------------------------------------------------- Summary|Rayman 2 Demo menu item |Rayman 2 Demo desktop icon |doesn't work until you |doesn't work until you |remove a backslash |remove a backslash
http://bugs.winehq.org/show_bug.cgi?id=26303
Dan Kegel dank@kegel.com changed:
What |Removed |Added ---------------------------------------------------------------------------- Keywords| |download, Installer URL| |ftp://ftp.ubisoft.com/Rayma | |n2/rayman2high.zip
http://bugs.winehq.org/show_bug.cgi?id=26303
Damjan Jovanovic damjan.jov@gmail.com changed:
What |Removed |Added ---------------------------------------------------------------------------- Keywords| |integration CC| |damjan.jov@gmail.com
--- Comment #3 from Damjan Jovanovic damjan.jov@gmail.com 2011-03-30 14:07:45 CDT --- My guess is you installed it for the "Current user" instead of "All users" (if you were given the choice), thus it put the .lnk file in ~/Desktop, forcing winemenubuilder to use the old code for generating a .desktop file that parses the .lnk file, instead of the new code that launches the .lnk file with start.exe directly. In other words, this is probably a side effect of bug 3548 (or a duplicate of it, if you prefer that view).
http://bugs.winehq.org/show_bug.cgi?id=26303
--- Comment #4 from Dan Kegel dank@kegel.com 2011-04-01 23:10:18 CDT --- I'm pretty sure this was a default install.
http://bugs.winehq.org/show_bug.cgi?id=26303
Frédéric Delanoy frederic.delanoy@gmail.com changed:
What |Removed |Added ---------------------------------------------------------------------------- CC| |frederic.delanoy@gmail.com
--- Comment #5 from Frédéric Delanoy frederic.delanoy@gmail.com 2013-07-11 06:17:22 CDT --- Still in wine-1.6-rc4-99-g94c7806.
Nothing asked about "Current User" or "All Users" during installation
http://bugs.winehq.org/show_bug.cgi?id=26303
hanska2@luukku.com changed:
What |Removed |Added ---------------------------------------------------------------------------- CC| |hanska2@luukku.com
--- Comment #6 from hanska2@luukku.com --- I didn't try to get it work, but the desktop icon definitely doesnt start the demo.
wine 1.7.22
https://bugs.winehq.org/show_bug.cgi?id=26303
super_man@post.com changed:
What |Removed |Added ---------------------------------------------------------------------------- CC| |super_man@post.com
--- Comment #7 from super_man@post.com --- Download doesn't seem to work for me anymore,but should be quite safe to assume that the issue still remains 1.7.51
https://bugs.winehq.org/show_bug.cgi?id=26303
--- Comment #8 from Frédéric Delanoy frederic.delanoy@gmail.com --- (In reply to super_man from comment #7)
Download doesn't seem to work for me anymore,
I could download it, you just need to use a proper FTP client to download it.
but should be quite safe to assume that the issue still remains 1.7.51
Don't assume it's fixed/still present if you could not test.
https://bugs.winehq.org/show_bug.cgi?id=26303
joaopa jeremielapuree@yahoo.fr changed:
What |Removed |Added ---------------------------------------------------------------------------- CC| |jeremielapuree@yahoo.fr
--- Comment #9 from joaopa jeremielapuree@yahoo.fr --- Still a bug in current wine? (wine-3.4) Here is a new link to download the demo: https://www.fileplanet.com/23184/download/Rayman-2-Demo
https://bugs.winehq.org/show_bug.cgi?id=26303
--- Comment #10 from joaopa jeremielapuree@yahoo.fr --- Unfortunately, the bug is still here with wine-4.1.
https://bugs.winehq.org/show_bug.cgi?id=26303
--- Comment #11 from joaopa jeremielapuree@yahoo.fr --- Bug still occurs with wine-8.6 Workaround still works.
https://bugs.winehq.org/show_bug.cgi?id=26303
felineswift+winehq@gmail.com changed:
What |Removed |Added ---------------------------------------------------------------------------- CC| |felineswift+winehq@gmail.co | |m
--- Comment #12 from felineswift+winehq@gmail.com --- Still present in wine-9.0.
WINEARCH="win32" WINEPREFIX="/mynew/prefix" wine SETUP.exe
The best configuration for your computer is: DirectX 6.1 MMX System (~27MB)
Install
Path
C:\Ubisoft\Rayman2Demo\
Choose a groupname
Ubi Soft Games\
# this command works after two backslashes are removed from the desktop file in "-play\ Rayman2" $ kioclient5 exec To\ Play\ Rayman\ 2\ Demo.desktop Script not loaded! Could not open the fileC:\windows\UbiSoft\InstData\ubiins.des
# This works out of the box $ WINEPREFIX="/mynew/prefix" wine start To\ Play\ Rayman\ 2\ Demo.lnk
Game starts normally, monitor switches to 640x480 resolution and that is not restored back to original after quiting the game. Menus show in 640x480 resolution very blurred, probably needs virtual desktop.