Database repair and lost assets

lodger

New member
I have just carried out the comprehensive database repair and have lost a great deal of assets. Whilst looking at the 'details' during the repair process, a great deal of assets were reported as being found and moved to a new location (or words to that extent). Surely this repair process should move, or lose, assets?
Fortunately I had previously backed up kuids to a folder of saved CPD's so I expect I should recover them - but how do I do this please?
When I go into the main routes menu on start up, it now says I need 1300 updates......are these the ones I've lost? Also, my Contents Manager is not filtering data!
Thanks
 
It's very rare for assets to be lost during a database repair unless they are corrupt (usual place to look for these is in <trainz install folder>/UserData/trash).

Have you checked the Today tab in Content Manager?

Shane
 
Hi Shane
Nothing in Userdata/trash. What is now in 'Today' are CDP's I have just imported from my file folder - these assets used to work, but now most show as faulty - something to do with unsupported mesh?....The Trainz Build I have now is without SP1. The assets (mainly locos) are now probably out of date/corrupt? Contents Manager is now working.
Before I repaired I had about 14 Automatic Updates to download, now I have c1300.
John
 
I would suggest installing the content updates first. Once that's done, you can move on to sorting out any faulty assets then.

Shane
 
Hi Shane
All content updates downloaded. The locos (mainly, but a few other assets) that now do not appear in my Route, do show in Contents, but with faulty dependancies - these appear to be interiors kuids. I'd appreciate some advice as to how to 'repair' these please. What is strange is that all these locos worked before my database repair - I wish I'd never done it!
John
 
I would suggest that you re-validate the assets. This can be done by right-clicking affected assets (the ones with red ! marks) then clicking View Errors and Warnings.

If there are genuine faults, then it depends on the errors as to how to fix them - there is no magic bullet.

Shane
 
After an EDR some assets can become marked faulty in error. Do a search for "faulty" items using the drop down menu in the search box of CM. Right click on one and then on view errors and warnings. If it is a false report the error warning will disappear. If this is the case do the same with the other "faulty" items. You could do them in small batches.

Shane snap - it just took me longer to type.
 
Hi Shane and dnevans8
This is the typical error message I get (in this case GWR Castle class lococab kuid 46219;55031 :
Warning: This asset uses an obsolete trainz-build number. Trainz-build numbers below 2.7 are no longer supported.
Error: The Tag 'tooltip-token' is not permitted within a container of type 'default'.
Warning: Progressive meshes are no longer supported by Trainz. Though these meshes may work in Trainz, it is recommended that you switch to a LOD mesh.
Warning: Required container 'thumbnails' is missing.
All my 'faulty' assets appear to be the interior views, the remaining dependancies are not faulty!
Any advice please?
John
 
Looking at it, the only actual error is the tooltip-token tag in the config file, which needs to be removed from the config file.

Shane
 
Just to add to this - I don't need the interiors.....can I just delete these faulty kuids, and will the CDP then work properly?
John
 
Hi John,

The missing dependencies will prevent the locomotives from appearing in the game its self. Ensure the asset is repaired and this should fix your problem.

First of all ignore the warnings. They are just that and can be dealt with at another time if you with.

This error here is an easy fix...

Error: The Tag 'tooltip-token' is not permitted within a container of type 'default'.

This is a performed in Content Manager...

1) Right-click on the asset and choose Open for Edit in Explorer.

A Windows Explorer window will open and you'll see a bunch of texture files and text files (.txt).

2) Look for and open the config.txt file in Windows Notepad. (It should be default for this file anyway - I just needed to mention this).

3) Delete that tool-tip line mentioned above.

4) Save the file.

5) Close the folder.

6) Commit the asset again... Ensure the asset is highlighted and press CTRL+M at the same time.

A message will appear that shows a progress bar.

7) Highlight the asset and view errors and warnings. At this point there should only be the warnings and no more error.

John
 
Shane. Thanks this tooltip-token tag error is common to the majority of my faulty assets. How do I remove it from the config file? I have a 'view config' menu in Contents, but can't see a 'tag'.
John
 
Shane. Thanks this tooltip-token tag error is common to the majority of my faulty assets. How do I remove it from the config file? I have a 'view config' menu in Contents, but can't see a 'tag'.
John

Hi John,

See my comment above. It looks like we cross-posted. :)

John
 
Ok, here is the contents of the config file......what do I delete please?

kuid <kuid2:122285:504:5>
username "GWR AEC Railcar Interior"
kind "interior"
trainz-build 2.9

mesh-table
{
default
{
mesh "interior.im"
auto-create 1
}
}
cameradefault 0

cameralist
{
camera0 0.383,-8.505,2.616,0.1,-0.089
camera1 0.502,-9.274,2.815,0.1,-0.089
camera2 -0.42,3.461,2.815,0.1,-0.089
camera3 1.005,1.802,2.383,0.585,0.023
}
category-keyword "ajs;andi06"
category-class "CB"
category-era "1930s;1940s;1950s;1960s"
category-region "GB;UK"
author "Andi Smith (Andi06)"
license "Items are free for personal use. Scripts, textures and other components may be re-used provided the source is acknowledged and derived components do not use any form of encryption. Commercial terms are subject to negotiation and will include the following:

1. Any variant of any object made available commercially must also be available free of charge from the DLS.

2. A royalty will be required, payable to charity, on each sale. Such royalty would be nominal in the case of products expected only to cover costs of production and incidentals but significant in the case of products produced for profit.

3. The consent of the copyright holders of any item or texture included within the object as available at the date of agreement will also be required unless their consent has been previously delegated to myself. "
contact-website "http://ajsmith.org.uk/trs/"

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

kuid-table
{
}
 
The config.txt file you show does not contain the tag tooltip-token. Tags are the words that are listed in the left hand column when you view the config.txt file. Sometimes misplaced quote marks can result in words that are part of the text being read as tags, but that does not seem to be the case here.

I have that asset and it does not show as faulty, I suggest you try deleting the asset and redownloading it to see if that gets round the problem.

For future reference you can edit the config.txt file by right clicking on the asset, then edit, followed by edit in explorer. This lists the files that make up the asset and the config.txt file is one of them.
 
Hi all
All my faulty loco assets have the tooltip-token error following the Database Repair....the interiors are the 'missing dependencies' in every case, and all these interior KUIDS have the tooltip error - but all have nothing showing in the config.txt files! I have tried deleting and downloading the interior KUID individually, and deleting the whole Loco package altogether, and download a new package - in every case the 'interior' downloads again, with the error message.
It therefor seems there is some overriding error with the tooltip!
Any further ideas please?
John
Have now deleted ALL faulty assets - so naturally these were also dependencies....when I download the missing dependency (always an interior KUID), it always has the tooltip error - but nothing shows in the config file. These 'interiors' seem to be the problem?
John
 
Last edited:
OK small development. Having deleted all faulty assets with the tooltip error and carried out a database repair, I deleted all assets with missing dependencies and re downloaded the new asset packages. Now the warnings show all the 'interior' kuids as errors - 'not the right build' or 'texture' missing'! No tooltip errors show however.
Still not convinced all is OK though. As TR12 is now online as a cheap digital download with SP1, I'm thinking of deleting my present build and reinstalling the new one. Can you confirm that all I have to do is save my 'local' and 'original' folders in 'User Data' and then substitute them for those same folders (to be deleted) in the new build, to keep my routes and content? Or will these User Data folders contain the corrupt assets I have?
Also, finally, I had saved CDPs from the old build - will these import to Contents Manager?
All advice gratefully received. John
 
Shane, this is the warning message for GWR autocoach interior, which comes up as a missing dependency for the GWR Autocoach :Warning: This asset uses an obsolete trainz-build number. Trainz-build numbers below 2.7 are no longer supported, and Warning: Required container 'thumbnails' is missing. When I delete this interior asset and redownload, I get the message: Error: The Tag 'tooltip-token' is not permitted within a container of type 'default'.
The config file for this interior is:
kuid <kuid2:122285:302:5>
username "GWR Autocoach Interior"
kind "interior"
trainz-build 2.9

mesh-table
{
default
{
mesh "interior.im"
auto-create 1
}
}
cameradefault 0

cameralist
{
camera0 -0.922,-8.334,2.616,0.1,-0.089
camera1 -0.567,-0.512,2.162,0.413,0.027
camera2 0.854,7.27,2.455,0.592,0.005
camera3 0.125,-9.625,0.164,0.026,0.147
}
category-keyword "ajs;andi06"
category-class "CB"
category-era "1930s;1940s;1950s;1960s"
category-region "GB;UK"
author "Andi Smith (Andi06)"
license "Items are free for personal use. Scripts, textures and other components may be re-used provided the source is acknowledged and derived components do not use any form of encryption. Commercial terms are subject to negotiation and will include the following:

1. Any variant of any object made available commercially must also be available free of charge from the DLS.

2. A royalty will be required, payable to charity, on each sale. Such royalty would be nominal in the case of products expected only to cover costs of production and incidentals but significant in the case of products produced for profit.

3. The consent of the copyright holders of any item or texture included within the object as available at the date of agreement will also be required unless their consent has been previously delegated to myself. "
contact-website "http://ajsmith.org.uk/trs/"

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

kuid-table
{
}

Is this of any help please? John
 
Back
Top