NekoMaster wrote:
for the text problem you could try editing the config if there is one and change the text (small, medium, and large) to a different font or a different size
Also, you do know theres a grf that makes buttons and the gui bigger for touch screens and high res monitors?
I have no idea how to edit the config in this android port. It's a config file only option, right? Not adjustable ingame?
It would be great if the android-specific setup could include font-size selection.
* @Belugas wonders what is worst... a mom or a wife...
<Lakie> Well, they do the same thing but the code is different.
______________ My patches
check my wiki page (sticky button) for a complete list
NekoMaster wrote:
for the text problem you could try editing the config if there is one and change the text (small, medium, and large) to a different font or a different size
Also, you do know theres a grf that makes buttons and the gui bigger for touch screens and high res monitors?
I have no idea how to edit the config in this android port. It's a config file only option, right? Not adjustable ingame?
It would be great if the android-specific setup could include font-size selection.
There should be a file in your openttd directory called "openttd.cfg"
I know of the existence of the config file, but I don't know if/how I can edit it manually. Keep in mind we're talking the Android port here. Not the normal PC version. It's installed on my android phone (downloaded from android market) and I don't know if/how I can manually change the config file there.
Yes, I already use the big-gui newgrf, that is kindly provided as a setup option of the port. Forgot to mention it in last post, sorry. That does help with the ingame buttons, but not with e.g. the main menu ones, since these are just text.
* @Belugas wonders what is worst... a mom or a wife...
<Lakie> Well, they do the same thing but the code is different.
______________ My patches
check my wiki page (sticky button) for a complete list
You might also define another font, or if you can't access the config file but can install newgrfs, a solution albeit still not nice one, is Zephyris' big font: http://www.tt-forums.net/viewtopic.php?f=33&t=50068
Roujin wrote:I know of the existence of the config file, but I don't know if/how I can edit it manually. Keep in mind we're talking the Android port here. Not the normal PC version. It's installed on my android phone (downloaded from android market) and I don't know if/how I can manually change the config file there.
You either need a text editor on your phone, or connect your phone to a pc and modify the config file on the phone as if it were a flash disk...
Anyone here tried to play it on Galaxy S i9000? The Problem ist that this telefon doesnt has a joystick. Anybody knows some comfortabel settings to play it? Is there a possibility to change the cotrolsettings without uninstall and reinstall the game to try out the best controlsettings?
Logital82 wrote:Anyone here tried to play it on Galaxy S i9000? The Problem ist that this telefon doesnt has a joystick. Anybody knows some comfortabel settings to play it? Is there a possibility to change the cotrolsettings without uninstall and reinstall the game to try out the best controlsettings?
Im pretty sure that left click scrolling was made default for Android Ports, but if not then you can just enable the setting in the Advanced Settings menu
Logital82 wrote:Anyone here tried to play it on Galaxy S i9000? The Problem ist that this telefon doesnt has a joystick. Anybody knows some comfortabel settings to play it? Is there a possibility to change the cotrolsettings without uninstall and reinstall the game to try out the best controlsettings?
Do not close the app with Home button, press Exit from app menu, then it will show SDL configure button on next start.
Galaxy supports multitouch, so I recommend setting right mouse click to multitouch in SDL settings, left click - "Touch near cursor", and "Show screen under finger" in "Additional controls".
If you can't close it just use any Task Killer app from Market (for example if you cannot hit the right option in that tiny menu).
secondly: i am using sony ericsson x10
when downloading the datafiles it ends with "could not write to..." but after restarting ottd it just worked fine.
thirdly: and with "just worked fine" i mean a dream came true !
I'm aware of that, thanks, however I won't recode all my Java files in C++ - the SDL config code is already 60 kbytes in size, this will take ages.
Also NDK r5 contains an important bug: http://groups.google.com/group/android- ... 776842041d
When I've compiled Free Heroes 2 with it the game froze at the end of turn. I did not try other apps, but I don't want to catch that subtle bug everywhere - I'll rather wait for NDK r5b.
Will this port work in any version of Android? Because I'd like to mess around with android on my Desktop PC (I just found out they have ports to the PC, mainly for messing around with)
NekoMaster wrote:Will this port work in any version of Android? Because I'd like to mess around with android on my Desktop PC (I just found out they have ports to the PC, mainly for messing around with)
It requires ARMv5 CPU, if you'll install Android on your desktop PC natively (e.g. not running emulator) it will not work, because it contains native C/C++ code, not only Java. It should run okay in emulator though.
I can make build that will include the native code compiled for both ARM and x86, never tried that however.
NekoMaster wrote:Will this port work in any version of Android? Because I'd like to mess around with android on my Desktop PC (I just found out they have ports to the PC, mainly for messing around with)
It requires ARMv5 CPU, if you'll install Android on your desktop PC natively (e.g. not running emulator) it will not work, because it contains native C/C++ code, not only Java. It should run okay in emulator though.
I can make build that will include the native code compiled for both ARM and x86, never tried that however.
Probably would be a good idea to apadt it for x86 cpus too since android is growing and if its already been ported to x86 then in the future there might be other low end x86 machines that might run android (like netbooks or low cost laptops)
I'm aware of that, thanks, however I won't recode all my Java files in C++ - the SDL config code is already 60 kbytes in size, this will take ages.
Also NDK r5 contains an important bug: http://groups.google.com/group/android- ... 776842041d
When I've compiled Free Heroes 2 with it the game froze at the end of turn. I did not try other apps, but I don't want to catch that subtle bug everywhere - I'll rather wait for NDK r5b.
I see but wonder if changing it back to only C/C++ will not be better from the longer time perspective (speed and possibility to add it to OTTD trunk?)
I'm aware of that, thanks, however I won't recode all my Java files in C++ - the SDL config code is already 60 kbytes in size, this will take ages.
Also NDK r5 contains an important bug: http://groups.google.com/group/android- ... 776842041d
When I've compiled Free Heroes 2 with it the game froze at the end of turn. I did not try other apps, but I don't want to catch that subtle bug everywhere - I'll rather wait for NDK r5b.
I see but wonder if changing it back to only C/C++ will not be better from the longer time perspective (speed and possibility to add it to OTTD trunk?)
OpenTTD sources do not contain any Java code, the Javas is only inside SDL port. Also it's used mainly for config dialog and initialization, so it won't get any faster if I'll recode it in C++ (maybe it become more buggy though ). The only bottleneck is the sound - it is passed to Java layer, and it's slow, however I won't be using non-Java SLES API because I'll lose compatibility to Android 1.6/2.0/2.1 . Maybe I'll add an optional SLES output in the future, but that requires quite some time and effort.
Also new libjnigraphics is reported to be faster than OpenGL-ES implementation I'm using, and it's supported on devices starting from Android 2.1, I'll add an optional support for it in the future (but screen magnifying glass will be disabled then, 'cause it's a plain pixel buffer, and it's not as flexible as OpenGL)
Damn, was hoping to play OpenTTD on my new Desire Z this night, however, the offer T-mobile has in my country only concerns new clients, not for current customers. Looking for another deal now.
So downloading OpenTTD now on my brand new Desire Z, posting updates on experiences soon!
edit:So I've got it, however, an issue I ran into, but finally past that now: upon first use you have to work through this menu, however, you have to click the OK button in the end or else the SDL starter will not do anything. I've probably missed that read somewhere, but it works now.
Well this might be a bit offtopic but I shot a video based on the port from pelya where OpenTTD is controlled with a Bluetooth Mouse on a Samsung Galaxy Tab.