.
Results 1 to 10 of 10

Thread: TRS19 SP4 Deletes .TEXTURE files???

  1. #1
    Join Date
    Nov 2006
    Location
    United States of America, Georgia, Rocky Face
    Posts
    5,360
    Blog Entries
    39
     

    Default TRS19 SP4 Deletes .TEXTURE files???

    I've installed a piece of Blue_Sky_Interactive's content 'pf8244 2', into TRS19 SP4, and I get errors that there are no .texture.txt. Naturally, I figure it has .TEXTURE files. So I run it thru PEV's Image2TGA, and when I submit it, I get a new set of errors, saying that the .TEXTURE files are missing. I open the asset for editing, and the .TEXTURE files are missing! I have never seen this happen before, so I don't know what to do. I've even installed the asset in TS12 then transferred the .TEXTURE files over to TRS19 SP4 and they still disappear when I submit it. Any suggestions would be appreciated, as I'm at my wits end at figuring out how to stop the files from deleting. I will note that I have used PEV's Image2TGA on several other pieces of content made by Blue_Sky_Interactive, and they worked just fine. I have looked in my recycle bin and the missing .TEXTURE files do not appear in it.
    Owner of Freeman Locomotive Works.

  2. #2
    Join Date
    Jun 2010
    Location
    United States of America, Oregon, Forest Grove
    Posts
    669
     

    Default

    Hi Jordan


    I couldn't find any BSI asset with that filename pf8244 2, but I assume it's a building of some kind, as BSI gives those types of alpha-numeric names to a lot of their building assets.

    If you can send me the original Kuid via dropbox or something, I'll attempt to run the TGA process on my TRS19 install.

    Rico

  3. #3
    Join Date
    Nov 2006
    Location
    Canberra, ACT. Australia
    Posts
    9,106
    Blog Entries
    30
     

    Default

    Texture files are the converted images (png/tga/etc) that are stored within the asset database. When you open an asset for editing it should restore the original format so the texture "mytex.texture" might become "mytex.tga". The exception seems to be DLC assets where the texture files are shown but you cannot edit or convert them.

    A texture.txt file is just a text file that identifies the original texture files (png/tga/etc) to be used and how they are used.

    That's the general theory but there may be exceptions that don't behave as described above.

    Getting back to your original problem all you should need to do is create the relevant texture.txt files. See https://online.ts2009.com/mediaWiki/...xture.txt_file

    Paul


  4. #4
    Join Date
    Jul 2013
    Location
    Meridian, Idaho, USA
    Posts
    5,165
     

    Default

    Just to be clear, after doing save-as in Images2Tga, did not the .texture files get replaced with a .tga image and a texture.txt file with the same names?
    Have a*´¨)
    ¸.·´¸.·*´¨) ¸.·*¨)
    (¸.·´ (¸.·´ * Wonderful day! *

  5. #5
    Join Date
    Nov 2006
    Location
    United States of America, Georgia, Rocky Face
    Posts
    5,360
    Blog Entries
    39
     

    Default

    Quote Originally Posted by Forester1 View Post
    Just to be clear, after doing save-as in Images2Tga, did not the .texture files get replaced with a .tga image and a texture.txt file with the same names?
    Yes they did.
    Owner of Freeman Locomotive Works.

  6. #6
    Join Date
    Nov 2006
    Location
    United States of America, Georgia, Rocky Face
    Posts
    5,360
    Blog Entries
    39
     

    Default

    Quote Originally Posted by ricomon35 View Post
    Hi Jordan


    I couldn't find any BSI asset with that filename pf8244 2, but I assume it's a building of some kind, as BSI gives those types of alpha-numeric names to a lot of their building assets.

    If you can send me the original Kuid via dropbox or something, I'll attempt to run the TGA process on my TRS19 install.

    Rico
    It can be found in Content_B2.zip on this website:
    https://web.archive.org/web/20160826...ch/Layouts.php
    Owner of Freeman Locomotive Works.

  7. #7
    Join Date
    Nov 2006
    Location
    United States of America, Massachusetts, Haverhill
    Posts
    30,800
     

    Default

    I just took a look at the asset.

    - <kuid2:151900:736543:1> : VE165: Texture 'pf8244a.texture' is missing or could not be loaded in mesh 'pf8244_2.im', material '*pf8244_2*97061F89*solidnorm1*m.onetex'.
    - <kuid2:151900:736543:1> : VE165: Texture 'wdach3a.texture' is missing or could not be loaded in mesh 'pf8244_2.im', material '*pf8244_2*75100901*solidnorm2*m.onetex'.

    These errors refer to actual missing textures. The .texture file was not deleted by Images2TGA, which ran perfectly fine on the other assets within the pack.

    The only texture that exists is pf8244b.tga and its related .texture.txt file.
    John
    Trainz User Since: 12-2003
    Trainz User ID: 124863
    TRS2019/Trainz-PLUS: 114800
    TRS22 Beta tester

  8. #8
    Join Date
    Nov 2006
    Location
    United States of America, Gone
    Posts
    1,312
     

    Default

    As John said the two textures are missing. When I looked at the .im file in Mesh viewer This is what I saw.





    Since both of these textures are located in the house you can do an easy fix.
    I just created 2 new texture.txt files.
    pf8244a.texture.txt
    wdach3a.texture.txt

    I then copied this in to those files.

    Primary=sdach8a.tga
    Tile=st
    AlphaHint=opaque



    The result





    Hope this helps.

    Kenny
    Tane SP3 94916
    TRS2019 105100
    Windows 10
    Join Date 2 11 2003

  9. #9
    Join Date
    Nov 2006
    Location
    United States of America, Georgia, Rocky Face
    Posts
    5,360
    Blog Entries
    39
     

    Default I figured it out!

    Here's what I did:
    First I opened 'pf8244 2' for editing.
    Second, I copied and pasted the .TEXTURE file 'pf8244b'
    Third, I renamed the copied file 'pf8244a'
    Fourth, I copied and pasted the .TEXTURE file 'sdach8a'
    Fifth, I renamed the copied file 'wdach3a'
    Sixth, I now run all the .TEXTURE files thru PEV's Image2TGA.
    Seventh, with all the missing .tga and .texture.txt files now there, I submit it and now there's no errors.
    Owner of Freeman Locomotive Works.

  10. #10
    Join Date
    Nov 2006
    Location
    United States of America, Massachusetts, Haverhill
    Posts
    30,800
     

    Default

    I'm glad you were able to repair the asset.
    John
    Trainz User Since: 12-2003
    Trainz User ID: 124863
    TRS2019/Trainz-PLUS: 114800
    TRS22 Beta tester

Posting Permissions

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