https://bugs.winehq.org/show_bug.cgi?id=48130
Bug ID: 48130 Summary: Not runs worldoftanks from shortcut Product: Wine Version: 4.20 Hardware: x86-64 OS: Linux Status: UNCONFIRMED Severity: normal Priority: P2 Component: -unknown Assignee: wine-bugs@winehq.org Reporter: soft-sonic@yandex.ru Distribution: ---
Created attachment 65721 --> https://bugs.winehq.org/attachment.cgi?id=65721 logs_wine4.20
Sorry for my english. Worldoftanks does not start through the shortcut. The client window simply closes without any errors. On version 4.18, everything worked well. I believe this is due to this fix https://bugs.winehq.org/show_bug.cgi?id=47967
Below is a link to the video showing the problem. https://yadi.sk/i/4gTPl6KWYRwV_A
https://bugs.winehq.org/show_bug.cgi?id=48130
magist3r magist3r@gmail.com changed:
What |Removed |Added ---------------------------------------------------------------------------- CC| |magist3r@gmail.com
--- Comment #1 from magist3r magist3r@gmail.com --- Can confirm. Works well on wine 4.19.
https://bugs.winehq.org/show_bug.cgi?id=48130
--- Comment #2 from RDL soft-sonic@yandex.ru --- It seems that wine is resetting the CurrentDirectory parameter. I wrote the simplest lazarus program that runs an executable file in the specified folder.
AProcess: = TProcess.Create (nil); AProcess.CurrentDirectory: = 'Z:\run\media\administrator\16d07e87-2a85-4576-8168-232fdf98cbb7\Games\World_of_Tanks'; AProcess.Executable:='WoTLauncher.exe'; AProcess.Execute; AProcess.Free;
If I run it with this command wine myprogramm.exe then nothing happens because WoTLauncher.exe is not found. although in code programs shows the working directory.
if I run like this: cd '/run/media/administrator/16d07e87-2a85-4576-8168-232fdf98cbb7/Games/ World_of_Tanks' wine myprogramm.exe the program is running.
If you create a bash script with this content #! / Bin / bash export WINEPREFIX = "/ home / administrator / Wine / WoT" cd '/ run / media / administrator / 16d07e87-2a85-4576-8168-232fdf98cbb7 / Games / World_of_Tanks /' wine 'WoTLauncher.exe'
and create a shortcut using xfce for this script. Then by clicking on this shortcut WoTLauncher.exe starts, but the game itself will crash.
Wine resets the working directory at startup. Even if it is specified explicitly in the code.
https://bugs.winehq.org/show_bug.cgi?id=48130
--- Comment #3 from magist3r magist3r@gmail.com --- Looks like it works now with wine 5.0.
https://bugs.winehq.org/show_bug.cgi?id=48130
Matteo Bruni matteo.mystral@gmail.com changed:
What |Removed |Added ---------------------------------------------------------------------------- Resolution|--- |FIXED Status|UNCONFIRMED |RESOLVED Summary|Not runs worldoftanks from |Launching World of Tanks |shortcut |from the shortcut doesn't | |work
--- Comment #4 from Matteo Bruni matteo.mystral@gmail.com --- Resolving fixed, thanks.
https://bugs.winehq.org/show_bug.cgi?id=48130
Alexandre Julliard julliard@winehq.org changed:
What |Removed |Added ---------------------------------------------------------------------------- Status|RESOLVED |CLOSED
--- Comment #5 from Alexandre Julliard julliard@winehq.org --- Closing bugs fixed in 5.17.