Quantcast

Jump to content

» «
Photo

Editing Ingame Textures

29 replies to this topic
chris82
  • chris82

    Punk-ass Bitch

  • Members
  • Joined: 29 Nov 2004

#1

Posted 28 June 2005 - 09:24 PM

Chris82's San Andreas Texturing Tutorial (UPDATED)
(For Textures other then skins)


Hi, I'm Chris82, and I love modding GTA games. There
are some great tools out right now and they allow you to insert
your own textures into game. If you are completely new to GTA modding
and have no clue what you are doing, see below for a big
explanation on what my terminology is for this. This tutorial
will explain every detail on how to mod texture files.



A n00bs introduction:

If you are new to Modding, let me break down how things work.
First of all, when you install any 3D GTA game on your PC,
it is installed in a folder. That folder contains many folders and files,
all of which make up your game. When I say texturing, I really mean
the pictures, roads, signs, buildings, cars, etc... And by that, I really
don't mean the actual 3D object, but I mean the stuff on it. Like the rust,
the color of a light, what a sign says on a building, etc... All of the
models in GTA have textures, but not all textures have models. For example,
a 3D TV set in CJ's house is a model and texture, but the clouds high up in
the sky are just textures. To make these textures, R* either had to go into
the real world and take pictures of something for a texture, or make a texture
in a graphics program, or do both for one texture. Because textures are
so easy to create, anyone with enough skill and creativity can do it. Now, on to the tutorial!


The computer you'll need:

At least a 1GHz Celeron Processor (To run GTA games and run GFX applications)
At least 384 MB of RAM (Again to run GTA games and GFX apps)
At least a 64 Video Card (If your processor is under 1.8 GHz)
A least 8 GB of hard drive space (7 GB for San Andreas, 1 GB for your mod files)


The Tools you'll need:

Digital Camera (Optional)
Scanner (Optional)
Paper & Pen (For early sketches of work)
Internet Connection (Duh)
San Andreas (DUH!!!!)
MS Paint
Photoshop or Paint Shop Pro (Optional, but these really help and are needed in some areas)
Creativity
Time
IMG Tool 2.0
TXD Workshop 3.5+


Ok, let's get started. First, you'll need to find the texture you want to mod. If you know
the texture in game (the silver TV for example) then you're halfway there. Now you just need to find
the texture in the games files. *NEW SECTION ADDED for help on finding txd files in gta3.img, see below* Navigate to your San Andreas install (Usually C:/Program Files/Rockstar Games/
GTA San Andreas) and right-click the models folder, then click properties. Uncheck the box that says "Read Only"
and then click ok. Your properties window should have looked like this is you did it right:

user posted image

Now, open up IMG Tool 2.0 and in that program, open up either gta3.img or gta_int.img in your SanAn data folder.
If your texture is in an interior, a safe house for example, you want gta_int.img. If it's anything else (besides
clothes, for clothes, see oshi's tut) then you want gta3.img. Wait until they open and then you'll have a bunch
of stuff show up in IMG Tool 2.0. Now the hard part, you need to find the textures you want in this enormous file.
This is why you need time. Let's say you opened up gta_int and want to put something on one of CJ's TV's.
Click find in IMG Tool and type in "cj_tv.txd" without the quotes. After it is highlighted, right click it then
click extract. Extract to a folder you'll remember, like MyTXDs for example. Then open up TXD Workshop but DON'T
close IMG Tool. Open the TXD you just extracted in TXD Workshop. A bunch of pictures (textures) should come up.
There are many TV's in the game so pick the one you want. I wanted the silver one so I picked it. Once you have the
one you want, click it once then click extract. If you have Photoshop or Paint Shop Pro, extract it as a .TGA.
If you only have Paint, extract as a .bmp:

user posted image

Extract it in the same folder as your TXDs for quickness. Open up your
new file in your graphics program and edit as you see fit. If you're using Photoshop or Paint Shop Pro, after you edit
as you want, merge all layers. In Photoshop to do this, click Layers and then click MERGE VISIBLE. After
all your layers are merged into one, click file then click Save, not save as. The file should save without any further
crap from your graphics program. As for you paint users, after you edit your file, just click File>Save.

After your file is edited, you want to see it in game, right? Ok, well, bring back TXD Workshop with your TXD
still open. Select the file you edited and click Import. Double-click the file you edited and it should now be a part
of the TXD. If the file you are editing has an alpha, you must export, edit, and import that as fit too.
Now, click Save TXD, and that's it. Go back to IMG Tool 2.0. The TXD file you extracted should still be selected.
Click Replace and double-click your file. You don't have to rebuild the archive. Fire up SA and have a look at your
new texture. That's all there is to it.

Before: user posted image

After: user posted image


Textures from the Internet/Your Camera:

You may want to use a real life picture you've taken or found on the web as a texture in SA. It's easy.
Open up your real texture in MS Paint. All textures in SA are a given size. 128x128. 256x256. 64x64 and combinations of those.
In TXD Workshop, get the size of the texture you're replacing. In Paint, click Image, then click attributes.
Make the image the correct size. Be careful, as it will cut off to the upper left of the image. To resize the whole
image for a texture, select the "select" tool (the dotted box icon) and draw a box around the whole image. Then resize.
Save the pic as a 24-Bit .bmp and make sure it shares the name of the texture file. Not the same name as the
.TXD itself, but the file inside the TXD you are replacing. Import and put into the IMG file just as with homemade
textures described above.

That's it. That's all it takes to make San Andreas a state of your own. Did I miss anything? Want me to put something in?
Comments are welcome. Please give comments. Thanks, and I hope this tutorial helped you.

NEW: How to find the texture you want to mod:
Until recently with SA, you had to guess and check the name of the txd file you needed to mod. Well no longer! Thanks to Steve-m's map tool you can use this to find what txd file you need. To use Steve-m's tool, download it, extract to your desktop, then open notepad. Type your Sa directory (usually C:/Program Files/Rockstar Games/GTA San Andreas) on the first line. Save to the desktop and name the file "Games.cfg" Open the map tool and press F1. After it loads, navigate to the area of SA where the texture you want to mod is (interiors not impletemented in maptool yet). Once you find the sign or whatever it is you want to TXD mod, zoom really close to it and right click the object a couple times. The maptool will tell you at the top the name of the txd file you need to mod. Now just follow the steps above.



Q&A:

Q: When I try to save something in TXD Workshop, I get a stream read error.
A: You either don't have version 3.5 or above, or you used a .bmp in Photoshop or didn't save the right size

Q: IMG Tool Doesn't open the IMG files
A: You need IMG Tool 2.0

Q: The texture saves right in TXD Workshop, but when I close TXD Workshop, I get an error
A: That's ok, I don't know what causes this error, but it doesn't affect the txds you made

Q: Your tuts suck, will you kindly go die?
A: No, will you kindly go screw yourself? If you don't like my tutorial, don't read it, I never forced you to.

Q: I edited the TXD and saved and everything, but when I look in game, the texture hasn't changed. What gives?
A: You edited the wrong TXD. If it didn't save right in the image, the game would freeze.

Q: How do I know which format to export to?
A: Photoshop or Paint Shop Pro: Export as TGA
MS Paint: Export as BMP

For: GTA Projects, The GTA Place, GTA Forums



Copyleft 2005 Chris82-Some Rights Reserved. You may not use this tut on your site.

YeTi
  • YeTi

    S'up Bitches?

  • Andolini Mafia Family
  • Joined: 28 Mar 2005

#2

Posted 29 June 2005 - 02:28 PM

Nice tutorial. It's very helpful to n00b's who want to get into texturing it explains it in good detail. cookie.gif

lakeyboy
  • lakeyboy

    Player Hater

  • Members
  • Joined: 03 Jul 2005

#3

Posted 07 July 2005 - 01:37 AM

Thank you for this. I can now change heaps of textures from the gps map to the burger shot restaurant. Well done.

TheRealMakaveli
  • TheRealMakaveli

    Dat-Nigga-Marx

  • Members
  • Joined: 06 Jul 2005

#4

Posted 11 July 2005 - 07:38 AM

very well, easy to understand, 10/10 this tutorial will make me famous with my textures someday **tear**

i'd like to thank all the little people who- lol nah anyways nice tut.

chris82
  • chris82

    Punk-ass Bitch

  • Members
  • Joined: 29 Nov 2004

#5

Posted 12 July 2005 - 04:23 AM

Thank all of you. I tried, and to simplify the exporting portion of the tut so it's even easier to understand:
Exporting:
Photoshop, Paint Shop Pro: Export as TGA
MS Paint: Export as BMP





smile.gif -Chris82

gtafunster
  • gtafunster

    Player Hater

  • Members
  • Joined: 02 Nov 2004

#6

Posted 15 July 2005 - 03:09 AM

Nice colgate.gif

thanks for your effort and time smile.gif

SuperTongue
  • SuperTongue

    Mmmm... Apples

  • BUSTED!
  • Joined: 12 Jul 2005

#7

Posted 18 July 2005 - 07:09 AM

Thanks for the great intro to textures, I'm a newb to GTA modding, but I modded the silver TV just like you but I'm not too sure which safe house it's in.

Jimbo1
  • Jimbo1

    Player Hater

  • Members
  • Joined: 31 Jul 2005

#8

Posted 01 August 2005 - 06:11 AM

Thanks for the great tutorial man! smile.gif

bujo
  • bujo

    01100010 01110101 01101010 01101111

  • Members
  • Joined: 20 Aug 2005

#9

Posted 20 August 2005 - 09:56 PM

Very gooooooood tutorial !
Where to find Steve-m's map tool?
I only found Map Viewer on his site.
Is that what i need?

Fireman
  • Fireman

    Cunning Stunter

  • Members
  • Joined: 25 Mar 2005

#10

Posted 21 August 2005 - 10:11 AM

Where can I buy creativity confused.gif (tounge.gif)

Nice tutorial cookie.gif

Arvis
  • Arvis

    Li'l G Loc

  • The Yardies
  • Joined: 28 Jul 2006

#11

Posted 04 September 2006 - 11:14 AM

QUOTE (chris82 @ Jun 28 2005, 21:24)
Chris82's San Andreas Texturing Tutorial (UPDATED)
(For Textures other then skins)


Hi, I'm Chris82, and I love modding GTA games. There
are some great tools out right now and they allow you to insert
your own textures into game. If you are completely new to GTA modding
and have no clue what you are doing, see below for a big
explanation on what my terminology is for this. This tutorial
will explain every detail on how to mod texture files.



A n00bs introduction:

If you are new to Modding, let me break down how things work.
First of all, when you install any 3D GTA game on your PC,
it is installed in a folder. That folder contains many folders and files,
all of which make up your game. When I say texturing, I really mean
the pictures, roads, signs, buildings, cars, etc... And by that, I really
don't mean the actual 3D object, but I mean the stuff on it. Like the rust,
the color of a light, what a sign says on a building, etc... All of the
models in GTA have textures, but not all textures have models. For example,
a 3D TV set in CJ's house is a model and texture, but the clouds high up in
the sky are just textures. To make these textures, R* either had to go into
the real world and take pictures of something for a texture, or make a texture
in a graphics program, or do both for one texture. Because textures are
so easy to create, anyone with enough skill and creativity can do it. Now, on to the tutorial!


The computer you'll need:

At least a 1GHz Celeron Processor (To run GTA games and run GFX applications)
At least 384 MB of RAM (Again to run GTA games and GFX apps)
At least a 64 Video Card (If your processor is under 1.8 GHz)
A least 8 GB of hard drive space (7 GB for San Andreas, 1 GB for your mod files)


The Tools you'll need:

Digital Camera (Optional)
Scanner (Optional)
Paper & Pen (For early sketches of work)
Internet Connection (Duh)
San Andreas (DUH!!!!)
MS Paint
Photoshop or Paint Shop Pro (Optional, but these really help and are needed in some areas)
Creativity
Time
IMG Tool 2.0
TXD Workshop 3.5+


Ok, let's get started. First, you'll need to find the texture you want to mod. If you know
the texture in game (the silver TV for example) then you're halfway there. Now you just need to find
the texture in the games files. *NEW SECTION ADDED for help on finding txd files in gta3.img, see below* Navigate to your San Andreas install (Usually C:/Program Files/Rockstar Games/
GTA San Andreas) and right-click the models folder, then click properties. Uncheck the box that says "Read Only"
and then click ok. Your properties window should have looked like this is you did it right:

user posted image

Now, open up IMG Tool 2.0 and in that program, open up either gta3.img or gta_int.img in your SanAn data folder.
If your texture is in an interior, a safe house for example, you want gta_int.img. If it's anything else (besides
clothes, for clothes, see oshi's tut) then you want gta3.img. Wait until they open and then you'll have a bunch
of stuff show up in IMG Tool 2.0. Now the hard part, you need to find the textures you want in this enormous file.
This is why you need time. Let's say you opened up gta_int and want to put something on one of CJ's TV's.
Click find in IMG Tool and type in "cj_tv.txd" without the quotes. After it is highlighted, right click it then
click extract. Extract to a folder you'll remember, like MyTXDs for example. Then open up TXD Workshop but DON'T
close IMG Tool. Open the TXD you just extracted in TXD Workshop. A bunch of pictures (textures) should come up.
There are many TV's in the game so pick the one you want. I wanted the silver one so I picked it. Once you have the
one you want, click it once then click extract. If you have Photoshop or Paint Shop Pro, extract it as a .TGA.
If you only have Paint, extract as a .bmp:

user posted image

Extract it in the same folder as your TXDs for quickness. Open up your
new file in your graphics program and edit as you see fit. If you're using Photoshop or Paint Shop Pro, after you edit
as you want, merge all layers. In Photoshop to do this, click Layers and then click MERGE VISIBLE. After
all your layers are merged into one, click file then click Save, not save as. The file should save without any further
crap from your graphics program. As for you paint users, after you edit your file, just click File>Save.

After your file is edited, you want to see it in game, right? Ok, well, bring back TXD Workshop with your TXD
still open. Select the file you edited and click Import. Double-click the file you edited and it should now be a part
of the TXD. If the file you are editing has an alpha, you must export, edit, and import that as fit too.
Now, click Save TXD, and that's it. Go back to IMG Tool 2.0. The TXD file you extracted should still be selected.
Click Replace and double-click your file. You don't have to rebuild the archive. Fire up SA and have a look at your
new texture. That's all there is to it.

Before: user posted image

After: user posted image


Textures from the Internet/Your Camera:

You may want to use a real life picture you've taken or found on the web as a texture in SA. It's easy.
Open up your real texture in MS Paint. All textures in SA are a given size. 128x128. 256x256. 64x64 and combinations of those.
In TXD Workshop, get the size of the texture you're replacing. In Paint, click Image, then click attributes.
Make the image the correct size. Be careful, as it will cut off to the upper left of the image. To resize the whole
image for a texture, select the "select" tool (the dotted box icon) and draw a box around the whole image. Then resize.
Save the pic as a 24-Bit .bmp and make sure it shares the name of the texture file. Not the same name as the
.TXD itself, but the file inside the TXD you are replacing. Import and put into the IMG file just as with homemade
textures described above.

That's it. That's all it takes to make San Andreas a state of your own. Did I miss anything? Want me to put something in?
Comments are welcome. Please give comments. Thanks, and I hope this tutorial helped you.

NEW: How to find the texture you want to mod:
Until recently with SA, you had to guess and check the name of the txd file you needed to mod. Well no longer! Thanks to Steve-m's map tool you can use this to find what txd file you need. To use Steve-m's tool, download it, extract to your desktop, then open notepad. Type your Sa directory (usually C:/Program Files/Rockstar Games/GTA San Andreas) on the first line. Save to the desktop and name the file "Games.cfg" Open the map tool and press F1. After it loads, navigate to the area of SA where the texture you want to mod is (interiors not impletemented in maptool yet). Once you find the sign or whatever it is you want to TXD mod, zoom really close to it and right click the object a couple times. The maptool will tell you at the top the name of the txd file you need to mod. Now just follow the steps above.



Q&A:

Q: When I try to save something in TXD Workshop, I get a stream read error.
A: You either don't have version 3.5 or above, or you used a .bmp in Photoshop or didn't save the right size

Q: IMG Tool Doesn't open the IMG files
A: You need IMG Tool 2.0

Q: The texture saves right in TXD Workshop, but when I close TXD Workshop, I get an error
A: That's ok, I don't know what causes this error, but it doesn't affect the txds you made

Q: Your tuts suck, will you kindly go die?
A: No, will you kindly go screw yourself? If you don't like my tutorial, don't read it, I never forced you to.

Q: I edited the TXD and saved and everything, but when I look in game, the texture hasn't changed. What gives?
A: You edited the wrong TXD. If it didn't save right in the image, the game would freeze.

Q: How do I know which format to export to?
A: Photoshop or Paint Shop Pro: Export as TGA
MS Paint: Export as BMP

For: GTA Projects, The GTA Place, GTA Forums



Copyleft 2005 Chris82-Some Rights Reserved. You may not use this tut on your site.

nice tut!

warrior_juggalo
  • warrior_juggalo

    Player Hater

  • Members
  • Joined: 23 Apr 2007

#12

Posted 01 July 2007 - 07:50 AM

Hey, I am just learning how to do this sh*t, I try to do this on the break away billboard, Everything is done right, I follow your guide perfectly.
This is the image i'm trying to put in. user posted image

Daalyman05
  • Daalyman05

    Fonsie

  • Members
  • Joined: 03 Sep 2005

#13

Posted 01 July 2007 - 11:19 AM Edited by Daalyman05, 02 July 2007 - 06:07 AM.

This is a different size then the other one you want in the game.

Nah it's never a problem if you ask for help, just remember to edit your
post, then post another so close together, cause here they think
that your spamming.

All i know is that it should update on edited post so the person knows
you have responded to it, rather then to post again.

So your running sa in vista os?

warrior_juggalo
  • warrior_juggalo

    Player Hater

  • Members
  • Joined: 23 Apr 2007

#14

Posted 01 July 2007 - 12:33 PM

Yeah, Thats the size of the breakaway billboard, I think i figured out why that one did not work, Cause it has a hole in the middle of it i think, I'm don't have the modding experiance for that as of yet, I'm going to work out how to do normal billboards now, Over the next couple of weeks i'm going to get that down than i will move onto learning something else, Something a little more difficalte.

If i every ask for to much help or am posting to much, Just tell me and i'll chill, I always get paranoied that i'm spaming.

R3dman
  • R3dman

    Player Hater

  • Members
  • Joined: 28 Dec 2007

#15

Posted 29 December 2007 - 02:31 PM

Great tutorial man! I have one question.... is it possible to add .gif files so photo on the bilboard could be animated? If no , is there ant way to do so?

domagoj_z
  • domagoj_z

    Player Hater

  • Members
  • Joined: 27 Sep 2008

#16

Posted 02 August 2009 - 10:45 AM Edited by domagoj_z, 02 August 2009 - 10:49 AM.




[FONT=Arial][SIZE=1][SIZE=7][COLOR=red][U]


i've tryed and i get this after i import my own texture


http://i31.tinypic.com/33w5aip.jpg

jaky2008
  • jaky2008

    Mack Pimp

  • Members
  • Joined: 13 May 2009

#17

Posted 24 March 2010 - 07:31 PM

This is a bump and i apologise for that but i'd like to show you what you can create, but the only bad thing is it mirrors itself sad.gif

user posted image

quechus13
  • quechus13

    Boss

  • Members
  • Joined: 19 Dec 2008

#18

Posted 24 March 2010 - 08:42 PM

that gave me an idea we could do that and make it a real tv by using UVW Animation!

jaky2008
  • jaky2008

    Mack Pimp

  • Members
  • Joined: 13 May 2009

#19

Posted 25 March 2010 - 05:23 PM

QUOTE (quechus13 @ Mar 24 2010, 20:42)
that gave me an idea we could do that and make it a real tv by using UVW Animation!

Yeah, it would be pretty cool. I deccided to put Manhunt based textures all over (in pictures frames, TV's etc) because well erm... James Earl Cash is the best Rockstar character created blush.gif

projectfear22
  • projectfear22

    Player Hater

  • Members
  • Joined: 07 Apr 2010

#20

Posted 07 April 2010 - 06:53 PM

i need to replace a ped whats the name of the dealer with BROWN CLOTHES(not the dealer in white clothes) ped? please help
i want to change that pedestrian because i have victor vance in dealer clothes for san andreas but i dont know the name of the dealer file please help me. Here is one picture of the skin i replaced it with fam2.dff and fam2.txd but i want to replace with the real dealer ped.

http://www.xfire.com.../?view#95328640

jaky2008
  • jaky2008

    Mack Pimp

  • Members
  • Joined: 13 May 2009

#21

Posted 08 April 2010 - 02:18 PM

Hey the ped you are after is bmydrug in the future use this link, im pretty sure it has all the ped id's in SA http://wiki.sa-mp.com/wiki/Skins:All colgate.gif

wardeworth
  • wardeworth

    Player Hater

  • Members
  • Joined: 15 Apr 2010

#22

Posted 15 April 2010 - 06:20 AM

Nice description by photos.. Seems very interesting and now I can textures.
Is that what i need for making more impressive.. It feel so good that we don't have to rebuild the archive.
I tried it before but never worked and now I will try again and i am sure it will work greatly.

united_we_ride
  • united_we_ride

    Player Hater

  • Members
  • Joined: 13 Apr 2010

#23

Posted 05 May 2010 - 02:17 PM

I Know that this is old but i'm new and new to modding GTA and i'd like some help with
texturing/skinning, i've edited the white tshirt in Binco to have some logos on it that i want but CJ's arms
and neck have become black and i cant fix it. Can someone please help me with this issue?

user posted image

quechus13
  • quechus13

    Boss

  • Members
  • Joined: 19 Dec 2008

#24

Posted 06 May 2010 - 08:13 PM

you didnt use the alphas

united_we_ride
  • united_we_ride

    Player Hater

  • Members
  • Joined: 13 Apr 2010

#25

Posted 07 May 2010 - 01:12 AM

lol i see, how would i do that? *feels like idiot*

united_we_ride
  • united_we_ride

    Player Hater

  • Members
  • Joined: 13 Apr 2010

#26

Posted 07 May 2010 - 06:04 AM Edited by united_we_ride, 07 May 2010 - 07:23 AM.

Nevermind, was having a dumb moment, got it now. Thanks for this Tut

oops should of used the Edit button

silentsharklol
  • silentsharklol

    Bianco Crime Family

  • BUSTED!
  • Joined: 10 Jun 2010

#27

Posted 12 September 2010 - 11:50 PM

sorry for bumping this but i had to thank this guy, not doing so would be wrong, now i have my own pics in sa!

Anyway, thanks!

3xploit
  • 3xploit

    Player Hater

  • Members
  • Joined: 19 Oct 2010

#28

Posted 19 October 2010 - 06:15 PM

lol

Grim4th
  • Grim4th

    Player Hater

  • Members
  • Joined: 16 Mar 2011

#29

Posted 18 April 2012 - 12:46 AM

QUOTE (chris82 @ Tuesday, Jun 28 2005, 21:24)
Chris82's San Andreas Texturing Tutorial (UPDATED)
(For Textures other then skins)


Hi, I'm Chris82, and I love modding GTA games. There
are some great tools out right now and they allow you to insert
your own textures into game. If you are completely new to GTA modding
and have no clue what you are doing, see below for a big
explanation on what my terminology is for this. This tutorial
will explain every detail on how to mod texture files.



A n00bs introduction:

If you are new to Modding, let me break down how things work.
First of all, when you install any 3D GTA game on your PC,
it is installed in a folder. That folder contains many folders and files,
all of which make up your game. When I say texturing, I really mean
the pictures, roads, signs, buildings, cars, etc... And by that, I really
don't mean the actual 3D object, but I mean the stuff on it. Like the rust,
the color of a light, what a sign says on a building, etc... All of the
models in GTA have textures, but not all textures have models. For example,
a 3D TV set in CJ's house is a model and texture, but the clouds high up in
the sky are just textures. To make these textures, R* either had to go into
the real world and take pictures of something for a texture, or make a texture
in a graphics program, or do both for one texture. Because textures are
so easy to create, anyone with enough skill and creativity can do it. Now, on to the tutorial!


The computer you'll need:

At least a 1GHz Celeron Processor (To run GTA games and run GFX applications)
At least 384 MB of RAM (Again to run GTA games and GFX apps)
At least a 64 Video Card (If your processor is under 1.8 GHz)
A least 8 GB of hard drive space (7 GB for San Andreas, 1 GB for your mod files)


The Tools you'll need:

Digital Camera (Optional)
Scanner (Optional)
Paper & Pen (For early sketches of work)
Internet Connection (Duh)
San Andreas (DUH!!!!)
MS Paint
Photoshop or Paint Shop Pro (Optional, but these really help and are needed in some areas)
Creativity
Time
IMG Tool 2.0
TXD Workshop 3.5+


Ok, let's get started. First, you'll need to find the texture you want to mod. If you know
the texture in game (the silver TV for example) then you're halfway there. Now you just need to find
the texture in the games files. *NEW SECTION ADDED for help on finding txd files in gta3.img, see below* Navigate to your San Andreas install (Usually C:/Program Files/Rockstar Games/
GTA San Andreas) and right-click the models folder, then click properties. Uncheck the box that says "Read Only"
and then click ok. Your properties window should have looked like this is you did it right:

user posted image

Now, open up IMG Tool 2.0 and in that program, open up either gta3.img or gta_int.img in your SanAn data folder.
If your texture is in an interior, a safe house for example, you want gta_int.img. If it's anything else (besides
clothes, for clothes, see oshi's tut) then you want gta3.img. Wait until they open and then you'll have a bunch
of stuff show up in IMG Tool 2.0. Now the hard part, you need to find the textures you want in this enormous file.
This is why you need time. Let's say you opened up gta_int and want to put something on one of CJ's TV's.
Click find in IMG Tool and type in "cj_tv.txd" without the quotes. After it is highlighted, right click it then
click extract. Extract to a folder you'll remember, like MyTXDs for example. Then open up TXD Workshop but DON'T
close IMG Tool. Open the TXD you just extracted in TXD Workshop. A bunch of pictures (textures) should come up.
There are many TV's in the game so pick the one you want. I wanted the silver one so I picked it. Once you have the
one you want, click it once then click extract. If you have Photoshop or Paint Shop Pro, extract it as a .TGA.
If you only have Paint, extract as a .bmp:

user posted image

Extract it in the same folder as your TXDs for quickness. Open up your
new file in your graphics program and edit as you see fit. If you're using Photoshop or Paint Shop Pro, after you edit
as you want, merge all layers. In Photoshop to do this, click Layers and then click MERGE VISIBLE. After
all your layers are merged into one, click file then click Save, not save as. The file should save without any further
crap from your graphics program. As for you paint users, after you edit your file, just click File>Save.

After your file is edited, you want to see it in game, right? Ok, well, bring back TXD Workshop with your TXD
still open. Select the file you edited and click Import. Double-click the file you edited and it should now be a part
of the TXD. If the file you are editing has an alpha, you must export, edit, and import that as fit too.
Now, click Save TXD, and that's it. Go back to IMG Tool 2.0. The TXD file you extracted should still be selected.
Click Replace and double-click your file. You don't have to rebuild the archive. Fire up SA and have a look at your
new texture. That's all there is to it.

Before: user posted image

After: user posted image


Textures from the Internet/Your Camera:

You may want to use a real life picture you've taken or found on the web as a texture in SA. It's easy.
Open up your real texture in MS Paint. All textures in SA are a given size. 128x128. 256x256. 64x64 and combinations of those.
In TXD Workshop, get the size of the texture you're replacing. In Paint, click Image, then click attributes.
Make the image the correct size. Be careful, as it will cut off to the upper left of the image. To resize the whole
image for a texture, select the "select" tool (the dotted box icon) and draw a box around the whole image. Then resize.
Save the pic as a 24-Bit .bmp and make sure it shares the name of the texture file. Not the same name as the
.TXD itself, but the file inside the TXD you are replacing. Import and put into the IMG file just as with homemade
textures described above.

That's it. That's all it takes to make San Andreas a state of your own. Did I miss anything? Want me to put something in?
Comments are welcome. Please give comments. Thanks, and I hope this tutorial helped you.

NEW: How to find the texture you want to mod:
Until recently with SA, you had to guess and check the name of the txd file you needed to mod. Well no longer! Thanks to Steve-m's map tool you can use this to find what txd file you need. To use Steve-m's tool, download it, extract to your desktop, then open notepad. Type your Sa directory (usually C:/Program Files/Rockstar Games/GTA San Andreas) on the first line. Save to the desktop and name the file "Games.cfg" Open the map tool and press F1. After it loads, navigate to the area of SA where the texture you want to mod is (interiors not impletemented in maptool yet). Once you find the sign or whatever it is you want to TXD mod, zoom really close to it and right click the object a couple times. The maptool will tell you at the top the name of the txd file you need to mod. Now just follow the steps above.



Q&A:

Q: When I try to save something in TXD Workshop, I get a stream read error.
A: You either don't have version 3.5 or above, or you used a .bmp in Photoshop or didn't save the right size

Q: IMG Tool Doesn't open the IMG files
A: You need IMG Tool 2.0

Q: The texture saves right in TXD Workshop, but when I close TXD Workshop, I get an error
A: That's ok, I don't know what causes this error, but it doesn't affect the txds you made

Q: Your tuts suck, will you kindly go die?
A: No, will you kindly go screw yourself? If you don't like my tutorial, don't read it, I never forced you to.

Q: I edited the TXD and saved and everything, but when I look in game, the texture hasn't changed. What gives?
A: You edited the wrong TXD. If it didn't save right in the image, the game would freeze.

Q: How do I know which format to export to?
A: Photoshop or Paint Shop Pro: Export as TGA
MS Paint: Export as BMP

For: GTA Projects, The GTA Place, GTA Forums



Copyleft 2005 Chris82-Some Rights Reserved. You may not use this tut on your site.

Hello Chris Nice Tut But i got a huge question !!!! i want to Re skin the Interior of burger Shot and how can i find it ? if you could help me out I would be great full here are some cool skins i made in the Last Month !!! cool.gif

user posted image

user posted image

user posted image

user posted image

user posted image

user posted image

user posted image

I hope you all like my cool skin's !


giannis196
  • giannis196

    Player Hater

  • Members
  • Joined: 05 Jul 2010

#30

Posted 08 July 2012 - 06:54 PM

did anyone else knows any program that you can take the txd file and draw it without use txd workshop? i need a good program like adobe Photoshop to draw the txd without use the txd workshop
is this possible?




1 user(s) are reading this topic

0 members, 1 guests, 0 anonymous users