SUBSIM Radio Room Forums



SUBSIM: The Web's #1 resource for all submarine & naval simulations since 1997

Go Back   SUBSIM Radio Room Forums > Silent Hunter 3 - 4 - 5 > Silent Hunter III
Forget password? Reset here

Reply
 
Thread Tools Display Modes
Old 08-09-11, 05:02 AM   #1
discomjim
Swabbie
 
Join Date: Jun 2011
Posts: 13
Downloads: 1
Uploads: 0
Default Linux?

can I run SH3 in Linux with 'wine' . Im using mint 11. If so how?
discomjim is offline   Reply With Quote
Old 08-09-11, 11:02 AM   #2
sublynx
Sea Lord
 
Join Date: Mar 2011
Location: In the conning tower of my VIIC scanning the sea through the periscope
Posts: 1,698
Downloads: 173
Uploads: 7
Default

Quote:
Originally Posted by discomjim View Post
can I run SH3 in Linux with 'wine' . Im using mint 11. If so how?
It seems to be possible:

http://appdb.winehq.org/objectManage...estingId=15768

Getting it to run will probably be no walk in the park, so better be ready to ask advice from some Linux support forum. I'm sure there will be lots of people who'll help you out, if need be, but it does seem like most people in this forum use Windows.

If I was any younger I would probably be trying to use Linux as well, but as most of my PC time is now on spent gaming, I don't have the energy to learn the stuff I would need to know to get the games working - for me it's enough of a hassle trying to get games like SH3 or Il-2 working in Windows 7 I hope you get the game working in Linux
__________________
[SIGPIC][/SIGPIC]
NYGM+H.sie v16+Stiebler 4C+MaGui WS
sublynx is offline   Reply With Quote
Old 08-09-11, 12:16 PM   #3
discomjim
Swabbie
 
Join Date: Jun 2011
Posts: 13
Downloads: 1
Uploads: 0
Default

Thanks Sublynx, As soon as Linux sorts out its compatability issues with windows software, its gonna eat Microsoft for brekkie (well maybe not but theyre worried ) Its Quicker, slicker, better looking, no viruses. Im converted, i may get hold of a cheap PC just for SH3 though cos i really dont want to go back to windows.
discomjim is offline   Reply With Quote
Old 08-09-11, 10:54 PM   #4
postalbyke
Chief
 
Join Date: Feb 2011
Location: In the past...
Posts: 321
Downloads: 89
Uploads: 1
Default

I used to be a Linux fan, ran three different OSs, then realized:
unfortunately, if Linus had anything to offer that was a real threat to windows,
It would have been out by now
But! If I recall, I ran into someone recently who runs SH3 on wine, lemme dig around tomorrow and see if I can't find them
Hang in there, bro!
__________________
God is a comedian playing to an audience too afraid to laugh.
-Voltaire
postalbyke is offline   Reply With Quote
Old 08-10-11, 02:33 PM   #5
Capt. Morgan
Commander
 
Join Date: Dec 2009
Location: Just east of the west coast.
Posts: 463
Downloads: 423
Uploads: 0
Default

Quote:
Originally Posted by sublynx View Post
It seems to be possible:...Getting it to run will probably be no walk in the park, so better be ready to ask advice from some Linux support forum. ...
Surprisingly, I found that stock SH3 ran fine under Wine, right out of the box - no futzung about required. Also no problem with the NYGM super mod, but no way with GWX (or the bigger mods like MFM or the animated sub-pens).

Ran as fast as it did on the WinXP side of my box, but graphics were not as good due to limited support for the drivers under Wine. Main graphics problem was that smoke/fire/spray did not show up under some circumstances. I understand there's a fix for that if you custom-compile Wine.
__________________
There are no great men, only great challenges that
ordinary men are forced by circumstances to meet.
-- Admiral William Halsey

Capt. Morgan is offline   Reply With Quote
Old 08-11-11, 01:28 PM   #6
discomjim
Swabbie
 
Join Date: Jun 2011
Posts: 13
Downloads: 1
Uploads: 0
Default

Quote:
Originally Posted by Capt. Morgan View Post
Surprisingly, I found that stock SH3 ran fine under Wine, right out of the box - no futzung about required. Also no problem with the NYGM super mod, but no way with GWX (or the bigger mods like MFM or the animated sub-pens).

Ran as fast as it did on the WinXP side of my box, but graphics were not as good due to limited support for the drivers under Wine. Main graphics problem was that smoke/fire/spray did not show up under some circumstances. I understand there's a fix for that if you custom-compile Wine.
would you mind telling me how??? i put in the disc, wait for the icon go into its file system, then what? when i try to run autorun, it tells me file not executable and when i try to change that in properties, it wont let me either
discomjim is offline   Reply With Quote
Old 08-11-11, 02:57 PM   #7
Capt. Morgan
Commander
 
Join Date: Dec 2009
Location: Just east of the west coast.
Posts: 463
Downloads: 423
Uploads: 0
Default

Quote:
Originally Posted by discomjim View Post
when i try to run autorun, it tells me file not executable and when i try to change that in properties, it wont let me either
Your disk won't be writable (or even a Linux file-system) so you won't be able to change attributes.

If you look at autorun.inf (a text file) it will tell you what file autorun wants to execute, just run that file directly for the same result. executing a Win32 command on my distro (Slackware 13) automatically passes that command off to Wine. Can't say how it's done in Mint.

Also, I was running the version of SHIII under linux that I had already installed on my Windows partition. I didn't try to install it under Linux. winehq (Sublynx's link above) is the go-to place for advice and accounts.

I guess I'll revise my assessment from "no futzing about" to "some futzing about, but not much - for Linux".
__________________
There are no great men, only great challenges that
ordinary men are forced by circumstances to meet.
-- Admiral William Halsey

Capt. Morgan is offline   Reply With Quote
Old 08-11-11, 04:09 PM   #8
discomjim
Swabbie
 
Join Date: Jun 2011
Posts: 13
Downloads: 1
Uploads: 0
Default

ok cool, thanks for the advice, ill get there eventually, also thought id try out Danger from the deep, but cant get that to work either. . Maybe i'll get windows on another machine after all. not sure yet
discomjim is offline   Reply With Quote
Old 08-11-11, 08:49 PM   #9
Capt. Morgan
Commander
 
Join Date: Dec 2009
Location: Just east of the west coast.
Posts: 463
Downloads: 423
Uploads: 0
Default

Yeah, I think of my WinXP partition as my game console.
__________________
There are no great men, only great challenges that
ordinary men are forced by circumstances to meet.
-- Admiral William Halsey

Capt. Morgan is offline   Reply With Quote
Old 08-16-11, 09:55 AM   #10
GoDeep
Planesman
 
Join Date: Jan 2002
Location: Netherlands
Posts: 188
Downloads: 10
Uploads: 0
Default

I run SH3 under wine on Fedora 15 quite successfully. I even added GWX3 Gold and SH3 Commander, which all run fine. It didn't take all that much special effort, if I remember correctly. I can't check now because I'm at work but I'll get back to you when I am home. As to the no smoke and no visible fire, yes there is a bug with that.
GoDeep is offline   Reply With Quote
Old 08-16-11, 02:51 PM   #11
GoDeep
Planesman
 
Join Date: Jan 2002
Location: Netherlands
Posts: 188
Downloads: 10
Uploads: 0
Default

I promised to get back to this thread, so here it is. I checked what I did to get it to work and I was surprised at how little effort it took, really.

  • Very important, make sure you get a recent version of wine! From wine version 1.3, it should work.
  • Next, install the game as you would in Windows, by running the installer from the DVD. I am running the EMEA version, patched to 1.4b. The DVD should mount automatically, but I am not familiar with Linux Mint, so I'm not sure how it works there. I have had success with Fedora and openSUSE. Install the Windows Media 9 codecs too.
  • Next, install the patch if your game is not pre-patched.
  • An icon should have been created automatically for the game. From that, you can launch it and it will run.
  • I set up some options in winecfg to allow SH3 to run a little more smooth.
    • I set wine to act as if it is Windows XP
    • I set it to emulate a virtual desktop with 1024X768 pixels, because SH3 can't cope with my native resolution. That means SH3 runs in a window, but that doesn't bother me. I am actually pursuing a convoy as I am writing this, which is not possible in full screen resolution.
I added GWX 3 and SH3 Commander the same way as I did on Windows. No special settings were required.

There are two glitches which are annoying, but I can live with them. YMMV:
  1. There are no visible fires or smoke when looking up close, only when zoomed far out. And I do mean far! This is actually more of an issue with the SH3 engine than with wine itself, but it makes the game less enjoyable.
  2. You can't actually launch the game from within SH3 Commander. If you launch it that way, it will complain about not being able to initialize the 3d engine. However, starting SH3 directly after that, it says it's loaded from SH3 Commander and any options are carried over. A minor annoyance.
I am currently in a career, in my 10th patrol and the game has been very smooth, no crashes or anything. If you absolutely need fires and smoke, stay on Windows, otherwise come join us on Linux, where all the cool kids play....
GoDeep is offline   Reply With Quote
Old 08-16-11, 08:05 PM   #12
Capt. Morgan
Commander
 
Join Date: Dec 2009
Location: Just east of the west coast.
Posts: 463
Downloads: 423
Uploads: 0
Default



And thanks for the tip on SH-Commander! Guess I don't have enough oomph for GWX, ah well, NYGM rocks too.

There is even a fix for the smoke issue, If you're willing to alter some values in the Wine source code and recompile. Love open source!
__________________
There are no great men, only great challenges that
ordinary men are forced by circumstances to meet.
-- Admiral William Halsey


Last edited by Capt. Morgan; 08-16-11 at 08:22 PM.
Capt. Morgan is offline   Reply With Quote
Old 08-17-11, 02:31 AM   #13
GoDeep
Planesman
 
Join Date: Jan 2002
Location: Netherlands
Posts: 188
Downloads: 10
Uploads: 0
Default

Quote:
Originally Posted by Capt. Morgan View Post
There is even a fix for the smoke issue, If you're willing to alter some values in the Wine source code and recompile. Love open source!
Yes, I knew about the patch for fire and smoke but since the OP asked if it was even possible to run SH3 under wine, I thought that recompiling wine from scratch might be a bit too far.
Plus, I've read that the patch has produced different results for different people, so I thought I'd not mention it.
GoDeep is offline   Reply With Quote
Old 08-18-11, 03:35 PM   #14
GoDeep
Planesman
 
Join Date: Jan 2002
Location: Netherlands
Posts: 188
Downloads: 10
Uploads: 0
Default

For those interested, I wrote up a little "how to" on how to apply the patch for the wine source code and then compile wine yourself so you get fire, smoke and spray effects in wine under Linux.

You can find it here: http://beris.nl/jb/?p=306
__________________
On sailor's grave there are no roses,
On a seaman's grave there blooms no Edelweiss.
The only ornaments are the white gulls
And the many tears a girl is weeping.
-- German folk song, sung by German seamen during the war.
GoDeep is offline   Reply With Quote
Old 08-18-11, 04:21 PM   #15
Capt. Morgan
Commander
 
Join Date: Dec 2009
Location: Just east of the west coast.
Posts: 463
Downloads: 423
Uploads: 0
Default

Wow! Very thorough and clear tutorial

I'll give it a try after I've completed upgrading my distro.
__________________
There are no great men, only great challenges that
ordinary men are forced by circumstances to meet.
-- Admiral William Halsey

Capt. Morgan is offline   Reply With Quote
Reply


Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


All times are GMT -5. The time now is 03:28 PM.


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