LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Games (https://www.linuxquestions.org/questions/linux-games-33/)
-   -   Soldier of fortune 2 (https://www.linuxquestions.org/questions/linux-games-33/soldier-of-fortune-2-a-190061/)

Grisnak 06-05-2004 01:34 PM

Soldier of fortune 2
 
I installed sof2 and when I wine the sof2.exe and sof2mp.exe I get the message:
OpenGL initialization Faliure. To play Soldier of Fortune II please verify that your card is OpenGL Compliant

and so on. Whyyyy?

LavaDevil94 06-05-2004 01:46 PM

Do you have 3D hardware acceleration properly enabled? Do glxinfo to find out.

Grisnak 06-05-2004 01:47 PM

name of display: :0.0
Xlib: extension "GLX" missing on display ":0.0".
Xlib: extension "GLX" missing on display ":0.0".
Xlib: extension "GLX" missing on display ":0.0".
Error: couldn't find RGB GLX visual

visual x bf lv rg d st colorbuffer ax dp st accumbuffer ms cav
id dep cl sp sz l ci b ro r g b a bf th cl r g b a ns b eat
----------------------------------------------------------------------
Xlib: extension "GLX" missing on display ":0.0".
Xlib: extension "GLX" missing on display ":0.0".
0x21 16 tc 1 0 0 c . . 0 0 0 0 0 0 0 0 0 0 0 0 0 None
Xlib: extension "GLX" missing on display ":0.0".
Xlib: extension "GLX" missing on display ":0.0".
0x22 16 dc 1 0 0 c . . 0 0 0 0 0 0 0 0 0 0 0 0 0 None



Somehow this seems wrong =/

proudclod 06-05-2004 04:39 PM

You need to get OpenGL drivers for your graphics card. What do you have, a Radeon or GeForce?

Grisnak 06-06-2004 03:31 AM

GeForce. But the strange things is I have already installed the drivers.

v00d00101 06-06-2004 05:10 AM

Are you running on Fedora RC2?

If so theres a problem with nvidia drivers.

Besides that, try reinstalling the drivers.

Also post up your XF86Config/xorg.conf (/etc/X11/).

Grisnak 06-08-2004 10:19 AM

Heres my config file:
Section "ServerLayout"
Identifier "single head configuration"
Screen 0 "Screen0" 0 0
InputDevice "Mouse0" "CorePointer"
InputDevice "Keyboard0" "CoreKeyboard"
InputDevice "DevInputMice" "AlwaysCore"
EndSection

Section "Files"
# RgbPath is the location of the RGB database. Note, this is the name of the
# file minus the extension (like ".txt" or ".db"). There is normally
# no need to change the default.

# Multiple FontPath entries are allowed (they are concatenated together)
# By default, Red Hat 6.0 and later now use a font server independent of
# the X server to render fonts.

RgbPath "/usr/X11R6/lib/X11/rgb"
FontPath "unix/:7100"
EndSection

Section "Module"
Load "dbe"
Load "extmod"
Load "fbdevhw"
Load "glx"
Load "record"
Load "freetype"
Load "type1"
EndSection

Section "InputDevice"
# Specify which keyboard LEDs can be user-controlled (eg, with xset(1))
# Option "Xleds" "1 2 3"

# To disable the XKEYBOARD extension, uncomment XkbDisable.
# Option "XkbDisable"

# To customise the XKB settings to suit your keyboard, modify the
# lines below (which are the defaults). For example, for a non-U.S.
# keyboard, you will probably want to use:
# Option "XkbModel" "pc102"
# If you have a US Microsoft Natural keyboard, you can use:
# Option "XkbModel" "microsoft"
#
# Then to change the language, change the Layout setting.
# For example, a german layout can be obtained with:
# Option "XkbLayout" "de"
# or:
# Option "XkbLayout" "de"
# Option "XkbVariant" "nodeadkeys"
#
# If you'd like to switch the positions of your capslock and
# control keys, use:
# Option "XkbOptions" "ctrl:swapcaps"
# Or if you just want both to be control, use:
# Option "XkbOptions" "ctrl:nocaps"
#
Identifier "Keyboard0"
Driver "keyboard"
Option "XkbRules" "xfree86"
Option "XkbModel" "pc105"
Option "XkbLayout" "se"
EndSection

Section "InputDevice"
Identifier "Mouse0"
Driver "mouse"
Option "Protocol" "IMPS/2"
Option "Device" "/dev/psaux"
Option "ZAxisMapping" "4 5"
Option "Emulate3Buttons" "no"
EndSection

Section "InputDevice"
# If the normal CorePointer mouse is not a USB mouse then
# this input device can be used in AlwaysCore mode to let you
# also use USB mice at the same time.
Identifier "DevInputMice"
Driver "mouse"
Option "Protocol" "IMPS/2"
Option "Device" "/dev/input/mice"
Option "ZAxisMapping" "4 5"
Option "Emulate3Buttons" "no"
EndSection

Section "Monitor"
Identifier "Monitor0"
VendorName "Monitor Vendor"
ModelName "Dell E771p"
HorizSync 30.0 - 70.0
VertRefresh 50.0 - 160.0
Option "dpms"
EndSection

Section "Device"
Identifier "Videocard0"
Driver "nv"
VendorName "Videocard vendor"
BoardName "NVIDIA GeForce 4 (generic)"
EndSection

Section "Screen"
Identifier "Screen0"
Device "Videocard0"
Monitor "Monitor0"
DefaultDepth 16
SubSection "Display"
Depth 16
Modes "1024x768" "800x600" "640x480"
EndSubSection
EndSection

Section "DRI"
Group 0
Mode 0666
EndSection



Thats it.

Phorem 06-09-2004 03:58 PM

Well if you installed the nvidia drivers from the Nvidia website then the first proplem is your XF86Config.

In the Device section :


Driver "nv"

This should be......

Driver "nvidia"

Not Driver "nv"

Grisnak 06-09-2004 03:58 PM

K Ill try.

Grisnak 06-10-2004 10:56 AM

Now the multiplayer part works ok. When I try to run singleplayer I get the message:

err:virtual:map_image FATAL: Need to relocate module from addr 10000000, but there are no relocation records
wine: could not load L"C:\\Program Files\\Soldier of Fortune II - Double Helix\\SoF2.exe" as Win32 binary

Installing the gold patch doesnt work either. When I open it with wine it firstly asks me to choose language. When I do that and click ok it looks like its extracting files for maybe a second, then it goes to the next screen that asks me to close all windows programs and then click ok. When I click ok or forward or whatever it is it just freezes. And then after quite a long time it just closes down. HELP!

v00d00101 06-10-2004 12:38 PM

Ive never got gold patch to work yet, i had to delete the pb dirs to get it to run. I think pb notices your using some sort of hack and shuts you down. I wouldnt expect a fix, since wine isnt exactly an official method to run stuff.

Single player wont work full stop, it either doesnt load or it crashes in game after a while.

Theres advice over at frankscorner.org

But for me ive never got single player to work, nor punkbuster (but i managed to invalidate my cd key while trying :D).

Grisnak 06-10-2004 12:40 PM

Hehe ok, thanks

LavaDevil94 06-10-2004 12:58 PM

Maybe you could reinstall SOF2 and run it without the gold patch? If you wanted to keep the patched multiplayer, you could copy the installation you currently have to somewhere else, install SOF2, and when you wanted to run singleplayer, use the newly installed version. If you wanted to play multiplayer, you could use the patched version. Or just try WineX :D.


All times are GMT -5. The time now is 12:01 AM.