Android port (on hold)

Can anyone else updated/revive this project please? I can’t play cata as my pc broke and this is the only way I can play it

To play CDDA on my SGS3 Im using Linux deploy (play.google.com), install debian and compile it from source (How to compile), then connect via any ssh client.
If you have questions about installation - ask.

[hr]
[right]Коротко и по русски:
[/right]
[ul][li]Ставишь приложение[/li]
[li]В нём ставишь дебиан[/li]
[li]Компилишь по гайду[/li]
[li]Запускаешь[/li]
[li]Если не знаешь как что делать напиши здесь пост я отвечу подробно (лень писать, всеравно никто не прочитает)[/li][/ul]

Anybody have any idea how to link libraries for executable to run it from android shell?

Whine Phone not rooted so I cannot install Linux ect… Doh!

It’s pretty easy to root any phone, especially the Nexus line. Most of the more popular phones even have automated programs that basically do the whole process for you. Just search “How to root Phone name/model” on Google.

Anyway, what is the status of this project? I really want Cataclysm to be playable on the go.

Status is Android dev tools are a pain to install, and worse I’m stuck on laptop/wifi for a month :stuck_out_tongue:
I’d very happily merge it if someone gets it working though, I personally want it a lot.

Do I have to have an SD card to install it?

No, I did it on my Nexus 7, which has no SD slot.

When I try to run it on my Galaxy S4 it just opens then closes right away? Anyone one know what might cause this

Read the included instructions very carefully, you can’t just install the APK, but you also have to move the extra files to a specific folder (I forget which one). Make sure you have a file explorer installed, like ES File Explorer or something similar.

Sorry, Im an idiot who hasn’t gotten much sleep recently, so please bare with me. I don’t see any included instructions besides:

1 Install the apk
2 Copy Cataclysm-DDA folder to your internal storage, under /mnt/sdcard/
3 Check layout.png for key layout

Now I don’t have a SD card but someone said you don’t need one.

Yeah, no SD card needed, the folder is just called sdcard for some reason. Open your preferred file explorer and go to the highest level back and find the mnt folder. Inside that should be the sdcard folder. That is the place where your Cataclysm-DDA folder needs to go. Hope this helped.

BTW The folder location for me is /mnt/sdcard.

[quote=“SpaniardSlayer, post:92, topic:1726”]Yeah, no SD card needed, the folder is just called sdcard for some reason. Open your preferred file explorer and go to the highest level back and find the mnt folder. Inside that should be the sdcard folder. That is the place where your Cataclysm-DDA folder needs to go. Hope this helped.

BTW The folder location for me is /mnt/sdcard.[/quote]

Thanks a ton, The S4 just displayed the files weird. I had to get an actual explorer to understand where to put them lol

Sdcard means internal memory.
Inserted sdcard named extSdcard.

[quote=“bobronikus, post:82, topic:1726”]To play CDDA on my SGS3 Im using Linux deploy (play.google.com), install debian and compile it from source (How to compile), then connect via any ssh client.
If you have questions about installation - ask.

[hr]
[right]Коротко и по русски:
[/right]
[ul][li]Ставишь приложение[/li]
[li]В нём ставишь дебиан[/li]
[li]Компилишь по гайду[/li]
[li]Запускаешь[/li]
[li]Если не знаешь как что делать напиши здесь пост я отвечу подробно (лень писать, всеравно никто не прочитает)[/li][/ul][/quote]

I have a linux installed on my phone but when i try to compile Cataclysm i get an Error code 4 in Game.o file. Can you help me and be more specific how to exactly compile CDDA?

I also sometimes get errors. Wait sometime do “make clean” and “git pull” then “make -j2” again. It caused by some bad code in game.cpp and sometimes it gets fixed. I can upload already compiled version for arm.

https://www.dropbox.com/s/ewsttyheyag44nl/Cataclysm-DDA.zip
In this zip you can find compiled cataclysm,working source files and generated world(if you don’t have enough RAM).

[quote=“bobronikus, post:97, topic:1726”]https://www.dropbox.com/s/ewsttyheyag44nl/Cataclysm-DDA.zip
In this zip you can find compiled cataclysm,working source files and generated world(if you don’t have enough RAM).[/quote]

Thank you werry much. Do you know what is best linux distro for playing on android? I got some random artifacts on screen when connecting through ssh client and a really bad performance. What VNC app you are using to connect? I cant find any good one with a hardware keyboard suport.

[quote=“bobronikus, post:97, topic:1726”]https://www.dropbox.com/s/ewsttyheyag44nl/Cataclysm-DDA.zip
In this zip you can find compiled cataclysm,working source files and generated world(if you don’t have enough RAM).[/quote]

I tried using this and ended up with the problems I always get in Linux (Kali in Linux Deploy in this case): constant hang or the executable dies (can’t even get a browser to open). This time I got 100% CPU usage for several minutes before I gave up. I’m using a Tegra3 tablet, so it’s not weak. I’ll continue to wait for a port. Running one bit of software in another bit of software rarely works well unless you’re trying to run something that is a good 15 years older than your hardware.

Im using debian wheezy and Vx connectBot. Artifacts may appear if you using wrong terminal emulator try to use “screen” instead of “xterm”,vt100 also look good but there only 2 colours.