View unanswered posts | View active topics It is currently Thu Apr 18, 2024 10:27 pm



Reply to topic  [ 6 posts ] 
 TWGS on Linux 
Author Message
Hall of Famer
User avatar

Joined: Wed Feb 28, 2001 3:00 am
Posts: 111
Location: USA
Unread post TWGS on Linux
I figured out the TWGS runs on Linux awhile ago. I was wondering if anyone has actually ran it that way for any length of time? I was thinking of ressurecting The Stardock TWGS to test it out if no has done it.

I really don't want to run a TWGS. So I'm thinking I'd just run a few games to see if it held up OK, then close it again. Would anyone be interested in playing a few games and check it out for me?

This is more of just a curiosity for me.

_________________
EleqTriziT
thestardock.com


Tue Dec 15, 2009 1:26 pm
Profile ICQ WWW
Veteran Op
User avatar

Joined: Thu Jun 02, 2005 2:00 am
Posts: 5558
Location: USA
Unread post Re: TWGS on Linux
It's not stable under wine. Wine has the unfortunate habit of crashing and not properly closing files when it does. Can easily lead to database corruption. To make matters worse, you can't use port 23 as a user, so you have to run wine as root... something I was never comfortable doing.

However XP under virtualbox works great. Set networking to run under bridge mode, set the router to port forward to the vbox IP, configure the system to load a user at boot and add virtualbox to the user's startup. Configure RDC or VNC to load too, and you can even run the thing under headless mode or use xdotools/wmctrl to minimize the window under the host and just tsclient/vnc into the guest OS as needed for bangs. Makes backups easier too, since you can keep a running clone of the virtual machine disk, making backup and restoration about as seamless as you'll ever get.

For extra fun, play with processor affinity and see what performance gains you can find. With a multiple core system you can almost isolate host processes from the guest, so you can run a VPN or Samba server on the same box and not effect TWGS under load.

_________________
May the unholy fires of corbomite ignite deep within the depths of your soul...

1. TWGS server @ twgs.navhaz.com
2. The NavHaz Junction - Tradewars 2002 Scripts, Resources and Downloads
3. Open IRC chat @ irc.freenode.net:6667 #twchan
4. Parrothead wrote: Jesus wouldn't Subspace Crawl.

*** SG memorial donations via paypal to: dpocky68@booinc.com
Image


Tue Dec 15, 2009 2:16 pm
Profile ICQ WWW
Hall of Famer
User avatar

Joined: Wed Feb 28, 2001 3:00 am
Posts: 111
Location: USA
Unread post Re: TWGS on Linux
Oh well, that sucks. I don't want to run it in a VM. I know that will work. We have 20+ VM's here at work so I know they are stable and can do what I want. I was more interested in doing it under WINE. But if it's going to crash it's not worth it.

_________________
EleqTriziT
thestardock.com


Tue Dec 15, 2009 2:25 pm
Profile ICQ WWW
Veteran Op
User avatar

Joined: Thu Jun 02, 2005 2:00 am
Posts: 5558
Location: USA
Unread post Re: TWGS on Linux
EleqTriziT wrote:
Oh well, that sucks. I don't want to run it in a VM. I know that will work. We have 20+ VM's here at work so I know they are stable and can do what I want. I was more interested in doing it under WINE. But if it's going to crash it's not worth it.


Ah yeh. Wine just isn't stable enough. You could setup some kind of process manager to watch for a crash and restart it, but that's not really much use. The biggest problem I've had is the open files issue. If it crashes, anything done during the lifetime of the process tends to not get written. Imagine your users having to replay the last 3 days... lol.

Maybe there's a way to force a disk write. Maybe sync would do it, don't know.

_________________
May the unholy fires of corbomite ignite deep within the depths of your soul...

1. TWGS server @ twgs.navhaz.com
2. The NavHaz Junction - Tradewars 2002 Scripts, Resources and Downloads
3. Open IRC chat @ irc.freenode.net:6667 #twchan
4. Parrothead wrote: Jesus wouldn't Subspace Crawl.

*** SG memorial donations via paypal to: dpocky68@booinc.com
Image


Tue Dec 15, 2009 3:04 pm
Profile ICQ WWW
Ambassador
User avatar

Joined: Wed Nov 12, 2008 8:57 am
Posts: 3554
Location: Long Beach, CA
Unread post Re: TWGS on Linux
Would it run on DOSBox or Crossover?

Helix

_________________
Helix
Do I really look like a guy with a plan? You know what I am? I'm a dog chasing cars.
Lest we forget
I had to ask myself WWSGD?


Tue Dec 15, 2009 9:39 pm
Profile WWW
Veteran Op
User avatar

Joined: Thu Jun 02, 2005 2:00 am
Posts: 5558
Location: USA
Unread post Re: TWGS on Linux
TWGS needs the windows API. You might be able to get a tw2002.exe process to run in dosbox tho, no idea.

Cross-over is just wine in a different package. Maybe it'd work, maybe not, I suspect if you can get it working in crossover you could get it to in wine, too.

_________________
May the unholy fires of corbomite ignite deep within the depths of your soul...

1. TWGS server @ twgs.navhaz.com
2. The NavHaz Junction - Tradewars 2002 Scripts, Resources and Downloads
3. Open IRC chat @ irc.freenode.net:6667 #twchan
4. Parrothead wrote: Jesus wouldn't Subspace Crawl.

*** SG memorial donations via paypal to: dpocky68@booinc.com
Image


Tue Dec 15, 2009 9:44 pm
Profile ICQ WWW
Display posts from previous:  Sort by  
Reply to topic   [ 6 posts ] 

Who is online

Users browsing this forum: No registered users and 22 guests


You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot post attachments in this forum

Search for:
Jump to:  
cron
Powered by phpBB © 2000, 2002, 2005, 2007 phpBB Group.
Designed by STSoftware.