Welcome to Soldier of Fortune Community Forums
28 Feb 2021, 01:18


View unanswered postsView active topics



Reply to topic  [ 30 posts ]  Go to page Previous  1, 2
Sof 1 CE on Ubuntu/Wine? 
Author Message
Chile

User avatar

Joined:
Thu Mar 23rd, 2017
Posts: 12
Reply with quote
Last post of the previous page :
megalanya wrote:
Mesa is already installed. Outputs;

LIBGL_DEBUG=verbose glxinfo

https://paste.ubuntu.com/24620472/


Code:
OpenGL renderer string: Gallium 0.4 on AMD CEDAR (DRM 2.43.0 / 4.4.0-78-generic, LLVM 4.0.0)


That is a software renderer. Somehow Q3 accepts it but Q2 rejects it. People say it's pretty quick, so I don't blame you if you couldn't tell the difference.
llvmpipe
I'm sorry, but I don't know how it ended there or how to fix it. You can try asking in Linux forums about your card and how to change Gallium for an OpenGL renderer. As I said before, normally video drivers take care of that.

In any case, I'm curious about how Steam handles this. I'd like you to try one last thing: delete (if exists) config.cfg from the User directory inside SoF, then run the following in the SoF directory:

Code:
LD_LIBRARY_PATH=~/.local/share/Steam/ubuntu12_32:~/.local/share/Steam/ubuntu12_32/steam-runtime/i386/lib/i386-linux-gnu:~/.local/share/Steam/ubuntu12_32/steam-runtime/i386/usr/lib/i386-linux-gnu:. wine SoF.exe


Let's see if the game loads using the libraries from Steam.


21 May 2017, 23:39
Profile
Turkey

User avatar

Topic author
Joined:
Thu Apr 06th, 2017
Posts: 14
Reply with quote
ZXProto wrote:

Code:
OpenGL renderer string: Gallium 0.4 on AMD CEDAR (DRM 2.43.0 / 4.4.0-78-generic, LLVM 4.0.0)


That is a software renderer. Somehow Q3 accepts it but Q2 rejects it. People say it's pretty quick, so I don't blame you if you couldn't tell the difference.
llvmpipe
I'm sorry, but I don't know how it ended there or how to fix it. You can try asking in Linux forums about your card and how to change Gallium for an OpenGL renderer. As I said before, normally video drivers take care of that.

In any case, I'm curious about how Steam handles this. I'd like you to try one last thing: delete (if exists) config.cfg from the User directory inside SoF, then run the following in the SoF directory:

Code:
LD_LIBRARY_PATH=~/.local/share/Steam/ubuntu12_32:~/.local/share/Steam/ubuntu12_32/steam-runtime/i386/lib/i386-linux-gnu:~/.local/share/Steam/ubuntu12_32/steam-runtime/i386/usr/lib/i386-linux-gnu:. wine SoF.exe


Let's see if the game loads using the libraries from Steam.


I could not find a file “config.cfg”. Outputs:

Code:
fixme:winediag:start_process Wine Staging 2.4 is a testing version containing experimental patches.
fixme:winediag:start_process Please mention your exact version when filing bug reports on winehq.org.
Fontconfig error: "/etc/fonts/conf.d/10-scale-bitmap-fonts.conf", line 72: non-double matrix element
Fontconfig error: "/etc/fonts/conf.d/10-scale-bitmap-fonts.conf", line 72: non-double matrix element
Fontconfig warning: "/etc/fonts/conf.d/10-scale-bitmap-fonts.conf", line 80: saw unknown, expected number
recursive shutdown


Unfortunately, it didn't work. However, thank you very much for your help.


21 May 2017, 23:59
Profile
Netherlands

User avatar

Joined:
Fri May 23rd, 2014
Posts: 504
Reply with quote
Honestly I don't know much about Ubuntu/Wine.
But Ctrl(3klnk4jh on forum) does and has this page sof1.megalag.org/wine/ which has this patch.

Quote:
The easiest fix is to patch the ref_gl.dll file in your SoF directory (download pre-patched ref_gl.dll). This patch disables the print statement that results in the buffer overflow:

$ echo "909090909090" | xxd -r -p -seek 0x000f772 - ref_gl.dll


http://sof1.megalag.org/sofplus/ref_gl_fixed.zip


22 May 2017, 13:50
Profile
Turkey

User avatar

Topic author
Joined:
Thu Apr 06th, 2017
Posts: 14
Reply with quote
Sauron wrote:
Honestly I don't know much about Ubuntu/Wine.
But Ctrl(3klnk4jh on forum) does and has this page sof1.megalag.org/wine/ which has this patch.

Quote:
The easiest fix is to patch the ref_gl.dll file in your SoF directory (download pre-patched ref_gl.dll). This patch disables the print statement that results in the buffer overflow:

$ echo "909090909090" | xxd -r -p -seek 0x000f772 - ref_gl.dll


http://sof1.megalag.org/sofplus/ref_gl_fixed.zip


Yes, I already tried it. Unfortunately, it does not work. This fix must have already been made in Community Edition.


22 May 2017, 17:55
Profile
Israel

User avatar

Joined:
Sun Dec 04th, 2011
Posts: 392
Reply with quote
wine 'wrapper' for sof1 here with sofplus + fixes : *and sof2
Quote:
User adamhm
I've put together a Wine wrapper for Soldier of Fortune and Soldier of Fortune 2, allowing them to be played on Linux almost like a native game & with no Wine knowledge required.

https://www.gog.com/forum/soldier_of_fo ... inux/page1

and a huge list of other 'wrappers' if anyone was interested
https://www.gog.com/forum/general/adamh ... sion/page1


18 Dec 2020, 22:56
Profile
Canada

User avatar

Joined:
Wed Jan 22nd, 2014
Posts: 188
Reply with quote
For what is worth, WINE 4.0.3 which was the latest when I installed UBUNTU Server 18.04.5 LTS (including current updates) has been running my servers since early 2020.

Most guides recommend older version which I like to get more info on.

Only issue is that it will not update, not allowing me to "easily" upgrade to 20.04.
Haven't tried "manual update" bellow is from "sudo apt update/ upgrade"

Not using Canonical Livepatch. Will paste info just to keep.

Quote:
4 packages can be upgraded. Run 'apt list --upgradable' to see them.

wine-stable/bionic 5.0.3~bionic amd64 [upgradable from: 4.0.3~bionic]
wine-stable-amd64/bionic 5.0.3~bionic amd64 [upgradable from: 4.0.3~bionic]
wine-stable-i386/bionic 5.0.3~bionic i386 [upgradable from: 4.0.3~bionic]
winehq-stable/bionic 5.0.3~bionic amd64 [upgradable from: 4.0.3~bionic]

The following packages have been kept back:
 wine-stable winehq-stable
0 upgraded, 0 newly installed, 0 to remove and 2 not upgraded.


19 Dec 2020, 16:01
Profile
Turkey

User avatar

Topic author
Joined:
Thu Apr 06th, 2017
Posts: 14
Reply with quote
31 January 2021 update: Just solved. :mrgreen:

Intel HD Graphics (integrated graphics processors technology of Intel processors) causes this problem.

I´m just disable integrated graphics from BIOS and solves this problem.

And unfortunately yes. After several years and my English still is too bad.  :dry:


31 Jan 2021, 02:22
Profile
Canada

User avatar

Joined:
Wed Jan 22nd, 2014
Posts: 188
Reply with quote
Got to give it to you ... 4 years and still going  :clap:


31 Jan 2021, 15:10
Profile
Netherlands

User avatar

Joined:
Mon Jun 25th, 2012
Posts: 113
Reply with quote
Trekker wrote:
For what is worth, WINE 4.0.3 which was the latest when I installed UBUNTU Server 18.04.5 LTS (including current updates) has been running my servers since early 2020.

Most guides recommend older version which I like to get more info on.

Only issue is that it will not update, not allowing me to "easily" upgrade to 20.04.
Haven't tried "manual update" bellow is from "sudo apt update/ upgrade"

Not using Canonical Livepatch. Will paste info just to keep.

Quote:
4 packages can be upgraded. Run 'apt list --upgradable' to see them.

wine-stable/bionic 5.0.3~bionic amd64 [upgradable from: 4.0.3~bionic]
wine-stable-amd64/bionic 5.0.3~bionic amd64 [upgradable from: 4.0.3~bionic]
wine-stable-i386/bionic 5.0.3~bionic i386 [upgradable from: 4.0.3~bionic]
winehq-stable/bionic 5.0.3~bionic amd64 [upgradable from: 4.0.3~bionic]

The following packages have been kept back:
 wine-stable winehq-stable
0 upgraded, 0 newly installed, 0 to remove and 2 not upgraded.


On Debian, you can usually make it install with 'apt full-upgrade' (or 'apt dist-upgrade', which is the same). Ubuntu should be similar. Check what apt plans to do before you press Y to continue. Especially on Debian testing/unstable, sometimes apt can decide to uninstall like 50% of your packages so you'll end up with a broken system which takes some effort to repair. It would be wise to press N then.


01 Feb 2021, 09:24
Profile
Canada

User avatar

Joined:
Wed Jan 22nd, 2014
Posts: 188
Reply with quote
@3klnk4jh, thanks.

Not worried about this, all is running well.
Most I read recommend older WINE releases!

I am waiting for them to have the server I want available then I'd be trying Debian.
Might have to give up and order an identical server which is available.

I have the KS-10, wanted to go to KS-11, may be even "downgrade" to KS-9 or KS-7.

Right now there are error messages (not causing any issues) with snap and WINE, will post terdump.

Spoiler:


I have been ignoring this but can fix snap and possibly upgrade too. Going to get another server, set it up then try few things on the old server before returning it.

4 SoF Servers
single seedbox currently under 50 torrents, max I ever seed be around 200.
might start hosting my old simple website ... hmmm

Should not need a lot of power for the above, downgrade is looking better as I type ... more money towards the beer fund.


10 Feb 2021, 15:29
Profile
Great Britain

User avatar

Joined:
Fri Dec 02nd, 2011
Posts: 129
Reply with quote
check out sof on linux if you're interested
SoF native linux [Fix]


18 Feb 2021, 18:49
Profile
Display posts from previous:  Sort by  
Reply to topic   [ 30 posts ]  Go to page Previous  1, 2
Topic Views: 4648


Who is online

Users browsing this forum: No registered users and 1 guest


Top
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot post attachments in this forum

Search for:
Powered by phpBB® Forum Software © phpBB Group
www.sof1.org