Posted June 02, 2017

shmerl
🐧
Registered: Sep 2011
From United States

vanchann
Running around!
Registered: Oct 2008
From Greece
Posted June 02, 2017

I'm suspecting the following:
1. If there are specific GOG registry values, they should have been set during the installation.
2. There have been offsets in the exe file. For example in the way for widescreen support for other games (Dungeon Lords comes to mind).
3. Initially the cause of the problem was the video drivers and it could be solved by using older ones. Maybe the problem appears on Wine, due to the way it handles (or doesn't) the video drivers.
I think the last option is the most probable.

shmerl
🐧
Registered: Sep 2011
From United States
Posted June 02, 2017

1. If there are specific GOG registry values, they should have been set during the installation.
2. There have been offsets in the exe file. For example in the way for widescreen support for other games (Dungeon Lords comes to mind).
3. Initially the cause of the problem was the video drivers and it could be solved by using older ones. Maybe the problem appears on Wine, due to the way it handles (or doesn't) the video drivers.
I think the last option is the most probable.
You can do the same test - modify config.ini manually to something else on Windows, and check if the bug shows up.
I still suggest someone to use Process Monitor and trace all activity of the video settings tool, to catch what it does. If no one can do it, I might end up finding Windows copy and running it in VM just for the test purpose.
Post edited June 02, 2017 by shmerl

vanchann
Running around!
Registered: Oct 2008
From Greece

shmerl
🐧
Registered: Sep 2011
From United States
Posted June 02, 2017

Post edited June 02, 2017 by shmerl

vanchann
Running around!
Registered: Oct 2008
From Greece
Posted June 02, 2017
I have no time for monitoring the system now. But I just edited the config.ini file manually and I have some interesting results!
First of all, the native screen resolution is 1920x1080@60Hz. That was the resolution the game was set on.
Also, I should note here that my drivers are set to stretch the image to fullscreen (no black bars around it).
Here are the steps:
- I used the VideoSettings.exe application to change the resolution to a small, non-native, 4:3 one. It was 1024x768.
- Started the game. The map zoom was incorrect. The bug was there for that resolution!
- I edited the config.ini file manually. Set the resolution to 1920x1080.
- Started the game. The map zoom was fine. No bug was present.
So, I think GOG has injected offsets to the .exe file, and there has been no real fix for the cause of that bug. As a consequence the problem on wine is due to the way it handles the drivers (no stretch allowed by principle on wine).
First of all, the native screen resolution is 1920x1080@60Hz. That was the resolution the game was set on.
Also, I should note here that my drivers are set to stretch the image to fullscreen (no black bars around it).
Here are the steps:
- I used the VideoSettings.exe application to change the resolution to a small, non-native, 4:3 one. It was 1024x768.
- Started the game. The map zoom was incorrect. The bug was there for that resolution!
- I edited the config.ini file manually. Set the resolution to 1920x1080.
- Started the game. The map zoom was fine. No bug was present.
So, I think GOG has injected offsets to the .exe file, and there has been no real fix for the cause of that bug. As a consequence the problem on wine is due to the way it handles the drivers (no stretch allowed by principle on wine).

shmerl
🐧
Registered: Sep 2011
From United States
Posted June 02, 2017

- I used the VideoSettings.exe application to change the resolution to a small, non-native, 4:3 one. It was 1024x768.
- Started the game. The map zoom was incorrect. The bug was there for that resolution!
- I edited the config.ini file manually. Set the resolution to 1920x1080.
- Started the game. The map zoom was fine. No bug was present.
Post edited June 02, 2017 by shmerl

shmerl
🐧
Registered: Sep 2011
From United States
Posted June 03, 2017
May be someone can compare GOG current binary and one they first released? Those resolutions might be hardcodable in it somehow. Something like that works for example for Star Wars: Knights of the Old Republic II.
Post edited June 03, 2017 by shmerl

Gydion
Aexander
Registered: Oct 2011
From United States
Posted June 04, 2017
If you are interested you can try and get a trace showing the map zoom with (you want the one with [url=https://people.freedesktop.org/~jrfonseca/apitrace/]xp in the name). It should help with what calls are being used. It isn't always able to get a proper trace. You would trace it under XP and then play it back under XP to see if it shows the zoom correctly. If it does then try the trace under Wine.

Gydion
Aexander
Registered: Oct 2011
From United States
Posted June 04, 2017
So, with Wine Staging 2.9 all three games are platinum for you? Clean prefixes, zero overrides, no graphical glitches, etc? Also, with the quick look did the FPS still seem fine?
Post edited June 04, 2017 by Gydion

adamhm
GOG for Linux
Registered: May 2009
From United Kingdom
Posted June 04, 2017
Oblivion - Wine Staging 2.9 gold
Fallout 3 - Wine Staging 2.0 gold (totally playable, but some graphics settings either don't work or cause graphical glitches)
Fallout: New Vegas - Wine Staging 2.0 gold (about the same as Fallout 3)
Some systems may require an override for winegstreamer to prevent frequent crashing. Oblivion had some graphics issues (most obvious with the fog/mist effect in dungeons not looking right at all) with Wine Staging 2.0 so I used 2.9 instead for that.
Fallout 3 - Wine Staging 2.0 gold (totally playable, but some graphics settings either don't work or cause graphical glitches)
Fallout: New Vegas - Wine Staging 2.0 gold (about the same as Fallout 3)
Some systems may require an override for winegstreamer to prevent frequent crashing. Oblivion had some graphics issues (most obvious with the fog/mist effect in dungeons not looking right at all) with Wine Staging 2.0 so I used 2.9 instead for that.

Lebostein
New User
Registered: Mar 2010
From Germany
Posted June 04, 2017
Elder Scrolls IV: Oblivion - Game of the Year Edition Deluxe
...runs perfectly with Wine (I use Wineskin with Wine 2.3) on Mac OS X. The only thing is to replace the c:\windows\system32\d3dx9_27.dll from the Wine installation with the same dll from a normal Windows installation (for example WinXP). Then the main character gets a normal skin color (this is an old Wine bug https://bugs.winehq.org/show_bug.cgi?id=20074).
...runs perfectly with Wine (I use Wineskin with Wine 2.3) on Mac OS X. The only thing is to replace the c:\windows\system32\d3dx9_27.dll from the Wine installation with the same dll from a normal Windows installation (for example WinXP). Then the main character gets a normal skin color (this is an old Wine bug https://bugs.winehq.org/show_bug.cgi?id=20074).
Post edited June 04, 2017 by Lebostein

Gydion
Aexander
Registered: Oct 2011
From United States
Posted June 06, 2017

Fallout 3 - Wine Staging 2.0 gold (totally playable, but some graphics settings either don't work or cause graphical glitches)
Fallout: New Vegas - Wine Staging 2.0 gold (about the same as Fallout 3)

...runs perfectly with Wine (I use Wineskin with Wine 2.3) on Mac OS X. The only thing is to replace the c:\windows\system32\d3dx9_27.dll from the Wine installation with the same dll from a normal Windows installation (for example WinXP). Then the main character gets a normal skin color (this is an old Wine bug https://bugs.winehq.org/show_bug.cgi?id=20074).
Post edited June 06, 2017 by Gydion

stuart9001
Advertise here!
Registered: Jun 2011
From United Kingdom
Posted June 06, 2017
Game: Pharaoh + Cleopatra
Installer setup_pharaoh_gold_2.1.0.15.exe
Distro: Linux Mint 17.3 KDE 64-bit
Kernel version: 3.19.0-32-generic
Graphics card: ATI HD7660G (Laptop integrated with A10-4600M chipset)
Graphics driver & version: Propriatary fglrx 2:15.201.2-0ubuntu0.14.04.1
Wine version(s) tested: Wine 1.6.2
Install notes: Install & play
Installs with no problems.
To play, the desktop resolution needs to be set to the game's resolution or the result is a black screen. A way round this may be to use a widescreen hack from wsgf (details here if you need them https://www.gog.com/forum/pharaoh_cleopatra/widescreen_patches). my native resolution isn't supported by any of them so I can't test fully, the hack I used runs fine, though I still have to change desktop resolution.
Installer setup_pharaoh_gold_2.1.0.15.exe
Distro: Linux Mint 17.3 KDE 64-bit
Kernel version: 3.19.0-32-generic
Graphics card: ATI HD7660G (Laptop integrated with A10-4600M chipset)
Graphics driver & version: Propriatary fglrx 2:15.201.2-0ubuntu0.14.04.1
Wine version(s) tested: Wine 1.6.2
Install notes: Install & play
Installs with no problems.
To play, the desktop resolution needs to be set to the game's resolution or the result is a black screen. A way round this may be to use a widescreen hack from wsgf (details here if you need them https://www.gog.com/forum/pharaoh_cleopatra/widescreen_patches). my native resolution isn't supported by any of them so I can't test fully, the hack I used runs fine, though I still have to change desktop resolution.
Post edited June 06, 2017 by stuart9001

Gydion
Aexander
Registered: Oct 2011
From United States
Posted June 07, 2017
First, thanks. Needs a bit more work. The format should be e.g. either post #35 or post #855. Both the file hash for the installer and AppDB link (set to none if it doesn't exist) are non-optional. You appear to be going for the second format. Please make use of the bold tags. This has an AppDB link.
Did you test playing vanilla install or just the widescreen hack? Widescreen hack should also have a file hash for whichever version used. Additionally list in brief all steps needed to run the game in widescreen.
Lastly, Wine 1.6.2 is vastly outdated. Believe this game runs well in newer versions of Wine. Official WineHQ packages are available for Mint 17.x. Stable is currently at 2.0.1. Devlopment & Staging are 2.9. Last old Stable is 1.8.7. Something closer to them would be more useful.
Did you test playing vanilla install or just the widescreen hack? Widescreen hack should also have a file hash for whichever version used. Additionally list in brief all steps needed to run the game in widescreen.
Lastly, Wine 1.6.2 is vastly outdated. Believe this game runs well in newer versions of Wine. Official WineHQ packages are available for Mint 17.x. Stable is currently at 2.0.1. Devlopment & Staging are 2.9. Last old Stable is 1.8.7. Something closer to them would be more useful.