Just want to let you know. I’ve been working on android version for a couple of days and currently have a quite stable application (vcmi master (0.99), boost 1.61, ffmpeg master, SDL 2.0.5). If there aren’t any big issues, I’ll try to upload it to github in a few days.
Main changes in vcmi to make it working:
- similarly to xyzz’s version, I compiled AI libraries together with main lib; android’s support for dlopen/dlsym is broken (it compiles and kind of works, but RTTI between libraries is broken),
- I disabled StupidAI for now (currently always using BattleAI); is StupidAI important? the game seems to work correctly with BattleAI; I didn’t search a lot why it doesn’t work, but it seems that memory gets corrupted somewhere in there,
- starting server / notifying client that server is ready can’t use boost IPC, so these messages go through java (using android’s Messenger for a simple IPC)
Currently testing only on my android 7.1, but in theory it should work on 4.1+.
I didn’t try to play any game longer than a week, but I think it is quite stable. Playing feels very weird, because map can’t be swiped and only viable way to scroll the map is through minimap.