VCMI for Android

Thanks! I chose the newest of the four links there, it wrote to internal storage but that’s no problem for me.
This new app works fine - I’ve managed to sucessfully start a game, so for now, I’m more than happy:)

Alright so I’ve tried a few games with the newest app version and found some bugs, don’t know if they are new or well known stuff for you guys:

  • Random map templates fail to create 5 player maps.
  • all random 4 player maps include 3 towns in starting areas and an enormous amount of monsters between regions
  • war Machine are off: catapult is an artifact you conquer from rival heroes and first aid tent and ballista are units in the army. Visiting the blacksmith causes the app to crash
  • There are no “space” button for revisiting places
    I’ll keep posting bugs here if it’s to any help :slight_smile:

This is weird. It’s means that assets are still using “config” from older VCMI version.

Is “python3.5 ./update_internal_assets.py” failed to do it’s thing?

Don’t know how to check that

Don’t worry about that. I shouldn’t be quoting your post.

It’s was message to @Fay.

Not sure exactly what could cause it, but config in the apk should be the most recent (the last config change that I can see is BLACK_MARKET_MONTHLY_ARTIFACTS_CHANGE in defaultMods and it is correctly included in apk).
(btw, it’s possible to easily check what configs/mods are inside apk: unzip apk file -> open “assets” -> unpack internalData.zip -> profit)

The one thing that could be a problem here is the data migration from xyz’s version. I haven’t tested it a lot so maybe config gets migrated and skips update from internal zip file.

@Damodred If that’s the case, unistalling->reinstalling the app should help (or system settings -> about vcmi -> “clear data”).

Didn’t understand that asset/apk file stuff but that wasnt ment for me?
Before I installed the newest version, I uninstalled the xyz version, and then I moved the game directory from pc to phone so I think it shouldn’t be any cross over data from the old version.

Hey guys. Really appreciate what you are doing. Thanks for your efforts.

I’ve just installed for the first time vcmi from the link below, version of 22 jul.
builds.vcmi.download/branch/develop/Android/
I placed h3 files in local vcmi-data directory, the launcher has some problems with mods (which I have none installed), as I see some JSON parsing errors with mods.
When I press “Start VCMI”, screen blanks off for a sec, then brings me back to launcher screen.

Any ideas what could go wrong? Maybe my fault in configuring vcmi?
Screenshots are here imgur.com
VCMI_launcher.log.txt (2.77 KB)
VCMI_Client_log.txt (7.44 KB)

burunduchok

That is normal at the moment. Normally that button should work as a shortcut to download mods. Or something like that. If there was some problem with mods it should appear at the top of the mod list.
Still not sure why it doesn’t start.

Fay
There’s some reference to xyz’s VCMI in the launcher log burunduchok provided.

It’s weird, both logfiles look correct… no idea why the game doesn’t start. Mayybe there’s some problem/crash that’s not caught by launcher (it should save crashes to the logfile; I’ll try to check if it actually does).

This is okay. We changed app package (id) to is.xyz.vcmi so that we can update existing google play app at some point (it needs both the same package and signing certificate).

Maybe the crash is caused by insufficient RAM. Saw something like that on my girlfriend’s 1GB phone when I tried to run Kodi.
gsmarena.com/lenovo_tab3_7-7951.php

EDIT: burunduchok
Could you try to free your RAM as much as possible and then try to run the game??

Just tried to re-download heroes3 files from another source.
Also freed RAM, as HarryPhoon suggested. Unfortunately, nothing changed as result.
Black screen just for a moment, and back to launcher menu.
Nothing new in logs, imo.



VCMI_launcher.log.txt (4.37 KB)
VCMI_Client_log.txt (7.29 KB)

One more thing with the launcher: when I select screen resolution (1024x600), then press “Start VCMI”, after a glitch it returns back to 800x600. Even if I explicitly write in settings.json the desired resolution, after “Start VCMI” it’s back to 800x600, also rewritten settings.json.

The thing with resolution happens even to me but that should be caused by faulty VCMI core mods. You can also try to download the latest version (the 23 July version) to make sure it happens in both versions. If the problem persists than you can I think just wait. Maybe Fay will find the solution.

HarryPhoon, Yes, today i’ve installed latest version, everything the same.

** burunduchok**
Try to download this file and put the mods into the Mods folder. It should fix your resolution problem.
dropbox.com/sh/fwor43x5xrgz … s/vcmi.zip

HarryPhoon, Thank you, resolution selection box works just fine for me now.
Is there a possibility to turn on “very verbose” debug mode in VCMI, to find why it can’t go further?

Maybe adding this node to settings.json will work:

"logging" : {
		"console" : {
			"threshold" : "debug"
				}
		}

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.