Author Topic: Android Build  (Read 205 times)

0 Members and 1 Guest are viewing this topic.

Offline ShivanSpS

  • 210
In last few days ive been working on getting a android build working on my phone.

Ive been documenting the effort here:
https://github.com/scp-fs2open/fs2open.github.com/pull/6992

The whole thing involves adding a compatibility layer to run on OpenGL ES 3.2 and using external shaders, because the ones included cant work with GLES.

Today for the first time, i was able to get a build working on my phone.


This was on a Phone with a Mali G57 MC1 GPU (Valhall V1).
It needs a few extensions and GLES 3.2. cant work on anything lower.

There are still shader errors and ships render as black. That i dont know how to fix.

The audio of all things i was unable to get it working. OpenAL Soft gets init and FSO sees a "OpenSL" device but no audio.

Here is a link to a first partially working version of the FS2 demo in apk format.
https://drive.google.com/file/d/1vGkyc1id04UgSxrrUaMoftN9G1xypntU/view

UPDATE: audio fixed by compiling OpenAL with the oboe backend, and the ship textures are fixed by disabling deferred lighting in settings, apk link updated
« Last Edit: August 29, 2025, 12:03:35 pm by ShivanSpS »