Quantcast

Jump to content

» «
Photo

G-Texture

139 replies to this topic

Poll: Keep developing this application? (418 member(s) have cast votes)

Keep developing this application?

  1. Yes (345 votes [94.52%])

    Percentage of vote: 94.52%

  2. No (20 votes [5.48%])

    Percentage of vote: 5.48%

Vote Guests cannot vote
REspawn
  • REspawn

    REgent

  • Members
  • Joined: 06 Jul 2002

#1

Posted 02 March 2009 - 11:44 PM

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

Gforce
  • Gforce

    "Segregate and Rearrange" "The Hills"

  • Feroci Racing
  • Joined: 17 Sep 2003
  • United-Kingdom

#2

Posted 03 March 2009 - 01:21 AM

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 ?

REspawn
  • REspawn

    REgent

  • Members
  • Joined: 06 Jul 2002

#3

Posted 03 March 2009 - 01:28 AM

QUOTE (Gforce @ Mar 3 2009, 02:21)
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.

Indi
  • Indi

    "Party's over, kid!"

  • Andolini Mafia Family
  • Joined: 22 Nov 2008
  • None

#4

Posted 03 March 2009 - 01:32 AM

Hell yes! Great work REspawn. I was going to ask you this question, why download your program when there are others out there like this, very much like this I may add. Like SparkIV and OpenIV, now I guess this is some use for me smile.gif because I still mod VC and SA. Nice work, brilliant

WearingNothing
  • WearingNothing

    Player Hater

  • Members
  • Joined: 26 Mar 2008

#5

Posted 03 March 2009 - 01:34 AM

QUOTE (REspawn @ Mar 3 2009, 01:28)
QUOTE (Gforce @ Mar 3 2009, 02:21)
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.

Gforce
  • Gforce

    "Segregate and Rearrange" "The Hills"

  • Feroci Racing
  • Joined: 17 Sep 2003
  • United-Kingdom

#6

Posted 03 March 2009 - 02:02 AM

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

aru
  • aru

    *poof*

  • Feroci Racing
  • Joined: 20 Jun 2005
  • None

#7

Posted 03 March 2009 - 08:06 AM

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

gtaps2modder
  • gtaps2modder

    Crackhead

  • Members
  • Joined: 13 Feb 2009

#8

Posted 03 March 2009 - 10:19 AM Edited by gtaps2modder, 03 March 2009 - 10:21 AM.

Awersome)))

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

REspawn
  • REspawn

    REgent

  • Members
  • Joined: 06 Jul 2002

#9

Posted 03 March 2009 - 11:16 AM

@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.

gtaps2modder
  • gtaps2modder

    Crackhead

  • Members
  • Joined: 13 Feb 2009

#10

Posted 03 March 2009 - 11:22 AM

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..)

REspawn
  • REspawn

    REgent

  • Members
  • Joined: 06 Jul 2002

#11

Posted 03 March 2009 - 12:49 PM

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.

gtaps2modder
  • gtaps2modder

    Crackhead

  • Members
  • Joined: 13 Feb 2009

#12

Posted 03 March 2009 - 12:58 PM

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


JostVice
  • JostVice

    realtime, not prerendered

  • Feroci Racing
  • Joined: 30 Oct 2005
  • None

#13

Posted 03 March 2009 - 03:54 PM Edited by Jost_Vice, 03 March 2009 - 04:10 PM.

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

REspawn
  • REspawn

    REgent

  • Members
  • Joined: 06 Jul 2002

#14

Posted 03 March 2009 - 04:20 PM

QUOTE (Jost_Vice @ Mar 3 2009, 16:54)
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.

Gforce
  • Gforce

    "Segregate and Rearrange" "The Hills"

  • Feroci Racing
  • Joined: 17 Sep 2003
  • United-Kingdom

#15

Posted 05 March 2009 - 01:16 AM

QUOTE (REspawn @ Mar 3 2009, 11:16)
@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.

Funky_Donkey_BG
  • Funky_Donkey_BG

    -AWESOME-

  • Members
  • Joined: 30 Dec 2008

#16

Posted 05 March 2009 - 08:29 AM

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

Millenia
  • Millenia

    Gunz 'R Us

  • Members
  • Joined: 12 Aug 2005

#17

Posted 05 March 2009 - 11:35 AM

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

REspawn
  • REspawn

    REgent

  • Members
  • Joined: 06 Jul 2002

#18

Posted 05 March 2009 - 12:49 PM

QUOTE (Funky_Donkey_BG @ Mar 5 2009, 09:29)
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?

Suction Testicle Man
  • Suction Testicle Man

    Yeah, well, you know, that's just, like, your opinion, man.

  • Moderator
  • Joined: 27 Sep 2002
  • None

#19

Posted 05 March 2009 - 12:56 PM

Splendid! I like G-Tools smile.gif

QUOTE (Funky_Donkey_BG @ Mar 5 2009, 09:29)
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

Funky_Donkey_BG
  • Funky_Donkey_BG

    -AWESOME-

  • Members
  • Joined: 30 Dec 2008

#20

Posted 05 March 2009 - 06:04 PM

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

REspawn
  • REspawn

    REgent

  • Members
  • Joined: 06 Jul 2002

#21

Posted 05 March 2009 - 08:16 PM

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

Funky_Donkey_BG
  • Funky_Donkey_BG

    -AWESOME-

  • Members
  • Joined: 30 Dec 2008

#22

Posted 05 March 2009 - 08:25 PM

Did you see the TLAD topic?
If you want ill send you some files from it-to try to open.

REspawn
  • REspawn

    REgent

  • Members
  • Joined: 06 Jul 2002

#23

Posted 05 March 2009 - 10:35 PM

QUOTE (Funky_Donkey_BG @ Mar 5 2009, 21:25)
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)

Funky_Donkey_BG
  • Funky_Donkey_BG

    -AWESOME-

  • Members
  • Joined: 30 Dec 2008

#24

Posted 06 March 2009 - 08:16 AM

No,they are pc files.
I just sugested that you try opening TLAD files.

pinky
  • pinky

    "Tooled up and chibbin' ye, ya Bass".

  • Members
  • Joined: 06 Jan 2005

#25

Posted 06 March 2009 - 04:34 PM

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

Gforce
  • Gforce

    "Segregate and Rearrange" "The Hills"

  • Feroci Racing
  • Joined: 17 Sep 2003
  • United-Kingdom

#26

Posted 07 March 2009 - 02:20 AM

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

REspawn
  • REspawn

    REgent

  • Members
  • Joined: 06 Jul 2002

#27

Posted 07 March 2009 - 01:00 PM

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

Switch_Designs
  • Switch_Designs

    WWW.GTAFORLIFE.COM

  • BUSTED!
  • Joined: 18 Aug 2003

#28

Posted 08 March 2009 - 06:07 AM Edited by Switch_Designs, 08 March 2009 - 06:22 AM.

Your a frickin god I LOVE YOU MAN ultimate cookies for you cookie.gif cookie.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.gif cookie.gif cookie.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....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...)

chngdman
  • chngdman

    Soldier

  • BUSTED!
  • Joined: 18 Dec 2008

#29

Posted 08 March 2009 - 06:43 AM

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.

rap918
  • rap918

    �rap918�

  • BUSTED!
  • Joined: 15 Feb 2009

#30

Posted 08 March 2009 - 12:11 PM

f*cking great icon14.gif nice and very usefull happy.gif




1 user(s) are reading this topic

0 members, 1 guests, 0 anonymous users