aliens

Author Topic: Port to chromeos?  (Read 5074 times)

Offline jake.biesinger

  • Squaddie
  • *
  • Posts: 1
    • View Profile
Port to chromeos?
« on: December 07, 2015, 01:48:31 am »
There's already a chromeos per of dosbox which I could use, but the interface improvements in openxcom make the game so much more playable to me.

Given the legwork of writing to an sdl canvas has already been done, do you think such a port would work out? Lots of work?

Sent from my Nexus 6 using Tapatalk


Offline SupSuper

  • Lazy Developer
  • Administrator
  • Commander
  • *****
  • Posts: 2162
    • View Profile
Re: Port to chromeos?
« Reply #1 on: December 07, 2015, 12:56:56 pm »
Would something like this work?
https://epicport.com/en/xcom

Offline sfalexrog

  • Captain
  • ***
  • Posts: 56
    • View Profile
Re: Port to chromeos?
« Reply #2 on: February 01, 2016, 05:21:52 pm »
From what I've heard, there's now an ability to run android apps in ChromeOS with Google's Arc Welder: https://developer.chrome.com/apps/getstarted_arc

I don't have a ChromeOS device, however, I've tried using this tool with a slightly modified build of OpenXcom for Android (basically, I've put all assets into the app package), and it seemed to work on my laptop in Chrome. There were some issues, however (most notably, mouse wheel was misinterpreted, and resizing the window crashed/restarted the game), but it worked overall.

Unfortunately, I can't redistribute the modified package, but it's really easy to build one yourself! Just follow the instructions for the Android port build (https://github.com/sfalexrog/openxcom-android). Be sure to put the game data into the app/src/main/jni/OpenXcom/bin subfolders, because right now I don't think an ARC app can access local filesystem.