New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Incorrect cgame used on Android #2375
Comments
It is issue with overwriting/no properly unpacking cgame ui files. By Default Android Apk comes with current pk3 file in which is located from AssetManager and copied to the Internal Storage etlegacy/app/src/main/java/org/etlegacy/app/ETLMain.java Lines 104 to 115 in 524f1cc
etlegacy/app/src/main/java/org/etlegacy/app/ETLMain.java Lines 130 to 141 in 524f1cc
Connecting to any Legacy Server that comes with non current version downloads pk3 files into dlcache dir in which those files should be extracted. but they do not. PS: This one may have something to dowith current Android Restrictions. |
Yes, move it. I/we can only access Android/data for reading, can't copy any configs or demos there due to unrooted Android protection. |
So yeah it looks like this Android Restricts everything to the |
Just connected to the Hirntot with their more up to date snapshot build and it did worked flaweslly. |
Hirntot runs on a snapshot built yesterday. The problem occurs once qagame and bundled cgame from APK become incompatible enough. It wouldn't work with a snapshot APK against v2.81.1 cgame and vice-versa. |
Yes they did updated to the latest one. but they in fact had previous one before that in which latest apk snapshot worked fine. |
The previous one was fairly recent as well. Anyway, is loading the actual server-provided cgame doable? Using whatever APK is close enough to what the server is running is an option, but only as far as the server runs Legacy mod. If other mods decided to compile for Android, current Legacy client would still try to load the Legacy cgame that came up with it, or at least that's what it does now. |
This will be a problem for our custom freezetag gamemode we will have as an Xmas event on Hirntot. Requires a custom built mod. Not that we expect any/many Android players but it won't be compatible. |
Android app seems to always be using cgame from APK, rather than the one from server the client is connecting to. The correct cgame (that is, the one from pak provided by server) is extracted to the app data folder, but the bundled one actually loads.
I tried with latest snapshot (
363-g8c26358
) and connected TM server, which currently has66-g337f962
deployed. The APK snapshot version appeared on the loading screen and shortly after entering the game, I was disconnected with Unknown event: 56, which makes sense, given that I have an incompatible cgame loaded.The text was updated successfully, but these errors were encountered: