Jump to content

G-Texture


REspawn

Keep developing this application?  

425 members have voted

  1. 1. Keep developing this application?

    • Yes
      350
    • No
      20


Recommended Posts

G-Texture

 

user posted image

 

This is an early release, there is still a mountain of features and functions I want to add to this app, but I don't have time to work on it as much as I would like, so I'm going to release it and update when I can.

It's pretty basic at the moment but you can create and edit textures files for the PC version of GTA IV.

 

Any problems or feature requests please post below. If you get an error message saying something along the lines of "D3DX9_40.dll missing" this means you need to update your version of DirectX.

 

I will keep an eye on the topic, if anyone finds a bug I will fix it as soon as possible, feature requests are very welcome.

 

This application would not have been possible without the work of Aru, listner, steve-m and old, so big thanks to them.

 

- Dave

 

Version 0.1

Released: March 2nd 2009

Download 900kb

Link to comment
Share on other sites

wow great news REspawn, i've been looking forward to this smile.gif

 

any chance you could make it view/edit/extract from .xtd archives in the future ?

Link to comment
Share on other sites

wow great news REspawn, i've been looking forward to this smile.gif

 

any chance you could make it view/edit/extract from .xtd archives in the future ?

You mean .txd from the old games? if so then yes. It's on the way.

Link to comment
Share on other sites

WearingNothing
wow great news REspawn, i've been looking forward to this smile.gif

 

any chance you could make it view/edit/extract from .xtd archives in the future ?

You mean .txd from the old games? if so then yes. It's on the way.

No, he means .XTD (XENON) files from the Xbox.

Link to comment
Share on other sites

i do indeed mean Xbox .xtd files, but support for the old .txd formats would also be very welcome wink.gif

Link to comment
Share on other sites

Awesome work as always...

 

bug: resize after loading texture doesn't reset aspect ratio/size of render pane, but Configure -> Reinitialize Render Pane pukes up with an error smile.gif

Link to comment
Share on other sites

gtaps2modder

Awersome)))

 

Respawn, will you add Xbox360 GTAIV textures (.xtd) viewing/editing feature? smile.gif

Edited by gtaps2modder
Link to comment
Share on other sites

@Gforce

Would the idea be that you want to mod the console version? I hadn't really thought about it, but if you can give me a good enough reason I will look into it.

 

@aru

Yea I used to have it auto-reinit the device but if you had a load of files open it was kinda crazy, so I left it manual, can you tell me how many files you had open and if there were any specific ones it got sick over.

 

Also I will be releasing the full sauce for this.

Link to comment
Share on other sites

gtaps2modder

First of all, there is lots of people who has modded consoles. They are fans of GTA and it will be cool to mod GTA IV on Xbox360))

I am, for example, already modded Xbox360 version of GTAIV (we can edit practically all data like on PC exept models and textures wich are in special format).

 

SparkIV hasnt got function of working with XTD format... Author of OpenIV said thet he dont want to add it to his tool. But I know that on all stages (in may-june) in some "hidden for usual people threads" there were posted information about XTD.

 

REspawn, maybe you can help us? It will be really great..)

Link to comment
Share on other sites

Yea... I'm gonna take a stab in the dark on this one and assume that Microsoft do not want you messing around with the files on the hard drive, viewing the files on the game disk is fine, probably a bit of a grey area.

Legal issues aside I don't have the setup to test XBox files let alone the time to write a new class to handle the different format.

So with that said I'm gonna stick to the PC version and not provide editing support for XBox contents.

Link to comment
Share on other sites

gtaps2modder

omg... cryani.gif I could give you some files. And also I could give you unpacked gtaiv_360."exe" extracted from default.xex...

 

But maybe you know anything about file format?

If yes, if somerthing saved in your private threads, please, post it! confused.gif

 

 

Link to comment
Share on other sites

Awesome, REspawn... Going to try this as soon as I have some free time in my hands. I guess all the usual features that are in the others WTDs modifier are present. You added a mipmaps control like the one from G-TXD? And there is a way to change a DXT1 texture with a DXT5? (Basically adding alpha)

 

Nice work again, can't wait for the rest of g-tools inlove.gif

 

Edit: Missing suicide girl moto_whistle.gif

Edited by Jost_Vice
Link to comment
Share on other sites

 

Awesome, REspawn... Going to try this as soon as I have some free time in my hands. I guess all the usual features that are in the others WTDs modifier are present. You added a mipmaps control like the one from G-TXD? And there is a way to change a DXT1 texture with a DXT5? (Basically adding alpha)

 

Nice work again, can't wait for the rest of g-tools  inlove.gif

 

Edit: Missing suicide girl  moto_whistle.gif

You can use the replace function to switch like that, at the moment dds is the only format supported, but this will change in the next day or two.

There is no slider to view the mipmaps, but you can generate them, the number of mips generated is automatic, I'm going to add a better visualizer for the mipmaps in the next update, im going to look at adding the Nvidia texture tools code to G-Texture and use it for MipMap generation as well as all the other fancy things it does with normals and such.

Link to comment
Share on other sites

@Gforce

Would the idea be that you want to mod the console version? I hadn't really thought about it, but if you can give me a good enough reason I will look into it.

 

 

the idea was indeed to mod on 360, mainly for TLAD.

 

given you'd need the main gtaIV.xex file for 360 to decrypt the files, maybe leaving it to someone else to use your source code is a better idea.

Link to comment
Share on other sites

Funky_Donkey_BG

I try to open a texture and i get this error -

Loaded the settings file: config\g-texture.bcf

RenderSystem::RenderSystem(17) - Render system started

RSCFile::readRSCFileData(125) - Decompression of file data failed, zlib error: Z Data Error

WTDFile::loadFile(112) - Unable to load WTD File, unable to load file data

WTDFile::WTDFile(34) - Loaded WTD File with 0 textures: c:\documents and settings\user\desktop\gtaiv\lowr_diff_000_b_uni.wtd

 

Link to comment
Share on other sites

Awesome! Now I can finally replace textures with higher size and use them without mipmaps, making them look a lot crisper biggrin.gif

Link to comment
Share on other sites

I try to open a texture and i get this error -

Loaded the settings file: config\g-texture.bcf

RenderSystem::RenderSystem(17) - Render system started

RSCFile::readRSCFileData(125) - Decompression of file data failed, zlib error: Z Data Error

WTDFile::loadFile(112) - Unable to load WTD File, unable to load file data

WTDFile::WTDFile(34) - Loaded WTD File with 0 textures: c:\documents and settings\user\desktop\gtaiv\lowr_diff_000_b_uni.wtd

Will have a look at the file "lowr_diff_000_b_uni.wtd" when I get home, can you tell me where I can find it?

Link to comment
Share on other sites

Suction Testicle Man

Splendid! I like G-Tools smile.gif

 

 

I try to open a texture and i get this error -

Loaded the settings file: config\g-texture.bcf

RenderSystem::RenderSystem(17) - Render system started

RSCFile::readRSCFileData(125) - Decompression of file data failed, zlib error: Z Data Error

WTDFile::loadFile(112) - Unable to load WTD File, unable to load file data

WTDFile::WTDFile(34) - Loaded WTD File with 0 textures: c:\documents and settings\user\desktop\gtaiv\lowr_diff_000_b_uni.wtd

This error seems to appear when opening wtds saved by SparkIV - haven't tested with OpenIV.

 

And in case you hadn't already noticed, you spelt 'Configure' wrong on the toolbar tounge.gif

 

Nice work Dave, look forward to updates icon14.gif

If at first you don't succeed, you fail, and the test will be terminated.

Link to comment
Share on other sites

Funky_Donkey_BG

I think the error is because its extracted from an rpf archive.And it not a dds.

Link to comment
Share on other sites

I just loaded all 119 wtd files from the playerped.rpf file and I used Spark IV to extract them, are you guys doing something different to me?

Any chance you could outline the steps taken to reproduce the error?

 

Thanks STM, will correct my spelling in the next release blush.gif

Link to comment
Share on other sites

Funky_Donkey_BG

Did you see the TLAD topic?

If you want ill send you some files from it-to try to open.

Link to comment
Share on other sites

Did you see the TLAD topic?

If you want ill send you some files from it-to try to open.

Are these L&D files the app is not opening?

Because if it is, thats because the XBox is using a different type of compression. This tool is for the PC only (At the moment)

Link to comment
Share on other sites

Funky_Donkey_BG

No,they are pc files.

I just sugested that you try opening TLAD files.

Link to comment
Share on other sites

Voted yes, the original G-TXD doesn't work on my Vista 64 and this one does. Nice to have it back. smile.gif

Link to comment
Share on other sites

i have a similar bug as someone else in here, when i open up a .wtd file thats been modded and saved in SparkIV i get the following error.

 

user posted image

 

given that G-Tex opens standard R* .wtd (PC) files perfectly fine (not found any that fail so far), i would assume that SparkIV is encrypting/saving the files with a different method.

 

i haven't tried doing any texture modding in OpenIV yet.

 

this is a nice tool so far, i look forward to future updates with extra features etc smile.gif

 

PS: i voted yes too ............. like you really needed a poll to get the answer tounge.gif

Link to comment
Share on other sites

Kinda do, I don't have any interest in making content for GTA, but I do like programming, but since I do that at work all day the last thing I want to do in the evenings is do more, but if there is a need for it and people are going to use in then I'm more than happy to work on it when I can.

 

I'm at work now (yep on a Sat, crunch time ain't no fun, well kinda is) but will have a look at this tonight, I want to add in the Nvidia code and a tool bar tonight.

 

Thanks for bringing this to my attention guys.

 

- Dave

Link to comment
Share on other sites

Switch_Designs

Your a frickin god I LOVE YOU MAN ultimate cookies for you cookie.gifcookie.gif !!!! You need to work with aru and see if he can impliment your work into sparkiv so sparkiv can delete/add/and rename files in a wtd file. BUT I'll use the hell out of yours regardless it actually lets me delete textures (too deep to explain why i want to delete textures! And to think that this topic has been here for 5 days and I didn't see it till now.)

 

P.S. I got the d3dx9_40 error and to fix it on my vista system with directx 10 not 9 I had to not update my drivers as you mention in your readme file but had to go and find that dll online and put in in my system 32 folder and I also threw it in the folder with your program just incase lmao.

 

Again cookies for you cookie.gifcookie.gifcookie.gif ! you should get a medal in these forums for such great work and I should get another one just because lmao

 

For other people with the missing dll issue you can get the dll here: http://www.dll-files.com/dllindex/dll-files.shtml?d3dx9_40 (if you have lower than directx9 i would suggest updating to directx9 instead of downloading the dll and after updating if you still have the same issue then get it...)

Edited by Switch_Designs
Link to comment
Share on other sites

Whoa! A real tool for art assets for GTA IV! That's awesome! I hope that you get to realize this tool to a full texture solution. I hope that this leads the way for more art tools.

Link to comment
Share on other sites

gtaps2modder

REspawn, can you help me a bit?

 

I know that PC resources has got Zlib compression, but what about Xbox360 resources? What is compression type?

Link to comment
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
  • 1 User Currently Viewing
    0 members, 0 Anonymous, 1 Guest

×
×
  • Create New...

Important Information

By using GTAForums.com, you agree to our Terms of Use and Privacy Policy.