Rigs of Rods (Sourceforge Project of the Month)
Anyone ever try to get this working on Slackware?
|
Although I am not a fan of games I am intrigued with this thread and I will try to get it installed. Be warned that I am rather busy right now. Should I get any results (or lack thereof) I will post them here. Hopefully others will join in.
|
Basically I am stuck.
Up to now I identified the following dependencies: wxWidgets - SlackBuild from here: http://dl.dropbox.com/u/49744080/wxWidgets.tar.gz ogre - SlackBuild from here: http://slackbuilds.org/slackbuilds/1...es/ogre.tar.gz ois - SlackBuild from here: http://slackbuilds.org/slackbuilds/1...ies/ois.tar.gz For ogre I made a basic installation; i.e. with no options or optional dependencies. Now I am getting this error on rigsofrods: Quote:
|
Sorry for hijacking this old thread, but maybe it's useful for others.
I was able to build Rigs of Rods 0.4.0.7 and all of its dependencies on Slackware64-current. Generating packages out of them wasn't that easy, but I managed it, too. So now we have the latest version of this simulation on Slackware! :) If you want to try out this game, follow these basic instructions: First, you'll have to install the packages from my repository. I use slapt-get, so I added this to my slapt-getrc: Code:
SOURCE=http://schmatzler.de/my_slackbuilds/rigsofrods/:OFFICIAL Code:
slapt-get --update && slapt-get --install FreeImage MyGUI MySocketW OpenAL angelscript caelum hydrax nvidia-cg-toolkit ogre ogre-paged ois rigsofrods wxWidgets zziplib Code:
wget http://schmatzler.de/my_slackbuilds/rigsofrods/SlackBuilds/rigsofrods/content-0407.zip Code:
/usr/games/rigsofrods/RoRConfig |
Impressive. But I'd be even more impressed if your webpage had the actual slackbuilds. That way we can build it ourselves.
|
Quote:
What good is a package without the source? :) |
Cool - that wasn't at first (and very quick) glance available at the download link you pointed for the slapt-get packages. Or maybe I just didn't look hard enough. Thanx .... :-)
|
I'm finally getting back to trying it out. Trying to figure out what are all the pre-req's now.
I'm using your Slackbuild schmatzler got to here Code:
[ 10%] Building CXX object source/main/main_sim/CMakeFiles/RoR.dir/__/gameplay/MaterialReplacer.cpp.o Since yours are 74 bit I have to make them all for 32. I only have one system with >2G ram but haven't tried it yet with 64 bit. |
That is not the actual error. The break in the compilation is being displayed further on top.
Edit: See the latest changes and try rebuilding it with the new SlackBuilds: Code:
+--------------------------+ |
That gets further
Code:
-- Build files have been written to: /tmp/txz/rigsofrods-0.4.0.7 |
According to this:
http://www.rigsofrods.com/threads/11...test-Mercurial you need to build caelum prior to Rigs of Rods. |
Hmm, I thought I did it already. Will go back through and double check them all then.
yep, somehow missed one. Compiled, now it errors when running with this error http://wiki.rigsofrods.com/index.php...rces_Not_Found which simply says reinstall wait, IIRC you need a content pack, ok, I was wrong again, I see the pack within your slackbuild. What I'm trying to do is get a new system working, build a media/game pc for the living room, putting all the stuff the rest of the family likes and want to keep from going windows. I'm getting this: Quote:
|
I uninstalled everything to start clean. Stepping through the slackbuilds in the order of the Ror web site. The OIS Slackbuild fails:
ois-v1-3/LinuxCB/OIS.cbp patching file demos/FFConsoleDemo.cpp Hunk #1 FAILED at 3. 1 out of 1 hunk FAILED -- saving rejects to file demos/FFConsoleDemo.cpp.rej patching file demos/OISConsole.cpp Hunk #1 FAILED at 10. Hunk #2 FAILED at 77. 2 out of 2 hunks FAILED -- saving rejects to file demos/OISConsole.cpp.rej patching file src/linux/LinuxForceFeedback.cpp Hunk #1 FAILED at 33. 1 out of 1 hunk FAILED -- saving rejects to file src/linux/LinuxForceFeedback.cpp.rej patching file src/linux/LinuxJoyStickEvents.cpp Hunk #1 FAILED at 31. 1 out of 1 hunk FAILED -- saving rejects to file src/linux/LinuxJoyStickEvents.cpp.rej So I'm just doing it manually like the RoR site shows. Some of the packages I already have before from previous attempts of my own which is why I didn't see this error in the Slackbuild, I already had an install of OIS. hmm, OIS fails manually libtool: compile: g++ -DHAVE_CONFIG_H -I. -I../includes -I../includes -g -O2 -I/usr/X11R6/include -g -O2 -MT LinuxJoyStickEvents.lo -MD -MP -MF .deps/LinuxJoyStickEvents.Tpo -c ./linux/LinuxJoyStickEvents.cpp -fPIC -DPIC -o .libs/LinuxJoyStickEvents.o ./linux/LinuxJoyStickEvents.cpp: In member function 'virtual void OIS::LinuxJoyStick::capture()': ./linux/LinuxJoyStickEvents.cpp:100:77: error: 'read' was not declared in this scope int ret = read(mJoyStick, &js, sizeof(struct input_event) * JOY_BUFFERSIZE); ^ ./linux/LinuxJoyStickEvents.cpp: In static member function 'static OIS::JoyStickInfoList OIS::LinuxJoyStick::_scanJoys()': ./linux/LinuxJoyStickEvents.cpp:275:13: error: 'close' was not declared in this scope close(fd); ^ ./linux/LinuxJoyStickEvents.cpp:283:12: error: 'close' was not declared in this scope close(fd); ^ ./linux/LinuxJoyStickEvents.cpp: In static member function 'static void OIS::LinuxJoyStick::_clearJoys(OIS::JoyStickInfoList&)': ./linux/LinuxJoyStickEvents.cpp:294:20: error: 'close' was not declared in this scope close(i->joyFileD); ^ make[1]: *** [LinuxJoyStickEvents.lo] Error 1 make[1]: Leaving directory `/media/Eugene/Downloads/Ror/SlackBuilds/ois/ois-v1-3/src' make: *** [all-recursive] Error 1 What version did you use for your slackbuild? |
The DirectX error gets thrown, because the rigsofrods plugins.cfg has an entry for DirectX by default:
Code:
# Define plugins I've uploaded the source of OIS I used: http://schmatzler.de/my_slackbuilds/...is_v1-3.tar.gz Got it originally from here: http://pkgs.fedoraproject.org/repo/p...1cd2e1fca1518/ |
Ohh, I missed hydrax the first go, don't know how I missed that.
OK, got to the point it asks for a content pack. this is version 0.4 right so I need the content pack for .4 but their instructions say to copy the streams folder into the installation folder but there is no streams folder in the .4 content pack. I'me tried putting the extracted pack in various places but it still asks for a pack. NM, I see it back in an early post. yay, almost there. I just had to overwrite the old packs again, left over from the previous install. However game opens but no content, need to figure out why its not reading the packs, I see it read the zips at startup. |
Quote:
Code:
Before starting the game, you'll have to set up the basic directory and add content like vehicles, terrains etc.: |
1 Attachment(s)
Yes, I did and I did that step.
I see it read 35 zips then present an empty menu. If you don't put in the content pack now, it tells you by exiting and saying you need a content pack. I downloaded a terrain and vehicle in addition to your content pack and added those. But still nothing in the menu |
Are you absolutely sure you've built zziplib first and after that, Rigs of Rods?
It needs this library to properly open the zip files. |
Ahh, I think I did zzip afterward. I wonder then if I just remake RoR it should pick it up.
What I did was step through your slackbuilds in the order the RoR 3rd party page walks through manually building them then finished and saw you had a couple other packages they didn't list so I built those last. Ok, so just remaking RoR didn't change anything, how can I rebuild it with zziplib support? |
Quote:
Unfortunately, I haven't noted the build order and the list on their website is incomplete. But I think it should work with that:
Quite frankly, the code of rigsofrods is a total mess. All remaining devs are using Windows and depending on the gcc version, everything goes to hell. I'm trying to build the latest trunk and it takes ages to get around the simplest things, because no one bothers with portability. This simulation really needs better coders. |
I did make and install zzlib then made and installed ror again but still the same issue so I'm guessing something else may be dependent upon it.
I only have one machine in the house so far with >2G of ram so I suppose I could switch it to 64bit and just use your packages but then I'd still have to figure out how to get it working on 32bit if we ever wanted to do multiplayer. So for the time being its just easier to leave my one new box at 32bit. |
Anyone else ever gotten this to work on 32bit Slackware? I've went through every step over and over again.
|
The only thing I can think of is that there is a mistake in one of my SlackBuilds so at build time a library isn't found on 32bit.
Given the fact that Rigs of Rods needs huge amounts of RAM and a very powerful graphics card, you probably won't have much fun with it on an old 32bit machine anyways. There are three new developers and they all moved to GIT now, by the way. I can already build the new code but it still has a major bug - you can't spawn a vehicle. As soon as this is fixed, I will put up new builds. :) The original devs commercialized their code with "beam.ng drive" if anyone wants to give that a shot. It's Windows only at the moment, though. |
I have 2 and 4G of ram, enough to play RoR under Windows but not enough for 64 bit Linux.
I see ogre has been updated http://slackbuilds.org/repository/14.1/libraries/ogre/ Thought I would go get the v1-9 but that slackbuild doesn't even work. The download is a different name so I simply renamed it to v1-9 like it was expecting and it extracts to a different name but then tried to cd to a completely different name. Ahh, the name is hard coded in the slackbuild, editing it gets past. ogre-paged fails now Code:
from /tmp/adrien/ogre-paged-1.1.3/source/BatchedGeometry.cpp:16: |
Yep, there is no ogre-paged for 1.9 yet. Or at least I couldn't find it.
That's why I'm still sticking with Ogre 1.8.x. Same with MyGUI, rigsofrods needs a specific SVN version and doesn't run with the latest code. EDIT: Oh, there is: http://www.ogre3d.org/addonforums/vi...84ab0e512c9f00 Maybe you can build it? I'm occupied with the 31c3 lectures until Monday :3 EDIT #2: Actually, this one is better - it's from the Rigs of Rods devs: https://github.com/Hiradur/ogre-paged |
I was able to build OGRE 1.9 and ogre-paged for it, too.
Then I tried to build the latest source code from Rigs of Rods and recognized, that there hasn't been done any work in that way. So it will only work with OGRE 1.8 at the moment. *sad trombone* Anyway, if someone wants to build this new stuff, here are my SlackBuilds: http://schmatzler.de/my_slackbuilds/test/ogre.zip I still don't know why the game won't work on 32bit, though. |
Rigs of Rods is not dead!
There has been a lot of progress regarding this game (or simulation, as you may call it) in the last months. -The developers moved to github -They fixed tons of compilation errors, which makes the game way easier to build now -They made it more stable and it doesn't push the limits of my machine that much anymore -It looks more modern, thanks to a new menu and new 2D elements and controls You can find packages for Slackware64-current (regularly updated) and SlackBuilds at the usual location: http://schmatzler.de/my_slackbuilds/rigsofrods/ There is a little bug which causes some vehicles to explode at this time, but I'm sure they will fix that very soon. Have fun :) |
Thanks schmatzler,
I just reinstalled my son's pc as 64bit. Per your readme at http://schmatzler.de/my_slackbuilds/...s/_README.html I can just get your packages with slapt-get Code:
slapt-get --update && slapt-get --install FreeImage MyGUI MySocketW OpenAL angelscript caelum hydrax nvidia-cg-toolkit ogre ogre-paged ois rigsofrods wxWidgets zziplib Looks like webkitgtk is also needed |
hydrax is built-in now, I forgot to update the README.
webkitgtk shouldn't be needed for the game - is something linking to it? |
Yes, RoRConfig was complaining about a library being missing that I traced to webkitgtk. I built webkitgtk from slackbuilds and hydrax manually and got the game to open, it just has a flat map and two vehicles and crashed when we tried to chose change map but it at least ran so that more than before.
|
Quote:
To get more vehicles and terrains, you need one of the 0.4 content packs from here (or both): http://www.rigsofrods.com/repository/ |
I was thinking your custom content pack had more than one but maybe I am remembering wrong.
I should go back and try again on 32bit but I need to migrate to 64 anyway. I have 1 of 4 on x64 now and the other three on 32bit, plus the three arm I have to support three versions now. If I more from 32-64 on the other three boxes then I am back down to two. |
Now he wants the editor :)
|
Quote:
|
I'm not sure. I let my son go and download some packs and he now wants some kind of editor. I though he said map editor.
|
As far as I know, there is no built-in terrain editor. Terrains are made with Terragen:
http://www.rigsofrods.com/wiki/pages/Creating_a_terrain But he can edit existing vehicles with the built in Rig-Editor if he wants to. It just doesn't work by default yet, the configfile for it has to be copied manually: https://github.com/RigsOfRods/rigs-of-rods/issues/95 |
Quote:
|
It works, but you'll have to build it yourself from the SlackBuilds. I only have time to manage -current.
|
Thanks for response.
|
Rigs of Rods 0.4.5.1 has been released!
There also is a new trailer here. I've updated all packages for x86_64-current to the latest codebase (a link to the repository is here): Code:
Tue Sep 22 16:48:32 UTC 2015 I've also noticed that some of you had problems with the game not recognizing ZIP files in the past. I think the build order I posted here earlier (from my mind, probably incorrect) built ogre without ZIP support. If you want to build it yourself, this revised order should work:
Have fun! :) |
Site looks down from here :( Any chance of submitting to SBo?
|
Site worked for me. I'm on 14.1 not current, getting:
Code:
/usr/games/rigsofrods/RoRConfig: error while loading shared libraries: libboost_system.so.1.58.0: cannot open shared object file: No such file or directory Code:
bash-4.2$ ls /var/log/packages/boost* Code:
/usr/games/rigsofrods/RoRConfig: error while loading shared libraries: libicudata.so.54: cannot open shared object file: No such file or directory Code:
/usr/games/rigsofrods/RoRConfig: error while loading shared libraries: libicule.so.51: cannot open shared object file: No such file or directory Code:
root@EugeneLaptop:/# locate libicule.* ehh, forget it, were so close to 14.2 anyway I'm just going to -current |
Quote:
I won't submit this to SBo. It's way too extensive and when projects grow to a certain size (with their dependencies) SBo becomes a hassle. If someone else wants to do it, feel free. It's open source. :) |
Looks like ois needs to before ogre-paged?
Code:
-- Looking for C++ include OgrePrerequisites.h I also could not get ogre-paged to work from your download. I went to slackbuilds and got it and it worked fine. FreeImage.info references version 3150 but the slackbuild is for 3160. OpenAl.info references 1.15.1, slackbuild is 1.16.0 |
Maybe.
My list is still from scratch, I just moved zziplib to the top because I noticed that OGRE links against it. Please try and tell me if it works. :) |
I had to start from scratch too after my failed upgrade to -current. I ended up reinstalling 14.1 so it was defiantly from scratch :)
Freeimage has to be before ogre or ogre will error out due to lack of png support. I get a freeze or segfault when its loading terrain though :( Well, lowering the graphics and selecting a simple terrain it work for a while. I think it may just be too much for my laptop. But I know the packages are good now, will install on my son's next. |
Quote:
|
I should be able to try it on my son's box shortly, we built him a desktop and he has the best graphics in the house so now that I have the packages his should be pretty quick
|
I finally got a new build machine which builds Rigs of Rods just under one hour, so I updated the packages that were broken since the last updates and also built the latest GIT code from Rigs of Rods.
Quote:
|
I've made a little change: wxWidgets has been replaced with the full wxGTK3.
So the full package list for installing RoR is now this: Code:
FreeImage MyGUI MySocketW OpenAL angelscript nvidia-cg-toolkit ogre ogre-caelum ogre-pagedgeometry ois rigsofrods wxGTK3 zziplib http://schmatzler.de/my_slackbuilds/.../contentpacks/ You can extract them into ~/.rigsofrods/packs to get started. Tested on 64bit -current only, but SlackBuilds are available, too (see signature). Have fun :) |
All times are GMT -5. The time now is 07:42 PM. |