Page 19 of 23

Re: Android port

Posted: 03 Jul 2017 08:28
by DeletedUser10
It's a terrible feature.
I installed on the Amazon Fire TV and it crashes whenever I clicked cloud save.
Is it a SDL bug?

Re: Android port

Posted: 03 Jul 2017 15:15
by pelya
Yes it's a bug. Un-check the 'Save to network' button, it should stop crashing.
I'll try to fix it if I get an Amazon tablet.

Re: Android port

Posted: 04 Jul 2017 01:20
by CN
pelya wrote:New release 1.7.1.70 removes 'switch toolbar' button, and puts all actions into submenus, the setting is called 'Compact vertical toolbar'.

Did anyone notice window border ornament in Android version? I am kind of worried, it's been half-year already, and no one has complained about this. Did I pick too muted color for it?
I noticed the window edges were different. But I switched phones exactly at the time that you made this update, so I attributed it to the different phone ;)

Also, the cloud save feature works? Or was that just to get the SDL stuff to work?

Re: Android port

Posted: 04 Jul 2017 08:53
by DeletedUser10
Actually what can i do with cloud save?

Re: Android port

Posted: 04 Jul 2017 08:56
by DeletedUser10
And i also noticed that sdl ottd works slowly, even on my nvidia shield with 2.2Ghz x4
Why?

Re: Android port

Posted: 04 Jul 2017 09:38
by pelya
When you save your game with 'Save to network' enabled, you can click 'Load from network' on a different phone, and load your savegame.
Also works if you uninstall OpenTTD or factory reset your phone.
That's all it does.

Re: Android port

Posted: 04 Jul 2017 09:43
by DeletedUser10
I see.
Could it transfer grf between 2phones?

Re: Android port

Posted: 04 Jul 2017 10:15
by pelya
No. Select network-save.sav and click the button 'Find missing content online' to re-download missing NewGRFs.

Re: Android port

Posted: 04 Jul 2017 14:47
by NewGRF
I got two errors,when I unzip "OpenTTD-1.7.1.70-src.tar".
Platform:Windows 10,NTFS,7zip

I am lost. :bow:

Re: Android port

Posted: 04 Jul 2017 15:51
by pelya
Android version of OpenTTD will not work on Windows PC. Try to use Windows version from here: https://www.openttd.org/en/download-stable

Re: Android port

Posted: 04 Jul 2017 18:51
by NewGRF
thanks to pelya. :bow: :bow: :bow:
I'm sorry for my ignorant.
I want to research the source code .
thank you again. :bow: :bow: :bow:

Re: Android port

Posted: 04 Jul 2017 19:46
by pelya
Android version has a lot of modifications on top of the original sources.
Original sources: https://www.openttd.org/
Android sources: https://sourceforge.net/projects/libsdl ... k/OpenTTD/

And yes, it's that src.tar.xz package that you have downloaded earlier. You will need Linux or MacOs to compile Android version, it cannot be done on Windows because of symlinks in the archive.

Re: Android port

Posted: 04 Jul 2017 23:02
by NewGRF
thanks :bow: :bow: :bow:

Re: Android port

Posted: 05 Jul 2017 07:50
by DeletedUser10
The android ottd ui is excellent.
Do you have SDL ottd for Linux or some other os?

Re: Android port

Posted: 05 Jul 2017 08:04
by pelya
Yes, there is a build of OpenTTD with the same touch interface for Windows tablets: viewtopic.php?t=75868

Re: Android port

Posted: 05 Jul 2017 08:07
by DeletedUser10
pelya wrote:Yes, there is a build of OpenTTD with the same touch interface for Windows tablets: viewtopic.php?t=75868
I'm not using win.
Is there any sdl for Linux?

Re: Android port

Posted: 05 Jul 2017 09:13
by DeletedUser10
I use a x86 tab with ubuntu.

Re: Android port

Posted: 06 Jul 2017 18:25
by pelya
To build touch version of OpenTTD for Ubuntu:

1. sudo apt-get build-dep openttd
2. Download the -src.tar.xz archive from here: https://sourceforge.net/projects/libsdl ... k/OpenTTD/
3. tar xvf OpenTTD-*-src.tar.xz
4. cd project/jni/application/openttd/src
5. ./configure
6. make -j8

Delete your ~/.openttd/openttd.cfg to enable various touch interface options.

Re: Android port

Posted: 08 Jul 2017 07:14
by DeletedUser10
Fantastic!
I don't have to be confused with the SMALL buttons of OpenTTD anymore.

Re: Android port

Posted: 12 Sep 2017 13:24
by jil8885
I try to port JGR Pack for android, and I got information from OpenTTD Wiki("Apply Patch from Linux"). But when I started to use svn from project/jni/application/src/src, after I patch successfully and run build.sh on root folder, it stuck at waiting for unfinished works..... I think its problem is that source in src folder is not modified for android, what shell I do in that time? And is there any one who can modify normal OpenTTD source for Android?