daid / EmptyEpsilon

Open source bridge simulator. Build with the SeriousProton engine.
https://daid.github.io/EmptyEpsilon/
GNU General Public License v2.0
520 stars 173 forks source link

[Android] Shader Error #2116

Closed DansDesigns closed 1 month ago

DansDesigns commented 1 month ago

Hey all! Loving Empty-Epsilon! I'm getting multiple Shader errors, it may be that the Android tablet I am using is not able to run EE..

Cube U30GT Android 4.1.1

able to install both armeabi-v7a and arm64-v8a apks but when running either version of the game I get the following errors: 1:19:L0001: Expected token ';', found 'uniform' (appears twice) 1:20:L0001: Expected token ';', found 'uniform' 1:31:L0001: Expected token ';', found 'uniform' (appears twice) 1:27:L0001: Expected token ';' found 'const'

clicking 'ok' on each error box brings up the next error, then after the last the game just shows a black screen.. anyone have any ideas?

thank you!

daid commented 1 month ago

There was a missing ; in a conditional path that only happens on low-end devices. And looks like you are the first to do this low :)

How critical is it for you to have it working on this device? As in, how long can you wait for a release?

(if the shader fails to compile, then a black screen totally makes sense)

DansDesigns commented 1 month ago

hey thanks for the reply, its not essential, just testing the lower limits really :)

I have a couple of Android 4.01 and 4.1.1 Tablets laying around and was hoping to find a use for them.. Is it possible to build EE for these lower version devices?

I imagine lots of people have older tablets and phones just sitting in draws, might be a good way to bring some life back into them?

daid commented 1 month ago

My lowest device I had access to at the time I added android support was an Samsung S3, which has android 4.4

I would not be surprised if lower versions are possible. But there are a bunch of things to this:

DansDesigns commented 1 month ago

Ahh i see, thank you that's alot of good bits of information!

After some digging the specs of the tablets that failed to run: Cube U30GT - Android 4.1.1 - RK3066 CPU with Mali 400 - OpenGL ES 2.0, OpenGL 1.1 GoClever A972BK - Android 4.0.4 - Allwinner A10 Mali 400 - OpenGL ES 2.0, OpenGL 1.1 - (wont install - prob due to being a sun4i based cpu)

daid commented 1 month ago

Ok, so in theory they could work, but do require custom builds.

DansDesigns commented 1 month ago

Ok, so in theory they could work, but do require custom builds.

Ah ok, good to know.. I may try and build for them at somepoint, have a linux pc but not built for android before, most of my experience is with Arduino and esp32s 😄

On a related note. Where are the script files n such located on android? I couldn't see any folders related to EE in sdcard/Android/..

daid commented 1 month ago

On android everything is packed into the app assets

DansDesigns commented 1 month ago

haha ok, that would be why i couldnt find any script files!