Maunally changing kuid

davidbird

ex-Chilwellian
I have a layout which is in the kuid2 format. I have a version 1 and version 2, and was working on version2. I used the "Save As" function to save a copy with a different name, which gave it a different kuid number.
I then realised I had not saved the changes under the original name, so I used "Save As" again.
I now have as well as a different-named layout, a version 1 and version 2 of the original name, with different kuids, when I want version 1 and 2 to be kuid2:xxx:yyy:1 and kuid2:xxx:yyy:2.
Of course I should have used CMP to clone a new version (20-20 hindsight is wonderful!!)
How do I change the kuid of my new version 2 to be the kuid2:xxx:yyy:2?
I have opened the config file and manually changed the kuid line, but that does not work. CMP still shows the "wrong" kuid, with the "correct" kuid2 as a missing dependency.
Any ideas please?
 
From what I've read, you have three routes... one old one, and two identical new ones.
From what I gather you want two identical copies of the new route.


Therefore, all you need to do is delete the oldest, and you'll be fine :)

No need to mess about with KUID Nos.
 
CMP won't allow you to change kuids the normal way. After opening for edit in explorer, copy the folder to your desktop, close and commit the original. Open the folder on your desktop, change the kuid then File/Import Content. Commit and you have your new kuid.
Norm
 
From what I've read, you have three routes... one old one, and two identical new ones.
From what I gather you want two identical copies of the new route.


Therefore, all you need to do is delete the oldest, and you'll be fine :)

No need to mess about with KUID Nos.

What I have is this (aaa = my kuid, xx, yy, zz = kuids of the individual versions)
Version 1.0 kuid:aaa:xxx (on DLS)
Version 1.1 kuid2:aaa:xxx:1 (on DLS)
Version 1.2 kuid:aaa:yyy (version I'm working on, based on 1970s)
Version 2.0 kuid:aaa:zzz (version based on 1990s)

what I want to get back to is
Version 1.0 kuid:aaa:xxx
Version 1.1 kuid2:aaa:xxx:1
Version 1.2 kuid2:aaa:xxx:2
Version 2.0 kuid:aaa:zzz

I could just delete the older versions, but then I'd have to add the "obsoletes" tag in the config file when it came to uploading. Latest CCG prefers use of kuid2 numbers, so I'd prefer to stick with that if possible.

I'll try nwhitney's idea later
 
Thanks nwhitney, tried that and it works a treat!
Problem solved, next time I'll be more careful and use CMP to clone a new version, rather than "Surveyor/Save As"!

Thanks for all your help.:D
 
Obsolete is not used by the kuid2 version. So your
Version 1.0 kuid:aaa:xxx
Version 1.1 kuid2:aaa:xxx:1
Version 1.2 kuid2:aaa:xxx:2
Will only show the 1.2 version. trainz will not see the 1.0 and 1.1 version in this case.
 
Obsolete is not used by the kuid2 version. So your
Version 1.0 kuid:aaa:xxx
Version 1.1 kuid2:aaa:xxx:1
Version 1.2 kuid2:aaa:xxx:2
Will only show the 1.2 version. trainz will not see the 1.0 and 1.1 version in this case.

The very last digit in the KUID2 numbering is a version number. if this number for a new version is higher than the number for a previous version, the previous version is obsoleted automatically.

regards

Harry
 
Back
Top