Hartmut Figge
2016-Jun-23 15:07 UTC
[Wine] Since wine 1.9.11 - How to get rid of the new bar below the game window?
Greetings, beginning with wine 1.9.11 I have a new bar below the game window which effectively steals part of the usable area. Here is a screenshot of Gothic I. http://www.triffids.de/pub/screenshot/wine-1.9.11.png (931 KB) No desktop environment here, only IceWM. My games are started with shell scripts which cd to the directory of the game and then run 'wine program'. In the case of Gothic I --------------- hafi at i5-64 ~ $ cat `which g1` #!/bin/bash cd ~/'.wine/drive_c/Program Files (x86)/JoWooD/Gothic/system/' wine gothic --------------- There has to be a parameter when calling a program which disables this new bar. Or at least a simple way to get rid of it after the game is started. Perhaps it is simple for someone familiar with Windows. What to do? :) Hartmut
pelzflorian (Florian Pelz)
2016-Jun-23 20:50 UTC
[Wine] Since wine 1.9.11 - How to get rid of the new bar below the game window?
Hello, Gothic has problems with the titlebar for a long time. This may or may not be related. Bisecting the git versions reveals that the change has been introduced by this commit: 45b2b1f09b30b01726685983dd8e3edb42c1fd1c is the first bad commit commit 45b2b1f09b30b01726685983dd8e3edb42c1fd1c Author: Alexandre Julliard <julliard at winehq.org> Date: Fri May 27 21:08:44 2016 +0900 explorer: Add a helper function to resize and display the tray window. Signed-off-by: Alexandre Julliard <julliard at winehq.org> This probably should be reported as a bug. Will you do it? Other than that, you can set the right resolution in Gothic.ini to avoid this bug. However, Gothic may automatically reset your resolution settings. I therefore suggest you adapt your script to make sure your resolution settings are applied each time you run Gothic: #!/bin/bash cd ~/'.wine/drive_c/Program Files (x86)/JoWooD/Gothic/system/' cat Gothic.ini | sed 's/zVidResFullscreenX=640/zVidResFullscreenX=1024/;s/zVidResFullscreenY=480/zVidResFullscreenY=768/;s/zVidResFullscreenBPP=16/zVidResFullscreenBPP=32/'> GOTHIC.INI2mv GOTHIC.INI2 Gothic.ini wine gothic The entire sed command should be on one line. Please use the resolution appropriate for your display instead of 1024×768. Make sure it is the same resolution you use for your virtual desktop in winecfg. You may need to start and quit Gothic once before the new settings take effect. It works for me at least. Regards, Florian Pelz
pelzflorian (Florian Pelz)
2016-Jun-23 21:00 UTC
[Wine] Since wine 1.9.11 - How to get rid of the new bar below the game window?
On 06/23/2016 10:50 PM, pelzflorian (Florian Pelz) wrote:> #!/bin/bash > cd ~/'.wine/drive_c/Program Files (x86)/JoWooD/Gothic/system/' > cat Gothic.ini | sed > 's/zVidResFullscreenX=640/zVidResFullscreenX=1024/;s/zVidResFullscreenY=480/zVidResFullscreenY=768/;s/zVidResFullscreenBPP=16/zVidResFullscreenBPP=32/' >> GOTHIC.INI2 > mv GOTHIC.INI2 Gothic.ini > wine gothic >Even better script with sed -i, still one line: #!/bin/bash cd ~/'.wine/drive_c/Program Files (x86)/JoWooD/Gothic/system/' sed -i 's/zVidResFullscreenX=640/zVidResFullscreenX=1024/;s/zVidResFullscreenY=480/zVidResFullscreenY=768/;s/zVidResFullscreenBPP=16/zVidResFullscreenBPP=32/' Gothic.ini wine gothic
Hartmut Figge
2016-Jun-23 21:35 UTC
[Wine] Since wine 1.9.11 - How to get rid of the new bar below the game window?
pelzflorian (Florian Pelz):>Gothic has problems with the titlebar for a long time. This may or may >not be related.Gothic was only an example. Almost all of my games now show this behaviour. Might & Magic 6 to 9, Morrowind, Oblivion. There is one exception though, Wizardry 8 is not affected.>Bisecting the git versions reveals that the change has been introduced >by this commit: >45b2b1f09b30b01726685983dd8e3edb42c1fd1c is the first bad commit >commit 45b2b1f09b30b01726685983dd8e3edb42c1fd1c >Author: Alexandre Julliard <julliard at winehq.org> >Date: Fri May 27 21:08:44 2016 +0900 > explorer: Add a helper function to resize and display the tray window. > > Signed-off-by: Alexandre Julliard <julliard at winehq.org>Thanks for that. For SeaMonkey I do sometimes the same in Mercurial.>This probably should be reported as a bug. Will you do it?But I'm not sure if this is a bug or done on purpose. ;) I am used to strange decisions for SeaMonkey. Hartmut
Alexandre Julliard
2016-Jun-24 02:55 UTC
[Wine] Since wine 1.9.11 - How to get rid of the new bar below the game window?
"pelzflorian (Florian Pelz)" <pelzflorian at pelzflorian.de> writes:> Hello, > > Gothic has problems with the titlebar for a long time. This may or may > not be related. > > Bisecting the git versions reveals that the change has been introduced > by this commit: > 45b2b1f09b30b01726685983dd8e3edb42c1fd1c is the first bad commit > commit 45b2b1f09b30b01726685983dd8e3edb42c1fd1c > Author: Alexandre Julliard <julliard at winehq.org> > Date: Fri May 27 21:08:44 2016 +0900 > > explorer: Add a helper function to resize and display the tray window. > > Signed-off-by: Alexandre Julliard <julliard at winehq.org> > > This probably should be reported as a bug. Will you do it?This should already be fixed in git. The fix will be included in 1.9.13. -- Alexandre Julliard julliard at winehq.org