"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 then 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 paragraph), replace the build xxxxxxxxx shown in the text box with the 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:
Back
Top