Page 1 of 2

Status of Freeciv for Android

Posted: Wed Oct 25, 2017 9:29 pm
by javaxubuntu
Because the last Freeciv release for Android was made on 2014, I created a fork to continue the developments: https://github.com/javaxubuntu/freeciv-android
This app app reuses server code and common client code (gui-independant client), and contains a gui-sdl2 client written by Michał Zieliński in Python.

In july, I upgraded it to version 2.5 and I fixed some bugs, and this week-end I upgraded it to version 2.6.0-beta1 and I made a script to make further version updates easier.

The app runs almost correctly and I plays with it on my phone, but I've broken diplomat actions, tech tree, and font size is too small on high resolution screens. I plan to fix these regressions during next weeks, and then I could do a pull request to the main freeciv-android repository, so Michał Zieliński can create a beta release.

Re: Status of Freeciv for Android

Posted: Thu Oct 26, 2017 2:40 am
by dunnoob
javaxubuntu wrote:I could do a pull request to the main freeciv-android repository
I've added it as new line on the projects page of the Wiki. Your GitHub project links to civsync.com (= the 2014 port), is that as it should be? I don't see any new download page on civsync.com suited for the more distributions page on the Wiki.

Python client sounds interesting, is it like the big GTK etc. desktop-clients, should it exist on other platforms, where Python works? [All I know about Python is limited to "youtube-dl" is brilliant + get it on Windows is easy + pip pygments is not really good enough as syntax highlight for rule/tilesets, but certainly better than nothing.] ;)

Re: Status of Freeciv for Android

Posted: Thu Oct 26, 2017 7:05 pm
by javaxubuntu
Some features are broken on my fork, I've to fix them before making a pull request to the civsync.com project. There is no beta release yet.

The app uses Python for gui code, and calls Freeciv's functions written in C language. So it cannot be a "pure Python" app. I think the reason why Python was used is faster development. All the non-gui code (rulesets, tilesets...) is the official Freeciv code, recompiled for Android. So when I want to update Freeciv version, I only needs to adapt the gui because some Freeciv functions have changed.

The Freeciv Python client could exist on other platforms mainly because it is adapted for touchscreen with no keyboard (for example 2-in-1 tablet PC). It already runs on PC but needs patching SDL. I've seen that Freeciv now has a SDL2 client, so I could reuse some components to fix this and add more features. But I prefer to make a release for Android before.

Re: Status of Freeciv for Android

Posted: Fri Oct 27, 2017 8:30 pm
by drgerg
I'm happy to see this thread! :D
I found it because my ASUS Chromebook just updated itself (today) to allow me to run Android Apps. I guess I have an older model C100P. I wonder how many other Chromebooks recently were upgraded to allow them to play Android apps from the Google Play store.

Anyhow, so the first thing I do is go out to the Google Play store, and look up freeciv. There's an entry, but I don't recognize the name zielmicha. The forums at civland.org seem stale, but there are recent positive reviews at the play store. The date is 2014, so, hmm. So I come over here (having played freeciv-web some) to check out what freeciv.org knows. I search for Android in the forums and up pops this thread. COOL!

Anyhow, I will monitor this thread, and when something becomes downloadable, I will help test. I guess I should download the Windows version of 2.6.0-beta-1 so that I am on the same page.

Re: Status of Freeciv for Android

Posted: Tue Jan 02, 2018 7:33 pm
by javaxubuntu
The fork has been merged to Michał Zieliński's repository, and I created an alpha release. More info

Download the APK

You can remove the link to my fork from the Wiki.

Re: Status of Freeciv for Android

Posted: Wed Jan 03, 2018 11:09 pm
by javaxubuntu
I created the APK. You can download it here: https://github.com/zielmicha/freeciv-an ... .6.0-alpha

This app works fine on my phone, but I haven't tested it on other phones. I need to know if this new Android app works fine on other phones. If you like single player games and if you want to play it on your phone, you can try it.

Please post a comment on this thread to tell me what you think about this new version.

Re: Status of Freeciv for Android

Posted: Mon Jan 15, 2018 7:49 pm
by wyo
javaxubuntu wrote: Download the APK
I've just downloaded the APK and installed on my Mediapad3 and it crashes right from the start.

Re: Status of Freeciv for Android

Posted: Mon Jan 15, 2018 11:16 pm
by louis94
wyo wrote:
javaxubuntu wrote: Download the APK
I've just downloaded the APK and installed on my Mediapad3 and it crashes right from the start.
It works well on my Intel-based Zenpad running Android 5.0.

Louis

Re: Status of Freeciv for Android

Posted: Tue Jan 16, 2018 10:06 pm
by javaxubuntu
wyo wrote:I've just downloaded the APK and installed on my Mediapad3 and it crashes right from the start.
Can you open an issue on https://github.com/zielmicha/freeciv-android/issues ?
The Freeciv app creates a folder pl.org.zielinscy.freeciv.debug/saves containg 2 text files: more.log and more-earlyInit.log Do they exist? These files would be helpful for me to find the cause of the bug.

Also, if you install the stable Freeciv app from play store, does it work?

Re: Status of Freeciv for Android

Posted: Mon Feb 05, 2018 7:05 pm
by JustChicken
Just tried the apk provided above, works perfect on my Samsung Galaxy J5.
It's a quite small screen for Civ, but hey, I can play Civ in a bus now :)
I hope you don't stop here!