Announcement

Collapse
No announcement yet.

Coreonline - Square Enix 3D games (Hitman, Tomb Raider) in browser

Collapse
X
 
  • Filter
  • Time
  • Show
Clear All
new posts

  • Coreonline - Square Enix 3D games (Hitman, Tomb Raider) in browser


    They use Google Native Client. So, it should be playable with Chrome@Linux (not tested yet). Direct link.

  • #2
    Originally posted by kwahoo View Post
    They use Google Native Client. So, it should be playable with Chrome@Linux (not tested yet).
    Spoiler: Just like Mini Ninjas, they're not playable Linux

    Comment


    • #3
      Right it doesn't work. Square Enix uses BrowserDetect.OS JavaScript function and Chrome User Agent Switcher is useless. Can anyone change Linux->Windows in Chrome http://www.quirksmode.org/js/detect.html ?

      Comment


      • #4
        Originally posted by kwahoo View Post
        They use Google Native Client.
        Shure? I just booted Windows to test it and it needs a Plugin, I uploaded it here. I didn't test it in wine, I just hope for a native linux version of that plugin. It is also interesting to look into the Javascript files when playing like this one which indicates that java is used in some way.

        Comment


        • #5
          Originally posted by kwahoo View Post
          Right it doesn't work. Square Enix uses BrowserDetect.OS JavaScript function and Chrome User Agent Switcher is useless. Can anyone change Linux->Windows in Chrome http://www.quirksmode.org/js/detect.html ?
          I haven't figured out how. Firefox has general.platform.override in about:config but I've found nothing similar for chrome.

          Comment


          • #6
            Originally posted by rrae View Post
            Shure? I just booted Windows to test it and it needs a Plugin, I uploaded it here. I didn't test it in wine, I just hope for a native linux version of that plugin. It is also interesting to look into the Javascript files when playing like this one which indicates that java is used in some way.
            It can use either Square's proprietary plugin OR native client. You can set which one it does by default in your options if you register, although I believe if you use chrome it will default to native client.

            Edit: Whoops, just noticed I double posted
            My bad

            Comment


            • #7
              I'm triple posting at this point, but, hey, there's no edit

              In any case, I finally managed to bypass their platform check, and I honestly expected there'd be some terrible issues. Ya know, crashing, graphics going all wonky, controls not working, something.

              Imagine my surprise when everything works absolutely flawlessly. No issues at all, graphics are crisp, FPS is steady. Sigh, looks like they just don't like Linux users.

              Comment


              • #8
                Originally posted by KameZero View Post
                In any case, I finally managed to bypass their platform check,
                Could you share the solution?

                Comment


                • #9
                  Originally posted by kwahoo View Post
                  Could you share the solution?
                  Well, basically, you need to find

                  chrome://view-http-cache/http://cdn3.beta.coreonline.com/coreonline/web/rev/2805/web/js/aaa.game.js

                  that file in your cache(~/.cache/google-chrome). It should start with
                  Code:
                  var isRunning = false;
                  Find the line that says
                  Code:
                  if (BrowserDetect.OS == "Linux") {
                  (should be line 751) and replace the "Linux" with "Lcnux" (or anything as long as it's 5 letters).
                  Last edited by KameZero; 31 August 2012, 08:23 AM.

                  Comment

                  Working...
                  X