SUBSIM Radio Room Forums

SUBSIM Radio Room Forums (https://www.subsim.com/radioroom/index.php)
-   Silent Hunter 5 (https://www.subsim.com/radioroom/forumdisplay.php?f=244)
-   -   SH5 working under Linux (https://www.subsim.com/radioroom/showthread.php?t=196100)

SilentOtto 06-12-12 02:57 PM

SH5 working under Linux
 
I don't know if many will be interested in this, but since I want to enjoy my feeling of achievement, I'll share this info here. There is a thread going on but I noticed it is in the MODs subforum so I'm posting here too for easier finding.


So, I finally have gotten SH5 working under linux! (xubuntu 12.04 in my case).

Basically I had to do what I said above:

1) Download wine source (I used latest 1.5.6 from sourceforge) here:

http://sourceforge.net/projects/wine...r.bz2/download

2) Extract in your docs folder (or wherever) with:

Quote:

tar -xvfj wine-1.5.6.tar.bz2
Apply patch http://bugs.winehq.org/attachment.cgi?id=40106

(save the code as a regular file, in wine source folder (wine-1.5.6) name it for example hack-patch)

Quote:

patch -Np1 -i hack-patch
3) In order to be able to compile wine, you need a lot of developing libraries you probably won't have in your system. Fortunately, in Ubuntu there is a very easy way to do this, with:

Quote:

sudo apt-get build-dep wine1.4
(this installs all the needed libs for wine 1.4, it worked perfectly with 1.5 too)

in my system it downloaded about 200Megs of data :doh:

4) verify everything is ok with

Quote:

./configure
5) if reported ok, you can then

Quote:

make
6) magic will happen for a few minutes while new wine is compiled.
then the command

Quote:

sudo make install
will setup your new wine binaries


7) Done!!


PS: Unfortunately in my first test sh5 runs sloooow compared to Sh4. That was to be expected, when the kids go to bed i'll test it a bit more, but I could load one of the historical missions and mess around a bit. Though I didnt go inside since I have no mods installed yet, and I never cared much to learn the new (silly?) sh5 interface! :rotfl2:

Anyway my objective is achieved, I wanted to get the thing working, even if I don't play it! :arrgh!:

hitmanuw 07-31-12 12:00 PM

i play SH5 also on Ubuntu and work fine :)

SilentOtto 08-03-12 05:55 PM

Nice to know I'm not alone! :salute:

The new 1.5.x development wine works without problem, I added the ppa to software sources and that was it. In fact the biggest problem was uplay, not sh5 itself!

Now I've been playing sh5 for the last month, and even with all its incredible bugs and weird faults, I surrendered to the beautiful graphics and the boat's interior ambient.

You have to love all the modders!


All times are GMT -5. The time now is 02:23 AM.

Powered by vBulletin® Version 3.8.11
Copyright ©2000 - 2024, Jelsoft Enterprises Ltd.
Copyright © 1995- 2024 Subsim®
"Subsim" is a registered trademark, all rights reserved.