Obsolete tags

Post Reply
User avatar
Aunty Acid
Past 100!
Posts: 134
Joined: Mon Jul 22, 2013 11:01 am
Trainz Version: TANE
Trainz Build: 0
Location: Aberystwyth

Obsolete tags

Post by Aunty Acid »

Hi,

I have imported bird_d00's 1956/59/62 stock, and they're all working perfectly with the exception of the DMs. The faulty asset is the texture component, which has obsolete tags (I believe these were made for TS2009). I am wondering if anyone knows how I can update these tags for TANE SP4?

If bird_d00 is on this forum, thank you so much for these trains. I have been using your C Stock trains for a while now, and they are more than excellent. From what I have seen of the 1956-62 trains they are also excellent, so no hate to you as it seems to be just a weird bug with using older assets in newer builds of Trainz 8-).

Below are the errors:
- <kuid2:338848:13:1> VE44: Tag 'name' in the container 'texture-group' is obsolete.
- <kuid2:338848:13:1> VE45: The Tag 'company' is not permitted within a container of type 'texture-group'.
- <kuid2:338848:13:1> VE44: Tag 'category-region-0' in the container 'texture-group' is obsolete.
- <kuid2:338848:13:1> VE44: Tag 'category-region-1' in the container 'texture-group' is obsolete.
- <kuid2:338848:13:1> VE44: Tag 'category-era-0' in the container 'texture-group' is obsolete.
- <kuid2:338848:13:1> VE44: Tag 'category-era-1' in the container 'texture-group' is obsolete.
- <kuid2:338848:13:1> VE28: The tag '12' in 'textures' must have an image file extension.
Thanks,

Carol Stott.

Yes, freedom is good, but arguably, grammar is better.

~ Andy Zaltzman
Jay
Milepost 1
Posts: 22
Joined: Sun Jun 03, 2018 10:04 pm
Trainz Version: Trainz 2022
Trainz Build: 5
Location: Somewhere in the West Midlands.....

Re: Obsolete tags

Post by Jay »

Hi.

I've had those errors when I came back from taking a long break from playing Trainz. Just simply deleting the tags that show a VE44 and VE45 errors from the config file simply worked for me in Trainz 22, maybe that could work for you as well? As for the VE28 error a quick search on Google comes up with this: https://online.ts2009.com/mediaWiki/index.php/Help:VE28

Here's a link to trainz VE (Validation Errors) and how to fix most of them if you run into any more errors:
https://online.ts2009.com/mediaWiki/ind ... ion_Errors

Hope this helps,
Jay. :)
User avatar
GaryReggae
New Starter
Posts: 9
Joined: Sat Apr 10, 2021 5:06 pm
Trainz Version: Trainz Plus
Trainz Build: 123794
Author KUID: 228113
Location: Eastleigh, Hampshire
Contact:

Re: Obsolete tags

Post by GaryReggae »

Hi Carol,

Yes I am currently using these classic Tube trains in the latest TRainz+ beta. The validation errors should be relatively easy to solve as Jay suggested.

Kind regards,

Gary
User avatar
Aunty Acid
Past 100!
Posts: 134
Joined: Mon Jul 22, 2013 11:01 am
Trainz Version: TANE
Trainz Build: 0
Location: Aberystwyth

Re: Obsolete tags

Post by Aunty Acid »

Jay wrote: Fri May 10, 2024 8:36 am Hi.

I've had those errors when I came back from taking a long break from playing Trainz. Just simply deleting the tags that show a VE44 and VE45 errors from the config file simply worked for me in Trainz 22, maybe that could work for you as well? As for the VE28 error a quick search on Google comes up with this: https://online.ts2009.com/mediaWiki/index.php/Help:VE28

Here's a link to trainz VE (Validation Errors) and how to fix most of them if you run into any more errors:
https://online.ts2009.com/mediaWiki/ind ... ion_Errors

Hope this helps,
Jay. :)
Hi Jay,

Thank you for this, I'll give it a go and let you know how it goes. Out of curiosity, the wiki has fixes for VE28 and VE45, but there aren't any fixes listed for VE44 - I'll give your suggestion of deleting them a go, but I'm wondering if anyone else has suggestions for other fixes? The tags seem to be quite important, (name, category, etc) so I wouldn't want to cause any further errors.

Regards,
Carol
Thanks,

Carol Stott.

Yes, freedom is good, but arguably, grammar is better.

~ Andy Zaltzman
User avatar
GaryReggae
New Starter
Posts: 9
Joined: Sat Apr 10, 2021 5:06 pm
Trainz Version: Trainz Plus
Trainz Build: 123794
Author KUID: 228113
Location: Eastleigh, Hampshire
Contact:

Re: Obsolete tags

Post by GaryReggae »

Hi Carol,

It should be safe to delete the obsolete tags as the main region and era are defined by the main category-region and category-era at the to of the config.txt rather than being in the texture-group container but save a backup of the config.txt in case it does need to be reverted.

Kind regards,

Gary
Jay
Milepost 1
Posts: 22
Joined: Sun Jun 03, 2018 10:04 pm
Trainz Version: Trainz 2022
Trainz Build: 5
Location: Somewhere in the West Midlands.....

Re: Obsolete tags

Post by Jay »

Aunty Acid wrote: Fri May 10, 2024 8:58 am Hi Jay,

Thank you for this, I'll give it a go and let you know how it goes. Out of curiosity, the wiki has fixes for VE28 and VE45, but there aren't any fixes listed for VE44 - I'll give your suggestion of deleting them a go, but I'm wondering if anyone else has suggestions for other fixes? The tags seem to be quite important, (name, category, etc) so I wouldn't want to cause any further errors.

Regards,
Carol
Hi Carol, I've just found that 1956/59/62 Stock for me also has the same error 'VE28: The tag '12' in 'textures' must have an image file extension.' The problem is actually with the asset 'Texture group for LU 1956/1959/1962 Stock', the issue for me was the file 'archway viac+.texture' was missing (but the file archway viac+.tga is there), but I found it easy to fix.

If anyone has the same VE28 error and haven't found the fix for it, then here's how I did it:

1. In content manager, search for 'Texture group for LU 1956/1959/1962 Stock'.

2. Right click, select 'Open...', then click 'Show in explorer', then a folder should open.

3. Copy a .texture file then paste it, I chose to copy and paste the file 'bushey heath viac+.tecture'.

4. Rename the copied .texture file to 'archway viac+.texture'.

5. Open the file that you've just renamed 'archway viac+.texture' file and change Bushey Heath to Archway. The .texture file should read:
Primary=Archway ViaC+.that
Tile=St
Then save it and close it.

6. Open the 'config' file, then go to the 'textures' section.

7. Find tag number '12' and add .texture after 'Archway ViaC+', it should read 'Archway ViaC+.texture'. Once done, save it and exit config file, also close the folder that contains all the files for 'Texture group for LU 1956/1959/1962 Stock'.

8. Right click on 'Texture group for LU 1956/1959/1962 Stock', then click 'Submit Edits'. This fix the VE28 error.

9. To make sure they work in Trainz, view the all Driving Motors in Trainz that depend on the asset 'Texture group for LU 1956/1959/1962 Stock', if they show up in trainz then you've fixed the VE28 error.

This is what worked for me in Trainz 22 and hopefully it'll work for everybody else as well, feel free to reply back and let me know if this has worked for you as well.

Hopefully this helps,
Jay. :)
Post Reply