Elvas Tower: Downloading routes via button in Open Rails Menu from Github - Elvas Tower

Jump to content

Posting Rules

All new threads will be started by members of the Open Rails team, Staff, and/or Admins. Existing threads started in other forums may get moved here when it makes sense to do so.

Once a thread is started any member may post replies to it.
  • 2 Pages +
  • 1
  • 2
  • You cannot start a new topic
  • You cannot reply to this topic

Downloading routes via button in Open Rails Menu from Github Rate Topic: -----

#1 User is offline   Siebren 

  • Fireman
  • Group: Status: Active Member
  • Posts: 101
  • Joined: 16-November 22
  • Gender:Not Telling
  • Location:Ede, the Netherlands
  • Simulator:open rails
  • Country:

Posted 20 November 2023 - 11:58 AM

I noticed some OR routes being stored in Github. Handling such a route by downloading from Github and storing in OR could be a hurdle for beginners. Would it not be nice to have the actions to download and install a route behind a button in the OR menu? And even being able to check and install updates on those routes?

- guess Github has enough api's to do this technically
- would this be allowed legally? Guess so, al you do is automate manual steps
- would Github like this?

Using Github would mean OR does not need an own server for this with the costs and maintenance. And give the route creators a wider audience.

Any thoughts?

#2 User is offline   Weter 

  • Member, Board of Directors
  • PipPipPipPipPipPipPipPipPipPip
  • Group: ET Admin
  • Posts: 6,932
  • Joined: 01-June 20
  • Gender:Not Telling
  • Simulator:ORTS
  • Country:

Posted 20 November 2023 - 01:24 PM

Good idea, Untill GH (or it's policy) would be reworked (e.g. turned into pay)

#3 User is offline   rickloader 

  • Conductor
  • Group: Status: First Class
  • Posts: 493
  • Joined: 05-February 13
  • Gender:Male
  • Location:Southampton uk
  • Simulator:Open Rails
  • Country:

Posted 20 November 2023 - 02:00 PM

Chris J has mentored several route builders onto Github - thanks Chris. The routes available from Git are Chiltern, Mid East and my own New Forest. I am sure Chris would welcome more routes to feature on the OpenRails.org content pages . He has also publshed a Github guide
https://www.dropbox....b%20v2.pdf?dl=0
In my view the biggest obstacle for new users is finding the track system trains and activities / timetable to run the route. Github does allow complete routes and rolling stock to be downloaded.
Routes can easily be updated from Github`s own "desktop" app. For some reason users are reluctant to install desktop to get updates.
An ORTS.org mention has certainly encouraged route downloads . But hardly any feedback results. Maybe they are disappointed with the route, or just casually hit the download button.
As Weter says, it is amazing that Github still allows free hosting. It is a superb facility once you get used to it. It is very liberating for route builders to continue developing a route , and I have had useful collaboration too.
Rick





#4 User is offline   joe_star 

  • Fireman
  • Group: Status: Active Member
  • Posts: 209
  • Joined: 16-January 13
  • Gender:Male
  • Simulator:MSTS
  • Country:

Posted 27 November 2023 - 09:15 AM

Hi

Could anyone share an example of a route stored on GitHub??

Thanks!

#5 User is offline   Siebren 

  • Fireman
  • Group: Status: Active Member
  • Posts: 101
  • Joined: 16-November 22
  • Gender:Not Telling
  • Location:Ede, the Netherlands
  • Simulator:open rails
  • Country:

Posted 27 November 2023 - 11:40 AM

https://github.com/cpvirtual/OR_CPV

https://github.com/r...ewForestRouteV3

https://github.com/MECoast

https://github.com/c...an/Demo-Model-1

These are the ones I know. There might be more...

#6 User is offline   dforrest 

  • Foreman Of Engines
  • Group: Status: Contributing Member
  • Posts: 977
  • Joined: 12-January 12
  • Gender:Male
  • Location:St. Vincent (formally UK)
  • Simulator:MSTS, Open Rails
  • Country:

Posted 27 November 2023 - 11:55 AM

View PostSiebren, on 27 November 2023 - 11:40 AM, said:



.... and https://github.com/D...iltern-Route-v2

#7 User is offline   Siebren 

  • Fireman
  • Group: Status: Active Member
  • Posts: 101
  • Joined: 16-November 22
  • Gender:Not Telling
  • Location:Ede, the Netherlands
  • Simulator:open rails
  • Country:

Posted 30 January 2024 - 01:20 AM

Finished programming the download option. Main menu got a button "Content" which opens this form:

Attached Image: Download_Content.JPG

Nothing fancy (yet). Only GitHub and zip stored routes. Only complete routes (also called tiny?) with at least one consist. So that after downloading no manual actions are required to start.

Data is stored in GitHub: https://github.com/openrails/content. So that routes can be added easily.

Manual entry to be found at https://open-rails.r...rt.html#content.

After the download the button "Start" gets highlighted when start data is available. This will start Open Rails in "+ Explore in Activity Mode +" with a consistent set of data. Again to make it the beginner easy. Currently we only have start data for the "Demo Model 1" Edinburgh route. If other route builders could supply start data for their route?

Siebren.

#8 User is offline   Jack@Elvas 

  • Fireman
  • Group: Status: First Class
  • Posts: 116
  • Joined: 30-August 23
  • Gender:Male
  • Simulator:All
  • Country:

Posted 30 January 2024 - 10:18 AM

View PostSiebren, on 30 January 2024 - 01:20 AM, said:

Finished programming the download option. Main menu got a button "Content" which opens this form:

Attachment Download_Content.JPG

Nothing fancy (yet). Only GitHub and zip stored routes. Only complete routes (also called tiny?) with at least one consist. So that after downloading no manual actions are required to start.

Data is stored in GitHub: https://github.com/openrails/content. So that routes can be added easily.

Manual entry to be found at https://open-rails.r...rt.html#content.

After the download the button "Start" gets highlighted when start data is available. This will start Open Rails in "+ Explore in Activity Mode +" with a consistent set of data. Again to make it the beginner easy. Currently we only have start data for the "Demo Model 1" Edinburgh route. If other route builders could supply start data for their route?

Siebren.


Really nice work on that downloader!
I like that you have a picture and a description - I think this will be a huge help to new OpenRails users, and honestly I can't wait to try it for myself and download those routes.

Which leads to a nice side benefit - because of how easy this is, I bet those with routes published this way will see more people try out their routes!

Will this make it's way into the next official OpenRails release?

#9 User is offline   Siebren 

  • Fireman
  • Group: Status: Active Member
  • Posts: 101
  • Joined: 16-November 22
  • Gender:Not Telling
  • Location:Ede, the Netherlands
  • Simulator:open rails
  • Country:

Posted 30 January 2024 - 11:20 AM

View PostJack@Elvas, on 30 January 2024 - 10:18 AM, said:


Will this make it's way into the next official OpenRails release?


I guess this would be a good topic for 1.6. I already created some sort of "Open Rails getting started" (attached) based on this download topic. Still draft, still without formatting. And I do not yet know where to place this, website, manual, a pdf.

And this topic is already part of the unstable version, so testable.

Attached File(s)



#10 User is offline   Siebren 

  • Fireman
  • Group: Status: Active Member
  • Posts: 101
  • Joined: 16-November 22
  • Gender:Not Telling
  • Location:Ede, the Netherlands
  • Simulator:open rails
  • Country:

Posted 30 January 2024 - 11:25 AM

View PostWeter, on 30 January 2024 - 07:52 AM, said:

Not tiny, but mini (i.e. historically - the separate MSTS installation with just one route, it's related stock&activities; being so, mainly due to unique tsection.dat-file presence, incompatible with multiple routes MSTS installation, having GENERAL (global) tsection.dat-file, fitting to all typical-tracked routes)

What is "Start data"? Player-driven path and rolling stock included?


Ah mini, thanks for clarifying.

"Start" data means all the data: route, consist etc. necessary for starting OR. Just one set that is known to work. As a beginner you can just skip the main menu with all it's choices. Just press "Start" and off you go.

  • 2 Pages +
  • 1
  • 2
  • You cannot start a new topic
  • You cannot reply to this topic

1 User(s) are reading this topic
0 members, 1 guests, 0 anonymous users