TribesNext

Welcome, Guest. Please login or register.
Did you miss your activation email?


TribesNext >  TribesNext.com Forums >  Support >  The Linux Thread « previous next »
Pages: 1 ... 3 4 [5] 6 Print
Author Topic: The Linux Thread
Thyth
Apotheosis Incarnate

Posts: 809

View Profile
60: October 04, 2009, 06:45:23 AM »
I've completed a code review of our patch, and traced the source of the Wine incompatibility. It ends up, none of the code changes I made were the source of the problems, but rather bugs in the Ruby MRI implementation.

For RC2, I switched from Ruby 1.8.7 to Ruby 1.9.0, because Ruby 1.8.7 crashes when more than one thread is spawned in the interpreter process (even if that thread doesn't interact with the interpreter itself). A second thread was needed to verify the game was still running (so the interpreter properly closes if the game dies without issuing a quit call). Using Ruby 1.9.0 solved that issue in Windows, however, bugs in that version result in a thread deadlock when running in Wine (POSIX threads behave slightly differently than W32 threads).

I was able to initialize the interpreter (without any TN code modifications) under Wine when running the most recent Ruby 1.9.1 DLL (p243), and this is apparently suitable for operating a dedicated server. However, the Ruby 1.9.1 DLL crashes when performing any file IO operation (in both Windows AND Wine), thus is not suitable for client mode. Client mode uses the Ruby IO API to read the credential stores, since I explicitly placed those files outside the reach of TorqueScript file objects.

So, in a nutshell, the Ruby MRI interpreter is buggy and flaky beyond belief. I'm still working to resolve these issues with the Ruby 1.9.1 interpreter, and it is the last major piece of native code modification for the next release candidate.

Sarcastic, narcissistic, genius, resurrecting the game with brilliant strokes of wizardry.
EvilSECTOID
Nugget

Posts: 2

View Profile WWW
61: October 07, 2009, 09:14:14 AM »
I'm running Ubuntu Jaunty Jackalope 9.04 AMD64

the old TribesNext patch works perfect for me!!!

I just installed TribesNext_rc1e.exe with wine

VGCA
azraieth
Nugget
Posts: 2

View Profile
62: December 09, 2009, 03:12:03 PM »
Is there any update to getting this working just out of interest?
Thyth
Apotheosis Incarnate

Posts: 809

View Profile
63: December 09, 2009, 04:56:10 PM »
The Ruby 1.9.1 update is still high priority. I'll try to resolve all final issues at the start of January.

Sarcastic, narcissistic, genius, resurrecting the game with brilliant strokes of wizardry.
echoed
Nugget
Posts: 8

View Profile
64: February 17, 2010, 06:49:44 AM »
Thanks Thyth. Let us know when RC3 is ready. I've been running rc1e with no problems under WINE for a while, except for the odd unhandled exception it's been fine.

Would be nice to somehow install the native linux Tribes 2 on my amd64 machine but the Loki installer just doesn't want to cooperate.
Thyth
Apotheosis Incarnate

Posts: 809

View Profile
65: February 17, 2010, 12:48:29 PM »
Tracking bugs down in the Ruby interpreter code hasn't been fruitful so far, so, the current plan is to have a slightly different distribution for users of Wine. That distribution will use a native Linux Ruby interpreter in the place of the Windows one. All other pieces should remain the same. Windows will stay with the Ruby 1.9.0 interpreter for the reasons outlined.

Wine seems perfectly capable (and happy) to launch either a Windows or system native executable from the Windows CreateProcess API call, so beyond a slightly different installation process (and the requirement that the Ruby libraries are installed Linux side), it should be pretty seamless.

Sarcastic, narcissistic, genius, resurrecting the game with brilliant strokes of wizardry.
y0sh|
Nugget
Posts: 1

View Profile
66: April 07, 2010, 06:27:21 AM »
Hi everyone.  Bumping this thread hoping for some news/tricks.

Background-  I had been running tribesnext on windows for almost 6 months specially the last 2 for some gametime.  Fun times.  Recently made the jump to Ubuntu 9.10 & installed tribesnext with the TribesNext_rc1e.exe patch using Wine 1.1.31 & the installation went smoothly without a hitch.  Game launches fine, even was able to go through settings to map the keyboard.  Although I sometimes get an UE at launch, if I keep trying I eventually can get to the list of servers but as soon I try to join a server, I get the daunted UE C0000005 and it crashes.  Occasionally, attempting to join a server shows an error to the line of: "Servers sent back wrong client challenge"... try to join again & UE/crash.  Haven't yet been able to get past this, try as I might.

I saw in this thread some of you have been able to play using the TribesNext_rc1e.exe patch but I just not have had the same luck.  I am not using the t2hack.py script as many have, should I be?  Any insight you can guys can provide would save me from going back to Windows!  Please help!
« Last Edit: April 07, 2010, 06:48:58 AM by y0sh| »
VashTexan
Nugget

Posts: 41

View Profile
67: April 09, 2010, 07:16:00 AM »
You ought to read the previous page of this thread, but here's a summary:

Only certain older versions of wine work atm, like:

wine 1.1.11
wine 1.0.1

Newer versions seem to get a log-in "invalid patch" problem. Thyth said how he'll eventually fix it, with a separate linux version of the TribesNext patch.

Also, make sure you've made an account... I think it still requires linux users to ask others, over the IRC channel, to make an account for them.

Most importantly: DO NOT MODIFY T2 IN ANY WAY! Keep the basic installations as is, and make sure to use a .dso - remover once in a while. Modifications of T2 (skins, mods, voice kits, special binds, etc.) are currently the No.1 cause of Unhandled Exceptions for those running Tribes 2 through Wine (proof through experience).

Read the FAQ.
azraieth
Nugget
Posts: 2

View Profile
68: June 17, 2010, 01:52:40 PM »
update? anything? I want to get my friend who won't even install windows to play with me. So help me obi wan Thythobe, you are my only hope
Thyth
Apotheosis Incarnate

Posts: 809

View Profile
69: June 17, 2010, 05:59:30 PM »
Here's a testing grade patch to apply on top of RC2a: http://www.tribesnext.com/forum/index.php?topic=2095.0

It uses a fairly roundabout way to deal with the problems encountered with Ruby, but it appears to be functional from my tests.

Sarcastic, narcissistic, genius, resurrecting the game with brilliant strokes of wizardry.
Spencer
Nugget
Posts: 14

View Profile
70: June 18, 2010, 10:50:45 PM »
This did not work for me, Mac0SX 10.6.3 and crossover games 8.1.4.  The game wont even launch, pops up in the dock for a few seconds then disappears.
Thyth
Apotheosis Incarnate

Posts: 809

View Profile
71: June 20, 2010, 10:57:36 AM »
I don't have any Mac OS X systems on which to test this change set. If you connect to the IRC channel, I could try to guide you through a few possibilities interactively.

Sarcastic, narcissistic, genius, resurrecting the game with brilliant strokes of wizardry.
Lee_Stricklin
Nugget
Posts: 1

View Profile
72: May 19, 2011, 01:28:54 AM »
Bumping this thread. I've tried different versions of WINE under my PlayOnLinux front-end and have yet to get this to run. I can run the game without the patch, but it completely bricks once the Tribes Next patch is installed. The versions of WINE that I have tried are: 1.1.11,
1.0.1, and currently 1.3.1. None of them work. I'm currently running Ubuntu 10.04 64 bit with pulseaudio stripped out.


EDIT: I found the fix for this on the forum, though I am having trouble creating an account as it doesn't seem to be doing anything after I hit create account.
« Last Edit: May 19, 2011, 01:34:27 AM by Lee_Stricklin »
Heat Killer
Scout

Posts: 479

View Profile
73: May 21, 2011, 02:25:11 PM »
EDIT: I found the fix for this on the forum, though I am having trouble creating an account as it doesn't seem to be doing anything after I hit create account.
It would be nice if you included the link so that people who stumble upon your same problem know where to go....

JudgeHershey
Nugget

Posts: 10

View Profile
74: May 22, 2011, 02:19:24 AM »
*You can make an account with the following:

1) Option 1 -->
- Wine-1.2.2, -OR-  Wine-1.2-rc5
- These instructions -> http://www.tribesnext.com/forum/index.php/topic,2095.0.html

-OR-

2) Option 2 -->
- Ask in the IRC: irc://irc.tribalwar.com/tribesnext - irc.tribalwar.com / #TribesNext for someone to make an account for you. Password stealing is not an issue (cuz there's nothing left to steal).

Also, if it doesn't work with the Tribes Next RC2a patch, try the Tribes Next RC1e patch. If not, keep trying the different patches. Patches listed HERE.

*And you can log in with your account with the following:

- Wine 1.0
- These instructions (if you haven't already done them in the account making part, for some reason) -> http://www.tribesnext.com/forum/index.php/topic,2095.0.html

You can NOT log-in with Wine-1.2-rc5.

*Advice:

- Best Wine versions (in order of best to worst):

1) Wine-1.0
2) Wine-1.1.11
3) Wine-1.0.1
4) Wine-1.2

- Most importantly: DO NOT MODIFY T2 IN ANY WAY! Keep the basic installations as is, and make sure to use a .dso - remover once in a while. Modifications of T2 (skins, mods, voice kits, special binds, etc.) are currently the No.1 cause of Unhandled Exceptions for those running Tribes 2 through Wine (proof through experience).

Note: More recently, I've found it's OK to mod some stuff, just do so one bit at a time.

- Use DSO-Removers, I recommend every single time you run TribesNext.

- Goon Haven Issues: I've found that on the "Goon Haven" server, which runs Classic mod, errors of all kinds can happen, but ONLY on certain maps (although many maps that it runs). These errors, including "Bad File Descriptors", "Segmentation Fault", and "UE", will crash T2. They will be very frequent on some maps, every few minutes, making game-play ridiculous.

SO, try other servers and mods until each error-prone map passes, if you're determined to play on Goon's. I know Triumph Mod server doesn't have such problems usually, mostly the server crashing, so just much rarer errors. MD2, MDTW, TSW, Shifter mods have similar low number of errors, based on some experience

(Please tell me if you find any problems with particular scripts, mods, servers, maps NOT on Goon Haven ... go ahead and make a list of the error-prone maps hosted on Goon's, if you like, but I don't think anything can be done with it).
« Last Edit: July 31, 2011, 08:09:56 AM by JudgeHershey »


Questions? Pls read the FAQ and Search.
Linux Guide & Support: -->HERE<--
Pages: 1 ... 3 4 [5] 6 Print 
« previous next »
Jump to:  

irc.quakenet.org / #TribesNext Powered by SMF  © Simple Machines