Unable to Load Mesh file

RuvanJ

Trains & Ponies!
Have a slight problem, can anyone help me out?
Errors:
Error: Unable to load mesh file: 'emily_engine_body\emily_engine_body.pm'
Error: Unable to load mesh file: 'emily_engine_shadow\emily_engine_shadow.pm'


This happened after I changed Emily's Progressive meshes to Index Meshes using PM2IM
 
You need to replace the pm entries in the config's mesh table with im, so xyz.pm should be changed to xyz.im.
 
You need to replace the pm entries in the config's mesh table with im, so xyz.pm should be changed to xyz.im.

I Open up the config file and I can't seem to find it...

Config file:



category-era-0 "2003s"
category-region-0 "UK"


smoke0
{
attachment "a.safetyvalve"
mode "time"
color 255,255,255,150
start 60
period 30
rate 30
velocity 1
lifetime 1
minsize 0.05
maxsize 0.3
}


smoke1
{
attachment "a.smoke0"
mode "timeofday"
color 255,255,255,255
accel 1
start 0
period 1
rate 50
velocity 2.5
lifetime 2
minsize 0.3
maxsize 1.5
}
origin "UK"
bogey-r <kuid:93502:50026>
bogey-1-r <kuid:93502:50025>
bogey-2-r <kuid:93502:50027>
engine 1
fonts 2
name "Emily engine 4-2-2 class engine"
trainz-build 2.1
mass 50000
kuid <kuid:93502:72>
company "Sodor railway"
kind "traincar"
category-class "at"
enginespec <kuid:474181:1621>
enginesound <kuid:55976:53009>
hornsound <kuid:93502:54039>
interior <kuid:93502:55042>
description "Emily is new engine to arrive on the happy island of sodor."
asset-filename "Emily_engine"
username "Emily engine 4-2-2T class engine"
author "Mstnoodle"
organisation "Sodor Railway Workshops (and other railways)"
contact-email
contact-website
license


kuid-table
{
0 <kuid:93502:72>
1 <kuid:93502:54039>
2 <kuid:55976:50095>
3 <kuid:55976:50095>
4 <kuid:93502:55042>
5 <kuid:93502:50026>
6 <kuid:93502:50025>
7 <kuid:93502:50027>
}
 
If you open for edit using CCP it'll build a whole new mesh table tree on it's own, I always do the same to meshes with builds 2.2 and below.

Cheers.
 
If you open for edit using CCP it'll build a whole new mesh table tree on it's own, I always do the same to meshes with builds 2.2 and below.

Cheers.
Thaaank yoou very much, Now its just the matter of Emily's Coaches.

Again, can anyone lend a hand?

Error: Dependency <kuid:93502:10049> is unknown.
Warning: This asset uses an obsolete trainz-build number. Trainz-build numbers below 2.9 are no longer supported.
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: 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.
Warning: The texture 'emily_carriage_car_body/thomas black.bmp' is a uniform color.
Warning: The texture 'emily_carriage_car_body/thomas grey.bmp' is a uniform color.
Error: Unable to load primary texture 'emily_carriage_car_shadow/carriagepaint.bmp' for texture file 'emily_carriage_car_shadow/carriagepaint.texture.txt'.
Error: Binary conversion failed for texture resource 'emily_carriage_car_shadow/carriagepaint.texture.txt'.
Error: Unable to load primary texture 'emily_carriage_car_shadow/emilycoachespaint.bmp' for texture file 'emily_carriage_car_shadow/emilycoachespaint.texture.txt'.
Error: Binary conversion failed for texture resource 'emily_carriage_car_shadow/emilycoachespaint.texture.txt'.
Error: Unable to load primary texture 'emily_carriage_car_shadow/thomas black.bmp' for texture file 'emily_carriage_car_shadow/thomas black.texture.txt'.
Error: Binary conversion failed for texture resource 'emily_carriage_car_shadow/thomas black.texture.txt'.
Error: Unable to load primary texture 'emily_carriage_car_shadow/thomas grey.bmp' for texture file 'emily_carriage_car_shadow/thomas grey.texture.txt'.
Error: Binary conversion failed for texture resource 'emily_carriage_car_shadow/thomas grey.texture.txt'.
 
Thaaank yoou very much, Now its just the matter of Emily's Coaches.

Again, can anyone lend a hand?

Error: Dependency <kuid:93502:10049> is unknown.
Warning: This asset uses an obsolete trainz-build number. Trainz-build numbers below 2.9 are no longer supported.
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: 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.
Warning: The texture 'emily_carriage_car_body/thomas black.bmp' is a uniform color.
Warning: The texture 'emily_carriage_car_body/thomas grey.bmp' is a uniform color.
Error: Unable to load primary texture 'emily_carriage_car_shadow/carriagepaint.bmp' for texture file 'emily_carriage_car_shadow/carriagepaint.texture.txt'.
Error: Binary conversion failed for texture resource 'emily_carriage_car_shadow/carriagepaint.texture.txt'.
Error: Unable to load primary texture 'emily_carriage_car_shadow/emilycoachespaint.bmp' for texture file 'emily_carriage_car_shadow/emilycoachespaint.texture.txt'.
Error: Binary conversion failed for texture resource 'emily_carriage_car_shadow/emilycoachespaint.texture.txt'.
Error: Unable to load primary texture 'emily_carriage_car_shadow/thomas black.bmp' for texture file 'emily_carriage_car_shadow/thomas black.texture.txt'.
Error: Binary conversion failed for texture resource 'emily_carriage_car_shadow/thomas black.texture.txt'.
Error: Unable to load primary texture 'emily_carriage_car_shadow/thomas grey.bmp' for texture file 'emily_carriage_car_shadow/thomas grey.texture.txt'.
Error: Binary conversion failed for texture resource 'emily_carriage_car_shadow/thomas grey.texture.txt'.

Hello RuvanJ,

Once you build the mesh table, you need to create the files that it points to otherwise you'll still be picking up the PM files in the asset's folder. To create the .IM files, you need to run PM2IM from PEV. This utility is available, along with how-to use it tutorials, at Shane Turner's website. There are links to his website at the top of this forum area.

The texture errors are another animal which require other tools such as Texture2TGA and Gimp or some other photo-editing program, to repair the textures.

John
 
Looking at the errors:

To fix the first error, you will need to find and install the KUID referred to in the error.
To fix the progressive mesh warnings, it's normally a case of using PM2IM, available on my tutorial site at http://trainz.shaneturner.co.uk/tut...d-party-trainz-utilities/pevsoft-trainz-tools. It's worth grabbing the other tools available as well as you may need them at some point.
To fix the thumbnails warning, add the following code to the config file: (note: you will need to have a .jpg file of the width and height stated below in the asset folder, and called screenshot.jpg if using the code below)
Config File said:
thumbnails
{
0
{
image "screenshot.jpg"
width 240
height 180
}
}

Be aware that both the 240 and 180 figures are in pixels, and if your image is not called screenshot.jpg, change the entry to the name of your .jpg file.

To fix the uniform colour warnings, you will need the Images2TGA tool from the link I've just posted. Be aware though that this may have unexpected side effects, so if in doubt, the warning can be ignored.

To fix the primary texture/binary conversion errors, you will need to either create or locate the files mentioned in the errors.

Shane
 
Back
Top