Hi, I'd like to include Armstrong Powerhouse weather (sun, sky etc.) on a route using RailSimulatorCore (Kuju) TimeofDay files. Here's the problem: Normally you can use AP weather by just copy-pasting the TimeofDay .bin files from the original AP file, overwriting them andchanging their names accordingly if needed and it usually works. However, when I do this in the RailSimulatorCore .bin files, the default Kuju weather remains unchanged due to a file called Default (.bin). If I delete this and only keep the modified ToD files, I have a Missing Texture square in the sky once I view the routes using RailSimulatorCore weather and sky. If I don't delete the Default (.bin) file, I have the default Kuju weather despite the modified ToD files using AP weather. Is there a way to have AP weather or is the Default (.bin) file always going to cause issues?
Don't change the files in \Assets\Kuju\RailSimulatorCore Change them in F:\Railworks\Assets\Kuju\RailSimulator and \Assets\Kuju\RailSimulatorUS
I've also changed them in F:\Railworks\Assets\Kuju\RailSimulator and \Assets\Kuju\RailSimulatorUS a while ago, it's still not giving me AP weather on those routes where RailSimulatorCore is used as a TimeofDay.
Default is a slightly tweaked copy of Spring: so just copy Spring again and rename as Default. If desired you could then fine tune the timings in that new Default file.
Ok thank you, I did copy Spring again and renamed it to Default but I have no idea how to edit the file or what to write to have the correct times as per the original file.
Get a copy of TS Tools to do the editing with ( TS Tools - Train Sim Community ), and just copy the times that you see--it's no harder than typing a forum post. The screen shot shows how the 2 files differ, but if you have a go open the file you want to change first. Don't forget that the editing isn't compulsory, if you get the effects you want there's no need to gild the lily.
In the route's RouteProperties.xml file you can make the summer/autumn/winter/spring blueprints point to AP's ones. You may need to tick the WeatherEP folder in the route for it to work, but this is the method I use for routes using Kuju weather.
In the RouteProperties.xml file for every route there will be the <Summer/Spring/Autumn/WinterSkyBlueprint> category. In this, there will be a provider line, product line, and blueprint ID line. Each one will look something like this for a route using Kuju weather: Code: <SummerSkyBlueprint> <iBlueprintLibrary-cAbsoluteBlueprintID> <BlueprintSetID> <iBlueprintLibrary-cBlueprintSetID> <Provider d:type="cDeltaString">Kuju</Provider> <Product d:type="cDeltaString">RailSimulatorCore</Product> </iBlueprintLibrary-cBlueprintSetID> </BlueprintSetID> <BlueprintID d:type="cDeltaString">TimeOfDay\Core_Summer.xml</BlueprintID> </iBlueprintLibrary-cAbsoluteBlueprintID> </SummerSkyBlueprint> You'll want to change it to this: Code: <SummerSkyBlueprint> <iBlueprintLibrary-cAbsoluteBlueprintID> <BlueprintSetID> <iBlueprintLibrary-cBlueprintSetID> <Provider d:type="cDeltaString">AP</Provider> <Product d:type="cDeltaString">WeatherEP</Product> </iBlueprintLibrary-cBlueprintSetID> </BlueprintSetID> <BlueprintID d:type="cDeltaString">TimeOfDay\Summer.xml</BlueprintID> </iBlueprintLibrary-cAbsoluteBlueprintID> </SummerSkyBlueprint> And repeat it for the other seasons. Note that some old routes don't use the default Kuju weather, instead using duplicates of them. The GWML for example uses the 'OxfoPad' product for its weather. This method should work most of the time, but some routes using templates will need you to replace the weather files used by the templates. For example, the Cresston route from DPSimulation uses custom weather and changing the RouteProperties.xml file to point to AP Weather didn't work for me. This is rare though and I have only needed to do this once.
I honestly don't remember, it was a while ago. In 99% of cases, just copy-pasting (and if need be renaming or overwriting) the ToD files from AP does the trick. Thank you by the way, I used the spring.bin, renamed it to default.bin, overwrote it and now I have AP weather on the route so problem solved
I didn't need to, thankfully. But I will keep it as a reference if ever I have a similar situation. How did you even knew that default.bin was just another version of spring.bin?
Just double click on the file to convert to Default.xml and open with Notepad - then read what it says
That only works if you've set .bins to "Open with" serz. Otherwise you'll need to drag the .bin over the serz icon in the Railworks folder (open the Railworks folder in a separate window) for it to create an .xml version in the .bins original folder
I do but I don't know what to modify and how to then include it in the game. Either way, it's working now so I don't need to do that this time.
Well done! Spend a little time looking through .bin files and you'll see how things interact with each other, which will eventually start to make sense and you'll be able to figure a lot things out.
As Gary Padley says. Once you get a sense of how things are interconnected in TSC, it gets easier. One thing though: BACKUP your Railworks folder before medling with stuff!