Problem correcting faulty assets

shaneturner12

Tutorial Creator
Not sure if it's a bug in CM3.3, but I am unable to fix the following 2 items:

5 platform 9 track station,<kuid2:101243:28041:1>
5_platform_7_track_station,<kuid2:101243:28043:1>

The errors reported are:

Error: Texture 'night_windows/brickstation.texture' is missing or could not be loaded for mesh 'night_windows\night_windows.im'.
Error: Texture 'night_windows/flo_lights.texture' is missing or could not be loaded for mesh 'night_windows\night_windows.im'.
Error: Attachment point att (a.name0) in 'mesh-table\default\effects\0' was not found.
Error: The attachment point 'a.name0' must belong to the parent mesh of the effect (mesh=5_platform_9_track_station.im).
Error: Texture 'night_windows/brickstation.texture' is missing or could not be loaded for mesh 'night_windows\night_windows.im'.
Error: Texture 'night_windows/flo_lights.texture' is missing or could not be loaded for mesh 'night_windows\night_windows.im'.

I have attempted to correct the .im errors, but for some reason CM3.3 is not committing them on these 2 assets.

Any ideas/workarounds?

Shane
 
Not sure if it's a bug in CM3.3, but I am unable to fix the following 2 items:

5 platform 9 track station,<kuid2:101243:28041:1>
5_platform_7_track_station,<kuid2:101243:28043:1>

The errors reported are:

Error: Texture 'night_windows/brickstation.texture' is missing or could not be loaded for mesh 'night_windows\night_windows.im'.
Error: Texture 'night_windows/flo_lights.texture' is missing or could not be loaded for mesh 'night_windows\night_windows.im'.
Error: Attachment point att (a.name0) in 'mesh-table\default\effects\0' was not found.
Error: The attachment point 'a.name0' must belong to the parent mesh of the effect (mesh=5_platform_9_track_station.im).
Error: Texture 'night_windows/brickstation.texture' is missing or could not be loaded for mesh 'night_windows\night_windows.im'.
Error: Texture 'night_windows/flo_lights.texture' is missing or could not be loaded for mesh 'night_windows\night_windows.im'.

I have attempted to correct the .im errors, but for some reason CM3.3 is not committing them on these 2 assets.

Any ideas/workarounds?

Shane

The textures are genuinely missing for the night mode, I suspect earlier versions of trainz defaulted to looking for texture files in a higher directory
if they were not found in the current directory, or maybe it was just broken in night mode and noone noticed.

Anyway, you can work around the texture related mistakes by copying them from the normal model's directory, one texture appears to have been moved from the normal to night-mode directories instead of copied, and that needs to be copied back upwards.

The a.name0 being missing thing is work-around-able by deleting the 0 { ... } block from the effects container in config.txt.

Not all 'faulty assets' are simply configuration issues, some are genuinely very broken, in most cases they slipped through the nets because earlier versions of trainz still did 'something' with the broken asset, rather than complain. These are two of those assets.
 
Unfortunately, the required .texture files are not in the main folder either.

Even PM2IM does not seem to be able to do anything about it.

Is it better if I re-download the asset(s)?

Shane
 
Unfortunately, the required .texture files are not in the main folder either.

Even PM2IM does not seem to be able to do anything about it.

Is it better if I re-download the asset(s)?

Shane

.texture files are created during the asset being committed, from the .texture.txt and the jpg/tga/bmp files.

I downloaded one of the two assets you listed, copied the tga/bmp files around as needed, and removed the 0 { ... } block, committed it and CMP accepted it just fine. So it does work... I haven't had chance to check how it looks though, since I'm working on something else...

Redownloading it might help if CMP has gotten 'in a funk' about something.
 
Work rounds 1
open for edit in explorer
5 platform 7 track station
1 copy brick station.tga out of main folder paste into night folder
2 copy flo_lights.tga from main folder paste into night folder
3 copy wo1.tga from main folder paste into night folder
4 copy wo1.bmp from main folder paste into night folder
5 from the night folder copy station windows small panes.tga paste into main folder
That now leaves this
Error: Attachment point att (a.name0) in 'mesh-table\default\effects\0' was not found.
Error: The attachment point 'a.name0' must belong to the parent mesh of the effect (mesh=5_platform_7_track_station.im).
open config txt doc
look for this
effects
{
0
{
kind "name"
fontsize 0.15
fontcolor 4,62,0
att "a.name0" remove this line and save
name "name"
See next post
 
Last edited:
Work rounds 2
open for edit in explorer
5 platform 9 track station
1 copy brick station.tga out of main folder paste into night folder
2 copy flo_lights.tga from main folder paste into night folder
3 copy wo1.tga from main folder paste into night folder
4 copy wo1.bmp from main folder paste into night folder
5 copy roof.tga from main folder paste into night folder
6 from the night folder copy station windows small panes.tga paste into main folder

That now leaves this
Error: Attachment point att (a.name0) in 'mesh-table\default\effects\0' was not found.
Error: The attachment point 'a.name0' must belong to the parent mesh of the effect (mesh=5_platform_9_track_station.im).
open config txt doc
look for this
effects
{
0
{
kind "name"
fontsize 0.15
fontcolor 4,62,0
att "a.name0" remove this line and save
name "name"
 
Last edited:
Unfortunately, the required .texture files are not in the main folder either.

Even PM2IM does not seem to be able to do anything about it.

Is it better if I re-download the asset(s)?

Shane

Shane: I have had some success repairing missing textures by searching for similar assets by the original creator of the asset. Then using copy and paste to transfer the missing texture files. Success rate is around 50% so far. If the asset is so broken that fixing it is too much of a hassle I generally look for a suitable substitute.

Good Luck, tomurban
 
Last edited:
It's looking good so far - I have now managed to sucessfully fix one of the two assets, and I'm just sorting out the second one.

I appreciate all the help given - as they say, one good turn deserves another.

Shane
 
I have now sucessfully fixed both assets - I'm now one step closer to being able to run my route in native mode.

Thankyou for all the help - it is appreciated! (If anyone needs help from me, just post in the normal way or PM me and I will try to help the best I can).

Shane
 
Back
Top