That’s actually working Android port? That would be great.
xyz, I hope that this is the latest version? There was quite serious bug with saving AI state that was fixed only few days ago. Anyway would be great if you’ll update build as soon as next release is out (scheduled for March, 1)
That’s 0.94e (r3749), is it affected? I’ll update it as soon as the next version is released.
I also don’t think it’s a good idea to packge the latest SVN version (maybe in a separate “vcmi nightly” package though?), it seems that there was something about savegame format not being compatible between latest revisions(?).
Fix came out after 0.94e, in rev 3762. So there may be some problems with loading saves.
Yes - packaging current svn is not the best idea but that’s what our “dev builds” are - builds from latest svn for testers. So there won’t be much difference between dev build and current svn stability-wise. Only our “full” releases can be considered to be stable.
As for saves compatibility - usually there is no guarantee that saves from different revisions will work but actual format changes are relatively rare.
Ivan, right, this makes sense. I think I’ll follow this and after 0.95 release switch this package to stable version and create a new one (“VCMI for Android Beta”) which will follow your dev versions releases.
edit: just tried 0.94 stable and it seems AI works a lot faster there, is that expected behavior?
can you post the whole code on git?
i konw that your achievement.and i’m not a progranmoer.only wish more people to join the program,make it more palyable.
2.can you post a single apk file for android?
thanks.
disabled shared memory: that’s quite direct way to fix problems with missing shared memory. But won’t it cause some problems on startup if client will try to connect to not-yet-present server?
disabled unicode conversion: should be fixed. Because that code is needed for support of localized versions of H3 (like Russian version).
BTW - any chance to make vcmilauncher work on Android? This is Qt5 application used as mod manager and settings editor (for options that can’t be changed from in-game UI)
Something like “VCMI daily/weekly/monthly build” would make more sense - our dev builds are more like preparation work before release and Win-only. Archlinux user-provided repo (aur) has vcmi-svn package, Ubuntu has daily builds from svn on launchpad.
Likely yes. I can’t say much about AI but it definitely got some improvements since 0.95. So less speed actually means better AI
On some devices there’s a very weird issue with shared libraries and unaligned access (which is strange since unaligned access should kill all ARM devices, shouldn’t it?)
Using shared libraries (libvcmi.so, various AIs) makes it segfault at random places (in calls between them I guess?), this is not too hard to solve and just statically linking everything and hacking CGameInterface.cpp’s to not use dlopen/dlsym seems to solve this one.
And then there’s unaligned access, i.e. at CDefHandler::getSprite,
Wow, the android finally got some love.
But I don’t have anything with that system.
Still, your nick should be written in some sort of hall of fame. Is there anything like that on this forum?
Hello,
I was so happy to hear the news about VCMI for Android and I installed it following those directives, vcmi.xyz.is/installation.html, but when I launch it I only get black screen after some config menu and then back to phone desktop… =(((
(Samsung Galaxy SIII Gt-i9300 on 4.1.2)
I am very happy particularly to see that the actual patch is quite small.
So it is.
Reportedly Qt 5 does support Android so it should be possible.
Not quite… Perhaps I could create a group for accomplished contributors and then add some visual sign of membership. But… I’m too lazy.
I made the thread sticky and I’ll mention it in the next release announcement.