WarGame: European Escalation Linux (Optimus)

This game was giving me a hell of a time. It would not load at all. I tried the following things, and got the following errors.

./Wargame”  <— (this just using the intel card) .. Game wont load. Just got this error.

./Wargame: error while loading shared libraries: libsteam_api.so: cannot open shared object file: No such file or directory

Then i tried “optirun ./Wargame“… Then got this error.

[S_API FAIL] SteamAPI_Init() failed; Sys_LoadModule failed to load: /home/chuck/.steam/bin32/steamclient.so
[S_API FAIL] SteamAPI_Init() failed; unable to locate a running instance of Steam, or a local steamclient.dll.
sh: xmessage: command not found

(Although this error says steam isn’t running..it is)

Then i tried “primusrun ./Wargame

./Wargame: error while loading shared libraries: libsteam_api.so: cannot open shared object file: No such file or directory

This error saying that “libsteam_api.so” isn’t found….It is in the Wargame directory.

So i figured it out, and created this bash script for primusrun with this command “touch Opti-war“.

then i opened it with gedit “gedit Opti-war“. Then i added this to it

#!/bin/bash
export vblank_mode=0
cd ~/.local/share/Steam/SteamApps/common/Wargame\ European\ Escalation/ && export LD_LIBRARY_PATH=~/.local/share/Steam/ubuntu12_32/:~/.local/share/Steam/SteamApps/common/Wargame\ European\ Escalation/ SteamAppId=58610 && primusrun ./Wargame

Then i saved it, and did “chmod +x Opti-war

then i ran it just fine with “./Opti-war

Game loaded up just fine, and works great 🙂 It took a bit to figure out what was going on.

 

I hope this helps any other Optimus users having the same problem

-Orkultus-

 

 

 

Advertisements

One comment on “WarGame: European Escalation Linux (Optimus)

  1. orkultus says:

    So i even tried to remove primusrun from the last part of that script so it would load with the intel card. ..didn’t work either. Got a Coredump ..

    ./Opti-War
    Setting breakpad minidump AppID = 58610
    Steam_SetMinidumpSteamID: Caching Steam ID: 76561197976761994 [API loaded no]
    terminate called after throwing an instance of ‘Eugen::EGraphicInit’
    what(): ChangeMode failure
    ./Opti-War: line 3: 2169 Aborted (core dumped) ./Wargame

    So i guess i will just stick to my Optimus 😛

    -Orkultus-

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Google+ photo

You are commenting using your Google+ account. Log Out / Change )

Connecting to %s