NIMBY Rails

NIMBY Rails

The NIMBY Rails Depot
Browse and subscribe to mods created by the community for NIMBY Rails.
Seraphin 1 25 Jun, 2021 @ 9:15am
Disable vanilla trains by mod?
Hi

Is there a way to disable vanilla trains by mod? As I'm playing mods with regional trains only, the vanilla ones don't fit to my play style, so they only get the list to be more crowded. Is there a way to hide them?
< >
Showing 1-11 of 11 comments
david_neibig 1 25 Jun, 2021 @ 9:28am 
Don't think it's currently possible (I may be wrong). Would be a nice feature though.
TKR 455 26 Jun, 2021 @ 8:43am 
I too want such a built in feature to disable vanilla trains. :)

I was able to do so by editing the game files. I do get a warning every time I launch the game stating that it couldn't load the vanilla trains, but just click ok and the game launches fine.

Then when starting a game, make sure to actually select mods you want to play with, or the game will crash when opening the trains shop. Also not sure if this will work for already existing games.

You can find the train file in a path similar to this: steam/steamapps/common/nimbyrails/resources/trains, just empty the mod.txt file.

Whenever W&W edits this file it will get installed again, so you'll have to delete again at that point.

And then feel free to request such a feature to be supported by the game. :D
Seraphin 1 26 Jun, 2021 @ 9:45am 
Originally posted by TKR:
You can find the train file in a path similar to this: steam/steamapps/common/nimbyrails/resources/trains, just empty the mod.txt file.

Thanks TKR, already found the directory myself but didn't change anything yet. Just clearing the mods.txt file without any critical errors looks like to be a easy mod. Thanks for sharing your experience.

edit: Just to empty mods.txt doesn't work for existing savegames. The vanilla trains keep listed, just their names geht replaced with their "placeholders" as the data is missing.

Does anyone know if the savegame files can be "easily" modified (they are binary and not text based) to try to remove vanilla trains there?

Btw. TKR, it's your mods which I'm using as I'm situated near D-A-CH-FL, thank you very much for these efforts too.
Last edited by Seraphin; 26 Jun, 2021 @ 9:55am
mathstrains19 26 Jun, 2021 @ 10:17pm 
Originally posted by Seraphin:
Does anyone know if the savegame files can be "easily" modified (they are binary and not text based) to try to remove vanilla trains there?
Ooh, that might work, will have a play with reading them in python today and feedback to you!
mathstrains19 27 Jun, 2021 @ 1:33am 
welp, it doesn't accept UTF-8 as an encoding, so I'm struggling to decode it :-)
TKR 455 27 Jun, 2021 @ 4:48am 
I found a solution to disable the vanilla trains in an existing save. :)

I'll release a mod for it.
mathstrains19 27 Jun, 2021 @ 6:17am 
@TKR it doesn't actually matter if you don't backup the default mod.txt because you can also always use steam to redownload the game files again! (may have to delete the empty mod.txt first for it to work, though i dont think so)
TKR 455 27 Jun, 2021 @ 6:19am 
Originally posted by mathstrains19:
@TKR it doesn't actually matter if you don't backup the default mod.txt because you can also always use steam to redownload the game files again! (may have to delete the empty mod.txt first for it to work, though i dont think so)

ah cool, didn't know :)
mathstrains19 27 Jun, 2021 @ 6:25am 
(the way to do that is to Verify Game Files, and of course having changed the contents of mod.txt it will see that is not correct and will fix it!)
Seraphin 1 27 Jun, 2021 @ 6:56am 
< >
Showing 1-11 of 11 comments
Per page: 1530 50