New version items not updating on routes and sessions

MSGSapper

Trainz route developer
I have noticed a problem with Trainz Plus (Build 117009).

I have updated my BI3 industry tracks and some rolling stock items to new versions (ie; kuid2:439337:101431:1 to kuid2:439337:101431:2 as an example). I am finding however that routes and sessions are NOT seering the updated versions with their changes and keep the old versions. I also do a database rebuild and there is no change with this.

I found the only way I could fix this was to manually replace the item version on the route or session with the new version item which is a real pain.

Anyone else experiencing this?

Bob
 
Last edited:
Had this issue some time ago. The solution was to completely clear the cache (manually or via an EDBR).
 
Had this issue some time ago. The solution was to completely clear the cache (manually or via an EDBR).

Thanks for that tip!

For my own part I always thought new versions of items automatically updated previous ones on routes/sessions....

Obvious question: Do users know that when an author updates his items they must do this to see the new versions of the items reflected on routes and sessions?

Bob
 
Your route will not show the new version unless you do a save in order for the kuid table to get updated. Routes and sessions will only look for assets in the kuid table and will only record the new one on a save. If you think of adding a tower block in the desert and exit without saving it will not show next time.
 
Your route will not show the new version unless you do a save in order for the kuid table to get updated. Routes and sessions will only look for assets in the kuid table and will only record the new one on a save. If you think of adding a tower block in the desert and exit without saving it will not show next time.

Here are things that I tried based on the tips provided:

1. Extended database repair. Result after re-loading in Surveyor: No change and BI3 industry tracks were not updated in the route.

2. Loaded route, made slight change in moving a content item around, and then saved it. Result after re-loading in Surveyor: No change and BI3 industry tracks were not updated in the route.

Bob
 
After the EDBR did you launch the "prebuild" command to rebuild the cache with the new information? You can also manually delete the userdata\cache folder before the operation (this way you're sure nothing remains). Some of your assets are "Packaged" and their cache can't be deleted as it is embedded in the DLC archive.
 
HPL
You can also manually delete the userdata\cache folder before the operation (this way you're sure nothing remains).

That should read (the contents of your) userdata\cache\internet folder. Getting rid of the entire cache is fraught with peril.
 
After the EDBR did you launch the "prebuild" command to rebuild the cache with the new information? You can also manually delete the userdata\cache folder before the operation (this way you're sure nothing remains). Some of your assets are "Packaged" and their cache can't be deleted as it is embedded in the DLC archive.

I am not sure what you mean by "did you launch the "prebuild" command". How do you do that? I am familiar with holding the CTRL key down when I click the "Rebuild Database" in the build 117009 launcher menu to run the EDBR but I see nothing else regarding that command or am familiar with it.

Bob
 
Bob,

Would deleting the obsolete versions of the assets in CM force Trainz to use the updated versions? That technique has worked in the past when updating mesh-library assets.

~ D
 
Anyway, if the old version of an asset is still used although a new one obsoletes it, there is one thing sure: the first remains... somewhere. If it isn't a caching issue (where could the old version be stored if not in some cache?), this is a mystery!
 
I did a test on a blank board using the BI3 version 1 asset. I opened the properties window and got 17 product tracks plus 3 empty product tracks. I saved and exited the game and downloaded the version 2 update. I opened the session and checked the properties window and got 17 product tracks plus 15 empty product tracks. This means the asset did update but somewhere those extra products are not shown or listed in a script that allows them to be included.
 
I ran the "prebuild" command in TrainzUtil. Result: The BI3 Industry tracks were NOT updated in the routes. I checked the BI3 product list and it was for the previous version with no additions, replacements or changes.

Yes, I did try deleting obsolete BI3 versions as well. Result: No change. In fact it was weird becuase when I went into Surveyor edit mode for the route the old version with it previous product list was still there instead of the new one.

So far the only way I have found to be able to ensure they are updated is to manually delete the old ones on the route in Surveyor edit mode and replace them with the new versions. What a pain! BTW I saw this same issue with updated versions of rolling stock as well.....

I looked at the config.txt file for the route and saw this:

467 <kuid2:439337:105409:4>
468 <kuid2:439337:105409:2>

These are both for the same BI3 fuel. I tried deleting the number 468 entry but the result was the same. No change.

Other things I have tried:

1. Deleting the cache folder in the local data folder for Trainz. Result: Trainz rebuilt it but there was no change in the route.
2. "Save as" for the route. Result: no change.
3. Saved the route to a CDP file and then deleted it. After that re-loaded the CDP file into CM. Result: No change.
4. Deleting the asset-cache.tdx and asset-cache.tdx-wal files in the local data folder for Trainz. Result: Trainz rebuilt them but there was no change in the route.
5. Deleted the BI3 Fuel content item from my system and then re-downloaded it from the DLS. Result: No change.

Clearly something does not appear to be working correctly here.

Bob
 
Last edited:
Well Alight, does somone make maps like Poughkeepsie Bridge, Hudson River Route, and more Real Life Maps? Becuase I can't.
 
I ran the "prebuild" command in TrainzUtil. Result: The BI3 Industry tracks were NOT updated in the routes. I checked the BI3 product list and it was for the previous version with no additions, replacements or changes.

Bob

Bob get a blank baseboard and place your BI3 Fuel <kuid2:439337:105409:2> on it and count the queues. You will find 12 with products showing and 3 empty ones. Save and exit.
Now install BI3 Fuel <kuid2:439337:105409:4> open route.
You will find that the queues are now 12 with products but you now have 5 empty queues.
This means it did try to update but textures and product icons did not.

This must be a bug.
 
Bob get a blank baseboard and place your BI3 Fuel <kuid2:439337:105409:2> on it and count the queues. You will find 12 with products showing and 3 empty ones. Save and exit.
Now install BI3 Fuel <kuid2:439337:105409:4> open route.
You will find that the queues are now 12 with products but you now have 5 empty queues.
This means it did try to update but textures and product icons did not.

This must be a bug.

While that it is intersting, it won't help me resolve this issue with my existing routes which I am attemtping to upgrade.

I take one of my routes that has an old version of the BI3 and load it into surveyor and see nothing but the older BI3 versions products and none of the changes made in my upgrade of the BI3 even though on my system only the most current BI3 industry track is in the Trainz database (I deleted the older obsolete ones from the database). I do not see what you are seeing as NONE of the new products shows up in the old when I look to see what products are available in the BI3. In surveyor I can place another updated BI3 Industry of the same exact type right next to the older one and both will have different products showing when I query them.

Also as I said before this problem does not appear to be limited to just the BI3 Industry Tracks. I have also seen it with updated rolling stock in a session as well. I was updating a session the other day and noticed the same exact problem occurring with some boxcars as well that had been updated.

As of now the only way to work around the problem I have seen is to manually delete the older items from existinmg routes and replace them with the newer versions. Something is clearly not right here with the updating process......

Bob
 
What I see is the number of queues has increased from the previous version. This means the old version has updated the number of queues to that of the new version. What is not happening is the product list and track are not. This is a bug.
 
Hey MSGSapper Maybe you should start making, "NYC New York Sub" with Bear Mountain, Water Level Route, Droobs Valley, Harmon, New York City, and more!

Please do it!
 
Last edited:
Back
Top