That's great, many people looked for this for quite a long time . Runs sloooooow but without any problems on my galaxy S (i9000). I hope you will keep an eye on it for longer period of time than pelya did on his port . Actually I think someone should ask pelya to remove his old port from play store, just for visiblity of this one.
Great work once again!

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?

1. 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.

Looked through your patch, some notes:
- 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)

Quote:

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.

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.

Quote:

just tried 0.94 stable and it seems AI works a lot faster there, is that expected behavior?

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.

There is define that enables code for unaligned access:
https://github.com/vcmi/vcmi/blob/master/lib/vcmi_endian.h#L22
This should results in:
1) packed attribute set for structures that may not be aligned
2) enabling of set of unaligned read methods. Which are used in defhandler.
Maybe that check is not triggered on Android?

You cannot post new topics in this forumYou cannot reply to topics in this forumYou cannot edit your posts in this forumYou cannot delete your posts in this forumYou cannot vote in polls in this forumYou cannot attach files in this forumYou can download files in this forum