How can I run BattleStar Galactica Online on Linux?

Nil
  • How can I run BattleStar Galactica Online on Linux? Nil

    I am aware that BattleStar Galactica Online requires the Unity 3D browser plug-in to play. It is currently only available to Windows. I installed the windows version of Firefox 20 using Wine 1.4.1. It ran beautifully and smoothly. Then I installed the United 3D browser plugin version 4.1.2f1 using Wine. I registered for the game and went to play it. However, it gave me this error when the game started to load:

    Failed to update    Unity web player
    Error Details       Install Manually
    

    This is the newest version of the Unity player. Also, selecting Error details produces a pop up that says:

    A New version of the Unity Web Player is required, but the auto-update download failed.
    Was trying to download http://webplayer.unity3d.com//Channels/795a449bc926/UnityPlayer3.x.x-win32.zip
    

    Does anyone know what is causing the problem? Has anyone figured out a work around?


    Update
    As per suggestion, I tried following the link given in the error details. The url changed since the problem started, it is now http://webplayer.unity3d.com//Channels/911c7369eeac/UnityPlayer3.x.x-win32.zip. It opened in Ubuntu's Archive Manager and I extracted the contents to .../Local Settings/Application Data/Unity/WebPlayer/player/3.x.x/ in my user folder within my .wine folder. I placed the old files in a new folder in case I needed to revert back. When I reloaded firefox and went to Battlestar Galactica Online, I had the identical error message as above. This idea was a dead end.


    Comment
    To avoid an extended conversation with myself, I'll add the following information which may or may not be helpful as an edit. The Unity forums, which is a clone of a stack exchange site, offers little help to people with issues. I found multiple posts by Windows users who have had the same problem. The answers were either vague or irrelevant in most cases with a few of them just plain out-of-date.

    This link may actually prove to be helpful. However, I don't know which log file they are referring to. If someone can tell me, we may be one step close to getting this game running.


    Update
    I removed the log files I had previously uploaded here. One was the from when I attempted an to use an older version of Unity and therefore irrelevant. Here are the two new log files that are actually relevant. The first one is log_9e49528ca7602f43a8ab3e512f51ec85.txt

    130531 13:49:16 ------------------------------------------------------------
    130531 13:49:16 Instance starting, version 4.1.3f3_9174d583c97b, UNITY_WEB_ENABLE_AUTODOWNLOAD: 1, GetDisableAutoUpdates(): 0
    130531 13:49:16 Datafile http://battlestargalactica-547.ah.bpcdn.net/client/bgoclient.unity3d?__cv=74ec5150a2588c2594bbc497c418cc00
    130531 13:49:26 Setting error display: 'Failed to update Unity Web Player', details: 'A newer version of Unity Web Player is required, but the auto-update download failed.
    Was trying to download http://webplayer.unity3d.com//Channels/9174d583c97b/UnityPlayer3.x.x-win32.zip', link: 1
    

    The second one is manager_a9779ddffc02944b911eb9afcd5390ff.txt

    130531 13:47:33 ------------------------------------------------------------
    130531 13:47:33 Manager starting, version 4.1.3f3_9174d583c97b
    130531 13:47:36 Requesting bundle 1 (3.x.x) update. Required revision range is 4138003 to 4138003, installed revision is ffffffff
    130531 13:49:19 Requesting bundle 1 (3.x.x) update. Required revision range is 4138003 to 4138003, installed revision is ffffffff
    

    Interpretation
    From what I can tell from the log file, the number that precedes each line is actually the day in yymmdd format followed by the military time. The file that begins with "log" only has information on what the most recent session with the Unity Web Plugin outputed. The file beginning with "manager" seems to keep all error messages from the current browser session. The error message:

    Requesting bundle 1 (3.x.x) update. Required revision range is 4138003 to 4138003, installed revision is ffffffff
    

    Appears after all events in both log files. From searching the Unity forums, I noticed that this error appears for multiple Windows users. Of course they are offered no help in determining the cause aside from their generic explanation of the error message. But those users did not give up hope and eventually some of them discovered the cause. Many of them has some kind of encryption system that prevented Unity from reading the files and folders it needed. Other people had some kind of network encryption that also seemed incompatible with Unity.

    The question now becomes what in wine is causing Unity to fail and is it something that can be worked around?


    Possible Solution?

    There is with forum thread at winehq that claims to have gotten wine to run Unity via a patched version of wine (see here). It requires modifying some code and recompiling wine, there is a link to this video in which youtube user David Techer instructs on how to get it working. Ironically, the video features this very page in it yet Techer did not bother to leave an answer, >:( .

    This method uses a different version of Wine, Firefox, Unity, and Ubuntu than I asked, however if it works I would gladly accept it as an answer provided that someone answers it in a clear, well structured manner.

    Edit: The forum thread mentions applying a four part patch to fix bug number 12067, however that patch is already applied to wine version 1.7.6 and newer. The current version of wine 1.7.9 has a bug that results in certain programs, like firefox, to crash at startup (firefox gives a "could not load xpcom" error). This is suppose to be fixed when 1.7.10 comes out, however 1.7.8 runs firefox quite well. Since the simple instructions on obtaining the source code for wine using git results in the 1.7.9 code, I'll wait until 1.7.10 comes out to attempt this workaround. However the forum thread replaces:

    HDESK WINAPI OpenInputDesktop( DWORD flags, BOOL inherit, ACCESS_MASK access )
    {
    FIXME( "(%x,%i,%x): stub\n", flags, inherit, access );
    SetLastError( ERROR_CALL_NOT_IMPLEMENTED );
    return 0;
    }
    

    in winstation.c (in wine version 1.7.0) with

    HDESK WINAPI OpenInputDesktop( DWORD flags, BOOL inherit, ACCESS_MASK access )
    {
    return CreateDesktopA("Desktop", 0, 0, flags, access, 0);
    }
    

    However, in the winstation.c file in 1.7.9 it's

    HDESK WINAPI OpenInputDesktop( DWORD flags, BOOL inherit, ACCESS_MASK access )
    {
        HANDLE ret = 0;
    
        TRACE( "(%x,%i,%x)\n", flags, inherit, access );
    
        if (flags)
            FIXME( "partial stub flags %08x\n", flags );
    
        SERVER_START_REQ( open_input_desktop )
        {
            req->flags      = flags;
            req->access     = access;
            req->attributes = inherit ? OBJ_INHERIT : 0;
            if (!wine_server_call_err( req )) ret = wine_server_ptr_handle( reply->handle );
        }
        SERVER_END_REQ;
    
        return ret;
    }
    

    I'm a bit reluctant in making a change since it may break wine. It seems that since 1.7.0 that the call to the function OpenInputDesktop has been implemented and doesn't merely create an error message. OpenDesktopA function returns the OpenDesktopW function which returns the open_winstation_desktop function which basically looks like what 1.7.9 and 1.7.10 has written for the OpenInputDesktop. It's more efficient not to recompile wine with the mentioned patch as it will do the same thing as is only with a smaller runtime stack. So I need to try to install firefox, flash, and unity with 1.7.10 then copy and past the updated files from a windows pc into the correct folder. If anyone has already done it please post detailed instructions and your results so I can select it as the best answer.

  • EDIT: I have found out that, unfortunately, no one has been able to get the Unity3D Web Player to run under Wine and there is no native version of the Web Player. I'm afraid it is impossible to get it to run under Linux for the time being.


    If you have other things installed in your .wine folder, try making a new, clean Wineprefix to do the install in, so that you are sure that nothing else in somehow interfering with the program.

    To create a new Wineprefix, say in a folder called .BSGOnline do this in a terminal:

    1. mkdir .BSGOnline
    2. export WINEPREFIX=/home/username/.BSGOnline
    3. Do the install the same way as you did previously; install Firefox inside the Wineprefix and then install the Unity3D Web Player. It might help to update Wine as well, but that might just as well make it worse.

    Good luck, and I hope it helps!

Related questions and answers
  • . I have, however, also tried with the newest (at the time) dev version (sourcemod-1.5.0-hg3657-linux.tar.gz), but without any different (near as I can tell) results. It started crashing, even...: [basecommands.smx] "Console<0&gt;<Console><Console>" refreshed the admin cache. L 09/30/2012 - 20:13:35: SourceMod log file session started (file "L20120930.log") (Version "1.5.0-dev+3657") L... session started (file "L20121001.log") (Version "1.5.0-dev+3657") L 10/01/2012 - 16:30:33: -------- Mapchange to rubicon -------- L 09/30/2012 - 21:58:39: [vbping.smx] Cochise has 1 ping warning (Ping

  • it's going to run, and then the launcher just comes right back up and I never actually enter the game. The only mods I've got are Modloader (found here: http://minecraft-mods.org/modloader/) and Timber! (found here: http://minecraft-mods.org/timber-mod/), and a Ovo's Rustic Redemption resource pack(which has been working fine on any version I use). Can anyone tell me where I'm going wrong...I recently(yes, late to the party) updated to 1.7.4 on minecraft. Most of the mods I use, however, have not yet updated to that version, so I downgraded to 1.7.2 in order to use them. When I did, I

  • is the output from ps uax | grep mine: dillon 4580 0.0 0.0 20428 944 pts/1 S+ 15:48 0:00 grep --color=auto mine This is what I see when I start the server up. [16:03:33] [Server thread/INFO... generated a world and can run independently in its own empty folder, without creating any files. Can someone please tell me what is going on? Thanks for any help. I feel I am pretty good with Minecraft...Recently, I updated my Minecraft server to snapshot 13w47e. It started up without any trouble. However, upon logging in, I find myself in a new world, without any of my previous items. Upon further

  • I was trying to port forward my minecraft server, using port 25566, and for some reason it wasn't working. So, I opened minecraft to enter localhost, and after clicking login, the window closed and placed an error log report on my desktop. The same thing happens with all subsequent tries. Here is the error report: # # A fatal error has been detected by the Java Runtime Environment... --------------- P R O C E S S --------------- Java Threads: ( =&gt; current thread ) =&gt;0x0200cc00 JavaThread "Minecraft main thread" daemon [_thread_in_native, id=3372, stack(0x4ef10000,0x4ef60000

  • files here. I followed the instructions (added to same folder, ran the appropriate file) and successfully installed the game. However, I encounter the following errors when I try to run the game: 1) Running through Chrome: Error code 11004, Maplestory not run at all. 2) Running through internet explorer: Can select server, when I choose a channel, instantly crashes with no error messages. 3... been disconnected from the login server'.* Extra information: 1) I am running a dual-monitor set up. I have had some problems running other games in the past because of this reason. 2) I am using

  • for an hour trying most of the above steps, with no success, so they directed me to the xbox support. They had me do the same steps, and when it failed, they directed me back to the Netflix people... live account for the first time, and have remained so for my last 5 logins so far. I think it's safe to say it's a fix. Has anyone else with this issue also found some resolution in the last update? ... the Xbox. I have also gone into the developer/settings mode in the netflix application, and telling it to forget my credentials has had no effect on my next login. We are able to log into the new

  • #25104257 Failed solution here, might help some of you out. battlelog.battlefield.com/bf3/forum/threadview/2832654347698310156/ I'm sending in my .log files from ProgramData and a Task Manager..., there must be a more permanent solution.. I tried to download this .dll (media fire.com/?c21lz2pdmfd93b8) to see if it had any affect on the problem, and it did not. However, it may work for some... C:\Program Files (x86)\Origin Games\Battlefield 3\Core Find the file named activation.exe_DIP_STAGED, delete this as well. Then, you should start the download again. When I watched the Battlefield 3

  • this problem? Edit: I was going through my Downloads folder and found three Java error messages, most likely from Minecraft. Here is the message: Second Edit: Somebody asked me to determine if I had the path...My Minecraft has been crashing a lot lately. I've tried everything, batch files, going into the Control Panel settings, all I could. This is the problem: When I play Minecraft, I turn on my F3 view... set the path to the 64 bit version of Java so I can use it with Minecraft? # # A fatal error has been detected by the Java Runtime Environment: # # EXCEPTION_ACCESS_VIOLATION (0xc0000005) at pc

  • that running the game on Mac requires you to use OpenGl and not DirectX, however, can I use the OpenGL library instead of DirectX9 on Windows? I don't know if the technical details of my problem will help, but here is what I hope to accomplish by using OpenGL. Currently I am running Windows programs on Ubuntu 13.04 using Wine 1.6-rc4. Prior to release of HoTS, Starcraft 2 actually ran (though choppy) making DirectX9 calls to Wine. However, since HoTS I'm stuck running at 0 fps when I try to play a mission (it's more like 1 frame per minute). I was able to get World of Warcraft to run smoothly

Data information