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.
I’m not sure if that’s because of the port, you should try copying the save you’re getting this problem with to PC and testing with newest desktop build: [forum.vcmi.eu/t/vcmi-0-94f-development-version-r3771/786/1)
Okey i tried other campaigns and it worked very well/
this bug "infinite ai wait " occured when i played this campaign Restoration of erathia -Long live the queen.Thanks for your port.Now i am the most happy person in the world.
Take care of yourself man.btw excuse my english.