Transport Tycoon Forums

The place to talk about Transport Tycoon
It is currently Sat Feb 23, 2019 5:57 pm

All times are UTC




Post new topic  Reply to topic  [ 28 posts ]  Go to page 1 2 Next
Author Message
PostPosted: Sat Jan 26, 2019 11:54 am 
Offline
OpenTTD Developer
OpenTTD Developer

Joined: Mon May 31, 2004 9:21 am
Posts: 1310
Cross posting from the website:

Modernisation of the hosting infrastructure is proceeding, and we have just brought a new version of this main website online. But, you say, nothing changed? You are absolutely correct!

For over the last 15 years, the website was run on Django. Sadly, over the years, fewer and fewer people knew how to update it, and it stalled. So, a few weeks back andythenorth and TrueBrain started to port the website to Jekyll, and put it on GitHub. It is now connected to a CI/CD. This means that any contribution can quickly be tested and validated, and anyone with commit rights can update the website. Including things like news, screenshots, etc!

Additionally, after almost a year of no nightlies, they are finally back. These nightlies are created on new infrastructure, and should be better than ever. Especially the Mac OS version should be a lot more stable, as it is no longer cross-compiled.

Finally, the new binaries are now served from a CDN; this means downloads should be a lot quicker for a lot more people.

This all took a lot of effort (6+ months of work), and hopefully this makes contributing to these parts of our game a lot easier.

If you find any trains stuck at signals please let us know, so we can resolve the issue safely without risk of crashes.

_________________
The only thing necessary for the triumph of evil is for good men to do nothing.


Top
   
PostPosted: Sat Jan 26, 2019 12:44 pm 
Offline
Graphics Moderator
Graphics Moderator
User avatar

Joined: Mon Sep 13, 2004 1:21 pm
Posts: 5338
Location: The Moon
Hooray, nightlies! Good work everyone involved. :)

_________________
Pikkarail.com blog | Patreon
Dev reference: NML Specs - NewGRF Specs - Savegame Internals - NoAi API - NoGo API


Top
   
PostPosted: Sat Jan 26, 2019 2:08 pm 
Offline
Tycoon
Tycoon
User avatar

Joined: Sat Mar 31, 2007 2:23 pm
Posts: 4794
Location: Lost in Music
Highlights of the new nightlies, compared to 1.8.0:

  • Increase rail type & cargo type limits to 64
  • Overhaul of music system
  • Framerate display window
  • Automatic save when losing connection to a network game
  • Default starting company colour setting
  • API for querying network clients from GS (#6736)
  • Append '(City)' after city names in the town directory
  • New Russian Ruble as currency (#6678)
  • Increase size of industry persistent storage to 256

There is much more, see it on GitHub: https://github.com/OpenTTD/OpenTTD/commits/master

Contributions have really picked up since April 2018 :D

_________________
FIRS Industry Replacement Set (Released) | HEQS Heavy Equipment Set (trucks, industrial trams and more) (Finished)
Squid Ate FISH (ships) (Released) | CHIPS Has Improved Players' Stations (Finished)
Iron Horse (trains, released) | Termite (tracks for Iron Horse, released) | Busy Bee (game script, released)

Road Hog (road vehicles, released)


Top
   
PostPosted: Sat Jan 26, 2019 9:32 pm 
Offline
Moderator
Moderator
User avatar

Joined: Mon Sep 28, 2009 5:15 pm
Posts: 6463
Location: Eastern KY
Thank you for all of your work. We really should have some sort of community reward for your contributions!

_________________
Do you like drones, quadcopters & flying toys? Check out Drone Strike Force!
Image

Base Music Sets: OpenMSX | Scott Joplin Anthology | Traditional Winter Holiday Music | Modern Motion Music
Other Projects: 2CC Trams | Modern Waypoints | Sprite Sandbox & NewGRF Releases | Ideabox | Town Names | Isle of Sodor Scenario | Random Sprite Repository
Misc Topics: My Screenshots | Forgotten NewGRFs | Unfinished Graphics Sets | Stats Shack | RoadTypes?


Top
   
PostPosted: Sun Jan 27, 2019 12:22 am 
Offline
Moderator
Moderator
User avatar

Joined: Sat Dec 18, 2004 5:35 pm
Posts: 15186
Location: Stockholm, Sweden
Really good work, worthy of praise. If ever there is a TT-Meet with you guys present, I feel you deserve a beer and a pat on the back.

_________________
Image
Newest screenshots published January 9, 2019
Chrill's scenarios:
Archipiélago Hermoso
(Latest Release: Version 3.2)
Turnpike Falls (Latest Release: Version 0.91)


Top
   
PostPosted: Sun Jan 27, 2019 9:24 am 
Offline
Tycoon
Tycoon

Joined: Tue Feb 22, 2011 6:34 pm
Posts: 2668
Great work, just one question about the nightlies: I see the version number has changed to the date (nice, makes seeing which new things have been added a lot easier), but I can't see to which exact commit the nightly corresponds anymore. I can get a good idea by looking at the times, but is there a way to get the exact commit?

_________________
Coder of the Dutch Trackset | Development support for the Dutch Trainset | Coder of the 2cc TrainsInNML


Top
   
PostPosted: Sun Jan 27, 2019 9:48 am 
Offline
Tycoon
Tycoon
User avatar

Joined: Sat Mar 31, 2007 2:23 pm
Posts: 4794
Location: Lost in Music
Transportman wrote:
I can't see to which exact commit the nightly corresponds anymore. I can get a good idea by looking at the times, but is there a way to get the exact commit?

My assumption is that for nightlies, the rev built matches the latest commit in the changelog https://openttd.ams3.cdn.digitaloceansp ... ngelog.txt

Changelog is linked from download page.

If I'm wrong TB will probably say so ;)

_________________
FIRS Industry Replacement Set (Released) | HEQS Heavy Equipment Set (trucks, industrial trams and more) (Finished)
Squid Ate FISH (ships) (Released) | CHIPS Has Improved Players' Stations (Finished)
Iron Horse (trains, released) | Termite (tracks for Iron Horse, released) | Busy Bee (game script, released)

Road Hog (road vehicles, released)


Top
   
PostPosted: Sun Jan 27, 2019 10:22 am 
Offline
OpenTTD Developer
OpenTTD Developer

Joined: Mon May 31, 2004 9:21 am
Posts: 1310
The name of the nightly is like this: '20190126-master-g36e299fb'. It has 3 components: the date it was produced, the branch it was produced from (yes, we should be able to support patchpacks too now), and the 'git hash' of the commit it was based on. This starts with a 'g', meaning 'git', followed by the real hash.

So if you want to know the exact commit, all you have to do is: 'git log -1 36e299fb'.

There you go! The way to get the exact commit :)

_________________
The only thing necessary for the triumph of evil is for good men to do nothing.


Top
   
PostPosted: Mon Jan 28, 2019 8:31 am 
Offline
Transport Coordinator
Transport Coordinator

Joined: Mon Oct 23, 2006 2:07 am
Posts: 345
Location: Berlin
Hello

TrueBrain wrote:
Modernisation of the hosting infrastructure is proceeding, and we have just brought a new version of this main website online. But, you say, nothing changed? You are absolutely correct!

Do I read it the right way, saying the website is the old one beside the changes behind the curtain?

So there is room for a transformation of the frontend to HTML5 and to a responsive structure, isn't it? All necessary ressources seems to be located in and under the directories "pages" and "static" or are there other places with HTML and CSS ressources?

Tschö, Auge

_________________
further development of My Little Forum 1


Top
   
PostPosted: Mon Jan 28, 2019 9:35 am 
Offline
Tycoon
Tycoon
User avatar

Joined: Sat Mar 31, 2007 2:23 pm
Posts: 4794
Location: Lost in Music
Auge wrote:
So there is room for a transformation of the frontend to HTML5 and to a responsive structure, isn't it? All necessary ressources seems to be located in and under the directories "pages" and "static" or are there other places with HTML and CSS ressources?

A website redesign would be welcome.

All the resources are there in the repo, or if something is missing, it can likely be added. https://github.com/OpenTTD/website

There are 2 options:

1. reimplement the current design, but update to contemporary methods.

This would mean e.g. removing all the images used for styling, and replacing with css gradients, shadows etc. I did a small part of this already, and LordAro might have a more complete conversion somewhere.

We could also make the current site responsive, although it's not really designed for reflow.

2. implement a new design

This would require design skills. I could do it somewhat, but it's not something I want to be responsible for.

So either we need a designer, or we could use one of the (ugh exploitation :twisted: ) sites like 99Designs or Fiver, and pay a professional designer to do it. We do have OpenTTD funds for that kind of thing.

Either way, it needs ported to a responsive framework, preferably Bootstrap. And I am happy to help with the re-implementation. :D

Questions go to #openttd irc, or communicate via github issue, thanks :)

_________________
FIRS Industry Replacement Set (Released) | HEQS Heavy Equipment Set (trucks, industrial trams and more) (Finished)
Squid Ate FISH (ships) (Released) | CHIPS Has Improved Players' Stations (Finished)
Iron Horse (trains, released) | Termite (tracks for Iron Horse, released) | Busy Bee (game script, released)

Road Hog (road vehicles, released)


Top
   
PostPosted: Mon Jan 28, 2019 10:33 am 
Offline
Transport Coordinator
Transport Coordinator

Joined: Mon Oct 23, 2006 2:07 am
Posts: 345
Location: Berlin
Hello

andythenorth wrote:
Auge wrote:
So there is room for a transformation of the frontend to HTML5 and to a responsive structure, isn't it? All necessary ressources seems to be located in and under the directories "pages" and "static" or are there other places with HTML and CSS ressources?

A website redesign would be welcome.

There are 2 options:

1. reimplement the current design, but update to contemporary methods.

This would mean e.g. removing all the images used for styling, and replacing with css gradients, shadows etc. I did a small part of this already, and LordAro might have a more complete conversion somewhere.

We could also make the current site responsive, although it's not really designed for reflow.

I made a responsive but very incomplete mockup of the cuurent page a few years ago (the files are lost meanwhile). It's absolutely possible to make the design reflowing (except one want to keep it pixelwise like in a print design).

andythenorth wrote:
2. implement a new design

This would require design skills. I could do it somewhat, but it's not something I want to be responsible for.

I am also not a designer. I understand your wariness.

andythenorth wrote:
Either way, it needs ported to a responsive framework, preferably Bootstrap. And I am happy to help with the re-implementation. :D

Does that really need a framework? Use of a framework is often like stoning someone with a menhir (i.e. like in Live of Brian).

Tschö, Auge

_________________
further development of My Little Forum 1


Top
   
PostPosted: Mon Jan 28, 2019 11:41 am 
Offline
Tycoon
Tycoon
User avatar

Joined: Sat Mar 31, 2007 2:23 pm
Posts: 4794
Location: Lost in Music
Auge wrote:
Does that really need a framework? Use of a framework is often like stoning someone with a menhir (i.e. like in Live of Brian).

Fair question :D Answer depends on:

* how much we want to build our own grid, which is a 100% solved problem already by css frameworks
* how much we want to attract widespread contributions, other people's hand-crafted css is never attractive to work with

For comparison, we could have not used Jekyll for the website compile. We don't really need it, because a static site generator is easy to write (I have at least 2 already of my own). But Jekyll is complete, and has docs, and is easy for anyone to pick up and work with.

FWIW, I use Bootstrap for every website I build, and have for years :)

_________________
FIRS Industry Replacement Set (Released) | HEQS Heavy Equipment Set (trucks, industrial trams and more) (Finished)
Squid Ate FISH (ships) (Released) | CHIPS Has Improved Players' Stations (Finished)
Iron Horse (trains, released) | Termite (tracks for Iron Horse, released) | Busy Bee (game script, released)

Road Hog (road vehicles, released)


Top
   
PostPosted: Mon Jan 28, 2019 1:16 pm 
Offline
Route Supervisor
Route Supervisor
User avatar

Joined: Wed Jan 08, 2003 11:09 pm
Posts: 410
Location: Denmark
I personally appreciate how the site is completely static and does not depend on downloading huge stylesheets and JS files. It's just fast and just works.


Top
   
PostPosted: Mon Jan 28, 2019 7:06 pm 
Offline
OpenTTD Developer
OpenTTD Developer

Joined: Mon May 31, 2004 9:21 am
Posts: 1310
I think the last post of andythenorth summarizes it best; it is not bootstrap perse that would be a requirement if you ask me, but a non-javascript well-known-and-established framework would be good. Bootstrap is an obvious solution, but please, without the Javascript nonsense :D

But yeah, something that already exists has the preference for sure! Reinventing stuff is not future-proof, we noticed :P (as the website hasn't had any real update in over 10 years .. I guess that is safe to say :D). We are going for safe solutions this time around :)

(hence the Jekyll .. all GitHub Pages are build with it :P Should be safe, right? (famous last words!))


So, come to think of it, a tiny list of requirements:
- Well known framework; this because we want people to be able to contribute over the years to come, without a steep learning curve.
- No javascript (or at least, should work completely without javascript); this is because we have users with things like NoScript. No need to give them a suboptimal website.
- Static website, produced via Jekyll.

_________________
The only thing necessary for the triumph of evil is for good men to do nothing.


Top
   
PostPosted: Tue Jan 29, 2019 12:21 am 
Offline
Moderator
Moderator
User avatar

Joined: Mon Sep 28, 2009 5:15 pm
Posts: 6463
Location: Eastern KY
And here I was going to make the heretical suggestion that since I recently started the conversion of tt-forums to the newest version of phpbb, that maybe we just borrow that and throw in an add-on to produce a general front-page. :)

_________________
Do you like drones, quadcopters & flying toys? Check out Drone Strike Force!
Image

Base Music Sets: OpenMSX | Scott Joplin Anthology | Traditional Winter Holiday Music | Modern Motion Music
Other Projects: 2CC Trams | Modern Waypoints | Sprite Sandbox & NewGRF Releases | Ideabox | Town Names | Isle of Sodor Scenario | Random Sprite Repository
Misc Topics: My Screenshots | Forgotten NewGRFs | Unfinished Graphics Sets | Stats Shack | RoadTypes?


Top
   
PostPosted: Wed Jan 30, 2019 8:15 pm 
Offline
Transport Coordinator
Transport Coordinator
User avatar

Joined: Mon May 02, 2011 12:49 pm
Posts: 376
Location: Finland
Would the GatsbyJS framework be option for OpenTTD.org's framework ? Its very fast for smallish static sites and from what I looked up it should also work with no Javascript enabled. It would at least be very modern solution. I am not expert on all matters of OpenTTD.org's needs but I think it could work well. I think with GatsbyJS we could get static site and some of benefits of Javascript for those who want.

Also great work on getting nightlies back !

_________________
My screenshot thread


Top
   
PostPosted: Thu Jan 31, 2019 7:55 am 
Offline
Transport Coordinator
Transport Coordinator

Joined: Mon Oct 23, 2006 2:07 am
Posts: 345
Location: Berlin
Hello
Katve wrote:
Would the GatsbyJS framework be option for OpenTTD.org's framework ?

Openttd.org just changed to a new framework named "Jekyll".

Katve wrote:
Also great work on getting nightlies back !

Yes.

Tschö, Auge

_________________
further development of My Little Forum 1


Top
   
PostPosted: Fri Feb 01, 2019 5:16 am 
Offline
Tycoon
Tycoon
User avatar

Joined: Tue Apr 24, 2007 9:37 am
Posts: 3029
Location: Straya
andythenorth wrote:
Highlights of the new nightlies, compared to 1.8.0:
...



You missed group liveries, literally the best feature since path signals :D

_________________
--Stuff I made (or helped make)--
ImageImageImageImage

--My Award-Winning Screenshots and Videos--


Top
   
PostPosted: Wed Feb 06, 2019 8:45 am 
Offline
Engineer
Engineer

Joined: Thu Jun 04, 2009 10:59 am
Posts: 52
Location: NSW, Australia
Fantastic work guys, well done!


Top
   
PostPosted: Sat Feb 09, 2019 10:10 am 
Offline
Chief Executive
Chief Executive
User avatar

Joined: Mon Dec 23, 2013 4:33 pm
Posts: 737
Location: Bærum, Norway
Great! Where are the Linux Nightlies?

_________________
My screenshots
The 1700-2050 Ships & RVs thread
Norwegian Alternate Town Names


Top
   
Display posts from previous:  Sort by  
Post new topic  Reply to topic  [ 28 posts ]  Go to page 1 2 Next

All times are UTC


Who is online

Users browsing this forum: No registered users and 2 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-2019 phpBB Limited

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