Fix Mesh Problems with Faulty Items

trolley8

New member
I have had TS2010 for a while now, but I haven't used the Content Manager much until recently. I am having problems with many trains and structures I try to use that have errors that say that Trainz can't load a mesh. They show up in the lists of the game, but cannot be placed or shown in the railyard. I have searched around, but it wasn't very helpful. The problems are:

- srr89's 2-10-2 #90 V2 (<kuid313505:1035.) : Says "This asset requires a shadow mesh but the table does not contain one" and has a dependency "blw dec b2" by bdaneal (<kuid:96914:504872>) that has the error "texture 'engine_black.texture' is missing or could not be loaded for mesh 'bkw_con_b2im'"

-bdaneal's "36ng Clearlake 12" from steammachine.com (Subpar Productions) (<kuid2:96914:1200:3>) has dependency "ury21 b2" by bdaneal that has error "Texture 'engine_black.texture' is missing or could not be loaded for mesh 'ury21_b2.im'" and also dependency "URY 21 bog 1 green" by bdaneal (<kuid2:"9614:50214:2>) says that Progressive meshes are no longer supported by Trainz and may not work ... switch to an LOD mesh.

-For Slugsmasher's Clear Lake V2 route (<kuid:86661:9450288>), the dependency "invisi-mill small" by bdaneal (<kuid96914:31000>) has errors "Unable to load image file 'shadow.bmp' for texture 'shadow.texture.txt' whil validating mesh 'invisimill30.im'", "Unable to load primary texture 'shadow.bmp for texture file 'shadow.texture.txt'", and "Binary conversion failed for testure rescource 'shadow.texture.txt'"

-Slugsmasher's CL2 Intro session (<kuid:86661:9450387>) has 36 in Gauge Black Climax Oil Fired by narrowguage <kuid2:44700:3:3> says it has missing dependancies, but I don't see any problems... it won't work. Maybe I should just dowload that from the TrainZone website... But there are four frieght cars that won't work. Three have almost the exact same errors: there are two warnings about progressive meshes not working(switch to LOD) and one that says (for the 'ng boxcar 1' by slugsmasher <kuid:86661:5001>) "Unable to load mesh file 'ng_boxcar_1_shadow/ng_boxcar_1_shadow.pm'". This is the same for the other cars except it has that car's name instead of the boxcar's name. Then there is a flatcar (by slugsmasher "36 ga Skeleton 22ft Mich-Cal" <kuid2:86661:15430:3>) that has error "Binary conversion failed for texture rescource 'mc_skeletonrs_art/mc_skeletonrs_art_512.texture.txt'"

Any help with getting these items working would be GREATLY appreciated!
 
Like the man said "download and install PEV's tools"
and read tut's
All your errors can be corrected with patience.
I have fixed the exact assets and errors.
PEV's tools can correct a mesh *.pm error
PEV's tools can make a "Shadow Mesh"
Several resent "texture 'engine_black.texture" forum posts
 
Shadow problems.
Missing shadow mesh files should only be a warning but Trainz may show it as an error in some builds. Two ways to fix:
1. Make a shadow mesh using PEV's QuickShadows.exe to add to the body folder then add a shadow container to the config.txt file like this:
shadow
{
mesh "path/shadow.im"
}
Look in any build 2.9 (or later) loco's config.txt file and you should see how and where the shadow container is placed. After adding, save and commit the config.txt file.
2. You can tell content manager that there is no shadow by adding a mesh-table container to the config.txt file like this:
mesh-table
{
default
{
mesh "path/mesh name"
auto-create 1
}
}
Look in any build 2.9 (or later) loco's config.txt file on appearance and placement of a mesh-table container.

Engine_Black texture problem.
This problem is due to:
1. A missing texture file named engine_black or,
2. the body folder contains an engine_black.texture.txt file but not the texture file.
If the mesh file doesn't actually call for an engine_black texture you can simply delete the engine_black.texture.txt file. If the file is need for the mesh then edit any small texture file to make it all black and add it to the mesh folder with the proper filename.

Progressive meshes (.pm).
This is usually just a warning and can be ignored. If it is a error you have to use PEV's PM2IM.exe utility to convert the .pm file to an .im file.

Bob Weber
 
Last edited:
Tried to fix shadow problem with the boxcar. It mostly worked, except the car showed up as only a shadow in Trainz - a great improvement from before, but still, a shadow car is no fun in most cases! The config file has no mesh table script, but I added one including the shadow and the other mesh, referring to the climax loco (which I fixed). The boxcar now has the warning saying "This asset does not have a mesh that is visible by default". Before I edited the script looked like this:
kuid <kuid:86661:15001>
origin "USA"
bogey-r <kuid:86661:50003>
engine 0
name "ng Clearlake Boxcar 1"
mass 10000
company "Clearlake"
kind "traincar"
enginespec <kuid:-1:42004201>
interior <kuid:86661:55003>
category-region-0 "US"
category-region-1 "AU"
category-region-2 "NZ"
category-region-3 "CA"
category-era-0 "1940s"
category-era-1 "1930s"
category-era-2 "1920s"
category-era-3 "1910s"
category-era-4 "1900s"
category-era-5 "1890s"
category-era-6 "1880s"
category-era-7 "1870s"
category-class "XSU"
asset-filename "ng_boxcar_1"

obsolete-table
{
}
trainz-build 1.3
thumbnail
description "Green painted and weathered Clearlake Lumber Company 36' gauge generic 26 foot link & pin boxcar. Well suited for narrowgauge shortlines using less than carload (LCL) freight hauling. Base model assembly adapted from logging heavy flat wagon originally made by P.Pardoe Matthews. "
username "ng_boxcar_1"
author "Rich Blake"
organisation "Slugsmasher's Trainz Loggerz"
contact-email "blake@oakharbor.net"
contact-website
license "Released for public consumption with only a request that you use my name if you release content with my textures provided with these items."

kuid-table
{
0 <kuid:86661:50003>
1 <kuid:-1:42004201>
2 <kuid:86661:55003>
}


Now it looks like this:

kuid <kuid:86661:15001>
origin "USA"
bogey-r <kuid:86661:50003>
engine 0
name "ng Clearlake Boxcar 1"
mass 10000
company "Clearlake"
kind "traincar"
enginespec <kuid:-1:42004201>
interior <kuid:86661:55003>
category-region-0 "US"
category-region-1 "AU"
category-region-2 "NZ"
category-region-3 "CA"
category-era-0 "1940s"
category-era-1 "1930s"
category-era-2 "1920s"
category-era-3 "1910s"
category-era-4 "1900s"
category-era-5 "1890s"
category-era-6 "1880s"
category-era-7 "1870s"
category-class "XSU"
asset-filename "ng_boxcar_1"

obsolete-table
{
}
trainz-build 1.3
thumbnail
description "Green painted and weathered Clearlake Lumber Company 36' gauge generic 26 foot link & pin boxcar. Well suited for narrowgauge shortlines using less than carload (LCL) freight hauling. Base model assembly adapted from logging heavy flat wagon originally made by P.Pardoe Matthews. "
username "ng_boxcar_1"
author "Rich Blake"
organisation "Slugsmasher's Trainz Loggerz"
contact-email "blake@oakharbor.net"
contact-website
license "Released for public consumption with only a request that you use my name if you release content with my textures provided with these items."

kuid-table
{
0 <kuid:86661:50003>
1 <kuid:-1:42004201>
2 <kuid:86661:55003>
}

mesh-table
{
default
{
mesh "ng_boxcar_1_body/ng_boxcar_1_body.pm"
}

shadow
{
mesh "ng_boxcar_1_body/shadow.im"
}
}

Do I need to add more to this?

Or is there just a way that I can turn the shadow.im into a .pm so that Trainz recognizes it?

Or is there just a different place to change the script?

Thanks for the help so far!

Any more help on this is, again, appreciated greatly!
 
Fixed the sawmill.

Fixed engine_black problem with a shadow texture.

Still having problems with the freight cars...
 
The Boxcar is Fixed!!!

This means I should be able to fix the rest of the freight cars...

All except the Mich-Cal flatcar with the "Binary conversion failed for texture rescource 'mc_skeletonrs_art/mc_skeletonrs_art_512.texture.txt" error.

I'll look into that.
 
36 in Gauge Black Climax Oil Fired by narrowguage <kuid2:44700:3:3>

This is on the DLS. It has also become 'builtin', perhaps because of Murchison. Download the dependencies from the DLS and it will work. I will upload new versions of the built-in ones

Peter
 
This is on the DLS. It has also become 'builtin', perhaps because of Murchison. Download the dependencies from the DLS and it will work. I will upload new versions of the built-in ones

Climax worked after I downloaded it from SirGibby's TrainZone. Still working on Mich-Cal cars.
 
I fixed the Mich-Cal car - the .texture file mentioned in the error was missing a line of code. I typed some in based on the other .texture file and it works.

So that solves my last problem for now I hope.

I think I'm getting the hang of editing these faulty items now.

Thanks for the help everyone!
 
No problem! I had to do that with the SI3D 2004/2006 Trainz models, and it was a pain, believe it or not. Go try and install such into trainz 2012, and see what I mean! :hehe:
 
Back
Top