Author Topic: Android Version  (Read 18110 times)

Offline Wulfe813

  • Zombie Food
  • *
  • Posts: 18
    • View Profile
Re: Android Version
« Reply #135 on: May 10, 2017, 02:16:27 PM »
...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.
« Last Edit: May 10, 2017, 02:20:31 PM by Wulfe813 »

Offline Kevin Granade

  • Administrator
  • Survivor
  • *****
  • Posts: 5500
  • I code dead people.
    • View Profile
Re: Android Version
« Reply #136 on: May 10, 2017, 04:19:04 PM »
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.

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.
Its like a fun family cookout, except your family is burning in flames while trying to eat you. -secretfire
I'm more excited than a survivor on meth and toast'ems. -Nighthawk
The the giant wasp is slammed through the zombie brute!

Offline Wulfe813

  • Zombie Food
  • *
  • Posts: 18
    • View Profile
Re: Android Version
« Reply #137 on: May 11, 2017, 01:47:49 AM »
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.

Offline Kevin Granade

  • Administrator
  • Survivor
  • *****
  • Posts: 5500
  • I code dead people.
    • View Profile
Re: Android Version
« Reply #138 on: May 11, 2017, 05:16:23 AM »
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.

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.
Its like a fun family cookout, except your family is burning in flames while trying to eat you. -secretfire
I'm more excited than a survivor on meth and toast'ems. -Nighthawk
The the giant wasp is slammed through the zombie brute!

Offline Wulfe813

  • Zombie Food
  • *
  • Posts: 18
    • View Profile
Re: Android Version
« Reply #139 on: May 12, 2017, 02:16:03 AM »
@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.
« Last Edit: May 12, 2017, 06:55:59 PM by Wulfe813 »

Offline ZoneWizard

  • Survivor
  • ***
  • Posts: 304
    • View Profile
Re: Android Version
« Reply #140 on: May 14, 2017, 09:33:45 PM »
Sooo...is the library bug fixed?

I have to borrow a car to get to a internet access point where my internet access is free =/

Kinda get my friend angry when I use gas/petrol.

Offline Wulfe813

  • Zombie Food
  • *
  • Posts: 18
    • View Profile
Re: Android Version
« Reply #141 on: May 14, 2017, 10:44:30 PM »
Yes, the library bug is fixed.

Edit: I'm pushing an update to Google Play right now. But the current live version(0.4.4) does not have that bug.
« Last Edit: May 14, 2017, 10:46:19 PM by Wulfe813 »

Offline Aqma

  • Zombie Food
  • *
  • Posts: 20
    • View Profile
Re: Android Version
« Reply #142 on: May 15, 2017, 07:40:59 AM »
Thank you Wulfe813 for your effort!

It does seem faster on my end. The two finger swipe control is interesting, did not think about this one before.

Offline Adragis029

  • NPC
  • **
  • Posts: 134
  • Mutant Mutant
    • View Profile
Re: Android Version
« Reply #143 on: May 15, 2017, 09:28:08 AM »
Would it be possible to implement a screen-wide directional keypad, like the one on gurr's NetHack Android port? Swiping is absolutely horrible.

Offline Wulfe813

  • Zombie Food
  • *
  • Posts: 18
    • View Profile
Re: Android Version
« Reply #144 on: May 15, 2017, 07:37:53 PM »
Thank you Wulfe813 for your effort!

It does seem faster on my end. The two finger swipe control is interesting, did not think about this one before.

I can claim credit for the speed boosts, but credit for the two-finger controls goes to a1studmuffin. If you haven't yet, I highly recommend enabling software rendering. On my device, the boost to framerate is roughly +80%. You may, or may not, run into issues with it when rotating the screen(I've done my best to stabilize it, but the way the Android SDL app interface handles screen changes isn't exactly... Proper.) It works fine on most devices, though.


Would it be possible to implement a screen-wide directional keypad, like the one on gurr's NetHack Android port? Swiping is absolutely horrible.

a1studmuffin is working on implementing this as part of the general dpad functionality(It will be possible to size it to fullscreen and hide the outline.), but he's been very busy. It's in the works, though.

Offline Aqma

  • Zombie Food
  • *
  • Posts: 20
    • View Profile
Re: Android Version
« Reply #145 on: May 16, 2017, 07:32:04 AM »
You're right, software rendering does move faster for me as well, thank you!

Offline LostEcho20

  • Zombie Food
  • *
  • Posts: 2
    • View Profile
Re: Android Version
« Reply #146 on: May 17, 2017, 10:20:48 AM »
Hey there, I recently started playing this game last weekend after finding in the play store and been playing almost all day. I'm starting to get better at it, I really love the depth to it. One thing that is a bit uncomfortable is the lack of sounds, and I know I need to get and add a soundpack for that, like Chesthole, but I am not quite such how to do it or where to find these packs. Could someone give me a hand with this?

Also thanks a lot for bringing this game to Android!

Offline Wulfe813

  • Zombie Food
  • *
  • Posts: 18
    • View Profile
Re: Android Version
« Reply #147 on: May 17, 2017, 10:44:48 PM »
@LostEcho20

A word of warning about installing SoundPacks: They use a lot of memory currently. ChestHole's soundpack(which can be found here http://chezzo.com/cdda/ChestHoleSoundSet.zip) will increase the game's RAM usage by roughly 300 MB. I wouldn't recommend using soundpacks unless you have at least 1.5-2GB of RAM.

Installing a soundpack is done manually, by extracting the zip to "Android/data/com.MichaelDavies.CatalysmDDA/files/data/sound" in your internal storage.

Offline LostEcho20

  • Zombie Food
  • *
  • Posts: 2
    • View Profile
Re: Android Version
« Reply #148 on: May 18, 2017, 10:11:40 AM »
@Wulfe813

Right, thanks. I found out the issue I was having, the Chesthole soundpack I had was outdated. Also I figured that's why they didn't get added, but my phone can run Cataclysm well. I have 2 GB of RAM.

Side Note
While playing I ran into two debug messages. I pressed spacebar to continue and everything seems fine but I'll post them here, just to get your opinion on it.

First Debug Message
I was hotwiring a car, while being chased by a ton of zombies. (I am not the luckiest with spawns XD)
https://1drv.ms/i/s!Ai4KwUkrojPKhmOq6gCfbEfo8Q9E
I couldn't load the image in this message so I just linked to it in my Onedrive.

Second Debug Message
In this one I was trying the vactainer (Is that what the blood drawing tool is called?), as I didn't see much use for it.
Then I got this message, https://1drv.ms/i/s!Ai4KwUkrojPKhmTABuaHJAYn2DDN.
I pressed spacebar and I still managed to get the blood from the wolf.

One last thing is wooden floors, do they burn? (I got trapped in a gun store, after thinking that may be a fun spawn and I was just going to burn the building to cause it collapse a little and escape hopefully)

Offline kaluce

  • Zombie Food
  • *
  • Posts: 7
    • View Profile
Re: Android Version
« Reply #149 on: June 08, 2017, 09:16:54 PM »
I get a crash to the google launcher on my Android when my device rotates, I use the home button, lock the screen, hit the running app button (whatever that's called) or cause any sort of screen state change. Also, I REALLY like this version over the IOS version. No offense to the devs on that one, but I'd gotten stitches in my hand and it's a lot harder to control than this version.

Phone: Google Pixel, non-XL
OS: Android 7.1.2, latest sec build
Tileset: ASCII/ Chesthole
Running current build on Play Store.
« Last Edit: June 08, 2017, 09:20:57 PM by kaluce »