Trying to fix the XBG SSW B-70-63 from mchawkman

constar261

Active member
Trying to fix the XBG SSW B-70-63 from mchawkman. Can someone please help me make heads or tails of this and what its missing?

; <kuid:593863:100231> Validating <kuid:593863:100231>
! <kuid:593863:100231> VE48: This asset uses an obsolete trainz-build number. Trainz-build numbers below 3.5 are no longer supported.
; <NULL> MeshResource::LoadResource> <NULL> | arc:fld:$(original)/hash-C0||kuid 593863 100231.tzarc|
; <NULL> Loading mesh main5.im
- <kuid:593863:100231> VE171: Expected texture file type but found 'main1spec.tga' for 'arc:fld:$(original)/hash-C0||kuid 593863 100231.tzarc|'
- <kuid:593863:100231> VE165: Texture 'main1spec.tga' is missing or could not be loaded in mesh 'main5.im', material 'main1.m.tbumpenv'.
- <kuid:593863:100231> VE170: Failed to open compiled texture 'main1.texture' for 'arc:fld:$(original)/hash-C0||kuid 593863 100231.tzarc|'
- <kuid:593863:100231> VE165: Texture 'main1.texture' is missing or could not be loaded in mesh 'main5.im', material 'main1.m.tbumpenv'.
; <NULL> Loading mesh main4.im
- <kuid:593863:100231> VE165: Texture 'main1spec.tga' is missing or could not be loaded in mesh 'main4.im', material 'main1.m.tbumpenv'.
- <kuid:593863:100231> VE165: Texture 'main1.texture' is missing or could not be loaded in mesh 'main4.im', material 'main1.m.tbumpenv'.
; <NULL> Loading mesh main3.im
- <kuid:593863:100231> VE165: Texture 'main1spec.tga' is missing or could not be loaded in mesh 'main3.im', material 'main1.m.tbumpenv'.
- <kuid:593863:100231> VE165: Texture 'main1.texture' is missing or could not be loaded in mesh 'main3.im', material 'main1.m.tbumpenv'.
; <NULL> Loading mesh main2.im
- <kuid:593863:100231> VE165: Texture 'main1spec.tga' is missing or could not be loaded in mesh 'main2.im', material 'main1.m.tbumpenv'.
- <kuid:593863:100231> VE165: Texture 'main1.texture' is missing or could not be loaded in mesh 'main2.im', material 'main1.m.tbumpenv'.
; <NULL> Loading mesh main1.im
; <kuid:593863:100231> Mismatch: Texture count mismatch
! <kuid:593863:100231> VE186: Material 'arc:fld:$(original)/hash-C0||kuid 593863 100231.tzarc|**main1.m.tbumpenv' is shared between multiple chunks in this asset but the material parameters conflict.
; <NULL> MeshResource::LoadResource> <NULL> | arc:fld:$(original)/hash-C0||kuid 593863 100231.tzarc|
; <NULL> Loading mesh door1.im
; <kuid:593863:100231> Mismatch: Texture count mismatch
! <kuid:593863:100231> VE186: Material 'arc:fld:$(original)/hash-C0||kuid 593863 100231.tzarc|**main1.m.tbumpenv' is shared between multiple chunks in this asset but the material parameters conflict.
! <kuid:593863:100231> VE82: Individual mesh files are not supported for traincar assets. Upgrade 'door1.im' to a .lm file.
; <NULL> MeshResource::LoadResource> <NULL> | arc:fld:$(original)/hash-C0||kuid 593863 100231.tzarc|
; <NULL> Loading mesh door2.im
; <kuid:593863:100231> Mismatch: Texture count mismatch
! <kuid:593863:100231> VE186: Material 'arc:fld:$(original)/hash-C0||kuid 593863 100231.tzarc|**main1.m.tbumpenv' is shared between multiple chunks in this asset but the material parameters conflict.
! <kuid:593863:100231> VE82: Individual mesh files are not supported for traincar assets. Upgrade 'door2.im' to a .lm file.
; <NULL> MeshResource::LoadResource> <NULL> | arc:fld:$(original)/hash-C0||kuid 593863 100231.tzarc|
; <NULL> Loading mesh door3.im
; <kuid:593863:100231> Mismatch: Texture count mismatch
! <kuid:593863:100231> VE186: Material 'arc:fld:$(original)/hash-C0||kuid 593863 100231.tzarc|**main1.m.tbumpenv' is shared between multiple chunks in this asset but the material parameters conflict.
! <kuid:593863:100231> VE82: Individual mesh files are not supported for traincar assets. Upgrade 'door3.im' to a .lm file.
; <NULL> MeshResource::LoadResource> <NULL> | arc:fld:$(original)/hash-C0||kuid 593863 100231.tzarc|
; <NULL> Loading mesh door4.im
; <kuid:593863:100231> Mismatch: Texture count mismatch
! <kuid:593863:100231> VE186: Material 'arc:fld:$(original)/hash-C0||kuid 593863 100231.tzarc|**main1.m.tbumpenv' is shared between multiple chunks in this asset but the material parameters conflict.
! <kuid:593863:100231> VE82: Individual mesh files are not supported for traincar assets. Upgrade 'door4.im' to a .lm file.
! <kuid:593863:100231> VE109: The low-detail meshes total more than 500 polygons. This may have a negative impact on performance: 0: 8535, 1: 7010, 2: 4588, 3: 3617, 4: 3071
! <kuid:593863:100231> VE111: The meshes in LOD level 4 must total at least 20% fewer polygons than the next higher LOD: 0: 8535, 1: 7010, 2: 4588, 3: 3617, 4: 3071
! <kuid:593863:100231> VE111: The meshes in LOD level 1 must total at least 20% fewer polygons than the next higher LOD: 0: 8535, 1: 7010, 2: 4588, 3: 3617, 4: 3071
 
There is something corrupted with this asset, I think. I've been unable to fix it by running the usual utilities like Images2TGA, PM2IM, and even by opening up these images in Paint.net.
 
I fixed it. All you have to do in the config file is to in the mesh part of the config is type in main1.im instead of the .lm file referenced in the original cofig.
Here is the fixed config


kuid <kuid:593863:100231>
username "XBG SSW B-70-63 v1 box car"
kind "traincar"
script "MSPscript"
class "b_70_63"
enginespec <kuid:277064:50001>
engine 0
fonts 2
fonts-path "car"
mass 35380
category-class "XBG"
disable-extra-track-sounds 1
author "MSP"
organisation "Sufferin Pacific"
contact-email "http://sufferinpacific.weebly.com"
contact-website "Home"
license "Open GL. All rights reserved. Any re-paints may be distributed to the Auran DLS. Distribution via other outlets to be by original author's
consent only."
category-region "US"
category-era "1970s;1980s;1990s;2000s"
use-coupler-sounds 1
description "Blender mesh by MSP. Textures by MSP. This is my model of a Cotton Belt B-70-63 box car. This car has opening doors, which can be accessed from Surveyor, and also while in Driver mode."
trainz-build 2.9

string-table
{
no_products "This car is empty."
door1_open "Door 1 Open"
door1_closed "Door 1 Closed"
door2_open "Door 2 Open"
door2_closed "Door 2 Closed"
door3_open "Door 3 Open"
door3_closed "Door 3 Closed"
door4_open "Door 4 Open"
door4_closed "Door 4 Closed"
maxweight "71668"
skin_table "SELECT CHOICE OF SKIN FOR CAR - THREE OPTIONS:"
door_position "SELECT OPEN OR CLOSED POSITIONS FOR THE DOORS:"
}

mesh-table
{
default
{
mesh "main1.im"
auto-create 1

effects
{
main1spec
{
kind "texture-replacement"
texture "main1spec-main1spec.texture"
}

b-70-63
{
kind "texture-replacement"
texture "main1-main1.texture"
}
}
}

shadow
{
mesh "shadow.im"
}

door1
{
mesh "door1.im"
anim "door1.kin"
auto-create 1

effects
{
main2
{
kind "texture-replacement"
texture "main1-main1.texture"
}
}
}

door2
{
mesh "door2.im"
anim "door2.kin"
auto-create 1

effects
{
main3
{
kind "texture-replacement"
texture "main1-main1.texture"
}
}
}

door3
{
mesh "door3.im"
anim "door3.kin"
auto-create 1

effects
{
main4
{
kind "texture-replacement"
texture "main1-main1.texture"
}
}
}

door4
{
mesh "door4.im"
anim "door4.kin"
auto-create 1

effects
{
main5
{
kind "texture-replacement"
texture "main1-main1.texture"
}
}
}
}

queues
{
generic_palletized_boxes_load
{
size 1
initial-count 0
product-kuid <kuid:593863:100246>

allowed-products
{
0 <kuid:593863:100246>
}

attachment-points
{
0 "a.load"
}
}

generic_palletized_bags_load
{
size 1
initial-count 0
product-kuid <kuid:593863:100247>

attachment-points
{
0 "a.load"
}
}
}

bogeys
{
0
{
bogey <kuid2:45324:50203:3>
reversed 0
}
}

thumbnails
{
1
{
image "preview.jpg"
width 320
height 240
}
}

privileges
{
}

extensions
{
reportingmark-32711 "SSW"
carnumber-32711 "x"

numberit-75134
{
numberit_prefix "60"
numberit_min "5000"
numberit_max "9990"
}
}

kuid-table
{
1 <kuid:-1:42004201>
2 <kuid:-3:10040>
3 <kuid:506034:1056>
skins <kuid:593863:100230>
numberit_library <kuid2:75134:99003:4>
4 <kuid2:45324:50203:3>
5 <kuid:277064:50001>
6 <kuid:593863:100246>
7 <kuid:593863:100247>
}
 
i do not see how i never changed the lods the mesh file that the original config pointed too was

default
{
mesh "b-70-63.lm"
auto-create 1

which was not in the body folder but main1.im was changed to this

default
{
mesh "main1.im"
auto-create 1

Submitted the edits and it worked.
 
Back
Top