VCMI for Android

Fay,
I would like to point out few things that are in my opinion urgent right now for android-vcmi.
When the VCMI app is installed it doesn’t come with mod for different resolutions. I think even the additional ability sprites for units are missing but not so sure about that right now. They should be provided already in the apk or there should be at least some links to the files.

In-game session could be made a bit more pleasant. First of all the app doesn’t support fullscreen. If there should be a back arrow it could be implemented as a floating button somewhere in a corner.
And when the chosen resolution doesn’t fill entire screen then the artifacts could be covered by a single coloured layer or some kind of sprite so that it doesn’t look so bad.

Thank you :slight_smile:

All latest builds crashing after battle end in companies.

I have the same problem. Also I have constant crash when entering the tavern. Sometimes when the quick combat is on everything goes fine, but sometimes I have crash.

maybe vcmi config folder is outdated on android… i would try using one from recent windows daily build

Very interesting. I have a bug of battle on the windows build too. But the tavern works correctly.

I can not run the game in the last builds. The message “Could not find or extract vcmi data from app resources” comes out. But the files in the “/data/data/is.xyz.vcmi/files/vcmi-data/” directory exist.
P.S. Is solved. There were incorrect file permissions. But crash in tavern and after combat remained.

running on arm exynos and with elevated previleges with the symptom of crashing at the end of the first fight.

impressive though i just was so excited it even worked. Like exult and ultima vcmi look sjust as promising simply amazing great job i dont think its that neeeded on arm or anything but a big thread such as this may be otherwise.

though. vcmi is an amazing client thanks

I experienced that the AI never buyed creature dwellings. Was on an 8 player map. is that a well known bug? Got some error messages on AI turns: “player was 2 expected 3” or something like that.

Damodred
That probably isn’t related to this thread but to the official developement.

What’s going on with dailies for Android? Haven’t been updated since August 13th

It’s build system need to be adjusted for current CMake configuration since I changed many things here. I’ll certainly try to integrate Android builds into upstream code one day, but so far I didn’t have time for that.

Wow, a lot has changed on the forums.

Do you want me to look into failing android builds?

If you have time - of course. I heavily changed our CMake configuration and obviously it’s break.
Though for Android itself changes very minor and shouldn’t affect actual compatibility with Android.

I really wish to integrate all android-related CMake code into upstream repository, but so far I can’t even successfully built it in VM. But might be I’ll eventually manage to simplify the way this build system works.

I should be able to handle the scripts. I managed to build it locally with one extra hack needed to build fuzzylite (previously there were some changes in FL’s cmakelists and now they need to be made dynamically).

I’m not going to attempt the full, non-hacky integration though.

That’s sad, but hopefully we won’t have massive changes anytime soon.

Okay, the build passed.

So fyi, the hack with fuzzylite is preventing hardcoding of the output paths in the lib ( https://github.com/fuzzylite/fuzzylite/blob/release/fuzzylite/CMakeLists.txt#L71 ), because during the build we need the output in arch-based folders (armeabi-v7a etc). This could be probably done using cmake custom commands and copying the lib manually but I don’t know how to use cmake properly.

1 Like

Latest build works fine. Thanks Fay!!

Hello everyone, im experiensing some problem with VCMI for android. On my old phone, oneplus one, with 4.4 kitkat the program worked fine.
Now i own a leeco le max 2 with 6.0.1 droid. Everything starts normally, i can click on any single player and campaign start, but suddenly when the loading screen comes in either single or champaign, the game drops me out to main screen and closes. Allowed all allowance what the program asked.
Anyone had similar problem and found a solution for it?
Thank you for any help or sugestions you all might can tell me.
Sincerely
Zak

Edit:
I read further more and find out that the google play vcmi is outdated and not works properly. I found the desceiption on the currently working android project. Now the game works, thank you for eveyone and all the dev team for making this wonderful port.
Best wishes and good bless you all.
Sincerely
Zak

Hello everyone i have a problem with vcmi for android . if i started vcmi app they show me message ‘"Could not save vcmi config; reason: Attempt to invoke virtual method ‘org.json.JSONObject org.json.JSONObject.optJSONObject(java.langString)’ on a null object reference’ and i cant start game , anyone know what happen ?

I have android v. 6.0.1 and Heroes from Gog.com

I found the cause of crash at the end of the battle and at the tavern. The whole problem is in .bik files.
Solution:
Open any file manager. Go to the “/vcmi-data/Data” folder and delete VIDEO.VID. Instead of video there will be a black screen, but the game does not crash!

P.S. Is it possible to replace .bik files with a different format using mods? I’m ready to spend my time and convert all files.

1 Like