Transport Tycoon Forums

The place to talk about Transport Tycoon
It is currently Thu Jun 21, 2018 9:58 am

All times are UTC




Post new topic  Reply to topic  [ 18 posts ] 
Author Message
PostPosted: Sun Jan 29, 2017 11:02 pm 
Offline
Transport Coordinator
Transport Coordinator

Joined: Thu Nov 18, 2010 7:48 pm
Posts: 260
OpenTTD 1.8.0 with 'fat fingers touch' interface:
32-bit Windows: https://sourceforge.net/projects/libsdl ... p/download
64-bit Windows: https://sourceforge.net/projects/libsdl ... p/download

All buttons are bigger, there are on-screen Ctrl and Shift buttons, toolbar moved from the top to the left and right sides of the screen, and there's a confirmation dialog when you build anything, with estimated price shown automatically. 'Save to network' does not work. Pinch-zoom gesture is working.
Delete your old openttd.cfg for best results.

---------

There was a Reddit post about OpenTTD running on Ubuntu tablet, so naturally, I've compiled OpenTTD with Android patches for that tablet, and looks like it's playable using touchscreen only.

Which brought up the old topic in my head, about OpenTTD for convertible things other than Android, like Microsoft Surface tablet, or whatever Linux version you are running on your touchscreen POS terminal (and I mean 'point of sale' not 'piece of s***', however most POS terminals I've seen are pretty s*** indeed).

I don't need to worry about Chromebooks, because they run Android apps now.

But people keep buying Windows tablets, as I understand, so having a separate version of OpenTTD with big buttons kind of makes sense.

There are two roadblocks for this - first, is that I'm lazy, and second, is that I hate Windows and MSVC. I might whip up a quick dirty port, if there's enough interest.

Another issue is how to advertise it - I'm pretty sure my touch version won't get a stop on openttd.org front page, and Windows Store seems to accept only UWP apps, and UWP is not supported by SDL 1.2.

If you have Windows tablet or other touchscreen device, and want to see touch version of OpenTTD, please share your thoughts.


Last edited by pelya on Tue Jun 19, 2018 5:58 pm, edited 5 times in total.

Top
   
PostPosted: Mon Jan 30, 2017 1:53 am 
Offline
Tycoon
Tycoon
User avatar

Joined: Sat Aug 16, 2008 10:26 pm
Posts: 3805
Skype: neko-master
Location: Oshawa, Ontario, CANADA
Well what is the issue with playing OPenTTD on a Windows or LInux touch screen? Do mouse clicks not register properly? Touch/Clicking and dragging does work?

_________________
Image Proud Canadian Image
Nekomasters Projects! (Downloads available on BaNaNaS!) \(>^w^<)/
# NARS ADD-ON SET 2CC | 2cc Rapid Transit For Me! (2ccRTFM) | 2cc Wagons In NML (2ccWIN)
# NML Category System (Organize your GRFS!) <- TT-Forums Exclusive Download!


Top
   
PostPosted: Mon Jan 30, 2017 10:22 am 
Offline
Transport Coordinator
Transport Coordinator

Joined: Thu Nov 18, 2010 7:48 pm
Posts: 260
Clicking and dragging does work fine, this is more about the size of your fingers.

Image


Top
   
PostPosted: Mon Jan 30, 2017 11:28 am 
Offline
OpenTTD Developer
OpenTTD Developer
User avatar

Joined: Wed Nov 07, 2007 10:44 pm
Posts: 9026
Location: Sol d
Sounds like an issue which is solved by choosing proper config, like larger fonts and maybe by default a 2x zoom (instead of the usual 1x).

_________________
Image
OpenTTD: manual | online content | translations | Wanted contributions and patches
#openttdcoop: blog | wiki | public server | DevZone | NewGRF web translator
DevZone - home of the free NewGRFs: OpenSFX | OpenMSX | OpenGFX | Swedish Rails | OpenGFX+ Trains|RV|Industries|Airports|Landscape | NML


Top
   
PostPosted: Mon Jan 30, 2017 4:42 pm 
Offline
Tycoon
Tycoon
User avatar

Joined: Sat Aug 16, 2008 10:26 pm
Posts: 3805
Skype: neko-master
Location: Oshawa, Ontario, CANADA
Yeah, I didn't think about that. If you edit your config you can use larger fonts, and in game you can change menu sizes to 2x (though even on a 1920x1080 monitor some windows look a little too big for me)

_________________
Image Proud Canadian Image
Nekomasters Projects! (Downloads available on BaNaNaS!) \(>^w^<)/
# NARS ADD-ON SET 2CC | 2cc Rapid Transit For Me! (2ccRTFM) | 2cc Wagons In NML (2ccWIN)
# NML Category System (Organize your GRFS!) <- TT-Forums Exclusive Download!


Top
   
PostPosted: Mon Jan 30, 2017 9:12 pm 
Offline
Transport Coordinator
Transport Coordinator

Joined: Thu Nov 18, 2010 7:48 pm
Posts: 260
Well, you can improve things by messing up with font size and GUI scale options, but only so much. The best button size is when it's 1/10 of the screen height, and if you blow up fonts that much, no dialog will fit the screen. Android version has button height of 1/12 of the screen height, and yes, people are complaining that buttons are too small. Here's a PC screenshot, with 2x GUI zoom and 720x480 resolution, and the 'touch' version with the same settings and 1x GUI zoom.

Image

---

Image


Top
   
PostPosted: Thu Feb 02, 2017 6:28 pm 
Offline
Transport Coordinator
Transport Coordinator

Joined: Thu Nov 18, 2010 7:48 pm
Posts: 260
I've build Win64 version of OpenTTD with the touch interface:

https://sourceforge.net/projects/libsdl ... -win64.zip

Strangely enough, it even supports pinch-zoom gesture.


Top
   
PostPosted: Sat Apr 29, 2017 2:11 am 
Offline
Engineer
Engineer

Joined: Sat Apr 29, 2017 2:09 am
Posts: 2
pelya wrote:
I've build Win64 version of OpenTTD with the touch interface:

https://sourceforge.net/projects/libsdl ... -win64.zip

Strangely enough, it even supports pinch-zoom gesture.


Just wondering if it might be possible to get 32bit build of that version - I have one of those cheapo Windows tablets (Linx) and it's limited to 32bit (2Gb RAM)

I know from running Bluestacks that the Android version is quite playable but the native Windows version would obviously be better

Thanks!


Top
   
PostPosted: Sat Apr 29, 2017 7:20 pm 
Offline
Tycoon
Tycoon
User avatar

Joined: Sat Aug 16, 2008 10:26 pm
Posts: 3805
Skype: neko-master
Location: Oshawa, Ontario, CANADA
trjp wrote:
pelya wrote:
I've build Win64 version of OpenTTD with the touch interface:

https://sourceforge.net/projects/libsdl ... -win64.zip

Strangely enough, it even supports pinch-zoom gesture.


Just wondering if it might be possible to get 32bit build of that version - I have one of those cheapo Windows tablets (Linx) and it's limited to 32bit (2Gb RAM)

I know from running Bluestacks that the Android version is quite playable but the native Windows version would obviously be better

Thanks!


If the CPU is a modern single core or multi core CPU, then it should support installing 64-bit versions of Windows, even if you don't have more then 4GB of RAM.

_________________
Image Proud Canadian Image
Nekomasters Projects! (Downloads available on BaNaNaS!) \(>^w^<)/
# NARS ADD-ON SET 2CC | 2cc Rapid Transit For Me! (2ccRTFM) | 2cc Wagons In NML (2ccWIN)
# NML Category System (Organize your GRFS!) <- TT-Forums Exclusive Download!


Top
   
PostPosted: Sun Apr 30, 2017 12:25 am 
Offline
Engineer
Engineer

Joined: Sat Apr 29, 2017 2:09 am
Posts: 2
NekoMaster wrote:
trjp wrote:
pelya wrote:
I've build Win64 version of OpenTTD with the touch interface:

https://sourceforge.net/projects/libsdl ... -win64.zip

Strangely enough, it even supports pinch-zoom gesture.


Just wondering if it might be possible to get 32bit build of that version - I have one of those cheapo Windows tablets (Linx) and it's limited to 32bit (2Gb RAM)

I know from running Bluestacks that the Android version is quite playable but the native Windows version would obviously be better

Thanks!


If the CPU is a modern single core or multi core CPU, then it should support installing 64-bit versions of Windows, even if you don't have more then 4GB of RAM.


The Linx is forced to run 32bit Windows 8/10 by it's BIOS - it's also a WIMBOOT install which makes replacing it a pain-in-the-ass - hence a 32bit executable is the only way to run it (and Linx tablets are quite popular so it should have an audience)


Top
   
PostPosted: Thu Jun 15, 2017 10:49 am 
Offline
Engineer
Engineer

Joined: Thu Jun 15, 2017 10:44 am
Posts: 1
NekoMaster wrote:
trjp wrote:
pelya wrote:
I've build Win64 version of OpenTTD with the touch interface:

https://sourceforge.net/projects/libsdl ... -win64.zip

Strangely enough, it even supports pinch-zoom gesture.


Just wondering if it might be possible to get 32bit build of that version - I have one of those cheapo Windows tablets (Linx) and it's limited to 32bit (2Gb RAM)

I know from running Bluestacks that the Android version is quite playable but the native Windows version would obviously be better

Thanks!


If the CPU is a modern single core or multi core CPU, then it should support installing 64-bit versions of Windows, even if you don't have more then 4GB of RAM.


Yes, I probably could reinstal 64 bit Windows, but me and most of BayTrail based tablet users would greatly appreciate 32bit build anyway so they wouldn't have to reinstall OS.


Top
   
PostPosted: Thu Jun 15, 2017 8:52 pm 
Offline
Transport Coordinator
Transport Coordinator

Joined: Thu Nov 18, 2010 7:48 pm
Posts: 260
I'll try to build a 32-bit version when 1.7.1 will be released. My free time is limited lately, sorry for no updates.


Top
   
PostPosted: Tue Jun 27, 2017 7:33 pm 
Offline
Transport Coordinator
Transport Coordinator

Joined: Thu Nov 18, 2010 7:48 pm
Posts: 260
I've compiled touch version 1.7.1 for 64-bit Windows: https://sourceforge.net/projects/libsdl ... -touch.zip
Unfortunately 32-bit version ended up being tricky, when I follow the MXE instruction on wiki the resulting build crashes on start. Maybe someone could give me a bunch of precompiled libraries and a build script? :roll:


Top
   
PostPosted: Sat Jul 29, 2017 7:53 pm 
Offline
Transport Coordinator
Transport Coordinator

Joined: Sun Apr 03, 2016 8:19 pm
Posts: 367
pelya wrote:
I've compiled touch version 1.7.1 for 64-bit Windows: https://sourceforge.net/projects/libsdl ... -touch.zip
Unfortunately 32-bit version ended up being tricky, when I follow the MXE instruction on wiki the resulting build crashes on start. Maybe someone could give me a bunch of precompiled libraries and a build script? :roll:


Right now I'm having to borrow a family member's windows tablet-convertible, as my laptop is experiencing issues severe enough that the retailer I bought it from told me that, as it's under their store warranty and they try to honor it as best they can, they would have to send it to the manufacturer for repairs on my behalf because they can't fix it without specialized tools.

I would like to be able to play OpenTTD on a tablet like this if no other computers are available; unless I have it docked with the keyboard accessory (which has the only USB port) and use a mouse, it's basically impossible to do so on this device, ruining the portability aspect.

I'm also looking into getting this... http://pgslab.com ...as my phone contract has almost ran out and my laptop might not be fixable, and with a laptop being $1000 (I'm not in the US) and a smartphone contract no longer being appealing, the device being pre-ordered on that site is far cheaper ($600 US is still far less than a new phone AND a new laptop).

Because the android version no longer updates to newer stable versions, the above two reasons make having this included in trunk very appealing to me as well. Are you still working on it?

_________________
Licenses for my work...
You automatically have my permission to re-license graphics or code by me if needed for use in any project that is not GPL v2, on the condition that if you release any derivatives of my graphics they're automatically considered as ALSO GPL v2 (code may remain unreleased, but please do provide it) and carry this provision in GPL v2 uses.
Please ask someone in-the-know to be sure that the graphics are done by me. Especially TTD-Scale, long story.


Top
   
PostPosted: Sat Jul 29, 2017 7:59 pm 
Offline
Transport Coordinator
Transport Coordinator

Joined: Thu Nov 18, 2010 7:48 pm
Posts: 260
I'll update it along with Android version, at least 64-bit build.


Top
   
PostPosted: Sat Jul 29, 2017 10:08 pm 
Offline
Transport Coordinator
Transport Coordinator

Joined: Sun Apr 03, 2016 8:19 pm
Posts: 367
Alright, glad to hear it. Thanks for working on this, it definitely belongs in stable at some point.

_________________
Licenses for my work...
You automatically have my permission to re-license graphics or code by me if needed for use in any project that is not GPL v2, on the condition that if you release any derivatives of my graphics they're automatically considered as ALSO GPL v2 (code may remain unreleased, but please do provide it) and carry this provision in GPL v2 uses.
Please ask someone in-the-know to be sure that the graphics are done by me. Especially TTD-Scale, long story.


Top
   
PostPosted: Mon Jun 18, 2018 7:45 pm 
Offline
Transport Coordinator
Transport Coordinator

Joined: Thu Nov 18, 2010 7:48 pm
Posts: 260
Bump. Updated to 1.8.0: https://sourceforge.net/projects/libsdl ... p/download
I will try to build 32-bit version once again this week, maybe they have finally fixed MXE.


Top
   
PostPosted: Tue Jun 19, 2018 6:21 pm 
Offline
Transport Coordinator
Transport Coordinator

Joined: Thu Nov 18, 2010 7:48 pm
Posts: 260
32-bit version is finally available: https://sourceforge.net/projects/libsdl ... p/download


Top
   
Display posts from previous:  Sort by  
Post new topic  Reply to topic  [ 18 posts ] 

All times are UTC


Who is online

Users browsing this forum: Psistorm and 8 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-2018 phpBB Limited

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