CM will not accept a 512x512 texture?

nicky9499

SSoTW Bot
I have a texture brought over from TS12 that's throwing a puzzling fault.
Code:
    - <kuid2:104609:1:1> : VE167: Source image texture file 'asphaltcloseups0048_3_s.tga' is too large for 'arc:fld:$(local)/hash-39||kuid2 104609 1 1.tzarc|' (512x512)

Apparently TS12 can handle a texture of this size but TRS19 cannot?

Someone suggested forcefully scaling the texture down to 128x128, which would work I guess except this is a rather crude workaround and not a proper solution.
So I looked up how to properly set up a texture, and have it set up as shown below:

WOYwRKw.png


Yet the error remains. Can someone advise please?
 
Last edited:
First thing is to check that all of your images are exactly the same size, 512x512.

See how that goes and then report back.

cheers,

Graham.
 
Last edited:
Diffuse, alpha and normal all need to be the same size textures up to 2048 x 2048 are easily handled think 4096 x 4096 is the max

Config is incorrect in that it should now reference .texture and not .tga and trainz validation warnings are not always helpful and can be misleading.

Without access to that texture, I can't say what's actually wrong it's usually very simple with a ground texture.

If you import older stuff it gets validated to current standard, downloading from the the DLS doesn't.

For the correct config format example of one of mine below, also a 3.1:
Code:
kuid                                    <kuid:425700:1381>
username                                "CL grass 20"
category-class                          "GL"
kind                                    "groundtexture"
author                                  "clam1952"
contact-email                           "xxxxxxxxxxxx"
category-region                         "00"
category-era                            "1800s;2010s"
texture                                    "grass.texture"
normal-texture                          "normal.texture"
trainz-build                               3.1
description                              "Grass Texture"
license                                 "Freeware"

thumbnails
{
  0
  {
    image                               "thumbnail.jpg"
    width                               240
    height                              180
  }
}

obsolete-table
{
}

kuid-table
{
}
 
hi nicky,
sometimes, .tga can't be read when you have edited it FI in Gimp
what i do then is open it in irfanview and save it again, [File] save(original folder)
overwriting it.
hope this helps
greetings GM
 
Greetings Graham, Malc and GM, and thank you all for your quick responses.
The textures were all of the same size and squared, and were edited with Photoshop.

Malc hit the jackpot; it turns out my config file was referencing
texture "xyz.texture.txt" instead of
texture "xyz.texture"

Asset commits immediately without any further fuss once this is rectified. Thanks again guys.
 
Back
Top