Kuid asset number rese44t

pwjohnson

Member
I don't know how or when, but my kuid asset number (the nnnnnn in <kuid:186943:nnnnnn>) has somehow been reset to 100001. I am now finding that assets I save have the same kuid number as assets saved a long time ago, but this is starting to cause chaos. I'd like to reset it now to a number higher than I've ever had, but I have no idea how to do this. Any help much appreciated!

Peter
 
Thank you deneban, that was exactly what I needed.

I played around with it, and found that there is no coordination between different root versions of Trainz. I have been moving (export/import cdp) assets from one version to another and run into trouble when the asset happens to have the same kuid as another different asset in the target system. I hadn't realised this, I suppose I assumed that the next asset number was held somewhere globally like the registry, so that one's own kuids were therefore unique. Anyway I'm now setting a very different starting kuid for different versions. I'm surprised this isn't more widely discussed, since we're always being advised to keep backup versions when updating... am I missing something here?

Peter
 
The KUID number is a local variable per Trainz version and not an overall global variable. Ideally, this should be tracked somewhere, such as on My Trainz for example, so we can automatically increment the KUID number without overwriting assets when importing our own content from previous versions.

Now that you mentioned it, I think this subject was brought up ages ago, but it went unnoticed due to the usual forum noise.
 
Thank you deneban, that was exactly what I needed. ... I'm surprised this isn't more widely discussed, since we're always being advised to keep backup versions when updating... am I missing something here?

Peter

You are quite welcome.

If you search the Wiki for "next kuid", there is a page that comes up: http://online.ts2009.com/mediaWiki/index.php/HowTo/Update_your_auto-generated_next_KUID. Its a complicated program so all its aspects cannot remain "in discussion" continuously, that's why there's a Wiki. There are limited circumstances that necessitate its use, the typical user does not make their own assets aside from routes and sessions, and imported /pre-built / base kuids to an installation do not have this problem. I force my "authored" assets to adhere to a preassigned personal content ID registry and all reside below "200000", sort of a "demilitarized zone", to prevent them from being overwritten.

TRS19 has very little interaction with the Windows registry.
 
Last edited:
Back
Top