Transport Tycoon Forums

The place to talk about Transport Tycoon
It is currently Tue Oct 17, 2017 2:54 pm

All times are UTC




Post new topic  Reply to topic  [ 384 posts ]  Go to page Previous 116 17 18 19 20 Next
Author Message
 Post subject: Re: Android port
PostPosted: Sat Mar 04, 2017 11:48 pm 
Offline
Engineer
Engineer

Joined: Thu May 16, 2013 8:22 am
Posts: 107
Location: Ukraine
I vant to build an android version of Spring PP, but...
Code:
$ ./build.sh
Android NDK: WARNING: APP_PLATFORM android-18 is larger than android:minSdkVersion 9 in jni/../AndroidManifest.xml   
Android NDK: WARNING:jni/../jni/nanogl/Android.mk:nanogl: LOCAL_LDLIBS is always ignored for static libraries   
Android NDK: WARNING:jni/../jni/xerces/Android.mk:xerces: LOCAL_LDLIBS is always ignored for static libraries   
Android NDK: WARNING:jni/../jni/yaml-cpp/Android.mk:yaml-cpp: LOCAL_LDLIBS is always ignored for static libraries   
jni/../jni/application/Android.mk:93: предупреждение: переопределение способа для цели `jni/../jni/application/src/libapplication-armeabi.so'
jni/../jni/application/Android.mk:93: предупреждение: старый способ для цели `jni/../jni/application/src/libapplication-armeabi.so' игнорируются
jni/../jni/application/Android.mk:100: предупреждение: переопределение способа для цели `jni/../jni/application/src/libapplication-armeabi-v7a.so'
jni/../jni/application/Android.mk:100: предупреждение: старый способ для цели `jni/../jni/application/src/libapplication-armeabi-v7a.so' игнорируются
jni/../jni/application/Android.mk:106: предупреждение: переопределение способа для цели `jni/../jni/application/src/libapplication-armeabi-v7a-hard.so'
jni/../jni/application/Android.mk:106: предупреждение: старый способ для цели `jni/../jni/application/src/libapplication-armeabi-v7a-hard.so' игнорируются
jni/../jni/application/Android.mk:112: предупреждение: переопределение способа для цели `jni/../jni/application/src/libapplication-mips.so'
jni/../jni/application/Android.mk:112: предупреждение: старый способ для цели `jni/../jni/application/src/libapplication-mips.so' игнорируются
jni/../jni/application/Android.mk:118: предупреждение: переопределение способа для цели `jni/../jni/application/src/libapplication-x86.so'
jni/../jni/application/Android.mk:118: предупреждение: старый способ для цели `jni/../jni/application/src/libapplication-x86.so' игнорируются
jni/../jni/application/Android.mk:124: предупреждение: переопределение способа для цели `jni/../jni/application/src/libapplication-arm64-v8a.so'
jni/../jni/application/Android.mk:124: предупреждение: старый способ для цели `jni/../jni/application/src/libapplication-arm64-v8a.so' игнорируются
jni/../jni/application/Android.mk:130: предупреждение: переопределение способа для цели `jni/../jni/application/src/libapplication-x86_64.so'
jni/../jni/application/Android.mk:130: предупреждение: старый способ для цели `jni/../jni/application/src/libapplication-x86_64.so' игнорируются
Android NDK: WARNING:jni/../jni/nanogl/Android.mk:nanogl: LOCAL_LDLIBS is always ignored for static libraries   
Android NDK: WARNING:jni/../jni/xerces/Android.mk:xerces: LOCAL_LDLIBS is always ignored for static libraries   
Android NDK: WARNING:jni/../jni/yaml-cpp/Android.mk:yaml-cpp: LOCAL_LDLIBS is always ignored for static libraries   
rm -f ./libs/arm64-v8a/lib*.so ./libs/armeabi/lib*.so ./libs/armeabi-v7a/lib*.so ./libs/armeabi-v7a-hard/lib*.so ./libs/mips/lib*.so ./libs/mips64/lib*.so ./libs/x86/lib*.so ./libs/x86_64/lib*.so
rm -f ./libs/arm64-v8a/gdbserver ./libs/armeabi/gdbserver ./libs/armeabi-v7a/gdbserver ./libs/armeabi-v7a-hard/gdbserver ./libs/mips/gdbserver ./libs/mips64/gdbserver ./libs/x86/gdbserver ./libs/x86_64/gdbserver
cd jni/../jni/application/src && until mkdir .lock >/dev/null 2>&1; do sleep 1; done && \
./AndroidBuild.sh armeabi-v7a arm-linux-androideabi && rmdir .lock >/dev/null 2>&1
rm -f ./libs/arm64-v8a/gdb.setup ./libs/armeabi/gdb.setup ./libs/armeabi-v7a/gdb.setup ./libs/armeabi-v7a-hard/gdb.setup ./libs/mips/gdb.setup ./libs/mips64/gdb.setup ./libs/x86/gdb.setup ./libs/x86_64/gdb.setup
cd jni/../jni/application/src && until mkdir .lock >/dev/null 2>&1; do sleep 1; done && \
./AndroidBuild.sh x86 i686-linux-android && rmdir .lock >/dev/null 2>&1
../setEnvironment-armeabi-v7a.sh: line 41: syntax error near unexpected token `;;'
../setEnvironment-armeabi-v7a.sh: line 41: `                    crypto) echo crypto.so.sdl.1;;'
make: *** [jni/../jni/application/src/libapplication-armeabi-v7a.so] Ошибка 1
make: *** Ожидание завершения заданий...
^Cmake: *** [jni/../jni/application/src/libapplication-x86.so] Прерывание
$

What's wrong?

_________________
Image
Image
Image.


Top
   
 Post subject: Re: Android port
PostPosted: Sun Mar 05, 2017 2:11 am 
Offline
Traffic Manager
Traffic Manager

Joined: Thu Nov 18, 2010 7:48 pm
Posts: 249
Strange error. What OS do you use? Did you put any spaces in the path to sourcrs?


Top
   
 Post subject: Re: Android port
PostPosted: Sun Mar 05, 2017 3:33 am 
Offline
Engineer
Engineer

Joined: Thu May 16, 2013 8:22 am
Posts: 107
Location: Ukraine
I use AltLinux distribution.
Moved dir to ~, but nothing changed. It was some Cyrillic symbols, but no spaces.

_________________
Image
Image
Image.


Top
   
 Post subject: Re: Android port
PostPosted: Thu Mar 09, 2017 7:18 am 
Offline
Tycoon
Tycoon
User avatar

Joined: Tue Jul 17, 2007 1:36 am
Posts: 1244
Skype: moonray_zdo
Location: Teh matrix, duh.
So.. how do I access my network saves from my pc?

_________________
Formerly known as Sapphire United.

Learn Openttd
Learn Planetary Annihilation
Learn Orbit
Whose poo?


Top
   
 Post subject: Re: Android port
PostPosted: Thu Mar 09, 2017 9:55 am 
Offline
Engineer
Engineer

Joined: Mon Feb 13, 2017 2:48 pm
Posts: 18
Zhall wrote:
So.. how do I access my network saves from my pc?


Easiest method:

Use dropbox and set both save folders to sync.

Medium method:
Share openttd save folder (mydocs/openttd normally), use ES File explorer to copy whichever saves to device.

Hardest method:
https://forums.geforce.com/default/topi ... tem-root-/

probably various other methods/apps todo with folder sync as well.


Top
   
 Post subject: Re: Android port
PostPosted: Thu Mar 09, 2017 6:15 pm 
Offline
Traffic Manager
Traffic Manager

Joined: Thu Nov 18, 2010 7:48 pm
Posts: 249
Your save files are at <SD card>/Android/data/org.openttd.sdl/files/.openttd/save
Just plug your phone into PC and copy them using a file manager.


Top
   
 Post subject: Re: Android port
PostPosted: Mon Mar 20, 2017 9:26 pm 
Offline
Traffic Manager
Traffic Manager

Joined: Thu Nov 18, 2010 7:48 pm
Posts: 249
I've had just enough free time today to release OpenTTD 1.7.0-RC1 to the beta channel on Play Store.
I'm planning a big GUI revamp for the final release, increasing buttons size even more, but I cannot promise that I will actually manage to do it.


Top
   
 Post subject: Re: Android port
PostPosted: Sun Mar 26, 2017 9:52 pm 
Offline
Traffic Manager
Traffic Manager

Joined: Thu Nov 18, 2010 7:48 pm
Posts: 249
I'm designing a new, more compact toolbar layout, with 10 buttons on each side of the screen.
I'd like some comments about button placement, I think that 'Town directory' button at the bottom left could be replaced with something that is used more often.

Which 'information' button do you use most often? Aside from Trains/Cars/Ships/Airplanes, which have fixed position on the right side.

Image

Image


Top
   
 Post subject: Re: Android port
PostPosted: Sun Apr 02, 2017 9:22 pm 
Offline
Traffic Manager
Traffic Manager

Joined: Thu Nov 18, 2010 7:48 pm
Posts: 249
1.7.0 update is out on Google Play.
It includes my attempt to improve touchscreen UI even further, you can activate it by disabling 'Title bars' setting in Game Options dialog.
This feature is active by default for new installations. To close dialogs in the game, drag them to the screen edge.
This release also includes a small easter egg, which was supposed to be April's joke, but I did not manage to publish it on April 1-st. I'll remove it in a week or two.


Top
   
 Post subject: Re: Android port
PostPosted: Fri Apr 07, 2017 9:39 am 
Offline
Engineer
Engineer

Joined: Thu Apr 06, 2017 7:48 pm
Posts: 2
[Copied from the main forum]

Horizontal toolbar missing ctrl/shift buttons

Why does the new mobile release change the toolbar layout? Vertical one is just fine as it used to be, but the horizontal layout is not. Having to plug in a physical keyboard kinda defeats the purpose of playing on a touch-based tablet. And my preference is to use the horizontal setting.

Any quick workarounds? Btw, it is an unrooted device so no tinkering with files directly is possible.


Top
   
 Post subject: Re: Android port
PostPosted: Fri Apr 07, 2017 8:46 pm 
Offline
Traffic Manager
Traffic Manager

Joined: Thu Nov 18, 2010 7:48 pm
Posts: 249
Should be fixed in release 1.7.0.69


Top
   
 Post subject: Re: Android port
PostPosted: Mon Apr 10, 2017 12:48 pm 
Offline
Engineer
Engineer

Joined: Mon Apr 10, 2017 12:43 pm
Posts: 1
Location: Somewhere over the Rainbow
Hi Pelya ! Is it possible to use the NRT roads in android ? Or is only possible on computer ?


Top
   
 Post subject: Re: Android port
PostPosted: Mon Apr 10, 2017 1:58 pm 
Offline
Traffic Manager
Traffic Manager

Joined: Thu Nov 18, 2010 7:48 pm
Posts: 249
I only provide Android builds for the official OpenTTD releases.
If you want patched OpenTTD for Android, you will have to patch and recompile Android version yourself


Top
   
 Post subject: Re: Android port
PostPosted: Thu Apr 20, 2017 4:21 pm 
Offline
Engineer
Engineer

Joined: Tue May 31, 2016 3:51 pm
Posts: 6
An issue since the latest update is my screen doesn't time out anymore. Is there a setting for this? It's killing my battery. ?( Thanks for the port, love this game.


Top
   
 Post subject: Re: Android port
PostPosted: Thu Apr 20, 2017 5:44 pm 
Offline
Traffic Manager
Traffic Manager

Joined: Thu Nov 18, 2010 7:48 pm
Posts: 249
Yes, I thought it would be better to prevent the phone from sleeping when the app is open, like all other games do.
How is this an issue? Are you forgetting to lock your phone?


Top
   
 Post subject: Re: Android port
PostPosted: Thu Apr 20, 2017 10:41 pm 
Offline
Engineer
Engineer

Joined: Tue May 31, 2016 3:51 pm
Posts: 6
It's my tablet. I play for about 10 to 30 minutes at a time then just put it down. I can see it would be a help at times, but it doesn't work for me. A setting somewhere, say in options, would be great. :D


Top
   
 Post subject: Re: Android port
PostPosted: Thu Apr 20, 2017 10:50 pm 
Offline
Traffic Manager
Traffic Manager

Joined: Thu Nov 18, 2010 7:48 pm
Posts: 249
There's no such setting, sorry.


Top
   
 Post subject: Re: Android port
PostPosted: Tue Jun 27, 2017 5:55 pm 
Offline
Traffic Manager
Traffic Manager

Joined: Thu Nov 18, 2010 7:48 pm
Posts: 249
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?


Top
   
 Post subject: Re: Android port
PostPosted: Sat Jul 01, 2017 12:24 pm 
Offline
Traffic Manager
Traffic Manager
User avatar

Joined: Thu Jun 01, 2017 10:03 am
Posts: 209
Why it's requiring google play games?
It's just a DOS game.
Is it strange?

_________________
Sent from my Ubuntu 16.04 LTS


Top
   
 Post subject: Re: Android port
PostPosted: Sat Jul 01, 2017 1:18 pm 
Offline
Traffic Manager
Traffic Manager

Joined: Thu Nov 18, 2010 7:48 pm
Posts: 249
For cloud saves. It will work without Google Play.


Top
   
Display posts from previous:  Sort by  
Post new topic  Reply to topic  [ 384 posts ]  Go to page Previous 116 17 18 19 20 Next

All times are UTC


Who is online

Users browsing this forum: No registered users and 9 guests


You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot post attachments in this forum

Search for:
Jump to:  
Powered by phpBB © 2000-2017 phpBB Limited

Copyright © Owen Rudge/The Transport Tycoon Forums 2001-2017.
Hosted by Zernebok Hosting.