"Building Trainz Asset Database" every time I launch.

justinroth

Well-known member
I recently migrated content and installed Trainz+ on a different machine. Every single time I launch, the game rebuilds and it takes forever. Am I missing something?
 
Check that the Install tab in the Trainz Settings has the correct Local data folder identified
It created a local folder on instal and I changed it to a different folder containing the data I migrated. I have 2022 and 2022+ also, both different executables using the same data folder.
 
Yes, I would point TRS22 to its original installed local data folder. You can still add whatever you want to that folder.

In my case I have 3 executables on my main computer. Trainz Plus (retail) which includes DLC and assets of my own creation, Trainz Plus (latest beta) which has a cut down local data folder and TRS22PE which has only built-in and DLS assets in its local data folder (no DLC or 3rd party). I develop routes in Trainz Plus (retail) and test them in the Train Plus (beta).

Before I upload anything to the DLS it is tested in TRS22PE to identify any dependencies that are not built-in or on the DLS. Any missing dependencies (i.e. Payware, Packaged in DLC only or 3rd party) are identified and then eliminated from the Trainz Plus copy and then tested again in TRS22. I have this dislike of finding dependencies in downloaded assets that cannot be found on the DLS which then forces you to go hunting for them or abandon the asset, so I will not inflict that on anyone else.
 
Yes, I would point TRS22 to its original installed local data folder. You can still add whatever you want to that folder.

In my case I have 3 executables on my main computer. Trainz Plus (retail) which includes DLC and assets of my own creation, Trainz Plus (latest beta) which has a cut down local data folder and TRS22PE which has only built-in and DLS assets in its local data folder (no DLC or 3rd party). I develop routes in Trainz Plus (retail) and test them in the Train Plus (beta).

Before I upload anything to the DLS it is tested in TRS22PE to identify any dependencies that are not built-in or on the DLS. Any missing dependencies (i.e. Payware, Packaged in DLC only or 3rd party) are identified and then eliminated from the Trainz Plus copy and then tested again in TRS22. I have this dislike of finding dependencies in downloaded assets that cannot be found on the DLS which then forces you to go hunting for them or abandon the asset, so I will not inflict that on anyone else.
I changed the local data folkder of Trainz 22 (shortcut leads to "C:\Program Files\N3V Games\Trainz Railroad Simulator 2022\TRS22.exe") to the app data folder (there were two builds listed in that folder as well as 2019 and TANE), when I launch the screen says Trainz+ build 129343.
Trainz+ shortcut leads to "C:\Program Files\N3V Games\Trainz Plus\TRS22.exe" and also launches Trainz + build 119450 with the local data set to the folder I transfered from another PC, however my content isn't there (which it was a few days ago).
I'm lost here.
 
I'm lost here.
The directories you have quoted are for the executables, the trs22.exe and its associated executable files. One directory for each version installed.

The local data folder, one for each Trainz install, is in a completely different folder tree. This can be relocated to anywhere, including to a different drive. Normally, unless you have manually moved it (links on how to do that at the bottom of this post), the local data folder for a Trainz install is found at:-

C:\Users\yourname\AppData\Local\N3V Games\trs22 - for TRS22 and Trainz Plus where yourname is your windows username (abbreviated).

Inside that last folder (trs22) will be a randomly named folder that contains all your actual user data. This contains all your DLC payware, assets that are built-in (but the originals of these are also stored elsewhere), assets from the DLS and elsewhere, assets you have created yourself. This can be an enormous quantity of data.

If you have more than one copy of Trainz installed (e.g. Trainz Plus and TRS22) then there will be one of these randomly named data folders for each install. In my case, with 3 Trainz installs, I have 3 of these folders in the \trs22\ folder.
  • build i0ok12iy1
  • build pdekm6v11
  • build sd6ccr61
Every user will have different names for these folders. How do you tell which one belongs to which Trainz install? Not easily since the names are made of randomly selected text characters.

I rely on the value shown in the Date modified column (as shown in Windows File Manager when using the View Details display option) for each folder. If the last save I did in Trainz was in Trainz Plus (retail) then its randomly named folder will have the latest modified date and time.

In your specific case I would use the following method:-
  1. Start the Trainz Plus launcher
  2. Open the Trainz Settings
  3. Select the Install tab
The Local Data folder will identify the randomly named data folder that Trainz Plus is currently using. You may have to click inside the text box and hit the End key to see the actual folder name (e.g. build pdekm6v11 in my case).

If you are missing routes that you created while you had two installs using the same data folder then those routes *may be* in the other randomly named folder.

The quickest method to force Trainz Plus to see and use the other folder is to, very carefully (see warning at end of this paragraph), replace the "build xxxxxxxxx" shown in the text box with the "build yyyyyyyyy" from the alternative data folder as shown by Windows File Explorer. Hit the Enter key and exit the launcher back to the windows desktop. Then restart the Trainz Launcher and start Trainz. If you have correctly made the change then Trainz Plus will be looking for all its data in the second folder BUT if you have mistyped the "yyyyyyyyy" then Trainz will assume that you want to create a brand new user data folder and you will get a new randomly named folder, to add to those already present, that will only contain assets that are built-in to Trainz.

There are pages on the Trainz Wiki dealing with managing your User Data Folder. These can be found at:-

How_to_Move_Your_User_Data_Folder
and
How_to_Create_a_Clean_Install_and_Additional_Data_Folders

You can switch Trainz between different user data folders at any time, it just requires editing the folder name shown in the Install tab and restarting Trainz.

Hope this helps and does not add to your confusion.

PS: If you do change the local data folder for Trainz Plus then make sure that TRS22 is not also using the same folder. If it is then change the TRS22 local data folder to a different one.
 
Last edited:
The directories you have quoted are for the executables, the trs22.exe and its associated executable files. One directory for each version installed.

The local data folder, one for each Trainz install, is in a completely different folder tree. This can be relocated to anywhere, including to a different drive. Normally, unless you have manually moved it (links on how to do that at the bottom of this post), the local data folder for a Trainz install is found at:-

C:\Users\yourname\AppData\Local\N3V Games\trs22 - for TRS22 and Trainz Plus where yourname is your windows username (abbreviated).

Inside that last folder (trs22) will be a randomly named folder that contains all your actual user data. This contains all your DLC payware, assets that are built-in (but the originals of these are also stored elsewhere), assets from the DLS and elsewhere, assets you have created yourself. This can be an enormous quantity of data.

If you have more than one copy of Trainz installed (e.g. Trainz Plus and TRS22) then there will be one of these randomly named data folders for each install. In my case, with 3 Trainz installs, I have 3 of these folders in the \trs22\ folder.
  • build i0ok12iy1
  • build pdekm6v11
  • build sd6ccr61
Every user will have different names for these folders. How do you tell which one belongs to which Trainz install? Not easily since the names are made of randomly selected text characters.

I rely on the value shown in the Date modified column (as shown in Windows File Manager when using the View Details display option) for each folder. If the last save I did in Trainz was in Trainz Plus (retail) then its randomly named folder will have the latest modified date and time.

In your specific case I would use the following method:-
  1. Start the Trainz Plus launcher
  2. Open the Trainz Settings
  3. Select the Install tab
The Local Data folder will identify the randomly named data folder that Trainz Plus is currently using. You may have to click inside the text box and hit the End key to see the actual folder name (e.g. build pdekm6v11 in my case).

If you are missing routes that you created while you had two installs using the same data folder then those routes *may be* in the other randomly named folder.

The quickest method to force Trainz Plus to see and use the other folder is to, very carefully (see warning at end of this paragraph), replace the "build xxxxxxxxx" shown in the text box with the "build yyyyyyyyy" from the alternative data folder as shown by Windows File Explorer. Hit the Enter key and exit the launcher back to the windows desktop. Then restart the Trainz Launcher and start Trainz. If you have correctly made the change then Trainz Plus will be looking for all its data in the second folder BUT if you have mistyped the "yyyyyyyyy" then Trainz will assume that you want to create a brand new user data folder and you will get a new randomly named folder, to add to those already present, that will only contain assets that are built-in to Trainz.

There are pages on the Trainz Wiki dealing with managing your User Data Folder. These can be found at:-

How_to_Move_Your_User_Data_Folder
and
How_to_Create_a_Clean_Install_and_Additional_Data_Folders

You can switch Trainz between different user data folders at any time, it just requires editing the folder name shown in the Install tab and restarting Trainz.

Hope this helps and does not add to your confusion.

PS: If you do change the local data folder for Trainz Plus then make sure that TRS22 is not also using the same folder. If it is then change the TRS22 local data folder to a different one.
I'm confused because launching Trainz 2022 seems to launch Trainz +. All seemed to be good until I accidentally launched Trainz+ and now I'm back to having the same problem including it resetting my general and performance settings as well as asking me to log in, again.
I have an Icon on my desktop labeled "Trainz Railroad Simulator 2022". The Launch screen says Trainz + and at the bottom build 129343, the target is "C:\Program Files\N3V Games\Trainz Railroad Simulator 2022\TRS22.exe" and the data folder is what I migrated, what I want to use, containing all of my stuff.
I have another icon labeled "Trainz Plus". Upon launch it is also Trainz + build 119450. The target is "C:\Program Files\N3V Games\Trainz Plus\TRS22.exe" and the data folder was somehow automatically changed from me setting it to "C:\Users\yourname\AppData\Local\N3V Games\trs22" ect"
back to the migrated folder of my stuff.
I am confused because they both launch Trainz + and that's what I want. What is the difference between 2022 build 129343 and Trainz + build 119450? I just want surveyor 2.0 and my stuff, the same as I had on the PC I moved this from. That is all. That simple.
 
I tried switching 2022 (Trainz Railroad Simulator 2022\TRS22.exe) local data (either of the folders in APPDATA) and Trainz Plus (Trainz Plus\TRS22.exe") local data (C:\2022 Content)<- the content I migrated and now neither have my content or the payware routes I have purchased since I migrated. I was using whatever version, that contained my own migrated content when I bought the routes. I don't get why they aren't in that content folder now? WTF?
 
What is the difference between 2022 build 129343 and Trainz + build 119450?
119450 is an outdated version of Trainz Plus (dating 2022): SP1. It is Trainz Build 5.2, so furtherly created assets will not work. 129343 is Trainz Plus SP5 HF and is the latest version. It is Trainz Build 5.6. A full list is available here.
 
I'm confused because launching Trainz 2022 seems to launch Trainz +.
You have Trainz Plus installed.

Trains Plus is installed on your system as trs22.exe and the Windows title bar at the top of the screen will show Trainz Railroad Simulator 2022. Trainz Plus will always display itself using the same name as the latest release of the non subscription version of Trainz. When Trainz Plus was first released TRS19 was the latest non subscription version and Trainz Plus was installed as trs19.exe and displayed Trainz Railroad Simulator 2019 on the title bar. When the next release of Trainz occurs this year??? then Trainz Plus will display Trainz Railroad Simulator 2025 (or whatever name it is given) on the title bar.

However, it will always show as Trainz+ on the Launcher and on the main selection screen.
 
TRS22 and Trainz Plus will show Trainz Plus on the launch screen because you have DLC access on both. Your TRS22 is an older version of Plus..
The shortcut should point to the .exe of the version you are using. The launch screen settings/install should point to the build folder within the data folder. What folder did you migrate? and what does your settings/install show as a path.
 
Your TRS22 is an older version of Plus
Not really. When Trainz Plus was originally released it shared the same code as TRS19, so if you upgraded from TRS19 to Trainz Plus (as I did) there was no additional download. Your username and password in TRS19 "unlocked" the additional code to turn TRS19 into Trainz Plus. I suspect that that may be the reason why Trainz Plus displayed Trainz Railroad Simulator 2019 on the title bar.

I believe that that is no longer the case so buying the Trainz Plus subscription now requires a completely new download.

TRS22 is a separate program to Trainz Plus. It is just as current as Trainz Plus (but without as many features) and is not simply an "older version".
 
119450 is an earlier version of Plus, which I still use today. The update was in October 2022. It was split later into two different installs. At that time TRS22 and Plus used the same installed version but on different streams.
 
What I would do to resolve the confusion is first rename the data folder that contains the correct data from the stupid build xxxxxxx name to something that's easy to recognize.

After renaming the folder, move it elsewhere on the hard drive outside of the App Data location because we have that capability now. I put mine on my F: drive and called TRS-PLUS_DATA in caps so I know what it is and not delete it while in a state of brain farts.

Once the folder is moved and renamed, I would then point the correct TRS-PLUS to that data folder. Since this data already contains the user login information, connecting to the data folder via the install tab will happen automatically and no sign in is necessary, however the restart will be required to update the data location.

By renaming and moving the folder to some other location this not only removes any confusion, but also makes data maintenance and modifications easy.
 
TRS22 and Trainz Plus will show Trainz Plus on the launch screen because you have DLC access on both. Your TRS22 is an older version of Plus..
The shortcut should point to the .exe of the version you are using. The launch screen settings/install should point to the build folder within the data folder. What folder did you migrate? and what does your settings/install show as a path.
I migrated the folder from my other comp I labeled as "2022 Content" It contains a few folders, backups, cache,editing ect and also some TDX and DMP files asset-cache ect.
 
Back
Top