config.txt help

trainman1963

New member
can anybody point to a good reference for understanding the config file for TS12? i need to replace some dependencies that cant be found with other items that will work but ive seen a few config files where the description is listed with the kuid in the kuid table but mostly, its not. im wondering if the list of numbers/descriptions at the bottom of the config file correspond with a kuid in the kuid table. i just cant figure this file out. maybe i'm making it harder than it needs to be, idk. thanks!
 
Ok:
What kuid cfg do you want to replace a dependency?
What is the name and kuid of org dependency?
What is the replacement kuid and name?
Keep it simple..small steps.
 
ok, looking at this particular kuid table, i can't find kuid:44090:15069 which the table says it is a tender so i guess i just have to find another tender to put there? another kuid though, kuid:311512:6000 just says 11 in the table and i dont know what that means. the original kuid is kuid2:44090:1059:43 and is Gresley A3 BR Green loco. this is just one of many that i need to do, but i dont understand the config file and kuids enough to do this right. thanks
 
kuid 15069 is a Gresley A3 BR green corridor tender, which goes with the Gresley loco you mention. you need the S+C for that.
Kuid 311512:6000 is steam 1. No 11 in that config, see below.

kind "texture"
kuid <kuid:311512:6000>
asset-filename "Steam1"

kuid-table
{
}

Re the Gresley loco, kuid 2:44090:1051:2 is in the dls, loco ending 1059:41 isn't.
 
Last edited:
Let me see what I can do to help.
I will try not to make you jump thru hoops.
[Gresley Corridor Tender BR Green
<KUID2:44090:15061:6>
 
Last edited:
ok, looking at this particular kuid table, i can't find kuid:44090:15069 which the table says it is a tender so i guess i just have to find another tender to put there? another kuid though, kuid:311512:6000 just says 11 in the table and i dont know what that means. the original kuid is kuid2:44090:1059:43 and is Gresley A3 BR Green loco. this is just one of many that i need to do, but i dont understand the config file and kuids enough to do this right. thanks

The tag used for each kuid listed in the kuid table is usually arbitrary. However there are cases where the tag is used as a reference for a script. If you are replacing dependencies then you can simply replace the kuid wherever it is referenced in the config file and leave the tags for each reference unchanged.

Where a number is used in the kuid table you need to identify what it refers to by looking at the container and tag as used for that asset in the body of the config. If it's not referenced there then either the asset should not be in the kuid table. or the kuid table entry is required for some other reason, such as for a script.
 
Last edited:
this started for me when i downloaded the Inglenook shunt puzzles off of the DLC and ended up with a bunch of missing dependencies. i msg'd the creator and he said
thank you for downloading my routes and sessions and I am sorry to hear you are missing some dependencies. Before I uploaded the routes and sessions I did a search in CM using the filter "on download station = false". The ones that were left were all shown as built-in. This probably means that the ones you are missing belong to the SnC add on pack which I also have installed and often causes problems for those without the add on pack. However, you might be able to find some of the dependencies at:

http://www.settleandcarlisle.co.uk/

or purchase the add on from Simulator Central, it is well worth the money with a lot of routes and sessions included.

Sorry I cannot be more helpful.

Edit - The missing dependencies might be updates to assets that you already have or are on the dls. Check for kuids with a lower version number than the missing one using CM or on the DLS. If you find one edit the config.txt file kuid table to reference the kuid you can find.
i then bought the s&c but it didnt change my missing dependencies on those routes, in fact, i ended up with more like the one i posted that is part of the s&c
 
can anybody point to a good reference for understanding the config file for TS12? i need to replace some dependencies that cant be found with other items that will work but ive seen a few config files where the description is listed with the kuid in the kuid table but mostly, its not. im wondering if the list of numbers/descriptions at the bottom of the config file correspond with a kuid in the kuid table. i just cant figure this file out. maybe i'm making it harder than it needs to be, idk. thanks!
It would appear you are asking for help with the config file for some particluar route - 1 of Phil Skene's from the response to your question.

1st I think I have to present some bad tiddings with regard to the config.txt file. The kuid-table is just a container that lists all the assets used in the mapfiles. Each line in the table has a unique identifer and then the kuid of the asset. Any connection between the identifer and kuid on each line is arbitrary. The bad news here is the game uses the objects listed in the binary formats of mapfiles to write the route's config kuid-table. Changing objects on the route using Surveyor changes the kuids in the kuid-table while changing the kuids in the table doesn't change anything on the route.

There is a lot info in the TrainzWiki under content creation. It has a pretty through treatment of config files for each asset class used in the game.

Bob Pearson
 
so if i understand that right, replace the object in surveyor and the kuid table will automatically be rewritten by the program when i commit the asset?
 
well, i figured out this thing with all my s&c dependencies and is a lesson i will never forget! first of all, even though i have all my serial numbers entered in the sim, i didnt have them entered in planet auran. second, i am on sp1 and as s&c installs .ja files which sp1 don't support anymore, i had to enter serials in pa then start the game, then it auto downloaded the needed content taking care of all my dependency issues with s&c and all but a couple of them with inglenook. it took a lot of looking and finally found a post that talked about this. the main thing to finding what you want in these forums is the wording you use when searching. i still need to learn about the config file cause i have other stuff that needs fixed, but i think Bob Pearson gave me the best explanation from philskene although all of the answers were good. thank you !!!!!!!!!!!
 
Back
Top