I installed Oil Rush. If I use Dolphin to navigate to the appropriate folder there is a "launcher_x64.sh" icon. If I double click on it, Oil Rush runs. If I add a link to that icon with the edit KDE tool, and try to run the game from KDE, the game looks like it's going to start and then goes no where. What am I doing wrong? I'm using Kubuntu 12.04 64 bit.
Announcement
Collapse
No announcement yet.
How do I get Oil Rush to run from a KDE menu?
Collapse
This topic is closed.
X
X
-
Can you post the desktop file you are using? Or if running with a script, make the script changes directory to the Oil Rush directory then make sure the top line is "#! /usr/bin/sh" and don't forget to "chmod +x" the script either!
- Top
- Bottom
-
Sorry, I don't quite get your question. After I ran the Oil Rush installer I ran the KDE menu editor. I use "Edit applications" and add Oil Rush. For the command line I browse to the launcher icon and add it. So the command line shown in the "Edit KDE" box is:
/home/larry1204/Games/OilRush-1.10/launcher_x64.sh
This is the contents of that script file:
#!/bin/sh
cd bin
export LD_LIBRARY_PATH=./bin:$LD_LIBRARY_PATH
unset LIBGL_ALWAYS_INDIRECT
unset QT_PLUGIN_PATH
./launcher_x86 -config ./../data/launcher/launcher.xml
I already set it as executable which jives with the fact that I can run it from Dolphin as I mentioned.
- Top
- Bottom
Comment
-
- Top
- Bottom
Comment
-
Ok, so just create one for yourself.
Another tip: If you get a spinning screen that makes the game unplayable on some levels, it's because there's a problem with joystick detection in the game. Assuming you don't have a joystick and get this spinning problem, run this before launching the game:
sudo rm /dev/input/js0
but remember, your joystick won't work after. I ended up putting this command in /etc/rc.local. However, I may dust off the old force-feedback AVS stick and try using it again...
- Top
- Bottom
Comment
Comment