Solved Anyway to export Texture2D

Discussion in 'Rust Development' started by Kation, Apr 13, 2015.

  1. I need Item's icons to do something else
    But when I use
    Code:
    ItemDefinition.iconSprite.texture.EncodeToPNG()
    It throw exception that texture memory not readable in script

    I found that RustIO has a command "io.exporticons"
    But it doesn't work anymore
     
  2. U can unpack textures from .assets and convert to images
     
  3. Do you have any useful tool to unpack it?
    Tools what I found can not unpack.
     
  4. Yes, u can use quickbms + script (attached to post)
    [DOUBLEPOST=1428925207][/DOUBLEPOST]folders with name 'TYPE_28' will have all .tex files in asset
     

    Attached Files:

  5. Thank you very much!
    Do u have tools to convert tex files to png?
    I found nothing
    keep searching...
     
  6. you can use unity asset explorer to convert .tex in .dds (and then easy convert .dds in png)
     
  7. Finally done! Thanks!
    PS: unity asset explorer is hard to use
    only convert one file...
     
  8. Yeah, but only it working for me.
     
  9. Oh, I have to ask u again...
    With update 1261, rust starting using unity asset .bundle files.
    No .assets file anymore.
    I used quickbms and unityassets.txt to unpark it, but it doen't work.
    Do u know the way to unpack .bundle files?