1. Rolling Line
  2. News

Rolling Line News

Patch v 5.2.10_5



Since the release of the new National Park map, I've made a few adjustments and new AI features which were substantial enough to be grouped into a patch (instead of waiting for the next full update).

[h2]AI features[/h2]
There is now a new AI trigger sign which can be used to enable and disable custom models (for mods which make use of the custom models feature).

Here is an example of a mod which uses these "Custom models" for freight loads:
https://steamcommunity.com/sharedfiles/filedetails/?id=2916250594

You can find these new AI signs in the "track addons -> AI triggers 2" drawer:



Here is an example of how this AI signs can be used to mimic freight loading (by enabling a custom model when passing a certain point of track)



Some AI signs (lights and custom model triggers) now also work for wagons as well as locomotives.

[h2]AI enable lights by control type[/h2]

The AI signs for enabling/disabling lights can now be set to control only a specific layer of light control (e.g. headlights, cab lights, custom mod lights, etc).

There are also now 9 full slots for custom light control layers.



[h2]Linked save files for packaged mods[/h2]

I've finally added a much requested feature where save files can "link" to another save file to copy its packaged mods.
What this means is that if you make a local copy of a workshop save, or official map (like National Park) which uses packaged mods, your own copy will still load those same packaged mods.

This does NOT make a copy of the files, and the link will only be maintained if you have the original map.
e.g. you could download the Beer Line, make a new save game of it, then that new copy will still contain all the same mods as the workshop original.
BUT if you unsubscribe from the original, then those mod files will be removed and your local copy can no longer access them.
Also if you tried to upload your copy to the workshop, other people would also need to be subscribed to the original Beer Line to access the mods.
(the mod files are not copied in to your own copy of the save, it just "links" back to the original maps folder).

Think of it like a save file has a "link" to the previous save file it came from.

For example, a saved copy of the beer line will first go "check the folder of the original Beer Line for any packaged mods first before loading this map".

[h2]More modding audio presets[/h2]

The car engine audio presets & horns (like buses, trucks, etc) are now included as mod audio options.
The ghost engine and horns/whistles are also included.

[h2]Car audio setting[/h2]

There is also now a dedicated audio setting for vehicles.
You can change this in the audio menu. By default, it is a little bit quieter than trains.

[h2]Other fixes[/h2]

  • Fixed the spelling of "Makatote Viaduct" on the National Park map.
  • Photo mode can no longer be opened during loading screens.
  • Removed some shapes from the building drawers that were left there by accident.
  • Fixed bugs with couplers.
  • Made adjustments to one of the Easter Eggs on the National Park map so that all trains are de-spawned off the map before loading any new ones (to avoid collisions).

National Park! v5.2



Rolling Line's latest official map is here!
It is set in Tongariro National Park in New Zealand, part of the North Island Main Trunk Line. This map includes locations like the volcanoes of Mt Ruapehu, Ngauruhoe and Tongariro, the Chateau Tongariro hotel, the "Volcanic highway", the town of National Park, the Makatote Viaduct and even the famous Raurimu Spiral!

This is a fully modern map that makes use of all the game's latest features, which means full dynamic roads, cars, skyboxes, images, electrical wires, etc.
The map also features full support for AI train driving!

It's been well over a year since I've been able to make a proper official map (since the "Slice of Wellington" one was just a chunk of city scenery, no track or nature) so this has been a ton of fun to make, and I'm really happy with how its turned out.

You can access this map from the main menu:
Select "New Game -> Main Maps -> National Park"



This map is also now the largest official map by a big margin! (even bigger than the "Top of the South"). Here is the full official map poster:



[h2]Drivable vehicles[/h2]

Since this map makes use of the new fully dynamic roads and vehicles, you can view the map from the perspective of a car as well as a train. This is the first map I've worked on that actually has the driver's perspective incorporated, and you can complete a full loop of the maps' scenery entirely from within a car:



[h2]AI trains[/h2]

This is also the first official map I've built with AI driving in mind!
All the sidings feature full AI-friendly signalling and trains can pass each other. Trains even stop and wait at National Park station!
When you first load up the map there will already be a couple of random AI-driven trains already moving.



[h2]Screenshots[/h2]

Here are some HD screenshots of the map, feel free to use these as you wish!
You can view the full album here: https://imgur.com/gallery/npnic1i




[h2]Easter Eggs[/h2]

Just like all the other official maps, National Park also contains a bunch of secrets and Easter Eggs! I won't give you any clues here... but there's definitely a bunch of cool things to find!



Other features in this update


I've been working on this map for almost two months, so this update also contains all the various features, fixes and additions I've made in that time. And there's quite a lot!

[h2]Smooth train rotation [/h2]

Firstly, I've added a feature to fix something that has bugged me for a long time. Trains have a bit of a "jittery" look when going around curves, and this features smooths out the movement of trains when you are driving in the cab, which results in beautifully smooth curves:



[h2]Automatic height adjustment when teleporting [/h2]

When in large scale you now match the height of anything you teleport on to if it is higher than your vision, so you no longer end up inside the terrain:



[h2]New road decal props[/h2]

You can find these in the "Terrain -> decals" drawer:



There are also flipped versions of these rust decal props:



[h2]New shapes props[/h2]

These were used to make the roof design of the Chateau Tongariro Hotel, you can find them in the "Shapes -> Shapes 2" drawer:



[h2]Airplane options for maps[/h2]

You can now adjust the flying height (and whether they are visible at all) for planes on a map-by-map basis. These values are set for the map you are currently editing.

These buttons are on the wall next to the other room options (like wall style and colors):



[h2]Road embankments[/h2]

There is now a new road style option for embankments. This will add extra terrain to the sides of roads to help blend the road with the the ground:



[h2]Optimizations[/h2]

Thanks to the previous update which involved a huge re-haul to the train system (cleaning up code behind the scenes) I've been able to make some optimizations to how trains are handled.

  • Trains now have a "Sleep mode" when they are not moving. They will save some performance while in this state, and they are "woken up" when interacted with or affected by any other moving trains.
  • Collision detection for trains has been optimized a lot. For example, wagons which are already connected as part of a train do not need to check for impact collisions, since it is only possible for the front of another moving train to impact with them.
  • Lots of LOD adjustments and changes to the way trains are handled in the distance.


[h2]New asynchronous loading stages[/h2]

The game now loads maps with a few new asynchronous loading steps. What this means is that the loading screen will stay responsive and show a progress number instead of just freezing during the loading stage.

Track is now loaded asynchronously, as well as preloading props. You can now see a display of the total number of props and track during these loading stages:



[h2]Trains loaded into drawers asynchronously[/h2]

Drawers now load trains in one-by-one, instead of freezing the game to load them all on the same frame.

[h2]AI features[/h2]
There is now a new AI trigger sign which can be used to enable and disable custom models (for mods which make use of the custom models feature).

Here is an example of a mod which uses these "Custom models" for freight loads:
https://steamcommunity.com/sharedfiles/filedetails/?id=2916250594

You can find these new AI signs in the "track addons -> AI triggers 2" drawer:



Here is an example of how this AI signs can be used to mimic freight loading (by enabling a custom model when passing a certain point of track)



Some AI signs (lights and custom model triggers) now also work for wagons as well as locomotives.

[h2]AI enable lights by control type[/h2]

The AI signs for enabling/disabling lights can now be set to control only a specific layer of light control (e.g. headlights, cab lights, custom mod lights, etc).

There are also now 9 full slots for custom light control layers.



[h2]Linked save files for packaged mods[/h2]

I've finally added a much requested feature where save files can "link" to another save file to copy its packaged mods.
What this means is that if you make a local copy of a workshop save, or official map (like National Park) which uses packaged mods, your own copy will still load those same packaged mods.

This does NOT make a copy of the files, and the link will only be maintained if you have the original map.
e.g. you could download the Beer Line, make a new save game of it, then that new copy will still contain all the same mods as the workshop original.
BUT if you unsubscribe from the original, then those mod files will be removed and your local copy can no longer access them.
Also if you tried to upload your copy to the workshop, other people would also need to be subscribed to the original Beer Line to access the mods.
(the mod files are not copied in to your own copy of the save, it just "links" back to the original maps folder).

Think of it like a save file has a "link" to the previous save file it came from.

For example, a saved copy of the beer line will first go "check the folder of the original Beer Line for any packaged mods first before loading this map".

[h2]Other fixes and features[/h2]

  • The car engine audio presets & horns (like buses, trucks, etc) are now included as mod audio options. The ghost engine and horns/whistles are also included.
  • There is also now a dedicated audio setting for vehicles. You can change this in the audio menu. By default, it is a little bit quieter than trains.
  • Fixed bug where signals would show orange instead of red if a train was passing through its orange range while there was still a train inside its red range.
  • Audio sources now copy their data when cloned (e.g. the same audio clip remains selected).
  • If a car/train is being AI driven and you click the in-cab speed buttons it will automatically switch from AI control to manual control.
  • Cars and trains now show "AI" on the in-cab driving speed display if they are currently AI driven (instead of the default "---" text).
  • There is now a popup warning message when first opening the skybox editing menu. This is to help prevent people from accidentally messing with the skybox layers when they dont intend to (which happens surprisingly often).
  • There is now a button in the "Room -> advanced" drawer which you can use to move all props back to the main layer. This is useful for if you have accidentally been using a different skybox layer and you need to fix it.
  • Wagon LOD (low detail models) are now automatically updated when the player teleports, which removes pop-in when returning from the menu.
  • Photo mode is now blocked when capturing a thumbnail.
  • When opening photo mode the time of day and season are automatically set to the current maps values.
  • The scroll wheel is now locked when you press Insert to free the cursor from the game window.
  • You can also now free the cursor inside photo mode as well.
  • Added feature to help prevent lag spikes messing with your movement. Input made on lag spiked frames is now ignored, like moving the mouse in photo mode and moving around the map.
  • Adjusted how some props are treated in terms of what is visible in low-detail scenery.
  • Photo mode can no longer be opened during loading screens.
  • Fixed bug where teleporting to the menu was still possible during some parts of the loading screen.
  • Fixed bug where the bridge style would still be added to track generated in the dynamic track generator if the type was switched away from turntable when multiple tracks were also selected.
  • Fixed bug in the road generator where the dash-line style was applied to both sides of the road, causing it to overlap in the middle.
  • Fixed bug where collision on wagons was not flipped when the wagon was reversed.
  • Fixed bug in the modding system where the bell preset override texture did not work.
  • Fixed bug in the modding system where custom bell audio would not load correctly.
  • Fixed bug in the modding system where the low-detail LOD version of the train would be shown after exiting the LOD model editing menu.
  • Fixed the bell model for the AC4400CW, it was not visible since the last update.
  • Fixed the AC4400CW livery template to include a reference to the bell texture.
  • Fixed UV's on the low-detail LOD model for the custom livery baggage coach.
  • Fixed missing pantograph spawn point for the NR.


And that's everything!
I hope you enjoy the new map, I absolutely loved making it. New Zealand is hardly ever featured in video games, so Rolling Line is picking up the slack.

As the previous news post mentioned, Rolling Line has just turned 5 years old, so what better way to celebrate than to go back to the games roots, back in beautiful old NZ.

Have fun!

Rolling Line's 5th birthday!



April 28th is Rolling Line's birthday, and this one happens to be 5 years since its release!
I usually don't post anything for these, but 5 years is pretty special, and also I have a big new official map to announce.

To start things off, you probably want to know what I've been working on for the last month!
I've been making a new free official map for the game (which is almost ready for release!) based on Tongariro National Park in New Zealand. This map includes locations like the volcanoes of Mt Ruapehu, Ngauruhoe and Tongariro, the Chateau Tongariro hotel, the "Volcanic highway", the town of National Park, the Makatote Viaduct and even the famous Raurimu Spiral!

This is a fully modern map that makes use of all the game's latest features, which means full dynamic roads, skyboxes, particles, etc.
It's been well over a year since I've been able to make a proper official map (since the "Slice of Wellington" one was just a chunk of city scenery, no track or nature) so this has been a ton of fun to make, and I'm really happy with how its turned out.

And this map is also now the largest official map by a big margin! (much bigger than the "Top of the South").



This map still needs a couple more weeks worth of work to make it fully ready for release, for things like all the little fine details (and Easter Eggs of course!).
For Rolling Line's next update I will be releasing this map, completely for free, as a new addition to the game's official maps.

So keep an eye out for that in the coming weeks!


But in the meantime, here are some of the highlights:

[h2]Makatote Viaduct [/h2]
Historic viaduct on the North Island Main Trunk Line.




[h2]Raurimu Spiral[/h2]
A famous feat of engineering here in NZ, where tracks loop over themselves to climb up on to the Central Plateau.



[h2]Tongariro Crossing & Mt Ngauruhoe[/h2]
NZ's volcanic epicentre. Multiple volcanoes cones, craters and lakes.



[h2]Mt Ruapehu[/h2]
An active volcano, and the tallest peak in New Zealand's North Island.



[h2]National Park township[/h2]
The tourist town (and railway station) right on the doorstep of Tongariro National Park.



[h2]Chateau Tongariro hotel[/h2]
A very famous building here in NZ, the historic Chateau Tongariro, build on the lower slopes of Ruapehu.



[h2]Volcanic Highway[/h2]
State highway 47, known as the "Volcanic Loop Highway" which runs straight though the park, and yes you can of course run cars on this using the new roads system for a scenic drive!



[h2]5 years of Rolling Line [/h2]

For those who don't know, I'm actually just one solo developer. I handle the programming, art, online support, etc, and have been doing this as a full-time job for the whole last 5 years. So I have quite a personal connection to this game, as it is entirely intertwined with my own life.
Especially when it comes to programming, this game's code-base feels like a bizarre beast of my own design, and has over half a million lines of code.
The game also contains a bunch of models (props and trains) & even some map work done by members of the community in recent years, and the Steam Workshop comprises a massive portion of the game's value. There's no way this game would have grown to the size it is without user-made content!

5 years is a long time, yet it went by surprisingly fast... the game has changed SO MUCH since its release.
On day one it was hardly even a level editor, all you could do was place down some basic track on small flat tables and place a few props (you couldn't even change the color of trees!).
The game had one single map (the "Top of the South", which was then just called the "Main Layout") and that map was entirely hard-coded, meaning that it was made from pre-built 3D models, and it was entirely impossible to make something like that using the in-game tools.

Then in July 2021 the game reached a massive milestone where the old Top of the South could finally be fully converted to an editable map made using in-game tools (excluding roads, which only made it into the game in October 2022!).
This moment is so impactful since it finally meant that the game had fully lived up to its original vision, where players could make maps with the same level of quality and complexity as what I envisioned back when i built the Top of the South.

And to tie it all up, this new map "National Park" marks a point where a map can fully surpass the complexity & scale of the Top of the South using entirely in-game tools.
Though one last loose end would be terrain.. which I still make in external 3D software (though players can do this too with prop mods or QuickTerrain modding). That's still a job to tackle in the future.

For those curious, over the last 5 years there have been 156 total updates, and here is the FULL list of those updates:



And some graphs that may interest people, here is the number of likes & comments each update news announcement post has gotten, along with trend lines.
The second graph shows the average and peak number of concurrent players.



Some things to learn from this:
  • Rolling Line has its best player stats and engagement of its lifetime right now, though it has remained very stable for the last couple of years.
  • The game grew most during the Covid pandemic, which was a trend for a lot of games at the time. More people indoors = more people playing video games, so no surprises there. This was also the time when I released the Paranapiacaba update, which involved a ton of minor updates (almost weekly!) in the build-up, which was great for getting people excited.
  • Larger updates with longer development times generally get much better responses. The time between updates has increased a lot over the years, as updates have gotten bigger and much more complex (e.g. back in 2018 I could release something as simple as gradient track for a single update, meanwhile now im working on much bigger things like large programming overhauls).
  • The largest spike in players the game ever got was on a weekend where the Roblox servers temporarily shut down... which is pretty hilarious and confirms the player overlap between these games.

And as a bonus, here are the top 5 most liked updates in the game's history:
  • #1 - Train AI
  • #2 - City buildings
  • #3 - Startup optimization
  • #4 - Roads
  • #5 - Turntables

All of which were released in the last 2 years!

Anyway, that's enough stats. You can probably tell I quite enjoy making spreadsheets and tracking this kind of information. It really puts things into perspective, and over a large timeframe like 5 years it can be pretty useful.

This game is so closely intertwined with my life, and it goes without saying that I have zero intentions of stopping development any time soon. There's still an insane amount of features and content that I hope to create for the game, and that could easily fill another 5 years.
Maybe in 5 years time I'll actually be able to add multiplayer... just kidding. Or am I?

[h2]2023... [/h2]

The year of 2023 has had a bit of a slow start, since I've been mostly focused on programming optimization and restructuring old code for the game, which doesn't really result in very flashy and exciting updates.
But working on these things is incredibly important for the longevity of the game. This is a game I want to withstand the test of time, and the last thing I want is for it to be a messy tangle of bad code. So piece by piece I'm cleaning things up, designing things better, and strengthening the foundations of the game.

But that can all get pretty exhausting, so hence why I decided to make a map for a change of scenery!
(plus the fact that I just visited Tongariro National Park in real life of course)



This map will be released within the coming few weeks!

Other than that, I would just like to say thank you to everyone who has stuck with this game to see it grow, from those who remember all the way back to release day, or those who just bought it this year. Thank you to everyone who makes maps, mods, screenshots, videos, and shares them with everyone. Community is what makes this game feel so alive, because that's far too much for just one developer to manage. Rolling Line's Steam Workshop is incredible, and the sheer number of maps and mods is mind-blowing, even just the very best top-quality maps number in the 1000s.

Thank you everyone, and here's to another 5 years!

Train optimizations! v5.1



The optimization continues, this time with a focus on trains!

The previous update was all about optimizing mods and mod asset loading, and this one continues where that left off and includes a ton of background system improvements and changes to how the game handles trains.
Previously all the official trains in the game were actually stored as pre-made objects (and they have been like that since day 1) but now that the game has a full modding system and the ability to generate trains on the fly using raw data, it's finally time to convert all the old built-in trains from the old "object" system to the new dynamic "data" system.

This was a massive job, and essentially involved re-making all the official trains using the new modding system, but the trade-off is that now every single train in the game (whether its a mod, a livery, an old legacy QuickMod, or an official model) all share the exact same data structure.
This means making changes to how trains work, and adding new features, has just become infinitely easier and more efficient!
It also means that trains can finally receive some much-needed optimization.

[h2]Low-detail models for trains[/h2]
You might have noticed in the past that Rolling Line already has some LOD (level of detail) effects for the trains, in the form of low-detail wheel models which show up at a distance. Well this update takes that a step further and fully re-works the LOD system for trains so that they now have full low-detail models and other optimizations in the distance.

Personally I really love the style of these low-detail models, so I've actually included a setting (in "pause menu -> graphics -> super low detail trains") which you can use to force the game to use the models at all times, not just in the distance.



Even custom livery versions of the trains have low-detail models now too!



Some of the official trains don't have finished low-detail models yet, though I will be including these in the next update. The trains that still dont have models are:
- most freight and passenger wagons
- most liveries

[h2]Low detail models for mods[/h2]
You can also now include your own low-detail models to optimize your mods!
If you are a mod maker I highly, highly recommend doing this since adding these low-detail models will make your mod run with significantly better performance on peoples maps.

There are two different models you can include:
  • Body mesh - This model will replace the body of the train mod when the train is at a distance
  • Wheel mesh - This model will replace all of the couplers and wheel blocks at a closer distance than the body


You can also adjust how far away the train needs to be for the low-detail wheel model to be used, since some trains with more complex wheel arrangements (like steam engines) should use the low-detail wheel model at a larger distance since the switch between models is more visible.

You can find these new mod options in the "general options -> low detail models" menu:



While you have this menu open if you refresh the mod preview it will automatically show the model in its low-detail form:



You can find an example mod here on the Steam Workshop which makes use of the new low-detail model features:

https://steamcommunity.com/sharedfiles/filedetails/?id=2946255743

[h2]Addons (plows and pantographs) system re-work[/h2]
One of the main reasons why I needed to convert all the old trains to the new data ssystem was so that I could finally re-work the addon system. This system has been poorly optimzied and a pain to deal with for a long time, but now it's vastly improved and is way more flexible for future updates.
Addons are loaded in a much more efficient way, and the game can now support the addition of new types of addons in the future (like hopefully custom plows/pantographs in modding one day!).

One nice little side-effect of this new system is that the spinning rotary plow can now be added on to any train, and is included as a new plow option:





[h2]Texture resizing for mods[/h2]
During testing, by far the most major performance hit for the game is trying to use mods with excessively large textures. Some modders have chosen to scale up their textures to way beyond the expected range, and this causes an exponential amount of RAM usage and load time.

For example, a typical 2k texture (2048 x 2048) which is all a train model should really need, uses up about 30 MB worth of RAM when loaded into memory.

But compare that to a 6k texture (6000 x 6000) which some modders have been using, uses up a whopping 274 MB of RAM when loaded into memory!

As you can guess, it only takes a few of these large textures to soak up multiple gigabytes of RAM and eventually crash your game.
I don't want to put hard limits on what kind of assets modders can use, but I can at least make it so that the game automatically resizes these textures if they go over the 2k standard.
You can choose to turn this setting off if you want, but by default any textures that are over 2048 x 2048 will be re-sized when the mod is loaded (this only applies to mods downloaded off the workshop, it will not affect any textures you have created yourself!).

You can find this setting in the new menu "Pause menu -> Loading -> compress large mod textures"



When a texture is automatically converted, the file will be overwritten so that the conversion process doesn't need to happen every time.
A copy of the original file will be made just in case called "(Original) ... filename"

[h2]Texture resizing for thumbnails[/h2]
A similar thing has been going with some modders manually increasing the resolution of their thumbnails by replacing the in-game captured thumbnails with their own 1080p ones.

For comparison, the normal resolution for thumbnails uses up only about 1.2 MB of RAM, meanwhile a resized 1080p thumbnail uses up about 15 MB of RAM.

These resized thumbnails were actually responsible for a lot of crashes when people were scrolling through their mod lists, since the large thumbnails were soaking up so much RAM it was crashing the game!

So the game now automatically resizes any thumbnails that go beyond the default size.
Since thumbnails are only shown on a tiny icon, the change is resolution is not noticeable at all, but saves a massive amount of RAM usage.

There is also now a much smarter system for unloading thumbnails from memory when they are no longer needed.

Thumbnails also now load asynchronously!
So instead of freezing the game until the whole drawer of thumbnails is loaded, they will load in one-by-one:



[h2]Mesh optimization for mods[/h2]
Another common performance issue for mods is when the supplied model is split into lots of sub-meshes which results in way more objects being loaded into the game than needed.

For example, some rare mods would load in 50+ individual models for each "piece" of the train. This is simply due to the formatting used when exporting the model (using lots of individual objects instead of one single mesh).

The game now automatically combines any meshes loaded for mods into a single mesh, which avoids this issue entirely.

Though on a similar note, many people are noticing an annoying bug where textures on modded meshes are not appearing correctly like this:



This is caused by a frustrating issue inside the model importer that the game uses for mods, it occurs when a model has all of its UV data identical (all UV map points are applied to the exact same point on the texture). When a mesh has identical UV data like this, the model importer wrongly treats it as having no UV data at all, which is what causes the glitch.

The way to solve this (as a modder) is to shift at least one part of the UV map slightly, just enough that everything isn't all mapped to the same identical point. This will solve the issue:



In the future though I hope to upgrade this model importer, which will potentially fix the issue, but for now sadly the only solution is to modify the UV map to avoid this situation.

[h2]Other fixes[/h2]
These optimization updates always end up resulting in a massive list of changes, since it's a good opportunity to fix bugs and make changes which are on the to-do list.
So this update also includes:
  • Files in the custom images folder are no longer case-sensitive (e.g. .png and .PNG are treated as the same and will both load correctly).
  • Fixed bug where the " character could be added into livery names using the copy-paste feature, which would cause issues with save data further down the line.
  • Fixed issues with creating legacy liveries out of QuickMods.
  • Fixed issue where some props were not being batched when they should have (which included lots of the new roadside props). Performance should improve for maps that used a lot of these props, like the "Slice of Wellington" map.
  • There is now an in-game warning if the player moves too far from the 3D world center of the map, since this will eventually cause graphical and visual glitches. These visual glitches are unavoidable for 3D games and it is a common issue, since floating point numbers eventually start to break at very large distances.
  • A similar warning is shown when the room bounds are extended too far. The room bounds now have a cap on how far the objects will scale, but you can increase the number higher anyway if you really want to, you just wont have any walls/floor beyond a certain distance.
  • Fixed strange shading on the V8 locomotive model.
  • Removed the "texture quality" setting from the game, since it didn't really have any effect, and also caused a lot of visual issues when used.
  • Fixed various minor issues with the golden trains.
  • Removed the "legacy paints" and "weka pass misc buildings" drawers from the "misc" category, since they dont have any purpose any more (the weka pass buildings are all re-located to the normal building drawers).
  • Fixed the keyboard headlight bindings for some trains (like the big boy and easter egg circuit loco) as they were not working correctly before.
  • Fixed missing mesh data for one of the lamp post props.
  • There is a strange lighting effect which happens if the sun is directly overhead (mid day sun and mid season) so the game now automatically bumps the season a small difference if the sun is directly overhead to avoid this issue.
  • Track scaling with the transform edit tool is now turned off by default, it can be turned on in the "Pause menu -> custom track" menu. This has been disabled since track scaling is only for visual purposes and is not officially supported. Snapping and train size will not change when you scale track.
  • The train mods drawer now refreshes its view correctly when viewing a group if you click the "refresh mods" button.
  • Fixed the "loading liveries" map loading step, it was not working as intended before. It now correctly preloads livery textures for any liveries used in the save file.
  • There are now addition error checking steps when saving a map, to help avoid saves failing for unexpected reasons. There is also an in-game popup which will tell you the save has failed, and an error message.
  • There is now an in-game warning if a file is read-only when trying to overwrite it (e.g. a save file or modding asset). You will see a message pop up and then a few seconds later the folder containing the read-only file will automatically open.


And that's everything for this update!
While these optimization updates aren't as exciting or interesting as a new feature update or new content, they are really important for the long-term stability of the game, and definitiely improve the quality of life for everyone playing.

I am always thinking about the future of this game, and features like dynamic freight loads, custom road numbers, more advanced train options, custom addons, more optimization, etc, all relied on this train system upgrade, so this new system really opened up the doors for lots of exciting things to come!

Mod loading optimizations! v5.0



This update begins "the great Rolling Line optimization" process I've been working towards for a long time! Over the course of the next few updates, I'm putting a ton of time towards improving the loading process for the game and heavily optimizing how the game loads assets and maps.

The first of these updates is focused on mods! (as well as a ton of other optimizations).
And the next update will be focused on specifically the scenery & track part of map loading.

This update completely changes how the game loads modded assets (textures, models, etc) and how it handles these files when loading maps. You'll now see much faster loading times when maps contain a lot of mods, as well as significant RAM usage reduction. The process of detecting mods on start-up and setting them up has also been sped up significantly.

The main benefit of this system is that loading mods is now entirely "synchronous" which means that it loads smoothly and doesn't freeze your computer while loading!
You can also see a real-time display of what is being loading (as shown above).

Another big part of this update is that it finally includes newly updated versions of all the software I use to make Rolling Line, which means the latest version of Unity (game engine), SteamVR (virtual reality framework) and more.
Up until now I have been essentially held hostage by very old versions of software since upgrading was causing so many problems, but i've finally dealt with those problems and this update brings the game forward on to fully up-to-date software.

There are lots of quirks of the new version changes, which will be explained more in detail later in this news post (mainly relating to VR).

[h2]Faster load times[/h2]

The mod loading process had lots of room for imrovement, so this update makes lots of changes to speed this up and do things much more efficently.

When you start up the game the first optimizations you'll notice is the "finding mods" stage, which has been sped up significantly and also displays how many mods have been found so far. The next stage is "setting up mods" which is performing some basic setup for mods (like figuring out what kind of mod it is, and how it should be categorised for loading later on).

The "Loading downloaded saves" step has also been sped up tons, since the game now only partially loads the save data for maps, and leaves the heavy-lifting for later on when the save is directly loaded.

When loading a save file, the whole process of finding packaged mods, preloading the mods in the save file (both trains and props) is all now displayed in realtime, so you can see which mods are taking longer to load compared to others. You can also see how many mods total are being loaded.

[h2]Memory management [/h2]

This update makes major changes to how modded assets (e.g. textures and models) are loaded into the game how they are managed in memory. You'll notice a big drop in RAM usage when loading maps with lots of mods!
I've been using maps like the "Beer Line" and "Blue Island" as benchmarks, since they both contain over 100 packaged train mods, and tons of prop mods. Maps like these now load much faster and consume way less RAM than before.

The memory management system also handles asset un-loading much better than before, so when you leave a map any mods that were loaded exclusively for that map will be properly un-loaded. This means that even if a map increases your RAM usage a lot, leaving that map should return things back to normal.

You can now even see in-game RAM statistic when loading maps. This shows how much RAM your system has left, and the overall percentage of usage.
Please remember that pushing your game too far into high RAM usage will result in pretty awful crashes, so you can use this as a metric for whether your are going too overboard with mods!



Old legacy QuickMods also now use the new asset management system and model importer.
This likley won't have any effect on how models are displayed, aside from some minor quirks that are caused by differences between the old and new model importers. The new model importer is MUCH faster though, so the change is definitely worth it!

Another useful feature of how assets are managed and loaded now is that when you are editing a mod inside the modding manager, pressing "refresh assts folder" (which will re-load any assets the mod is using) will also update all other copies of the mod on the map, so you will no longer end up with a confusing mix of old & new copies of the mod. All mods on the map will keep their assets in-sync.

[h2]Other minor RAM usage improvements[/h2]

In addition to the whole new mod asset loading system, the game also manages memory for a few other built-in assets a bit differently.
Mainly the photos on the walls used in official maps (only the older ones, like Paranapiacaba and Weka Pass) which use to be pre-packaged into the game, are now instead stored as image files and are loaded manually when needed.
You can find these files in the "Core" folder, which also contains tons of other files which the game loads while running, instead of being built-in:



And yes you can edit these files if you want, for some pretty interesting results (like changing the main-menu save file!) But If you do choose to edit these files then don't be surprised if you manage to break things, so make sure to keep a backup of any files you choose to change.

This update also adds a warning which will show up if for whatever reason the "Core" folder can't be found. If you see this error then make sure your game is fully downloaded. You may need to "verify files" inside steam.

[h2]New post-processing options[/h2]

Part of the software upgrade meant changes to how the post-processing system works. If you are playing on PC then everything is still the same (with the addition of some new options!) but in VR unfortunately the old post-processing features are no longer supported.

I've ended up finding a different post-processing tool that does still work in VR, but it is unfortunately not quite as advanced as what the game was using before.
For VR users, the current post-processing is limited to:
  • Color correction (contrast, exposure and vibrancy)
  • Sharpness
  • Vignette effect


Both the sharpness and vignette effects are available on PC too and can be used in addition to all the previous post-processing options:



[h2]Control trains without the controller[/h2]

After the last update added custom load-switching for mods by pressing the 1,2,3,4... etc keys when controlling trains, it became pretty obvious that needing to select each wagon one-by-one with the hand-held controller was a real pain, so now you can simply hover over a wagon/train and control it with the same keys!
Basically any controls that would normally require the controller, can now be performed by just pointing at the train you want to control.

e.g. to turn on a train's lights, simply point at it and press "L"
or to sound the horn, point at the train and press "capslock"



[h2]Copy colours directly from posters[/h2]

A neat new bonus feature that comes with this update is that you can now copy colours directly from posters! Simply point anywhere on a poster and press the "color clone" button (Enter) and the color that is directly under your cursor will be copied.



This is amazingly useful for getting colours for your maps from a photo reference!



[h2]VR changes[/h2]

One annoying side effect of upgrading the Unity Engine and SteamVR framework is that the system I was using to make the game launch in VR or PC mode no longer works!
So I've had to find a new way to toggle between VR and PC.

If you have a VR headset connected to your PC then you will notice that SteamVR auto-launches regardless of whether you launch the PC or VR version of the game (even though the game correctly ignores or uses the headset based on your chosen play mode).

Please note, if you don't have SteamVR installed, or a VR headset connected, then this won't affect you at all!

If you want to play on PC without SteamVR launching, then simply run the new launch option called "Disable SteamVR auto launch".
This will make some adjustments to make sure that SteamVR will no longer launch, no matter how you run the game.



If you want to play in VR again, simply run the other launch option for "Re-enable SteamVR auto launch".
After choosing either the enable/disable launch option, you can exit out of the window that appears and run the game as normal.



[h2]Other changes[/h2]

In addition to everything mentioned above, this update also rounds-up a ton of minor bugs and issues that I've had on my to-do list for a long time, and these are:
  • All cars are now set up to support snow plows:


  • The "Golden trains" that spawn from Christmas presents and Halloween pumpkins now include the full list of every train in the game, including cars! So you can now get golden versions of pretty much everything:


  • A new thinner triangle "road fill" prop added, to fill in gaps between road sections:


  • Wagons that would still make a horn sound when you press the "horn" keyboard shortcut will now no longer sound a horn.
  • Files in the "custom assets" folder no longer have case-sensitive file types, which means a file called "image.PNG" and "image.png" will both work fine without issues.
  • Fixed slightly different colours on one of the example road style groups.
  • Removed one of the two rectangle table props, since it was causing so much confusion and didn't really have any good use (each rectangle table was for a different size of snapping layer, but only one was really needed).
  • Fixed bug where the skybox would not update properly until the player moved after loading a map.
  • The color of the default pantograph painters is now grey (instead of red).
  • Moved the "pause menu action" setting out of the middle of the menu, since it was common for people to click it by accident when moving through the menus.
  • The custom camera is now blocked on the main menu.
  • Pressing "Insert" to toggle whether the cursor is locked to the game window will now also prevent camera movement. Press Insert again to re-lock the cursor and control the game again.
  • Auto-holster controllers is now off by default for VR (this setting makes dropped controllers automatically snap back to their holder when dropped, which in VR is a pain since you often want to rest controllers on the table while doing other things).
  • Fixed bug where the mod spawning drawer would have a unique category select option for liveries, which are supposed to be combined into the standard "train mods" category.
  • Fixed bug where the sun would update in a snappy way when moving around the map (especially noticeable when entering tunnels, the sun would go dark too fast).
  • Fixed the default VR controller bindings for the Oculus controllers to include the "use alternative control scheme" action when holding the trigger. This means that if you have directional movement enabled, the teleporting controls will only be usable when you hold down the trigger, to avoid overlapping controls.


And that's everything!
This update ended up being a massive undertaking, and huge parts of the games code have been cleaned up and improved. Spending time on things like this is really important, since games always get more bloated and slow over time, so eventually you've got to truly dedicate some time to cleaning things up and optimization.

While this update mainly focused on the mod loading process, the next one will be dedicated to the map loading part! which means faster scenery and track loading, and hopefully even smoother gameplay with less stuttering when loading new scenery. It's going to be great!