Kuid conflict when importing older content...

JCitron

Trainzing since 12-2003
I have older versions of a route I've been working on over the past decade. After revising the route more recently, I got it to a point where I thought I could expand it and continue the build to the final goal. Over the past year or so, I have made various attempts but decided the one I wanted from January 2013 was the best one after all.

So... I imported the saved CDP into Content Manager and could not commit the asset due to the kuid already existing. This turned out to be something that I reskinned and haven't used, so I deleted it and was able to import the route fine.

The thing is... this is now a fresh install of Trainz with a new database which is different from the one that the route was built on originally. In my case the conflict was something rather mundane, and not a big deal, but should this conflict occur with asset dependencies, then the route couldn't be imported.

Even if I had another copy of TS12 HF4, there is no way of changing the kuid to something else since changing kuids is not allowed anymore. I actually tried that with the conflicting reskin and it didn't work.

So... heed the warning. It appears that backups, things that have been saved to CDP are pretty much useless, if imported into a new copy of TS12, and additional assets have been modified.

John
 
you can change the kuid of anything.

in that cause i probably would have opened the conflicting one for edit, made a copy of the resulting folder in edit to someplace else, changed the kuid and dropped it back in cmp. then just overwrite the old kuid.

another option would be to save the conflicting asset to a cdp and overwite it with the route, change the route kuid and then put the original back. this way if the original conflict was a dependency it would not harm the dependent asset.

when you make a new install it is a pretty good idea to install your old backups from somewhere else or link them in archives so they dont get overwritten. i have made this mistake a few times and had kuids overwritten by accident, now i try to keep old things as archives even if i use them or not.
 
Thank you for the insight on this. I will try this method next time. This is the first time I ever ran into this before.

Now the archives maybe an issue going forward. From what I've read somewhere here, archive format is going away with the next version. If this is true then we will have to resort to the manual method. In my case, the conflicting asset installed was only a reskin of a YARNish road I had made but apparently never used.

John
 
Back
Top