test content
What is the Arc Client?
Install Arc

STO under Wine/Linux/Mac

Archived PostArchived Post Member Posts: 2,264,498 Arc User
Disclaimer: Bioware don't officially support running it under these operating systems or conditions. Don't expect developer help. Don't go nagging when it won't run, or won't run right. This is just a place for users to share experiences, not a place to complain about support or lack thereof.



So, I'm an avid gamer. I've gotten a number of games running fine under Wine (Everything Source-based, Dragon Age, WoW, LotRO). I'm keen on playing STO, but before I lay down money I want to know that I can get it running.

So far, all I can get is the launcher updating and logging in. Once logged in, the "buttons" (app:2,3,4 links) don't seem to do anything. What I assume is the news pane never loads, the drop down box is empty, and it seems like nothing happens.

I've checked with Wireshark, the app is POST'ing the login data, and getting a 200 back, so that's working fine.

It might be something to do with Javascript not running properly on my end. I'm getting
0[18bf88]: file http://startrekonline.com/launcher_login, line1: ReferenceError: focus_password is not defined
focus_password is a Javascript function defined in http://startrekonline.com/themes/startrek/js/launcher.js but I can also see from the wireshark cap that it's not being fetched. It's also this JS file that seems to have a decent hunk of content that runs on loading, so I'm guessing this is my current issue.
Post edited by Archived Post on
«13456719

Comments

  • Archived PostArchived Post Member Posts: 2,264,498 Arc User
    edited January 2010
    Of note, the login form isn't actually a form, it is intercepted by the launcher code, so a POST of that data will do nothing.
  • Archived PostArchived Post Member Posts: 2,264,498 Arc User
    edited January 2010
    The launcher uses MS's Internet Explorer for a lot of functions. Luckily, it seems that you might not even need to touch the launcher if you can get the game patched. If the patch works, you can exit the launcher and run the GameClient.exe file directly, as the launcher just passes your login information along to that program, which does the real game login. The only uses of the launcher are patching and displaying shorter versions of the release notes. Unless it's patch day, I doubt I'll ever bother with the pointless extra step of running the launcher.
  • Archived PostArchived Post Member Posts: 2,264,498 Arc User
    edited January 2010
    @coderanger
    Actually, yeah that makes sense. I was wondering how that came about (the POST data is quite different to what I type) but if I think about, the 'action="app:4"' should've given it away.


    @pliney
    Sorry, when i said updating, I meant the launcher itself is being updated. The client is not being updated. However, a lot of IE functionality does actually work. For example, Steam works fine, and it's internal browser is "meant" to be IE but is actually the Gecko engine. So support might not be too hard.


    Anyway, I'm now pretty confident that the current issue is a JavaScript in Wine issue. I double checked my wireshark logs, and the javascript file is not even being downloaded. I'm not sure why, testing now.
  • Archived PostArchived Post Member Posts: 2,264,498 Arc User
    edited January 2010
    Launcher/Patcher running fine with IE7 installation in wine.
    Game itself does not launch (crash)

    Wine 1.1.36 x86_32
    WinXP
    DX9 August '09 (winetricks)
  • Archived PostArchived Post Member Posts: 2,264,498 Arc User
    edited January 2010
    Although I do run Ubuntu (both for leasure and for school), I really don't know how to tweek wine. Any information you can provide to help get STO to run in linux would be appreciated.
  • Archived PostArchived Post Member Posts: 2,264,498 Arc User
    edited January 2010
    Well I hope it works on wine soon, then I can remove windows again (: only reason I have windows atm is because of STO
  • Archived PostArchived Post Member Posts: 2,264,498 Arc User
    edited January 2010
    This Wine benchmark might be of interest:

    Linux Gaming: Are we there yet?
    http://www.anandtech.com/linux/showdoc.aspx?i=3700&p=2&cp=4
  • Archived PostArchived Post Member Posts: 2,264,498 Arc User
    edited January 2010
    dr0pi wrote: »
    Launcher/Patcher running fine with IE7 installation in wine.
    Game itself does not launch (crash)

    Wine 1.1.36 x86_32
    WinXP
    DX9 August '09 (winetricks)

    If you run "winecfg" and check the libraries tab, do you have an override for "mshtml", and if so, what is it?

    Edit: Fixed my Javascript issue. I gave up on trying to get native Wine/Gecko working, and just moved to IE6. Currently patching, will keep this updated. Although with the downtime, might be a while.
  • Archived PostArchived Post Member Posts: 2,264,498 Arc User
    edited January 2010
    I'm on ubuntu 9.10 x64 with wine 1.1.35. I got the client installed, even though the installer seemed to hang for minutes then jump 20% forward. I can get to the login screen and log in just fine, but the next page has a blank area where the patch notes must go, and an empty drop down box beneath that. I can see an 'Engage' button, but clicking it does nothing. Clicking 'Options' brings me to a white screen. I have to break out of wine to quit the client, seeing this as an error:
    C*** glibc detected *** Star Trek Online.exe: corrupted double-linked list: 0x7d3b42e0 ***
    ======= Backtrace: =========
    /lib32/libc.so.6[0xf7582cc1]
    /lib32/libc.so.6[0xf7584599]
    /lib32/libc.so.6(cfree+0x6d)[0xf758749d]
    /usr/lib32/libGLcore.so.1[0x7abb48b1]
    ======= Memory map: ========
    err:seh:raise_exception Unhandled exception code 80000101 flags 1 addr 0xf77ee430

    Has anyone gotten this working successfully?
  • Archived PostArchived Post Member Posts: 2,264,498 Arc User
    edited January 2010
    Upon starting the launcher on Wine in Mac OS, it spams Internet Explorer errors until it crashes. I tried loading GameClient.exe, but it gets a Direct3D error.
  • Archived PostArchived Post Member Posts: 2,264,498 Arc User
    edited January 2010
    Mobox wrote:
    I'm on ubuntu 9.10 x64 with wine 1.1.35. I got the client installed, even though the installer seemed to hang for minutes then jump 20% forward. I can get to the login screen and log in just fine, but the next page has a blank area where the patch notes must go, and an empty drop down box beneath that. I can see an 'Engage' button, but clicking it does nothing. Clicking 'Options' brings me to a white screen. I have to break out of wine to quit the client, seeing this as an error:



    Has anyone gotten this working successfully?

    You can try the following, it stops using the native gecko HTML renderer, and uses IE6 instead

    wget http://winezeug.googlecode.com/svn/trunk/winetricks
    sh winetricks ie6


    Go through the dialogs, and install IE6. Then try running the client again. It should now use the IE renderer, and work a bit better.

    You can also try
    sh winetricks ie7
    if you want to see how that works. I tested with IE6, I get one javascript error that I ignore, and it's currently patching.
    echrei wrote: »
    Upon starting the launcher on Wine in Mac OS, it spams Internet Explorer errors until it crashes. I tried loading GameClient.exe, but it gets a Direct3D error.

    Sorry, really not sure what the deal is with the launcher for you, and I don't have a Mac to test with. I might have a shot at re-creating the launcher in a platform neutral way, but that's very tricky.
  • Archived PostArchived Post Member Posts: 2,264,498 Arc User
    edited January 2010
    Well, slowly getting somewhere. At this point, I fail the system specs check (no surprise). I see the loading screen with the Cryptic logo. I then see the Atari logo for a few seconds, and then I get a crash, and the CrypticError thing pops up.
    In crash.log I see
    100114 09:35:58 18 MasterControlProgram[1]: Shutting down: C:\src\Core\CrypticLauncher\StartingScreen.c(618)

    That seems to me like a source code reference, along with a line number. Not sure if it really is, and not sure if it would actually make a difference. Anyway, taking a break for dinner now.

    Found some more debug info:
    Loading PetContactList Defs...
    Loading PetContactList... done (11 PetContactList). (0.00)
    done (11 PetContactList). (0.01)
    WorldLibZone startup...
    Unloading map...memTrackValidateHeap: Infinite loop walking heap, last walked was 2ad0130
    memTrackValidateHeap: Infinite loop walking heap, last walked was 2ad0130
    memTrackValidateHeap: Infinite loop walking heap, last walked was 2ad0130
    memTrackValidateHeap: Infinite loop walking heap, last walked was 2ad0130


    Not sure what it means yet (yes I know what an infinite loop is).
  • Archived PostArchived Post Member Posts: 2,264,498 Arc User
    edited January 2010
    I successfully install STO at Ubuntu, but i cant run it. when i run STO nothing happen..

    I use wine 1.0.1 and Ubuntu 9.10

    Anyone have working STO?
  • Archived PostArchived Post Member Posts: 2,264,498 Arc User
    edited January 2010
    I am at the same point someenigma is. Login/Options screen works fine, game crashes when the Atari splash screen shows up in game.
  • Archived PostArchived Post Member Posts: 2,264,498 Arc User
    edited January 2010
    I don't even get to that... using IE7 bricked it for me, i'll try again soon after waxing the STO prefix...
  • Archived PostArchived Post Member Posts: 2,264,498 Arc User
    edited January 2010
    Updates-

    I am running Ubuntu 9.10 x64 with Wine 1.1.35 and ALSA audio drivers.

    I have gotten the launcher working with WINE and Winetricks ie6. I have succesfully patched my client, and now upon launching, I am warned that my graphics card may be unsupported, and clicking continue both with default and lowered settings leads to a client crash. My final wine debug text is as follows:
    err:heap:HEAP_ValidateInUseArena Heap 0x110000: invalid in-use arena magic 00f55355 for 0x41b2460
    err:heap:HEAP_ValidateInUseArena Heap 0x110000: invalid in-use arena magic 00f55355 for 0x41b2460
    fixme:reg:GetNativeSystemInfo (0x33fa7c) using GetSystemInfo()
    fixme:ntdll:RtlNtStatusToDosErrorNoTeb no mapping for 8000000a
    fixme:heap:HeapSetInformation 0xa80000 0 0x33fbf0 4
    fixme:thread:SetThreadIdealProcessor (0xfffffffe): stub
    fixme:thread:SetThreadIdealProcessor (0x80): stub
    fixme:thread:SetThreadIdealProcessor (0x84): stub

    I, too, have issues with heaps, leading me to believe there could be some bad translation from windows system calls to wine system calls, involving some sort of heap transversal. Looking at some of the errors, maybe there are memory OOB problems happening, but I'm not sure. WTB better third party support.

    Does anyone know if STO has an option to use opengl?
  • Archived PostArchived Post Member Posts: 2,264,498 Arc User
    edited January 2010
    Mobox wrote:

    Does anyone know if STO has an option to use opengl?

    I searched today for this answer, I would guess the answer is No. For the hell of it, I tried -opengl in the Advanced Command Line (under Options) but it has no obvious effect.

    Note: -console command can provide additional debugging information that may prove valueable.


    If OpenGL is not supported at all, I would guess it would be nearly impossible to have STO working at any sort of effective/reliable way.
  • Archived PostArchived Post Member Posts: 2,264,498 Arc User
    edited January 2010
    Kastang wrote: »
    If OpenGL is not supported at all, I would guess it would be nearly impossible to have STO working at any sort of effective/reliable way.

    That is what I am worrying about. The article linked early on in the thread, about the state of gaming on linux, discussed this very issue, and I'd be sad to see the STO devs not paying any attention to opengl. The launcher does not recognize the -opengl flag, I can see it in my terminal if I launch the game with -opengl appended.

    I will update the thread with my progress, and I'll give the game a TRIBBLE rating on the appdb if nothing pans out in the coming days. I may actually have to install windows just to play this game :eek:
  • Archived PostArchived Post Member Posts: 2,264,498 Arc User
    edited January 2010
    I'm at the Atari logo crash as well using crossover, sooooo close.
  • Archived PostArchived Post Member Posts: 2,264,498 Arc User
    edited January 2010
    Mobox wrote:
    I, too, have issues with heaps, leading me to believe there could be some bad translation from windows system calls to wine system calls, involving some sort of heap transversal. Looking at some of the errors, maybe there are memory OOB problems happening, but I'm not sure. WTB better third party support.

    I'm not getting any heap "errors" from Wine, but from STO itself. I'm getting D3D unrecognised formats and some Shader debugging from Wine, and then the Cryptic error launcher thing.

    For the record, a partial dump is at http://pastebin.ca/1752117

    I'll point out too, that last line is due to a typo in my .asoundrc, which shows whenever a new app is starting. I haven't fixed the typo, as it gives a good indicator of when wine is spawning new processes :) The D3D unrecognised format errors and Shader stuff all come basically before the Cryptic logo shows up, so I don't think they're the cause either.


    Also, running "GameClient.exe" in Cryptic Studios/Star Trek Online/Live/ gives the console output, same as adding the "-console" option in Options. Just a quicker way to test things, without having to log in. Don't know if the whole "not logging in" may add to the troubles though.


    Scrolled through the console log, saw some errors about PhysX.dll missing, so I installed PhysX via winetricks, now it's giving an "error" that CUDA support isn't found. I'm not sure what to make of it, but I doubt CUDA is a "requirement".
  • Archived PostArchived Post Member Posts: 2,264,498 Arc User
    edited January 2010
    You people are more savvy than me, I shall monitor this thread for the genius solutions that are sure to develop.
  • Archived PostArchived Post Member Posts: 2,264,498 Arc User
    edited January 2010
    Linux Mint 8 Helena (based on Ubuntu 9.10 Jatsy)

    I downloaded the beta client and run wine setup.exe
    It take a while but the installation went fine.

    First error MSVCR80.dll so I run winetricks vcrun2005 and that went ok.

    But now I run wine Star Trek Online.exe and I get

    c:/Cryptic/tools/bin/GimmeDLL.dll does not exist.

    and crash
  • Archived PostArchived Post Member Posts: 2,264,498 Arc User
    edited January 2010
    if i try to run startrek online/live/gameclient.exe then i get the errors like
    c:/Cryptic/tools/bin/GimmeDLL.dll does not exist. as well

    however if i just run startrek online i get a login screen like i expect. it hangs though at the place where it is (or could) patch the game
  • Archived PostArchived Post Member Posts: 2,264,498 Arc User
    edited January 2010
    For those of you who cannot get to the launcher/patcher, try launching the game by typing wine explorer /desktop0,800x600 /pathToFiles/Star\ Trek\ Online.exe

    This will launch the game in a virtual desktop sized 800x600, and seems to help stability a bit.
  • Archived PostArchived Post Member Posts: 2,264,498 Arc User
    edited January 2010
    I Download new version of wine and i look at launcher but i cant do nothing..

    http://img254.imageshack.us/img254/876/sto.png
  • Archived PostArchived Post Member Posts: 2,264,498 Arc User
    edited January 2010
    Rapway wrote:
    I Download new version of wine and i look at launcher but i cant do nothing..

    http://img254.imageshack.us/img254/876/sto.png

    Run winetricks to install ie6, and you can get to the loading screen bug with the rest of us.
  • Archived PostArchived Post Member Posts: 2,264,498 Arc User
    edited January 2010
    Mobox wrote:
    Run winetricks to install ie6, and you can get to the loading screen bug with the rest of us.

    Hahaha brilliant
  • Archived PostArchived Post Member Posts: 2,264,498 Arc User
    edited January 2010
    CUDA is only needed for physx support, which I doubt is working under wine. CUDA is the "Common Unified Driver Architecture" from nVIDIA. So, its obviously not needed.


    As for OpenGL and proper running of the game, not needed either. I play Dungeons and Dragons Online, and one of the performance hacks is a tweak to force some settings in D3D. And to be honest, on my iMac with a x2600, the game runs fine at mostly max settings. I am sure it would be perfect without Wine.


    I currently am at everyone else's state on both my Fedora 12 and Ubuntu 9.10 64-bit installs. If I come up with anything I will share.
  • Archived PostArchived Post Member Posts: 2,264,498 Arc User
    edited January 2010
    PhysX is somewhat operational as Borderlands uses it.
    I run Borderlands quite well under wine.
    D3D settings can be tweaked in the registry, i'll share what i can when my game finishes patching 10 GIGS OF TRIBBLE GOODFREAKINGGOSH.
  • Archived PostArchived Post Member Posts: 2,264,498 Arc User
    edited January 2010
    Anyone on Linux tried the WInehacks git that runs CO ok? I compiled it and tried under that, and I just get segfaults on Mac OS X... but its claimed it runs CO on Linux ok.. and this crashes for me after log in the same way CO does... with the same problem the fix in winehacks fixes.

    I need to mess with the code some and try to figure out why it segfaults, or find the patch that fixed the D3D problem with CO and make a patch for 1.1.36.

    On my Mac I have the same things by the way... IE6 with Winetricks and I can log in and crashes after the cryptic logo.
This discussion has been closed.