Faulty dependencies

I download and installed in content TWP GP38-2 and show me faulty dependencies How can I fix them?

There are some tools available for fixing content. PEVTools are among the best for fixing textures that won't load. The other tools you may consider are a paint program of some kind such as JASC PaintShopPro, GIMP, etc., as well as a text editor. Your PC comes with Notepad, which is excellent for this.

Now the errors you are receiving can range from simple typos in the configuration file. Look for things such as words that are part of a sentence. The error message for something like this would read. "This" is not a valid tag for asset.... (blah, blah, blah).

Using CM, open up the asset for edit in Explorer. (An option exists to do this if you right mouse button click on the asset).

A Windows Explorer window will open. Look for the config.txt file and open it by double-clicking on it. Notepad will open it, and you can read the text.

Sometimes textures are not sized properly. They can be resized in your photo editing program.

There are some assets that are missing the textures totally, and these may or may not be able to be fixed. You need to sometimes recreate the texture, or simply copy it from another similar asset. There are some instances where the textures exist, but are put in the wrong folder. This is common with objects that have night-mode.

I could go on here, but anyway this is where to start the editing process. Once you get the hang of editing, you'll find that you canr repair assets very quickly.

If anything, you might want to make a backup first of the assets before you edit them so that you can restore them if you really mess up.

Good luck,

John
 
<kuid:38408:10112> is a missing texture a VMD Corona file that they need

Find that kuid ... and they will come !

http://www.virtual-motive-division.com/VMD_GP40_Stuff.cdp

The config file line: origin "US" needs to be deleted in all 3 of the corona config files, in "Edit In Explorer".

Seems nothing comes easy, and complete without errors, and needs a slight fixing, but if I can doo it ... yoo can too ... I'm a PC dummie ...PM me if you need help.
 
Last edited:
Thanks for the tips. Gonna check some assets myself.

Really looks like that Auran cant decide which way the configs etc are made and change them every year so old assets need to be updated again and again.
 
Thanks for the tips. Gonna check some assets myself.

Really looks like that Auran cant decide which way the configs etc are made and change them every year so old assets need to be updated again and again.

Actually it isn't all Auran's fault, but mostly is...

In the beginning, content creation was done by the company. Typographical errors made their way into the original configuration files, and people copied them. As time went on more people got careless.

The earlier versions of Trainz didn't have any major file-checking for the config files or content so nearly anything could go. The program loaded the content errors and all. This is all well and good, but caused much of the instability and performance issues we see today in the older versions of Trainz. The program needs to parse the config files and content every time something is loaded in. If there are errors, the program has to ignore them in order to read the proper code that's in there. This process takes time is most likely is the cause of the stutters and hiccups that many of the users complained about in TRS2004 and TS2006.

The problem is the errors in the config files were duplicated by many people including myself. There are many other cases too where missing textures occur because they weren't uploaded with the mesh files, and other cases, the textures are there, but in the wrong format and are placed in the wrong folder, or are the wrong files.

The other issue is that people never always followed the information laid out in the Content Creator's Guide. The CCG contains many how-too examples, and rather than copying and using those, people have winged it instead. Again the program hand nearly non-existent error-checking so the content would be loaded anyway. In part this is Auran's fault because in the later versions of Trainz, the CCG was late coming out after people had already made content for the new versions!

Now fast forward to the recent versions of Trainz - TS2006 onwards, and there are now errors appearing in the content. The errors were always there, but never reported. The program is now has stricter requirements with hard-wired CCG calls. This is okay and the correct way of doing things, but... Auran hasn't really released the updated CCG requirements directly, so we're now going full circle all over again. The CCG is available, but in the Wiki format and searching for the information is quite difficult.

All is not lost though. With the help of the community and a very helpful individual named Ian Woodsworth, there's hope that by the time the next version of Trainz comes out, there will be even fewer errors than we have now.

Personally I have gone through my content and fixed quite a few problems. The errors are not difficult to repair, and the process takes perhaps a minute or two per asset. Of those that I couldn't repair, I deleted or disabled. The performance difference in TS2010 is quite good. I run exclusively in Native Mode, and any new content downloaded that I can't repair, gets deleted immediately.

John
 
Thanks for the help you've given in this thread John. I'm a complete newbie to Trainz and up until today, I had no idea what to do with all my broken assets. I found your post about fixing the common errors(not a valid tag) was very helpful.

I have been able to fix most of these type of errors now thanks to this. I find the most common complaint is '-- is not a valid tag' and just deleting the '--' from the config file fixes this.

What would be good is, if you could maybe write another post on trying to simplify this type of error:-
Error: Unable to load mesh file: 'Class_121_NSE_shadow\Class_121_NSE_shadow.pm'

That's another one I see alot and I haven't got a clue what to do. I'm pretty sure that 'mesh' is the actual model file but that's about it.

Anyway...as I say, thanks for the help.

Mart.
 
I get those errors, too. But what annoys me most is when I get an error message that says that an im file can't find a specific texture file that doesn't exist. I have no clue what to do about those.
 
I get those errors, too. But what annoys me most is when I get an error message that says that an im file can't find a specific texture file that doesn't exist. I have no clue what to do about those.

Usually (like 8/10 times) that is a sign that the creator had the texture in the wrong 'slot' in his/her 3d modelling program, PEV's PM2IM can usually fix that if you have the 'strip textures' option turned on.

More rarely, there are situations where the texture is somehow corrupt, sometimes using TEXTURE2TGA can fix that.

Also there are times the creator just plain forgot to include the texture. Sometimes these can be fixed by checking similar assets from the same author - sometimes he/she might have included the same texture in another asset, but forgotten to copy it over to the new one, or if the texture name is something like 'orange.texture' then creating a simple 16x16 image of pure orange.

If the texture isn't available anywhere, and it's not a simple texture, but not in a critical part of the model (eg, the body) then you can just create a 16x16 grey image with that name, it'll appear in-game as grey, but that's likely all that happened with older versions of trainz too.

Very occasionally the texture was forgotten and there is no way to get it back and it's an important texture such as a body skin. In these cases you just need to accept defeat and give up on the asset.
 
Thanks for the help you've given in this thread John. I'm a complete newbie to Trainz and up until today, I had no idea what to do with all my broken assets. I found your post about fixing the common errors(not a valid tag) was very helpful.

I have been able to fix most of these type of errors now thanks to this. I find the most common complaint is '-- is not a valid tag' and just deleting the '--' from the config file fixes this.

What would be good is, if you could maybe write another post on trying to simplify this type of error:-
Error: Unable to load mesh file: 'Class_121_NSE_shadow\Class_121_NSE_shadow.pm'

That's another one I see alot and I haven't got a clue what to do. I'm pretty sure that 'mesh' is the actual model file but that's about it.

Anyway...as I say, thanks for the help.

Mart.

Hi Mart.

The missing shadow is not difficult to fix. There are two steps. Step one to create the shadow mesh and the object's IM file. The second step to edit the config.txt file to ensure everything matches up.

One you need to use PEV's tools - PevSoft Quick Shadows and PM2IM

Open up the asset with the broken shadow. The file will be located in the edit folder under C:\Program Files\Auran\TS2010\editing, or .\.\.\Userdata\editing. Your exact path may vary slightly if you've installed the program other than the default.

Use the utility to browse to the asset mesh and use the utility's buttons to create the shadow. - Make shadow button does it.

The file is called shadow.im. Put this file in the asset_name_shadow directory.

Open up PEVs PM2IM.

Browse until you find the asset open. This utility will create a .im file for the asset. Click on Convert to IM once the asset has been loaded in.

Now open up the Config.txt file and add in the following section.

Note: <+++++ = My notes and is not part of the actual config file.


mesh-table
{
default
{
mesh "x_body/x_body.im" <+++++ Edit this to change to your mesh name.
auto-create 1
}
shadow
{
mesh "x.im" <++++ Change to shadow.im, or if necessary asset_name_shadow/asset_name_shadow.im
}
}

Save the config file change. Check for errors again, and then commit the asset.

Hopefully my details here are enough to get you going in the right direction.

John
 
Hi Mart.

The missing shadow is not difficult to fix. There are two steps. Step one to create the shadow mesh and the object's IM file. The second step to edit the config.txt file to ensure everything matches up.

Brilliant John...thanks very much, that worked a treat.

I followed you step by step and got a green light when I rechecked the asset. So I commited but when I viewed it again...I got two more errors:-faulty bogey 101 a and c or something(missing shadow). So I opened them in for edit but, when I rechecked them, only warnings came up and no errors. So I commited them straight away and brilliant...the original asset showed only a couple of warnings.

I ran trainz and class 121 was there but not only that....a couple more br class loco's that I had downloaded were now showing too :D

Only problem now is...there's no interior when I switch to cab view :hehe:
Oh well...something I can live with for now as I didn't plan on driving these machines anyway...my AI's can do that while I plot on ;)

Thanks again John...you've been a big help mate.

Mart.
 
Last edited:
Ok, so i downloaded the SD75M for trainz 2010 and i fixed the missing dependencies, but now it says "faulty dependencies." I dont know how to fix it and everything up top makes no sense to me, so if you could either give me another way to fix it or explain it clearly :D. thx
 
Ok, so i downloaded the SD75M for trainz 2010 and i fixed the missing dependencies, but now it says "faulty dependencies." I dont know how to fix it and everything up top makes no sense to me, so if you could either give me another way to fix it or explain it clearly :D. thx

You need to repair the dependencies. In Content Manager, right-click on the asset and choose view dependencies. This will list the parts that in the locomotive. The items that have a red-colored gear, are the one that need to be fixed. Follow the hints and tips in the thread mentioned above.

If you're still stuck, post the errors here and someone can most likely help you.

Hey, welcome to the forums!

John
 
In a similar vain to the original question, I am having problems with some asset's dependencies in TS12. On the whole, most load perfectly, but some throw up the faulty sign. When I click on the 'View Config File' tag, all I get is "Config File is missing or corrupt", which opens to a blank Notepad page if I click OK. Some of these assets are fairly important (engine sounds and the like). Any ideas?

Cheers!
 
Last edited:
In a similar vain to the original question, I am having problems with some asset's dependencies in TS12. On the whole, most load perfectly, but some throw up the faulty sign. When I click on the 'View Config File' tag, all I get is "Config File is missing or corrupt", which opens to a blank Notepad page if I click OK. Some of these assets are fairly important (engine sounds and the like). Any ideas?

Cheers!

Try running a database repair. Something isn't Kosher here.

John
 
I'll put my silly question hat on here, John: how do I go about doing that?

Sted
Up the top of Content Manager, go to File, then Extended Database Repair, or something like that. Leave the computer alone while it runs. It will take around 1/2 hour.
 
Back
Top