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

  Show Posts
Pages: [1]
1 Forums / Support / Re: Experimental RC2 Support for Linux/Wine and MacOSX/Crossover Users on: January 23, 2013, 04:43:41 PM
On my LUbuntu 12.10 AMD64 machine, running WINE 1.5 it had indeed worked. Audio performed as it should (it did not work on the older versions of WINE you're supposed to be using it with) however I seem to be having segfaults randomly which I'm looking into now.

The problem may be related to how threading is working as shortly after the console mentions about switching from multi-threaded mode to apartment threaded mode a segfault is raised and I get a wait timed out error in lock.c.
err:ole:CoInitializeEx Attempt to change threading model of this apartment from multi-threaded to apartment threaded
fixme:avifile:AVIFileExit (): stub!
fixme:avifile:AVIFileExit (): stub!
err:seh:raise_exception Unhandled exception code c0000005 flags 0 addr 0x3ed4d0
Segmentation fault (core dumped)
[email protected]:~/.wine/drive_c/Dynamix/Tribes2/GameData$ err:ntdll:RtlpWaitForCriticalSection section 0x7ed16b14 "lock.c: LOCKTABLEENTRY.crit" wait timed out in thread 0029, blocked by 0025, retrying (60 sec)
This occurs after a few minutes of playtime.

Not sure if this will fix the issue, but try running tribes on a single processor core:
taskset 0x00000001 wine Tribes2.exe -online

Also, is there any more log output before the output you pasted?
2 Forums / Support / Re: Experimental RC2 Support for Linux/Wine and MacOSX/Crossover Users on: January 20, 2013, 04:54:22 PM
I have been having success running TribesNext RC2a on Arch Linux x86_64 with wine 1.5.22.

This is all I did to get the patch to work:

1. Replace the GameData/msvcrt-ruby190.dll with the 190-2 version found at (under the 'bin' directory)

2. Add a dll override to wine using winecfg.  Add 'msvcrt' so that wine uses the native Tribes 2 MSVCRT.dll instead of the wine version.

3. Run Tribes 2 normally:
$ wine Tribes2.exe -online

-Depending on your window manager, You may need to enable 'Automatically capture the mouse in full-screen windows' and 'Emulate a virtual desktop.'

-'Windows version' set to 'Windows 7' or 'Windows XP' both worked for me.

-This is based on a freshly created WINEPREFIX, everything is default and no winetricks are installed.

-For setting up a dedicated server on Linux, see my other post.
3 Forums / Server Support / Linux Server Setup on: January 17, 2013, 09:15:18 PM
Recently, I successfully set up a TribesNext server on Arch Linux (x86_64) with wine 1.5.21.

I followed Thyth's procedure to install and replace msvcrt-ruby190.dll with the 191 version.  At this point, clients were unable to connect.  I figured out there was some issue with msvcrt and then decided to try creating an override so that the tribes2 MSVCRT.dll would be used instead of the internal wine version.  The override was the key in solving the problem.  It appears that winetricks is not needed.

Steps to install:
Note: you will need to have an active X session running for the setup wizards (you can use vnc if you are unable to use a monitor on the system.)  It is assumed you have wine installed.

1. Acquire tribes2_gsi.exe and TribesNext_rc2a.exe from
2. (Optional) Verify the integrity of the files with md5sum (should match what is shown here):

$ md5sum tribes2_gsi.exe
93460541ddd3bdff9b30829ba04f2186  tribes2_gsi.exe
$ md5sum TribesNext_rc2a.exe
3bec757215cd29b37d85b567edf8d693  TribesNext_rc2a.exe

3. In a terminal, run the following command to install Tribes 2:

$ wine tribes2_gsi.exe
Follow the setup wizard.

4. Do the same for the TribesNext patch:

$ wine TribesNext_rc2a.exe
Follow the setup wizard.

5. Download ruby-1.9.0-2 i386 mswin32:  The latest 1.9.1 i386 mswin32 version found at also works, but only for running a dedicated server.
6. Extract the ruby archive and copy bin/msvcrt-ruby190.dll (or whatever version you are trying) over the original Tribes2 GameData/msvcrt-ruby190.dll created by the tribesnext patch. (you may want to first backup the original msvcrt-ruby190.dll.)
7. Run 'winecfg' and click the Libraries tab.  In the 'New override for library:' box, type 'msvcrt' and click 'Add.'  'native' should be first.
8. Add a command to fix server stuttering; create a *.cs file such as GameData/base/scripts/autoexec/auto.cs with the following line:

SetPerfCounterEnable(0); //server stutter fix

9. Make sure to open/forward the server port (default: UDP 28000)
10. Test that the server works at this point:

$ wine Tribes2.exe -dedicated

You should see:

-- Sent heartbeat to TN Master. (
 - Heartbeat confirmed.
If you don't see 'Heartbeat confirmed.', verify the port is really open from step 9.

11. Quit the server:

% quit();

12. Modify your ServerPrefs.cs to how you want them.
13. Make sure to delete the *.dso files whenever you make changes to the *.cs files.

Run server in a terminal without wine graphics:
1. Install xvfb
2. Run the server like this:
$ xvfb-run -a -w 5 wineconsole --backend=curses Tribes2.exe -dedicated

Note: If the curses option is unavailable, wine will need to be rebuilt.

Also, from my testing, if you attempt to run the server without an active X session and without xvfb:

$ wineconsole --backend=curses Tribes2.exe -dedicated

The Tribes2/wine processes will use around 100% cpu and you won't see '- Heartbeat confirmed.', meaning your server won't show up on the server list.
4 Forums / Support / Re: The Linux Thread on: September 11, 2009, 08:58:23 PM
I am running RC1e, what is the latest version of wine known to work?
5 Forums / Support / Re: The Linux Thread on: September 11, 2009, 07:34:39 PM
Seems the problem is that ruby isn't working... rubyEval doesn't do anything in the scripts.  I tested it on Wine 1.1.27 and 1.1.29 with the same results.
6 Forums / Support / Re: The Linux Thread on: September 11, 2009, 03:25:19 PM
I tried following the instructions in the Youtube video's comments and, upon hitting login, I end up getting the message:

Your game is not running the patched executable.
Close the game and verify the patch was run successfully.

Any ideas on what's causing this or how I could find out?
Running Jaunty and the latest version of Wine from the Wine PPA.

I am also having the same error right now.  Anyone figure it out?
7 Forums / Support / Re: The Linux Thread on: January 17, 2009, 03:00:48 AM
I am also very interested in running this in Linux.  I am running Debian sid as well as Ubuntu 8.10.  Please make it work, please please please.... it always freezes for me when it reaches the login screen.  I even tried compiling the latest SVN of wine... same problem.
Pages: [1] / #TribesNext Powered by SMF  © Simple Machines