OpenXcom Forum

Contributions => Builds & Ports => Topic started by: jake.biesinger on December 07, 2015, 01:48:31 am

Title: Port to chromeos?
Post by: jake.biesinger 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

Title: Re: Port to chromeos?
Post by: SupSuper on December 07, 2015, 12:56:56 pm
Would something like this work?
https://epicport.com/en/xcom
Title: Re: Port to chromeos?
Post by: sfalexrog 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 (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 (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.