.
Results 1 to 6 of 6

Thread: How to fix eye textures that are a jpg file

  1. #1
    Join Date
    Apr 2020
    Location
    Indonesia, West Java, Bandung
    Posts
    5
     

    Default How to fix eye textures that are a jpg file

    I tried to fix an engine's eye texture but it's a jpg file (I only know how to fix eye textures that are bmp files). Does anyone know what to turn a jpg file into?

  2. #2

    Default

    You have to use an image manipulation program like GIMP to convert the .jpg into other file type(s). Currently the recommended file type for texture file(s) in Trainz is .tga (Truevision TGA, often referred as Targa), which means you have to convert the .jpg texture files into .tga using the image manipulation program.
    "Prepare for the worst, even if the result is actually better than the expected"

  3. #3
    Join Date
    Jul 2013
    Location
    Meridian, Idaho, USA
    Posts
    2,844
     

    Default

    You might try Irfanview. It is free like GIMP, but many fewer tools, and so much less learning curve. Openthe.jpg and save as either.bmp or .tga.
    “We are all travelers in the wilderness of this world, and the best we can find in our travels is an honest friend.” - R.L.S.

  4. #4
    Join Date
    Nov 2006
    Location
    United States of America, Massachusetts, Haverhill
    Posts
    28,226
     

    Default

    If these are reskins, you need to match both the file name and the type specified in the texture.txt file, otherwise, this won't work.

    Sometimes you can change the file-type and update the texture.txt file to match, meaning edit the text file in you text editor such as notepad and change the .jpg to .tga if you've created .tga files instead.

    If you create .tga files, do not save them as compressed files so uncheck the RLE compression option.
    John
    Trainz User Since: 12-2003
    Trainz User ID: 124863
    T:ANE Build: 94829
    TRS2019/Trainz-PLUS: 106618

  5. #5
    Join Date
    Nov 2006
    Location
    Canada, Ontario, Ottawa
    Posts
    13,639
     

    Default

    Quote Originally Posted by JCitron View Post
    If these are reskins, you need to match both the file name and the type specified in the texture.txt file, otherwise, this won't work.

    Sometimes you can change the file-type and update the texture.txt file to match, meaning edit the text file in you text editor such as notepad and change the .jpg to .tga if you've created .tga files instead.

    If you create .tga files, do not save them as compressed files so uncheck the RLE compression option.
    TS19 accepts compressed tga files. Just edit the .jpg file but remember when you edit a .jpg the editor will normally degrade the image to get better compression unless you tell it not to. Tell it to maximize image quality.

    Cheerio John

  6. #6
    Join Date
    Nov 2006
    Location
    United States of America, Massachusetts, Haverhill
    Posts
    28,226
     

    Default

    Thanks John on the update to .tga files. I've always left them uncompressed perhaps out of being on the safe side.

    I have seen that with jpeg files in the past and always set them to the highest resolution.
    John
    Trainz User Since: 12-2003
    Trainz User ID: 124863
    T:ANE Build: 94829
    TRS2019/Trainz-PLUS: 106618

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •