'Unable to commit changes to asset because the config file contains the wrong KUID'

I'm using Trainz Mac 2, the import option doesn't seem to exist - you just drag and drop stuff into it. Shall I export as a cdp and then re-import?
 
Last edited:
Alex102

The Kuid as shown in the config file is wrong. In fact the whole config does not match the true KUID.
This is a corruption probably of TS12 origin.

You fix by delete and re-download from DLS if possible.
 
Are you working on an original or a clone assuming you can clone in Macs CM?

I cloned the asset so it appeared with a KUID with my ID. Then renamed it and submitted. Then reskinned and submitted. Then went to alter the config so that the numberit changed the numbers and the bodyside logos and nameplates were removed. And it was after that that these errors appeared.

Alex102

The Kuid as shown in the config file is wrong. In fact the whole config does not match the true KUID.
This is a corruption probably of TS12 origin.

You fix by delete and re-download from DLS if possible.

The asset from which I cloned works fine, and the KUID in the file appears to match the KUID of the item.
 
When editing the config.txt be careful and always check the correctness of paired delimiters (curly braces for config containers, double quotes for strings). Don't use double quotes in any strings.

Peter
 
May be an idea to post the config on here, sometimes a fresh pair of eyes can spot what you can't see for looking at it.

I'm guessing that Peter may be right.
 
The numberit container usually includes a reference to the kuid of the asset. When you clone the asset to your own kuid I believe you need to change the kuid reference in the numberit container to your kuid.
 
I'm about to post the config file, split into multiple messages to fit within the forum demands for a 10000 character word limit; basically I've used the skin from a Virgin West Coast original livery Class 47/8 and stuck it on a 57 (a tactic I've used before for other liveries with no problem) and also tried to edit the number it so that the locos are numbered in the 57/8 series.

I also deleted the section of the config which applies the bodyside Virgin Logos and nameplates, as I don't want either of those.

EDIT: It seems to have removed the formatting of the file when I've posted. Either way, you get the idea.
 
Last edited:
trainz-build "2.9"
class "Brush4"
script "Brush4"
category-class "AL"
engine "1"
mass "117000"
light "1"
interior <kuid:79563:1205>
enginesound <kuid:104722:53573>
hornsound <kuid:37028:54047>
enginespec <kuid:368699:50477>
smoke_shade 1
smoke_random 2.5
smoke_slowlife 6
smoke_fastlife 0.8
smoke_height 2
smoke_fastspeed 2.5

thumbnails
{
0
{
image "screenshot.jpg"
width 240
height 180
}

1
{
image "br class 47 blue_art/br class 47 blue_art_icon.tga"
width 128
height 64
}

2
{
image "br class 47 blue_art/br class 47 blue_art_512.tga"
width 512
height 512
}
}
 
mesh-table
{
default
{
mesh "br class 47 blue_body/main.im"
auto-create 1

effects
{
headboard1
{
kind "texture-replacement"
texture "badgeholder1.texture"
}

headboard2
{
kind "texture-replacement"
texture "badgeholder2.texture"
}

depot
{
kind "texture-replacement"
texture "depot plate.texture"
}

coupler_a
{
kind "attachment"
att "a.couplerA"
}

coupler_b
{
kind "attachment"
att "a.couplerB"
}

airhose_a
{
kind "attachment"
att "a.hoseA"
}

airhose_b
{
kind "attachment"
att "a.hoseB"
}

mainreshose_a
{
kind "attachment"
att "a.hose2A"
}

mainreshose_b
{
kind "attachment"
att "a.hose2B"
}

mainreshosex_a
{
kind "attachment"
att "a.hose3A"
}

mainreshosex_b
{
kind "attachment"
att "a.hose3B"
}

taillamp1left
{
kind "corona"
att "a.tailight1left"
texture-kuid <kuid:2512:4>
directional 1
object-size "0.05"
}

taillamp1right
{
kind "corona"
att "a.tailight1right"
texture-kuid <kuid:2512:4>
directional 1
object-size "0.05"
}

taillamp2left
{
kind "corona"
att "a.tailight2left"
texture-kuid <kuid:2512:4>
directional 1
object-size "0.05"
}

taillamp2right
{
kind "corona"
att "a.tailight2right"
texture-kuid <kuid:2512:4>
directional 1
object-size "0.05"
}

headlight1left
{
kind "corona"
att "a.headlight1left"
texture-kuid <kuid:-3:10111>
object-size "0.07"
}

headlight1right
{
kind "corona"
att "a.headlight1right"
texture-kuid <kuid:-3:10111>
object-size "0.07"
}

headlight1upper
{
kind "corona"
att "a.headlight1upper"
texture-kuid <kuid:-3:10111>
object-size "0.07"
}

headlight2left
{
kind "corona"
att "a.headlight2left"
texture-kuid <kuid:-3:10111>
object-size "0.07"
}

headlight2right
{
kind "corona"
att "a.headlight2right"
texture-kuid <kuid:-3:10111>
object-size "0.07"
}

headlight2upper
{
kind "corona"
att "a.headlight2upper"
texture-kuid <kuid:-3:10111>
object-size "0.07"
}

headlight1hiint
{
kind "corona"
att "a.headlight1hiint"
texture-kuid <kuid:-3:10111>
object-size "0.11"
}

headlight1bhiint
{
kind "corona"
att "a.headlight1bhiint"
texture-kuid <kuid:-3:10111>
object-size "0.11"
}

headlight2hiint
{
kind "corona"
att "a.headlight2hiint"
texture-kuid <kuid:-3:10111>
object-size "0.11"
}

headlight2bhiint
{
kind "corona"
att "a.headlight2bhiint"
texture-kuid <kuid:-3:10111>
object-size "0.11"
}
}
}
 
shadow
{
mesh "br class 47 blue_shadow/shadow.im"
}

eth
{
mesh "br class 47 blue_body/eth.im"
att "a.origin"
}

flashes
{
mesh "br class 47 blue_body/flashes.im"
att "a.origin"
auto-create 1
}

mwsockets
{
mesh "br class 47 blue_body/mwsockets.im"
att "a.origin"
auto-create 1
}

fan0
{
mesh "br class 47 blue_body/fan.im"
anim "br class 47 blue_body/fan.kin"
animation-loop-speed 0.3
auto-create 1
att "a.fan0"
}

fan1
{
mesh "br class 47 blue_body/fan.im"
anim "br class 47 blue_body/fan.kin"
animation-loop-speed 0.3
auto-create 1
att "a.fan1"
}

driver-0
{
mesh "br class 47 blue_body/driver.im"
att "a.driverfront"
auto-create 1
}

driver-1
{
mesh "br class 47 blue_body/driver.im"
att "a.driverback"
auto-create 1
}

aerials
{
mesh "br class 47 blue_body/ariels/ariels.im"
att "a.origin"
}

snowploughs
{
mesh "br class 47 blue_body/Snowploughs/snowplough.im"
att "a.origin"
}

bufferbeams
{
mesh "br class 47 blue_body/bufferbeam.im"
att "a.origin"
}

leftwiper-0
{
mesh "br class 47 blue_body/wipers/wiper1.im"
anim "br class 47 blue_body/wipers/wiper1anim.kin"
animation-loop-speed 1
auto-create 1
att "a.wiperdriverf"
}

rightwiper-0
{
mesh "br class 47 blue_body/wipers/wiper2.im"
anim "br class 47 blue_body/wipers/wiper2anim.kin"
animation-loop-speed 1
auto-create 1
att "a.wipersecondmanf"
}

leftwiper-1
{
mesh "br class 47 blue_body/wipers/wiper1.im"
anim "br class 47 blue_body/wipers/wiper1anim.kin"
animation-loop-speed 1
auto-create 1
att "a.wiperdriverr"
}

rightwiper-1
{
mesh "br class 47 blue_body/wipers/wiper2.im"
anim "br class 47 blue_body/wipers/wiper2anim.kin"
animation-loop-speed 1
auto-create 1
att "a.wipersecondmanr"
}

dellner1
{
mesh "br class 47 blue_body/dellner1end/dellner1end.im"
anim "br class 47 blue_body/dellner1end/anim.kin"
auto-create 1
}

dellner2
{
mesh "br class 47 blue_body/dellner2end/dellner2end.im"
anim "br class 47 blue_body/dellner2end/anim.kin"
auto-create 1
}
}

extensions
{
couplestar-75134
{
bluestar_coupler "50"
bluestar_brake "4"
bluestar_extras "mainreshose#mainreshosex"
}

numberit-75134
{
numberit_include "57801#57802#57803#57804#57805#57806#57807#57808#57809#57810#57811#57812#57813#57814#57815#57816#57817#57818#57819#57820”
}
}

bogeys
{
0
{
reversed 0
bogey <kuid:297334:132>
}

1
{
reversed 1
bogey <kuid:297334:132>
}
}
fonts "2"
fonts-path "br class 47 blue"
description "***IMPORTANT NOTE:*** This is a rescripted version of the class 47 to bring the asset in line with my newer releases. I've changed the script so that the original configs can be used with as little alteration as possible, in other class 47 assets. For full details of the required changes for reskinners see the readme file. Virgin class 57/3 with Dellner couplers. The Dellner in this asset is ANIMATED, lowered using the html control activated using CTRL+ right click then view details. The loco can then be coupled to a Voyager or Pendolino. This asset features scripted switchable snowploughs, cutaway bufferbeams, aerials, ETH jumpers night time or day time headlights and headboards in driver. Auto placing in surveyor sets each loco up with all the correct detail attachments. See the readme document for more details. Mesh alterations by Russell White and tmz06003, textures and scripting by tmz06003. The model is based on an original mesh made freely available by Tom Green (Tommylommykins). Thanks are due to many, including Tom for his permission to release this model,Russell White, eldavo, tmz06003 and the many skilled creators who have shared their modelling and scripting knowledge with the community over the years."
username "Virgin WC Class 57/3 (Animated Dellner)"
author "tmz06003"
contact-email "------"
license "No modifications without permission from tmz06003 and the original author as applicable."

kind "traincar"

kuid-table
{
bogey <kuid:297334:132>
couplestar_library <kuid:75134:99002>
couplestar_coupler_coupled <kuid:75134:15015>
couplestar_coupler_hanging <kuid:75134:15014>
couplestar_coupler_stowed <kuid:75134:15015>
couplestar_airhose_hanging <kuid:75134:15006>
couplestar_airhose_coupled_dual <kuid:75134:15007>
couplestar_airhose_coupled <kuid:75134:15007>
couplestar_mainreshose_uncoupled <kuid:79563:1204>
couplestar_mainreshose_coupled <kuid:79563:1203>
couplestar_mainreshosex_uncoupled <kuid:79563:1204>
couplestar_mainreshosex_coupled <kuid:79563:1203>
class47html <kuid:283805:57994>
enginespec <kuid:368699:50477>
hornsound <kuid:37028:54047>
enginesound <kuid:104722:53573>
interior <kuid:79563:1205>
taillightcorona <kuid:2512:4>
headlightcorona <kuid:-3:10111>
nameplate-textures <kuid:283805:57006>
headboard-textures <kuid:283805:57995>
numberit_library <kuid:75134:99003>
}
kuid <kuid:534665:100084>
 
Last edited:
alexl102 - can you please edit your posts that contain the config.txt file to remove any email addresses please. I don't think the author of that asset would be too happy if they get spam as a result.

Shane
 
Back
Top