How to make older Locomotives work in Trainz 12

koolboy

New member
Hi,
I am running Trianz 12 at the moment but am wishing to run some older loco's in my new session, below examples

These locos are well and truly prior to Trainz 12. Does anyone know if it is possible and how to get these to work in Trainz 12.

Hammersley Iron Dash 9-44CW

BHP Dash 9-44CW
 
Hello,

Right-click on them in Comtent Manager and select "View Errors and Warnings", and paste the errors here.

Then we can help you repair them and get them working. :)

With enough know-how and the right tools, 99% of faulty content can be fixed. :D

Kieran.
 
Hi Kieran,
below is a copy of the errors there are 45 in total so I did a quick example of the errors. This error dump is from
Pilbara rail Dash 9-44CW

Warning: This asset uses an obsolete trainz-build number. Trainz-build numbers below 2.9 are no longer supported.

Warning: Aliased meshes cannot currently be verified by Trainz.

Error: The Tag 'obsolete_table' is not permitted within a container of type 'traincar'.

Error: The Tag 'reskinned' is not permitted within a container of type 'traincar'.


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.

Error: Unable to load primary texture 'digit_1a.tga' for texture file 'digit_1a.texture.txt'.
Error: Binary conversion failed for texture resource 'digit_1a.texture.txt'.

45 errors in total :(
 
Last edited:
Well, each of those errors has to be fixed (minus the ones starting with 'Warning', which can be ignored) before the asset will work.

Could you please post all the ones starting with Error and not Warning? It's a long list to trudge through but I can help you get there.

Posting the config.txt file would also help immensely. You can put it in
Code:
 tags and it will keep its formatting and take up less room. :)
[code]The text in code tags looks like this.

The 'obsolete_table' and 'reskinned' errors are easy to fix but I need the config before I can help you with the second one as it may be in the asset's description.

The errors involving textures are a bit more difficult to fix and it looks like the asset uses either the number-it or ARN system of numbering, and I'm not sure how that works so I may not be of much help for those.

Kieran.
 
Last edited:
G'day All, I just downloaded "Pilbara rail Dash 9-44CW" and fixed it up giving it build 2.9 works fine but has no cab view which could be fixed to.
gremlin1812_20140414_0000.jpg

gremlin1812_20140414_0001.jpg

Looks quite good considering it was build 1.5.
Regards
Barrie
 
These locos are well and truly prior to Trainz 12. Does anyone know if it is possible and how to get these to work in Trainz 12.

Hammersley Iron Dash 9-44CW

BHP Dash 9-44CW

You should check if the assets are in the DLS Cleanup List - it is old enough, and those errors indicate it ought to be included. If you find it, you can request anyone who has already repaired it to upload it as a newer version. That way the repair is available to everyone.
 
Hey Barrie,
I just edited it in CMP and saved it so it gave it the 2.9 build, I didn't alter anything else. When I opened Trainz to view it in Railyard, it lists it but won't display it (can't see the loco but can see it in the list though)
 
Hi Kieran,

config file below

kuid <kuid:63971:110018>
username "Pilbara rail Dash 9-44CW"
alias <kuid:45324:100015>
kind "traincar"
mass 100000
engine 1
fonts 4
enginespec <kuid:-1:42004231>
enginesound <kuid:-1:42003000>
hornsound <kuid:-1:42003101>
smoke_shade 0.5
smoke_random 2.6
smoke_slowlife 5
smoke_fastlife 4
smoke_height 2.3
smoke_fastspeed 100
description "GE dash-9 in pilbara rail livery"
category-class "AL"
light_color 255,255,220
ditch_color 255,255,220
reskinned "by Peter Couvee"
author "reskin by peter couvee original author NS37"
organisation
contact-email
contact-website
license "this reskin is your to use, please note the original author's conditions of use"
category-region "US"
category-era "1960s;1970s;1980s;1990s;2000s"
trainz-build 2.9


kuid-table
{
0 <kuid:-1:42004231>
1 <kuid:45324:50005>
2 <kuid:45324:50005>
3 <kuid:45324:100015>
4 <kuid:-1:42003000>
5 <kuid:-1:42003101>
6 <kuid:-10:172>
}


mesh-table
{
default
{
mesh "BNSF_WB_Dash9_body/BNSF_WB_Dash9_body.pm"
auto-create 1
}

shadow
{
mesh "BNSF_WB_Dash9_shadow/BNSF_WB_Dash9_shadow.pm"
auto-create 0
}
}


bogeys
{
0
{
bogey <kuid:45324:50005>
reversed 0
}

1
{
bogey <kuid:45324:50005>
reversed 1
}
}
 
Hi Barrie,
No luck I did exactly what you said and it shows up in red in the rollingstock list when i try to place it onto a track. when I click on in in railyard it comes up blank in the main screen.
 
Use Edit in Explorer instead as CCP will mess up faulty content even more (in my experiences anyway), especially content with scripted running numbers.

Kieran.
 
Hi Kieran,
still no luck, getting frustraighted not sure why this is still happening after following everyone's advice. My trainz patches are up to date as well.
 
By editing it in CCP you have introduced a mesh table that points to a non existent directory for the pm file, especially if you have deleted the alias tag.

The first thing I would suggest doing is to delete the asset and re download it, you could use "Edit - Revert to original" but by downloading again you know you are starting afresh.

To remove errors

Error: The Tag 'obsolete_table' is not permitted within a container of type 'traincar'.

Error: The Tag 'reskinned' is not permitted within a container of type 'traincar'.

To get rid of these errors use EDIT IN EXPLORER and delete the lines starting with 'obselete_table' and 'reskinned' from the config.txt file.


Error: Unable to load primary texture 'digit_1a.tga' for texture file 'digit_1a.texture.txt'.
Error: Binary conversion failed for texture resource 'digit_1a.texture.txt'.

To remove these related errors you will need to find a locomotive that has the "digit_(nx).texture.txt files (n = 1-6 x = a-d) and there corresponding digit_(nx).tga files. Copy the .tga files to the directory of your locomotive.

You could use asset-X to update the pm file to an im file; add a mesh table; add a thumbnail; and thumbnails container but these are warning so the locomotive will show without these changes.
 
Last edited:
Error: Unable to load primary texture 'digit_1a.tga' for texture file 'digit_1a.texture.txt'.
Error: Binary conversion failed for texture resource 'digit_1a.texture.txt'.

To remove these related errors you will need to find a locomotive that has the "digit_(nx).texture.txt files (n = 1-6 x = a-d) and there corresponding digit_(nx).tga files. Copy the .tga files to the directory of your locomotive.

Not necessary. Just create an image file for each texture file. You can use the same image file for all the texture files by updating the contents of the texture.txt file to refer to the new image file. The image doesn't matter.
 
Last edited:
Best to start with an unmodified version of the locomotives (fresh download). The procedure is the same for both locomotives.
- Open for edit in explorer
- open the file config.txt in a simple editor (notepad.exe)
- change obsolete_table to obsolete-table
- delete the line starting with reskinner
- exit the editor, saving the changes
- delete all digit....txt files
- in ContentManager commit the asset (CTRL-M)

The locomotives don't use changeable running numbers, the numbers are part of the painting.

Peter
 
Back
Top