RaySupreme 3D Guide

Run RaySupreme 3D on Ubuntu 14.04 for RaySupreme 3D

Run RaySupreme 3D on Ubuntu 14.04

Overview

This guide will tell you how to run RaySupreme on Ubuntu 14.04! It can also be used to run application on different distribution, but can not work properly. This version is only tested on Ubuntu 14.04 64-bits with all upstream updates installed. Should also work on Ubuntu 14.04 32-bits disttribution, *buntu flavors and Ubuntu-based family such as Linux Mint, etc. But not tested there!So, use and enjoy =D

Tutorial (all-in-one story)

Hi, there!
It’s my first tutorial & English is not my native language, so – don’t expect Magic!

I tried to run RaySupreme 3D on my Ubuntu 14.04 – it’s not working anyway(FOR NOW).
So, I also got DRM-free version & start exploring the problem. (Today’s morning =D)

You can read full article or just execute in Terminal this comand:
wget [link] && sudo bash RaySupreme.sh
By following this script you’ll get RaySuprime 3D Steam version working in DEMO mode & RaySuprime 3D DRM-free in a full-featured mode(after applying your serial to the program).

1.
Steam just don’t tell anything…OK =/

2.
Run Ray Supreme 3D executable from /home/bogdan/.local/share/Steam/SteamApps/common/RaySupreme folder…nothing…OK =/

3.
Trying to run RaySupreme or launcher.sh from folder using terminal

Originally posted by RaySupreme:

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

The problem is that RS3D searches for libruary in wrong folder, I guess. So, devs, you know what to do! =) (Here can be some other missing libs, so, after correcting some of the errors & experimenting I just got this from Stem RS3D executable; I’ll tell about other missing libs in part 4.)

Originally posted by launcher.sh:

./RaySupreme: symbol lookup error: /usr/lib/x86_64-linux-gnu/libgio-2.0.so.0: undefined symbol: g_type_add_instance_private

The problem is in gvfs package, with the latest version it have some troubles with g_type_add_instance_private. It can be solved by downgrading this package or using an older version of distribution, there you’ll run RaySupreme as good as it is. But in my case it’s not an answer, so, devs, rewrite this script, please!

4.
Didn’t have any success with Steam version I moved to DRM-free version.
It also didn’t want to run, so now…not a great surprise! =)

Originally posted by RaySupreme:

./RaySupreme: error while loading shared libraries: libGLEW.so.1.8: cannot open shared object file: No such file or directory

Ubuntu 14.04 distributing libGLEW 1.10.0 – the newer one. Creating symlink, trying to run…

Originally posted by RaySupreme:

./RaySupreme: error while loading shared libraries: libglut.so.3: cannot open shared object file: No such file or directory

HA-HA, noo, Ray O.0))) Just install freeglut3 package not distributed by default…
Got it!
What about Steam version? – you’ll ask me. Nothing. Didn’t run. So, if you really want, you can use my script, wich will replace launcher.sh & RaySupreme with castomized files(with backups) & you will have RaySuprime 3D working, but only in DEMO mode(if you have no serial, of course)) – I can advice you to wait for update after I’ll post this article or, if you really want to try RS3D out – fix it with my script and you’ll have a demo.

5.
The Conclusion.
If you use Linux based OS, for now, do not get RaySupreme on Steam – couse of the “broken overlay” I’ll say. If you want this software better purchase it on official site & use my script to fix it – entering your serial you will have fully featured RaySupreme 3D! =D If you want to get it on Steam.. Better wait for the future update, fixing overlay. Also, I noticed other developers have troubles with Valve’s steam_api.so libruary on Linux. For example Leadwerks Engine developers.

6.
For developers.
To get your software working in our favourite os – just a to-do list =D:

  • update launcher.sh, taking into consideration latest changes in gvfs – not to get g_type_add_instance_private error
  • distribute freeglut3( libglut.so.3) with RS3D as dependency, cause it’s not installed by default
  • upgrade libGLEW.so dependency to the latest 1.10.x version not to create spikes in our systems)

For those who want to see the shell script – take a look ad FOR NERDS part of this article =D
All the best Devs & Users!

FOR NERDS

Here is the RaySupreme.sh & launcher.sh code with coments on every line %):

Originally posted by RaySupreme.sh:

#!/bin/bash

printf “RaySupreme 3D tweak by abogdan [linux] Steam user.n”
printf “You should have RaySupeme installed on Steam in DEFAULT DIRRECTORY to get this working.n”
printf “Steam default dirrectory is $HOME/.local/share/Steam.n”
printf “For DRM-free installation – no matter.n”
printf “Tested on Ubuntu 14.04 64-bits, CAN NOT WORK for other distributions!n”

printf “You have Steam or DRM-free RaySupreme 3D version? (1/2)n”
printf “1. Steam(only DEMO will be available after tweak!).n”
printf “2. DRM-free(activate with your key after tweak).n”

read answer
case “$answer” in

1) echo “You choose Steam.”
cd /usr/lib/x86_64-linux-gnu/ # go to libraries folder
sudo ln -s libGLEW.so.1.10.0 libGLEW.so.1.8 # symlink new libGLEW with an older one
sudo apt-get install freeglut3 -y # libglut.so.3 is not installed by default in Ubuntu 14.04, so install it
wget -P /tmp/rs3dtweak [link] # download DRM-free(WORKING GOOD!) executable from my Dropbox
wget -P /tmp/rs3dtweak [link] # download simple DEMO launcher from my Dropbox
sudo cp $HOME/.local/share/Steam/SteamApps/common/RaySupreme/RaySupreme{,.bak} # backup original executable
sudo cp $HOME/.local/share/Steam/SteamApps/common/RaySupreme/launcher.sh{,.bak} # backup original launcher
sudo cp /tmp/rs3dtweak/RaySupreme $HOME/.local/share/Steam/SteamApps/common/RaySupreme # copy DEMO executable to application folder
sudo cp /tmp/rs3dtweak/launcher.sh $HOME/.local/share/Steam/SteamApps/common//RaySupreme # copy DEMO launcher to application folder
sudo rm -rf /tmp/rs3dtweak/ # delete downloaded files
printf “Run RaySupreme 3D from Steam(only DEMO available!).”
printf “Steam version is tweaked successfully!n”
# got latest RaySupreme 3D (Steam) working on your Ubuntu 14.04 64-bits =D
exit 0
;;

2) echo “You choose DRM-free.”
cd /usr/lib/x86_64-linux-gnu/ # go to libraries folder
sudo ln -s libGLEW.so.1.10.0 libGLEW.so.1.8 # symlink new libGLEW with an older one
sudo apt-get install freeglut3 -y # libglut.so.3 is not installed by default in Ubuntu 14.04, so install it
printf “Run RaySupreme from instalation folder(activate with your key).n”
printf “DRM-free version is tweaked successfully!n”
# got latest RaySupreme 3D (DRM-free) working on your Ubuntu 14.04 64-bits =D
exit 0
;;

*) echo “Wrong input! Exiting..”
exit 0
;;
esac

Originally posted by launcher.sh:

#!/bin/bash

./RaySupreme -style motif # running DRM-free RaySupreme 3D DEMO executable

Have a good day! =)

SteamSolo.com