Saturday, 28 April 2012

SpotLog published

My rail enthusiast application: SpotLog is now published on the Android marketplace.

SpotLog is designed for Rail fans to record trains seen.


In the basic version of the app (which is free) you can enter numbers, see a databook of classes and locomotives and see reports of trains seen.

There is also a premium (paid) version of the app which includes additional information, including:

  • Photographs and data sheets in databook
  • Supports alternative numbers (eg where stock renumbered)
  • Extra grouping option for multiple-counties.


See SpotLog for further details

Monday, 9 April 2012

More on SpotLog

I've used SpotLog a couple of times recently on trips away and it's working quite well.

Recent new features:

  • AutoBackup - backups the DB automatically when app is opened.
  • Enter post-timestamped data.  Previously records where always entered at the current time, you can now enter records after the event (eg I saw something while out and about and just scribbled down the number and want to enter it into spotlog later).  Actually, I used the voice memo option on my mobile phone.
  • Capture numbers from photographs.  Actually this is a PC app that allows me to scan though my digital photo albums and record the numbers (and location) of trains I've photographed - date and time are read from the photo EXIF data.  The records can then be imported into SpotLog.
  • Alternative numbers.  Eg if a loco had previous numbers show these as well.
  • Group databooks by country (I have records for UK, Switzerland and Germany at the moment)
I'm planning to publish SpotLog on the Android Market soon - probably in free and premium paid versions.  Some other new features I'd like to add:
  • Export/Import databooks
  • Report output
  • Include car numbers in unit formations.

London underground layout for Rails

You can download a layout file for Rails from http://www.rail3d.info/rails/lu.zip

Download the file and unpack the ZIP file to get the layout file.  Copy the file to your device and open the layout.

This is a partial layout of the London Underground network, at the moment it consists of the circle line and associated junctions.  I'm extending it and adding more lines over time and will upload new version from time to time. But you might enjoy playing with it and adding more lines yourself.

PS, when the layout opens it will probably appear blank because the app opens in the top left corner, and the layout is off-screen.  Use "Follow Train" to find a train.

Rails Version 1

Rails Version 1 is now available for download from the Android market.

This is a very early version of the application and many features are not yet implemented.

Please try it.  If you like it, please leave a comment.  If you don't like it, please leave a comment and let me know why, or what needs to be improved.

I intend to develop this app and add new features, this might include:

  • Different types of rail vehicle
  • Reverse train feature
  • Tunnels and flyovers
  • Overview map
and I'm considering a premium version (paid for) which might include:
  • Signal control mode
  • Isometric view
If you're interested, or have other suggestions, please let me know by leaving a comment.


Getting Started with Rails

Rails is a simple train set app for Android devices.  It's not meant to be a  fully featured railway simulator (for that try my PC sim www.rail3d.net ) but it will let you create tracks and run trains and it's meant to be fun.

Installing Rails

Download  Rails  from the Android Market (Google Play) and install it on your device.

This is the first app I've published on the Android market - so please let me know if there are any problems with the install process, and I'll try and fix them ASAP.


Creating a layout

When you first open Rails you will see a more or less blank screen with some buttons at the top (or side):

For starters, tap and hold on the map (the green area), then drag across the surface.  As you drag a construction line is shown:
Release the drag finger and track is constructed where you have dragged:
Continue by holding and dragging to create more tracks - where tracks join, junctions are created.

If you need to erase track, click the "Erase button" (the first button on the bar) and then double-tap track sections to remove them.

Note

  • A short tap and drag scrolls the map
  • To create track, tap and hold before dragging.

Saving and Loading layouts

  • Select "Save" from the application menu to save the layout.
  • Select "Load" to load a previously saved or downloaded layout
Files are in XML format and if you understand XML format you can edit the file in a text editor if required.

Trains

You can add trains to the layout by selecting the "Train" button on the toolbar then double-tapping on a track section.  If there is no train there, then a new train is created.  If there is an existing train where you click then an additional vehicle is added to the train.

Hint: it is easier to add vehicles to existing trains if you pause the simulation first - but note that the added vehicle won't appear until you unpause the simulation.


At the moment there is only one graphic type for trains - I plan to add more in due course.

Editing a train

Select the "Edit" button (the one with the tick) and then double-tap a train (hint, easier when paused) - the train edit dialog opens.

You can set a route label for the train.
The route name is shown on the map

More train options will be added in future developments


Following a train

Select "Follow Train" from the application menu - a list of trains will be displayed, click on the train you want to follow.

The display now scrolls to follow the train selected.

To turn off train following, select "Follow Train" from the menu again.

Routing

You can choose how trains behave at junctions with the routing options:


The first set of options set the default behaviour.  Click "Straight" to send trains on the straight route, click "Curve" to send trains on the curved route.
If "Either" is selected, trains will route either way.

If you only want to send some trains in one direction, use the default options to set the main direction for trains to take but add the route name of the train you want to go the other way to the "Straight", "Curve", or "Either" boxes.

In the above example, the default route is straight, but any trains with route "Branch" will take the curved route instead.

If you want to add multiple route names to the routing boxes use | to separate the route names, eg "Branch| Freight"

Advanced Routing

The routing options use RegEx to select the trains - if you understand RegEx you can write complex expressions.

Examples
  • "Branch"   selects routes "Branch"  (case insensitive)
  • "Branch|Freight" selects route "Branch" and "Freight"  (case sensitive)
  • "Branch." selects any route starting "Branch" + any one character, eg "Branch1" and "Branch2" but not  "BranchTrain"
  • "Branch.*" selects any route starting "Branch", eg "Branch",  "Branch1", "Branch2" ,"BranchTrain" etc

Signals

You can add signals to the layout by selecting the "Signals" button and the double-tapping a track section.
If the signal is facing the wrong way, double-tap it again to reverse the signal direction.

Trains stop at red signals and will not proceed until the signal is green.

Signals are normally red, but will clear for an approaching train if the line ahead is clear.

Occupationally, particularly when editing train routes or adding signals, signals can get stuck in the red state - if this happens and trains will not move, select "Reset Signals" from the application menu to clear the stuck signals.

You can use the erase button to remove signals.

Stops

To add a stop, click the "Edit" button (the one with the tick) and double-tap a track section.  Click "Stop" to create a stop.

At the moment, the other options on this form are not implemented and all trains stop at the stop section.

Platforms

Rails is published

My simple train set application "Rails" is about to be published on the Android market "Google Play" as a free app.