Hard Light Productions Forums

Modding, Mission Design, and Coding => FS2 Open Coding - The Source Code Project (SCP) => Cross-Platform Development => Topic started by: ShivanSpS on August 28, 2025, 03:36:00 pm

Title: Android Build
Post by: ShivanSpS on August 28, 2025, 03:36:00 pm
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.
(https://i.imgur.com/jj5h5OA.png)

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