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

 [REL] TXD2OTD

 Batch converts TXD to OTD.
 
flitskikker  
Posted: Tuesday, Aug 9 2011, 22:43
Quote Post


The Forums Frog
Group Icon
Group: Members
Joined: Nov 25, 2006

nl.gif

Member Award




TXD2OTD


TXD2OTD is a little "workaround" tool to help converting TXD files to WTD. It will extract TXD files and create OTD index files based on them.
It was originally made for GTA IV: San Andreas.

Usage:
- Put all .txd files in the todo folder.
- Make sure the build folder is empty.
- Edit Settings.ini with the preferred values:
        - Version header
        - Mip maps
        - Pixel format
- Run TXD2OTD.exe.

Note #1:
This utility depends on tools like TXD Workshop. These will pop up several times.
Also, due to this fact, the program is slow, but it works and that's what it's about.

TXD Workshop needs to be placed in the "utils" folder.
I didn't include it because I don't want to risk copyright infringement.
You can download it here:
http://www.gtagarage.com/mods/show.php?id=8320

Note #2:
Make sure there is no ( or ) in the path name!

Download
The current version is v2.0.

DOWNLOAD!


Enjoy! smile.gif

This post has been edited by flitskikker on Wednesday, Feb 22 2012, 18:22
Users WebsitePMMSNXbox LivePlayStation Network
  Top
 

 
yurban  
Posted: Wednesday, Aug 10 2011, 17:46
Quote Post


Kindly guy
Group Icon
Group: Members
Joined: Nov 22, 2010

ru.gif

XXXXX



already tried it, works good, thanks icon14.gif .what with toolbox?
PMMSN
  Top
 

 
emperact  
Posted: Wednesday, Aug 10 2011, 18:25
Quote Post


Player Hater
Group Icon
Group: Members
Joined: Mar 11, 2009

XXXXX



Hi. I have a problem with the tool.. It converts all my files, but it fails them, the input (todo) is real mb and so, but the output (build) is like 2 kb..
I am sure everything is fine with all the .txd files, and I have tried several txd workshop versions

http://i51.tinypic.com/rmu22s.jpg

This post has been edited by Girish on Wednesday, Feb 22 2012, 18:35
PM
  Top
 

 
quechus13  
Posted: Wednesday, Aug 10 2011, 19:13
Quote Post


Boss
Group Icon
Group: Members
Joined: Dec 19, 2008

Member Award




Awesome tool!
Users WebsitePMMSNPlayStation Network
  Top
 

 
flitskikker  
Posted: Tuesday, Aug 16 2011, 22:13
Quote Post


The Forums Frog
Group Icon
Group: Members
Joined: Nov 25, 2006

nl.gif

Member Award




QUOTE (emperact @ Wednesday, Aug 10 2011, 20:25)
Hi. I have a problem with the tool.. It converts all my files, but it fails them, the input (todo) is real mb and so, but the output (build) is like 2 kb..
I am sure everything is fine with all the .txd files, and I have tried several txd workshop versions
[...]

Try to run it normally (not as Admin).
Users WebsitePMMSNXbox LivePlayStation Network
  Top
 

 
emperact  
Posted: Wednesday, Aug 17 2011, 16:12
Quote Post


Player Hater
Group Icon
Group: Members
Joined: Mar 11, 2009

XXXXX



QUOTE (flitskikker @ Tuesday, Aug 16 2011, 22:13)
QUOTE (emperact @ Wednesday, Aug 10 2011, 20:25)
Hi. I have a problem with the tool.. It converts all my files, but it fails them, the input (todo) is real mb and so, but the output (build) is like 2 kb..
I am sure everything is fine with all the .txd files, and I have tried several txd workshop versions
[...]

Try to run it normally (not as Admin).

tried both.. sad.gif
PM
  Top
 

 
J.M  
Posted: Saturday, Aug 20 2011, 05:17
Quote Post


Mafia Member
Group Icon
Group: Members
Joined: Feb 11, 2007

ci.gif

XXXXX



The download link (same with the site) seems to be down, can you please re-upload it? (Or mirror anyone?)
Thanks tounge.gif
Users WebsitePMMSN
  Top
 

 
flitskikker  
Posted: Saturday, Aug 20 2011, 21:39
Quote Post


The Forums Frog
Group Icon
Group: Members
Joined: Nov 25, 2006

nl.gif

Member Award




Link is working fine?
Users WebsitePMMSNXbox LivePlayStation Network
  Top
 

 
J.M  
Posted: Sunday, Aug 21 2011, 01:58
Quote Post


Mafia Member
Group Icon
Group: Members
Joined: Feb 11, 2007

ci.gif

XXXXX



I guess it's my ISP then, can't ping and flushing DNS it's not working. Meh... Will try a proxy.

EDIT: Yeah... It was, used a proxy and worked.

This post has been edited by J.M on Sunday, Aug 21 2011, 18:23
Users WebsitePMMSN
  Top
 

 
fastman92  
Posted: Saturday, Dec 17 2011, 23:29
Quote Post


фастман92 | ف
Group Icon
Group: Members
Joined: Jul 28, 2009

pl.gif

XXXXX



Very useful tool.
Though it isn`t working with the latest version of Open IV.
Instead of "Version 8" there is "Version 8 10" in .otd files.
I solved it by modifying:
CODE
echo Version 8 >"%cd%\build\!folder!\%%~nB.otd"

To
CODE
echo Version 8 10 >"%cd%\build\!folder!\%%~nB.otd"

Now OpenIV imports generated .otd files.
Users WebsitePMMSN
  Top
 

 
Deadly Target  
Posted: Tuesday, Feb 21 2012, 22:52
Quote Post


Rat
Group Icon
Group: Members
Joined: Apr 12, 2010

XXXXX



fastman92, could you elaborate a bit more on that? How do I modify that line of code?
PM
  Top
 

 
Blaster_nl  
Posted: Tuesday, Feb 21 2012, 23:24
Quote Post


GTA V
Group Icon
Group: Members
Joined: Oct 16, 2005

nl.gif

Member Award




QUOTE (Deadly Target @ Wednesday, Feb 22 2012, 00:52)
fastman92, could you elaborate a bit more on that? How do I modify that line of code?

Open the .bat file with notepad.
Users WebsitePMMSNXbox LivePlayStation Network
  Top
 

 
mascotefera  
Posted: Wednesday, Feb 22 2012, 01:00
Quote Post


123456
Group Icon
Group: Members
Joined: Nov 26, 2011

it.gif

XXXXX



Erro =D
CODE
Some files not imported, more information below.

File: Lorena.otd
Error: Version test failed. Unknown version or file corrupted.
PMMSN
  Top
 

 
flitskikker  
Posted: Wednesday, Feb 22 2012, 18:23
Quote Post


The Forums Frog
Group Icon
Group: Members
Joined: Nov 25, 2006

nl.gif

Member Award




I've updated the tool to version 2.0. Refer to the OP to download.

v2.0:
- Now compatible with the OpenIV 0.9.4 OTD format.
- Added Settings.ini for further compatibility and customization.
- Additional bug fixes.
Users WebsitePMMSNXbox LivePlayStation Network
  Top
 

 
Da Perzinga  
Posted: Monday, Apr 2 2012, 18:00
Quote Post


Perzinga_AuStRiA1998
Group Icon
Group: BUSTED!
Joined: Nov 6, 2011

at.gif

XXXXX



I have a problem. Please help me, people. confused.gif I started TXD2OTD and I followed these instuctions here but the program do not convert the TXDs to OTDs. It represents about half a second that it convert, but it convert nothing. angry.gif
PM
  Top
 

 
flitskikker  
Posted: Thursday, Apr 26 2012, 23:25
Quote Post


The Forums Frog
Group Icon
Group: Members
Joined: Nov 25, 2006

nl.gif

Member Award




From which folder are you running the tool?
Users WebsitePMMSNXbox LivePlayStation Network
  Top
 

 

0 User(s) are reading this topic (0 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