Anyone running Field of Glory II using Wine?

Field of Glory II is a turn-based tactical game set during the Rise of Rome from 280 BC to 25 BC.
Post Reply
Philotomy
Corporal - 5 cm Pak 38
Corporal - 5 cm Pak 38
Posts: 42
Joined: Thu Sep 30, 2010 9:52 pm

Anyone running Field of Glory II using Wine?

Post by Philotomy » Wed Jun 13, 2018 9:34 am

I asked this over in the tech support forum, but it was suggested I might have a better chance of a response in the main forum.

I've been using Wine to run the original Field of Glory on my Linux PC for years. (I don't have a PC running Windows, these days.) I was hoping that Field of Glory II might also run using Wine, and was wondering if anyone has had any success doing this. If you've been able to run Field of Glory II using Wine, please comment and let me know.

Thanks!

rbodleyscott
Field of Glory 2
Field of Glory 2
Posts: 22511
Joined: Sun Dec 04, 2005 6:25 pm

Re: Anyone running Field of Glory II using Wine?

Post by rbodleyscott » Wed Jun 13, 2018 10:38 am

I know that people have used Wine to run it on Macs, but I have no idea if that means it can be used to run it on Linux.
Richard Bodley Scott

Image

Philotomy
Corporal - 5 cm Pak 38
Corporal - 5 cm Pak 38
Posts: 42
Joined: Thu Sep 30, 2010 9:52 pm

Re: Anyone running Field of Glory II using Wine?

Post by Philotomy » Thu Jun 14, 2018 10:12 pm

I went ahead and purchased it. I'm happy to say that I was able to get it running on Linux with Wine. I just played through the first tutorial battle and so far everything seems to be working, so I'm pleased.

I did have an initial issue with the game not being able to set the graphics mode, but I changed the OPTIONS.TXT to turn off fullscreen and specified the max resolution of my monitor, which got me past that.

FWIW (and for reference for anyone else trying to run the game on Linux), I'm running the game on Arch Linux (kernel 4.16.3) with Wine 3.9, Xorg 1.20.0, and the amdgpu open source video driver (18.0.1).

EDIT: I also just tried it after updating Wine to 3.10 (staging) with the Gallium Nine patches (native Direct3D 9 on Linux via Mesa). Better performance! Also, when using Gallium Nine, the fullscreen mode works (i.e., no need to set fullscreen off in OPTIONS.TXT).

Philotomy
Corporal - 5 cm Pak 38
Corporal - 5 cm Pak 38
Posts: 42
Joined: Thu Sep 30, 2010 9:52 pm

Re: Anyone running Field of Glory II using Wine?

Post by Philotomy » Fri Jun 22, 2018 10:54 pm

[UPDATE]:

I got in contact with one of the Wine developers, who created a patch that fixes the fullscreen mode issue when running with standard Wine. Hopefully it will be incorporated into the stable branch of Wine, at some point in the future. For now, the options that have worked for me are:
  • Run with standard/stable Wine (3.10) with fullscreen off and the resolution set to maximum for the monitor (in OPTIONS.TXT)
  • Run with Wine staging (3.10) with the Gallium Nine patches. (No need to modify OPTIONS.TXT)
  • Run with Wine staging (3.10) with the new patch (the patch file can be found here). (If you want to do this, you'll need to compile Wine from source, applying the patch as part of your build.)

w_michael
1st Lieutenant - 15 cm sFH 18
1st Lieutenant - 15 cm sFH 18
Posts: 826
Joined: Sat Apr 25, 2015 1:04 pm
Location: Fort Erie, Canada

Re: Anyone running Field of Glory II using Wine?

Post by w_michael » Wed Jun 27, 2018 3:04 am

I use wine or scotch with every game.
William Michael, Pike & Shot Campaigns & Field of Glory II enthusiast

Philotomy
Corporal - 5 cm Pak 38
Corporal - 5 cm Pak 38
Posts: 42
Joined: Thu Sep 30, 2010 9:52 pm

Re: Anyone running Field of Glory II using Wine?

Post by Philotomy » Wed Jun 27, 2018 10:16 pm

w_michael wrote:I use wine or scotch with every game.
I'm more likely to have a beer. But a nice single malt never goes amiss!

TimDee58
Sergeant - Panzer IIC
Sergeant - Panzer IIC
Posts: 182
Joined: Wed Mar 07, 2018 1:32 am

Re: Anyone running Field of Glory II using Wine?

Post by TimDee58 » Fri Jun 29, 2018 7:15 pm

Philotomy wrote:
w_michael wrote:I use wine or scotch with every game.
I'm more likely to have a beer. But a nice single malt never goes amiss!
I'm never as think as you drunk I am

*hiccup*

Strategiusz
Corporal - Strongpoint
Corporal - Strongpoint
Posts: 73
Joined: Fri Aug 15, 2014 1:46 pm

Re: Anyone running Field of Glory II using Wine?

Post by Strategiusz » Mon Jul 22, 2019 3:55 pm

Is it possible to connect to the multiplayer server with FoG2 by Wine?
It gives me "corrupt or invalid response from server".

tomlowshang
Corporal - 5 cm Pak 38
Corporal - 5 cm Pak 38
Posts: 31
Joined: Mon Jun 26, 2017 2:11 am
Location: Toronto, Canada
Contact:

Re: Anyone running Field of Glory II using Wine?

Post by tomlowshang » Mon Jul 22, 2019 8:02 pm

Multiplayer works on Steam Play, so I see no reason Wine would behave differently. Which version of Wine are you using?

I don't know which port FOG2 uses, but perhaps your firewall is blocking the connection. Which distribution?

Strategiusz
Corporal - Strongpoint
Corporal - Strongpoint
Posts: 73
Joined: Fri Aug 15, 2014 1:46 pm

Re: Anyone running Field of Glory II using Wine?

Post by Strategiusz » Tue Jul 23, 2019 7:54 am

wine-4.12.1
Manjaro stable
FoG2 1.15.2 installed from Slitherine (no Steam)

tomlowshang
Corporal - 5 cm Pak 38
Corporal - 5 cm Pak 38
Posts: 31
Joined: Mon Jun 26, 2017 2:11 am
Location: Toronto, Canada
Contact:

Re: Anyone running Field of Glory II using Wine?

Post by tomlowshang » Tue Jul 23, 2019 2:50 pm

Do you get the lobby login screen? Or does it fail before that?

The following WINEDEBUG command will show if any DLLs are missing.

Code: Select all

WINEDEBUG=+timestamp,+pid,+tid,+seh,+debugstr,+loaddll,+mscoree wine FIELDOFGLORY2.EXE
The Wine AppDB indicates that FOG2 multiplayer has never been tested, so you are in unknown territory. However, it does work on Steam Play, so there is hope.

You get a Steam key when you purchase directly from the Slitherine store, if you want to explore that option.

Steam version of FOG2 won't run on stock Wine due to missing Steam runtime. I run only one non-Steam Slitherine/Matrix game (TOAW4) in Wine. The game uses the same lobby server. I can connect and login without issues. I haven't played a battle, however.

mihnea_1309
Lance Corporal - SdKfz 222
Lance Corporal - SdKfz 222
Posts: 23
Joined: Thu Jul 25, 2019 8:33 am

Re: Anyone running Field of Glory II using Wine?

Post by mihnea_1309 » Thu Jul 25, 2019 3:33 pm

I tried running it using Proton (Steam's version of Wine) and it works (after manually setting the resolution in options.txt) but unfortunately the performance is very low...practically unplayable. I have the latest nvidia drivers (I'm on a nVidia 1050Ti graphics card) and vulkan is running, so I'm not sure what's causing this. FoG:Empires works fine, I'm assuming it's an issue with the 3D rendering. :( Any idea about what Microsoft component to install ? Stuff like Visual C++ etc?

tomlowshang
Corporal - 5 cm Pak 38
Corporal - 5 cm Pak 38
Posts: 31
Joined: Mon Jun 26, 2017 2:11 am
Location: Toronto, Canada
Contact:

Re: Anyone running Field of Glory II using Wine?

Post by tomlowshang » Thu Jul 25, 2019 5:48 pm

For FOG2 you don't need any additional libraries on Steam Play/Proton. I play the game on AMD open source graphics drivers with no launch options and performance is very good.

The game uses d3d9 and should render through the wined3d/opengl backend, which can be cpu bound. What resolution are you using?

You can test that the game really is using wined3d with following launch option:

Code: Select all

PROTON_NO_D3D11=1 %command%
I expect performance will stay the same but you never know.

Another launch option that may help:

Code: Select all

PROTON_NO_ESYNC=1 %command%
This works for some people on other games. I've never have to use it.

mihnea_1309
Lance Corporal - SdKfz 222
Lance Corporal - SdKfz 222
Posts: 23
Joined: Thu Jul 25, 2019 8:33 am

Re: Anyone running Field of Glory II using Wine?

Post by mihnea_1309 » Thu Jul 25, 2019 6:25 pm

Hi, thanks for the suggestions...I tried both but no performance change. I also set the resolution to minimum (800x600) and no noticeable change. Really weird.

tomlowshang
Corporal - 5 cm Pak 38
Corporal - 5 cm Pak 38
Posts: 31
Joined: Mon Jun 26, 2017 2:11 am
Location: Toronto, Canada
Contact:

Re: Anyone running Field of Glory II using Wine?

Post by tomlowshang » Fri Jul 26, 2019 12:10 am

Enable Proton logging and look in $HOME/steam-660160.log for any clues.

Code: Select all

PROTON_LOG=1 %command%

mihnea_1309
Lance Corporal - SdKfz 222
Lance Corporal - SdKfz 222
Posts: 23
Joined: Thu Jul 25, 2019 8:33 am

Re: Anyone running Field of Glory II using Wine?

Post by mihnea_1309 » Fri Jul 26, 2019 7:16 am

Did that, I'm no expert but I don't see anything too bad in that log. There's a bunch of fixme's similar to this:

Code: Select all

270.114:003e:0041:fixme:d3d_shader:print_glsl_info_log Info log received from GLSL shader #18:
270.114:003e:0041:fixme:d3d_shader:print_glsl_info_log Vertex info
270.114:003e:0041:fixme:d3d_shader:print_glsl_info_log -----------
270.114:003e:0041:fixme:d3d_shader:print_glsl_info_log 0(24) : warning C7050: "vs_out[2].zw" might be used before being initialized
270.114:003e:0041:fixme:d3d_shader:print_glsl_info_log 0(24) : warning C7050: "vs_out[3].w" might be used before being initialized
but I don't know what that's about.

The full log is here:
https://justpaste.it/4j1fz,

maybe someone has an idea...

tomlowshang
Corporal - 5 cm Pak 38
Corporal - 5 cm Pak 38
Posts: 31
Joined: Mon Jun 26, 2017 2:11 am
Location: Toronto, Canada
Contact:

Re: Anyone running Field of Glory II using Wine?

Post by tomlowshang » Fri Jul 26, 2019 3:11 pm

Wine is definitely tripping over something very badly. Have you installed anything extra the FOG2 Wine prefix? Have you tried to delete the prefix and let Proton recreate it?

Consider reporting the problem on the Proton bug tracker. It may not be a bug but perhaps one of the Proton developers can make sense of the log.

https://github.com/ValveSoftware/Proton

mihnea_1309
Lance Corporal - SdKfz 222
Lance Corporal - SdKfz 222
Posts: 23
Joined: Thu Jul 25, 2019 8:33 am

Re: Anyone running Field of Glory II using Wine?

Post by mihnea_1309 » Fri Jul 26, 2019 5:59 pm

tomlowshang wrote:
Fri Jul 26, 2019 3:11 pm
Wine is definitely tripping over something very badly. Have you installed anything extra the FOG2 Wine prefix? Have you tried to delete the prefix and let Proton recreate it?

Consider reporting the problem on the Proton bug tracker. It may not be a bug but perhaps one of the Proton developers can make sense of the log.

https://github.com/ValveSoftware/Proton

I will post the log on Proton's github, maybe they can do something. Thanks!

uneducated
Sergeant Major - SdKfz 234/2 8Rad
Sergeant Major - SdKfz 234/2 8Rad
Posts: 601
Joined: Fri Feb 15, 2019 12:42 pm

Re: Anyone running Field of Glory II using Wine?

Post by uneducated » Thu Aug 08, 2019 11:21 am

Philotomy wrote:
Fri Jun 22, 2018 10:54 pm
[UPDATE]:

I got in contact with one of the Wine developers, who created a patch that fixes the fullscreen mode issue when running with standard Wine. Hopefully it will be incorporated into the stable branch of Wine, at some point in the future. For now, the options that have worked for me are:
  • Run with standard/stable Wine (3.10) with fullscreen off and the resolution set to maximum for the monitor (in OPTIONS.TXT)
  • Run with Wine staging (3.10) with the Gallium Nine patches. (No need to modify OPTIONS.TXT)
  • Run with Wine staging (3.10) with the new patch (the patch file can be found here). (If you want to do this, you'll need to compile Wine from source, applying the patch as part of your build.)
You are doing God's work, Philotomy!

In addition to WINE, the game should be made available as an AppImage.

https://appimage.org
https://appimagehub.org

Freenode: #appimage

That would be far easier. The AppImage can be created so that it is packed with WINE and that would greatly ease matters for everybody wanting to run Free on GNU+Linux.

Strategiusz
Corporal - Strongpoint
Corporal - Strongpoint
Posts: 73
Joined: Fri Aug 15, 2014 1:46 pm

Re: Anyone running Field of Glory II using Wine?

Post by Strategiusz » Sun Aug 11, 2019 7:56 pm

I am able to play this game single and multiplayer by Linux native Steam Beta with Proton. Here is how to do it. https://linuxconfig.org/how-to-install- ... y-on-linux

Post Reply

Return to “Field of Glory II”