Strobe Modding
Welcome to our site! Please take a moment to register or if you already have an account, LOG IN now.

HomeCalendarGalleryFAQSearchMemberlistUsergroupsRegisterLog in


 [TUT] Editing Ingame Textures

Go down 

Posts : 74
Join date : 2012-03-19
Age : 24
Location : Los Angeles, CA

[TUT] Editing Ingame Textures Empty
PostSubject: [TUT] Editing Ingame Textures   [TUT] Editing Ingame Textures Icon_minitimeFri Mar 23, 2012 2:35 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)
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:

[TUT] Editing Ingame Textures Propertieswindow0fu

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:

[TUT] Editing Ingame Textures Txdworkshopexport7eq

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.

After: [TUT] Editing Ingame Textures After6en

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


[TUT] Editing Ingame Textures I1jk9g
Strobe Modding Owner/Founder Arrow Forum Head Administrator
Click the spoiler for an insta-boner. (56k ALERT!!)

Back to top Go down
[TUT] Editing Ingame Textures
Back to top 
Page 1 of 1
 Similar topics
» How do you make your fantage character, your avatar?
» LOGO - Ingame
» Mels Fantage Pic Editing Shop!

Permissions in this forum:You cannot reply to topics in this forum
Strobe Modding :: GTA SA Modding :: GTA SA Tool Box-
Jump to: