# Android Version

**URL:** <https://discourse.cataclysmdda.org/t/android-version/13348>\
**Category:** The Lab\
**Created:** [February 2, 2017, 12:42am UTC](https://discourse.cataclysmdda.org/t/android-version/13348 "2017-02-02T00:42:42Z")\
**Posts on this page:** 20\
**Page:** 7

<div class="post-metadata">

**Author:** ![a1studmuffin](https://sea2.discourse-cdn.com/flex016/user_avatar/discourse.cataclysmdda.org/a1studmuffin/32/2812_2.png) [@a1studmuffin](https://discourse.cataclysmdda.org/u/a1studmuffin)\
**Post date:** [May 9, 2017, 8:42am UTC](https://discourse.cataclysmdda.org/t/android-version/13348/121 "2017-05-09T08:42:51Z")

</div>

> [@newage3680](#):
>
> I’m able to copy my save from the android version to pc just fine, but not back from pc to android. If it is possible, which pc version would be compatible so I can transfer my save back and forth? I’m guessing I’ll have to build it from source, which I find a little daunting.

My understanding was that save games should be backwards compatible from latest 0.C experimental all the way back to 0.B, can anyone confirm this?

The latest Android build (0.4) no longer stores the keyboard shortcuts in the .sav json file. Instead it creates a separate .shortcuts file alongside the .sav file. This means the Android save games should be 100% interchangeable with the desktop version, so you could set up two-way Dropbox/Google Drive syncing for example and switch between your phone and PC. The .shortcuts file will just be ignored on the desktop build in this case.

So back to your original issue, what actually happens when you try and copy a save game from desktop over to the Android build? Does it crash? Or load in a broken state?

---

<div class="post-metadata">

**Author:** ![sidav](https://avatars.discourse-cdn.com/v4/letter/s/87869e/32.png) [@sidav](https://discourse.cataclysmdda.org/u/sidav)\
**Post date:** [May 9, 2017, 9:12am UTC](https://discourse.cataclysmdda.org/t/android-version/13348/122 "2017-05-09T09:12:50Z")

</div>

> [@Wulfe813](#):
>
> Sidav, what’s your device model and Android version? I’ll look into it.

Sorry, I’ve forgot to add this info.  
My device is Philips Xenium W8510, with Android 4.2

---

<div class="post-metadata">

**Author:** ![Wulfe813](https://avatars.discourse-cdn.com/v4/letter/w/c0e974/32.png) [@Wulfe813](https://discourse.cataclysmdda.org/u/Wulfe813)\
**Post date:** [May 9, 2017, 10:30am UTC](https://discourse.cataclysmdda.org/t/android-version/13348/123 "2017-05-09T10:30:04Z")

</div>

> [@a1studmuffin](#):
>
> My understanding was that save games should be backwards compatible from latest 0.C experimental all the way back to 0.B, can anyone confirm this?

I think they’re only forward compatible? As in, you can upgrade an older save, but going back isn’t a thing. I may be totally wrong though. I suppose I can go dive the code.

---

<div class="post-metadata">

**Author:** ![hatcher](https://avatars.discourse-cdn.com/v4/letter/h/f14d63/32.png) [@hatcher](https://discourse.cataclysmdda.org/u/hatcher)\
**Post date:** [May 9, 2017, 10:49am UTC](https://discourse.cataclysmdda.org/t/android-version/13348/124 "2017-05-09T10:49:12Z")

</div>

Yep, lib error.  
But little bit different.

Error: Cannot load library:  
soinfo\_link\_image(linker.cpp:l  
652): could not load library  
"libgnustl\_shared.so" needed  
by “libintl—[lite.so](http://lite.so)”; caused by  
|oad\_library(linker.cpp:759):  
library “libgnustl\_shared.so” not found

Alcatel pop c7, 4.2.2

---

<div class="post-metadata">

**Author:** ![Wulfe813](https://avatars.discourse-cdn.com/v4/letter/w/c0e974/32.png) [@Wulfe813](https://discourse.cataclysmdda.org/u/Wulfe813)\
**Post date:** [May 9, 2017, 4:58pm UTC](https://discourse.cataclysmdda.org/t/android-version/13348/125 "2017-05-09T16:58:55Z")

</div>

Would one of you please try sideloading this apk, and let me know if it fixes your issue?

> **[CataclysmDDA-0.4.1.apk](https://www.dropbox.com/s/939aq2jvu01ca58/CataclysmDDA-0.4.1.apk?dl=0)**
>
> Shared with Dropbox

---

<div class="post-metadata">

**Author:** ![hatcher](https://avatars.discourse-cdn.com/v4/letter/h/f14d63/32.png) [@hatcher](https://discourse.cataclysmdda.org/u/hatcher)\
**Post date:** [May 9, 2017, 7:25pm UTC](https://discourse.cataclysmdda.org/t/android-version/13348/126 "2017-05-09T19:25:21Z")

</div>

Well, it fixed the lib crash, but, unfortunately, game start crashing on launch, the same way as before. For some reason, i can’t solve this by deleting unused tiles, or replacing old config, so, i bet it is not my old problem, but new one. Lets wait for someone else who can test this.  
Debug logs are useless as always, tho. Non-critical locale error message, hoder tileset issues (if it’s in the gfx folder), tons of “couldn’t parse color”.

---

<div class="post-metadata">

**Author:** ![Wulfe813](https://avatars.discourse-cdn.com/v4/letter/w/c0e974/32.png) [@Wulfe813](https://discourse.cataclysmdda.org/u/Wulfe813)\
**Post date:** [May 9, 2017, 10:46pm UTC](https://discourse.cataclysmdda.org/t/android-version/13348/127 "2017-05-09T22:46:33Z")

</div>

Hatcher, have you tried a clean install? If that doesn’t/didn’t help, I fear the extra optimizations may have pushed the RAM usage beyond what your phone can handle… ☹

Edit: Forgot to ask, is it an actual crash, or does it just silently close?

---

<div class="post-metadata">

**Author:** ![ZoneWizard](https://avatars.discourse-cdn.com/v4/letter/z/c6cbf5/32.png) [@ZoneWizard](https://discourse.cataclysmdda.org/u/ZoneWizard)\
**Post date:** [May 9, 2017, 11:52pm UTC](https://discourse.cataclysmdda.org/t/android-version/13348/128 "2017-05-09T23:52:02Z")

</div>

So is the numerical keypad(not on keyboard) active in latest version?

I like using 3 tools of input, even on my tabby.

## 789 456 123 keypad

and a regular english keyboard

* * *

and my mouse =D

Would great to take my tabby with me and play even if it were ascii =)

---

<div class="post-metadata">

**Author:** ![Wulfe813](https://avatars.discourse-cdn.com/v4/letter/w/c0e974/32.png) [@Wulfe813](https://discourse.cataclysmdda.org/u/Wulfe813)\
**Post date:** [May 10, 2017, 12:16am UTC](https://discourse.cataclysmdda.org/t/android-version/13348/129 "2017-05-10T00:16:13Z")

</div>

> [@ZoneWizard](#):
>
> So is the numerical keypad(not on keyboard) active in latest version?

Not precisely sure what you mean, but… If you’re talking about hardware number pad, it should work(although a peripheral number pad might not be detected properly by SDL, don’t know if we can help that). Num\_Lock needs to be set, of course.

P.S.- Mouse support might be kind of iffy. On my equipment, only the left mouse button works. YMMV.

---

<div class="post-metadata">

**Author:** ![ZoneWizard](https://avatars.discourse-cdn.com/v4/letter/z/c6cbf5/32.png) [@ZoneWizard](https://discourse.cataclysmdda.org/u/ZoneWizard)\
**Post date:** [May 10, 2017, 12:22am UTC](https://discourse.cataclysmdda.org/t/android-version/13348/130 "2017-05-10T00:22:08Z")

</div>

No problem regarding left only for mouse.

Literally getting the SDL error as you wrote. Just tested the google play one.

SDL Error

An error occured while trying to start the application. PLease re-install.

Error: Cannot load library: link\_image[1936]: 115 could not load needed library ‘libgnustl\_shared.so’ for ‘[libintl-lite.so](http://libintl-lite.so)’(load\_library[1091]: Library ‘libgnustl\_shared.so’ not found)

Sooo…no idea what the heck that is but my access to the net is limited and I may have to leave in like 20 mins =/  
…crap you left after you wrote =/

Asus Transformer Pad TF300T 10" 1gb RAM  
Android 4.0.3 (because I cannot update, less it may make my system less stable…=/)

Maybe something new in the code cannot work with older versions? Hope not. I can’t update and REALLY want this on my tabby. T\_T

---

<div class="post-metadata">

**Author:** ![Wulfe813](https://avatars.discourse-cdn.com/v4/letter/w/c0e974/32.png) [@Wulfe813](https://discourse.cataclysmdda.org/u/Wulfe813)\
**Post date:** [May 10, 2017, 12:53am UTC](https://discourse.cataclysmdda.org/t/android-version/13348/131 "2017-05-10T00:53:35Z")

</div>

Crap, probably missed you, ZoneWizard. There’s an apk in the thread here that should fix that problem. I’m building an update apk to push to Google Play right now, but it’ll be a bit before it’s done.

---

<div class="post-metadata">

**Author:** ![Wulfe813](https://avatars.discourse-cdn.com/v4/letter/w/c0e974/32.png) [@Wulfe813](https://discourse.cataclysmdda.org/u/Wulfe813)\
**Post date:** [May 10, 2017, 1:55am UTC](https://discourse.cataclysmdda.org/t/android-version/13348/132 "2017-05-10T01:55:59Z")

</div>

4.1 Bugfix patch just went live.

---

<div class="post-metadata">

**Author:** ![hatcher](https://avatars.discourse-cdn.com/v4/letter/h/f14d63/32.png) [@hatcher](https://discourse.cataclysmdda.org/u/hatcher)\
**Post date:** [May 10, 2017, 6:52am UTC](https://discourse.cataclysmdda.org/t/android-version/13348/133 "2017-05-10T06:52:32Z")

</div>

Wulfe813,  
It works! Clear install fixed the problem and i finally got into main menu. Great job, you guys are awesome!

---

<div class="post-metadata">

**Author:** ![Wulfe813](https://avatars.discourse-cdn.com/v4/letter/w/c0e974/32.png) [@Wulfe813](https://discourse.cataclysmdda.org/u/Wulfe813)\
**Post date:** [May 10, 2017, 7:35am UTC](https://discourse.cataclysmdda.org/t/android-version/13348/134 "2017-05-10T07:35:59Z")

</div>

Glad to hear it, Hatcher. Not at all sure what the issue causing the need for a clean install is, sadly. I can’t seem to reproduce it.

---

<div class="post-metadata">

**Author:** ![hatcher](https://avatars.discourse-cdn.com/v4/letter/h/f14d63/32.png) [@hatcher](https://discourse.cataclysmdda.org/u/hatcher)\
**Post date:** [May 10, 2017, 9:10am UTC](https://discourse.cataclysmdda.org/t/android-version/13348/135 "2017-05-10T09:10:21Z")

</div>

The game now successfully launching ONLY after 2 attempts. New optimisation, lol? I’ll test the perfomance during gameplay and post a report.  
… aaand now i doubt i was trying to launch the game TWICE before i deleted and install apk clear. Maybe i did and clear installation really solved that problem. Maybe not and simple update was just enough to start playing. Goldfish memory.  
Messing with a vanilla option “allow joystick” now causing weird input delay. It’s not critical, just keep that option on, but im sure in the 0.3 i’ve set this option off without any problems.

If while launch cata is on peak of memory using it will explain some of my problems, but why two attempts, tho?

---

<div class="post-metadata">

**Author:** ![Wulfe813](https://avatars.discourse-cdn.com/v4/letter/w/c0e974/32.png) [@Wulfe813](https://discourse.cataclysmdda.org/u/Wulfe813)\
**Post date:** [May 10, 2017, 1:16pm UTC](https://discourse.cataclysmdda.org/t/android-version/13348/136 "2017-05-10T13:16:27Z")

</div>

> [@hatcher](#):
>
> …but why two attempts, tho?

It could be that the first run is triggering memory clearing, or causing things to be swapped to zram(which your phone probably has), but simply not fast enough to keep the low memory killer from nuking the game. Second time around, you’re starting with more memory available. That’d be my guess. With the heavy optimization, the peak memory usage that occurs during startup is reached quite a bit sooner.

---

<div class="post-metadata">

**Author:** ![kevin.granade](https://sea2.discourse-cdn.com/flex016/user_avatar/discourse.cataclysmdda.org/kevin.granade/32/1316_2.png) [@kevin.granade](https://discourse.cataclysmdda.org/u/kevin.granade)\
**Post date:** [May 10, 2017, 3:19pm UTC](https://discourse.cataclysmdda.org/t/android-version/13348/137 "2017-05-10T15:19:04Z")

</div>

> [@Wulfe813](#):
>
> [quote=“a1studmuffin, post:121, topic:13348”]My understanding was that save games should be backwards compatible from latest 0.C experimental all the way back to 0.B, can anyone confirm this?

I think they’re only forward compatible? As in, you can upgrade an older save, but going back isn’t a thing. I may be totally wrong though. I suppose I can go dive the code.[/quote]

This is correct, the expected use case is migrating only to new versions, migrating to an old version is not supported and will sometimes break in strange ways. For now the only safe bet is to run the same code version for both installs if you’re going to migrate a save back and forth.

Supporting forward and backward compatability is possible but difficult.

---

<div class="post-metadata">

**Author:** ![Wulfe813](https://avatars.discourse-cdn.com/v4/letter/w/c0e974/32.png) [@Wulfe813](https://discourse.cataclysmdda.org/u/Wulfe813)\
**Post date:** [May 11, 2017, 12:47am UTC](https://discourse.cataclysmdda.org/t/android-version/13348/138 "2017-05-11T00:47:49Z")

</div>

> [@Kevin Granade](#):
>
> Supporting forward and backward compatability is possible but difficult.

It would probably be easier for us to find a solid means of keeping in sync with the nightlies.

---

<div class="post-metadata">

**Author:** ![kevin.granade](https://sea2.discourse-cdn.com/flex016/user_avatar/discourse.cataclysmdda.org/kevin.granade/32/1316_2.png) [@kevin.granade](https://discourse.cataclysmdda.org/u/kevin.granade)\
**Post date:** [May 11, 2017, 4:16am UTC](https://discourse.cataclysmdda.org/t/android-version/13348/139 "2017-05-11T04:16:23Z")

</div>

> [@Wulfe813](#):
>
> [quote=“Kevin Granade, post:137, topic:13348”]Supporting forward and backward compatability is possible but difficult.

It would probably be easier for us to find a solid means of keeping in sync with the nightlies.[/quote]

I expect so, and it will head off all sorts of other problems too boot.

Short term, let’s coordinate on versions, let me know when you move to a new version, and I can pin that version in the download server and put a link to it on the site.

---

<div class="post-metadata">

**Author:** ![Wulfe813](https://avatars.discourse-cdn.com/v4/letter/w/c0e974/32.png) [@Wulfe813](https://discourse.cataclysmdda.org/u/Wulfe813)\
**Post date:** [May 12, 2017, 1:16am UTC](https://discourse.cataclysmdda.org/t/android-version/13348/140 "2017-05-12T01:16:03Z")

</div>

@Kevin Granade : Is there any simple way to get the hash for the nightly build? Something I could tack into a script, maybe?

Edit: Never mind. I found a solution.

[Previous page](https://discourse.cataclysmdda.org/t/android-version/13348.md?page=6)

[Next page](https://discourse.cataclysmdda.org/t/android-version/13348.md?page=8)
