IMG

 
IMG
IMG   IMG
  Welcome to GTAForums! Be sure to check out the Grand Theft Auto V Forum.

You are not registered! (If you are, click here to login) Registering is fast, free and easy and allows you to instantly reply to any topic on GTAForums.
Why wait? Click here to register your own unique username and become part of the ever-growing community!


( Log In | Register | Revalidate Validation E-mail )
Quick Log-In:
  IMG
       
>
Forum Rules GTA Modification Forums

This section is for obtaining help on creating and releasing tools

GTAGarage.com
free mod hosting from GTANet, simply login with your GTAForums account details

GTAModding.com
GTANet's modding wiki

GTA Modding Chatroom
provided by irc.gtanet.com (Don't have an IRC client? Click here)


  Reply to this topicStart new topicStart Poll

 [SA|PLG]DDS2TXD

 Quick massive building
 
DK22Pac  
Posted: Friday, May 3 2013, 09:11
Quote Post


Assembly!
Group Icon
Group: Members
Joined: Apr 12, 2009

un.gif

XXXXX



This .asi plugin generates .txd files from .dds images separated with folders.
The advantage of this using is that you can setup image properties, mipmap levels and compression type directly in image editor (DDS plugin for PS).
Notice it's not an application tool, that's a plugin for a game. This means, you need to launch-exit game and then you'll see the result.
So use this if you really know that you really need this smile.gif
  • Now I'll explain how its working.
    First - you need to create a folder named 'txd' in GTA SA root folder.
    Second - create folders inside the 'txd' folder if you want to build some txd archives separately.
    Third - inside these folders create folders with names for new .txd arhcives.
    Fourth - put .dds files inside these folders.
    For example:
    GTA SA
    --txd
    ----vehicles
    ------admiral
    --------body.dds
    --------wheel.dds
    --------glass.dds
    ------banshee
    --------body.dds
    --------wheel.dds
    ----general
    ------mytxd
    --------test.dds

    So, the code will generate admiral.txd, banshee.txd files inside 'vehicles' folder and mytxd.txd file in 'general' folder.
    Fifth - open/close your game.
  • If you want to work with .dds textures, there's NVIDIA DDS plugin for PS.
    While exporting an image, select the "DDS" format and then choose image compression/format type (For example DXT1 for image without alpha, DXT3/DXT5 for image with alpha. You can also try with other formats) and select an option for using prepared mipmaps/generated mipmaps.
  • You can open created .txd file with TXD Workshop, but don't click 'Save' then. You can't edit these archives with other tools anymore. If you want to edit it, you can just replace files inside your folders and re-generate archives with the plugin.
=DOWNLOAD=

This post has been edited by DK22Pac on Saturday, May 18 2013, 13:18
Users WebsitePM
  Top
 

 
xXaerooff2Xx  
Posted: Friday, May 3 2013, 11:11
Quote Post


Tronco
Group Icon
Group: Members
Joined: Mar 14, 2011

pl.gif

XXXXX



Yeah! Really good job. Gonna test it soon.

#edit - It works, but crashes when there is a texture with really long strenth, as:
nj5_shrubthing_rubbish2nj5bushdead1a.dds (GTA IV's texture)

This post has been edited by xXaerooff2Xx on Friday, May 3 2013, 11:28
PMICQ
  Top
 

 
DK22Pac  
Posted: Friday, May 3 2013, 11:38
Quote Post


Assembly!
Group Icon
Group: Members
Joined: Apr 12, 2009

un.gif

XXXXX



Ok, give me few mins to fix this...
Edit: Updated.

This post has been edited by DK22Pac on Friday, May 3 2013, 11:57
Users WebsitePM
  Top
 

 
direstraits  
Posted: Friday, May 3 2013, 18:15
Quote Post



Group Icon
Group: Members
Joined: Mar 8, 2011

pg.gif

XXXXX



Works perfectly. icon14.gif

You should add suport for DXT5
Users WebsitePM
  Top
 

 
DK22Pac  
Posted: Friday, May 3 2013, 21:32
Quote Post


Assembly!
Group Icon
Group: Members
Joined: Apr 12, 2009

un.gif

XXXXX



DXT5 is supported. But TXD Workshop doesn't recognize it.

This post has been edited by DK22Pac on Saturday, May 18 2013, 13:10
Users WebsitePM
  Top
 

 
JF-Mir2  
Posted: Saturday, May 18 2013, 05:35
Quote Post


I AM NOT INSANE!
Group Icon
Group: Members
Joined: Feb 8, 2011

jolly-roger.gif

XXXXX



I would love to try this, but your account seems to be suspended. tounge.gif Mind re-uploading it again? smile.gif
PMPlayStation Network
  Top
 

 
DK22Pac  
Posted: Saturday, May 18 2013, 13:19
Quote Post


Assembly!
Group Icon
Group: Members
Joined: Apr 12, 2009

un.gif

XXXXX



Reuploaded.
Users WebsitePM
  Top
 

 

1 User(s) are reading this topic (1 Guests and 0 Anonymous Users)

0 Members:

Topic Options Reply to this topicStart new topicStart Poll
Search topic for posted by (exact match)



 
IMG IMG