Thread: Sub^3 reboot
View Single Post
Old 06-07-15, 10:36 AM   #6
nopoe
Swabbie
 
Join Date: Sep 2014
Posts: 12
Downloads: 2
Uploads: 0
Default

Yeah. It's not too hard, it's just I think you need SFML and SFGUI to be installed from source. It's a big download too.

First thing to do is install boost with your distro's package manager.

Next clone these respositories:

https://github.com/SFML/SFML
https://github.com/TankOs/SFGUI

Install the dependencies listed here: http://www.sfml-dev.org/tutorials/2....with-cmake.php

Build SFML and SFGUI in that order with "cmake ." and "make -jX" where X is the number of threads to build with (number of cores works well for me). If they build without errors, do "make install". There might be some dependencies not listed, but I can't remember and I don't have a Ubuntu install handy to test it out.

Once those are installed, clone these repositories in the same directory:

https://github.com/nopoe/netcdf-4.1.3-with-cmake
https://github.com/nopoe/usml
https://github.com/nopoe/Sub3

Then, in that order, go into each directory and execute "cmake ." and "make -jX" like before. There's no reason to install these, and it should all just work unless I'm forgetting something.

When you're done, run the sub3_server then 2 sub3 instances. Make sure to move the first client's sub out of the way so the server doesn't spawn the second one on top of it (takes about 10 seconds at 20kts I think). After that you should be able to play a very bad version of hide and seek where there's no penalty for cavitation or going fast or anything like that.

Let me know if you have issues. My friend and I were both able to build it on 14.10 without too much trouble but then I replaced my ubuntu installation with arch because it's easier to do this stuff on arch.
nopoe is offline   Reply With Quote