Page 1 of 1

Texture sharing

Posted: 28 Jul 2010, 20:54
by elypter
I suggest this as a place for everyone who searches for textures or wants to share textures with others.

update: all currently listed textures are included in resource pakx

############################################

A start:

share:
description:
These Texture files are resized versions of the original "red&yellow font" out of the sty file.
They are made to be used as replacement for the font that can be used in GTA2 by using these "special characters" as name or in the gxt file.
If you want to see it live download one of my maps eg: Rocket Chamber http://gtamp.com/forum/viewtopic.php?f= ... ?f=5&t=178
So if you also want to have this font on your map you just need to replace the original blue "special characters"

Edit:
I made a simple translation script to generate texts and names
http://elypter.net84.net/gta2.tk/script ... ec=elypter
Edit2:
There is now a better blue palette included

Installation:
-use gta2stytool
-open sty file and import _A_red+red.bmp and choose palette hack and select 268
-open sty file and import _#A_blue+blue.bmp and choose palett hack and select 263
-now import 0-9A-Z and choose leave palettes alone (they will look messed up in stytool)
-some of them are hard to find: eg:
dp(colon) : near shotgun&generator
1 : silentmachinegun&bankvan
I : near big É

search:
a helicopter texture or an image which is suitable for modifying. I know they can't fly ;) but i want to use it for scripting

Re: Texture sharing

Posted: 04 Aug 2010, 01:32
by elypter
finally i figured out how i did this the last time. It's quite a complicated hack (documented in _how_it_was_done.txt so that i don't forget it again :idea: ). Installation is relatively easy if you know what you have to do. A howto is now available.

Re: Texture sharing

Posted: 10 Jan 2011, 01:09
by elypter
i extracted the textures of subvein (a game inspired by gta2) and uploaded it here. they have the right format to be imported by stytool.

http:///resources/subvein_textures.7z

Re: Texture sharing

Posted: 10 Jan 2011, 12:52
by elypter
CS2d textures
http:///resources/cs2d_textures.7z

Re: Texture sharing

Posted: 10 Jan 2011, 13:14
by Cuban-Pete
If someone needs custom textures that look a lot like the original, I might be able to make it. Animations will be more difficult, but I can try. :)

Re: Texture sharing

Posted: 10 Jan 2011, 13:43
by Razor
cs2d tiles are 32x32 and gta2 textures are 64x64 so did you resize it?

Re: Texture sharing

Posted: 10 Jan 2011, 16:44
by elypter
i fixed this 5 minutes after posting it first when i noticed that. only the preview images are 32x32

Re: Texture sharing

Posted: 10 Jan 2011, 18:34
by elypter
Textures from the game Kong
http:///resources/kong_textures.7z

Re: Texture sharing

Posted: 10 Jan 2011, 18:41
by elypter
Textures from boba violent 2
http:///resources/boba_violent_textures.7z

Re: Texture sharing

Posted: 05 Oct 2011, 22:15
by elypter

Re: Texture sharing

Posted: 06 Oct 2011, 20:11
by B-$hep
Elypter, can you make a tutorial how to take almost any PNG, BMP or any image and make it compatible with STY tool and describe exactly how to find correct palette for it, in STY tool?

All the tasks, converting, resizing, exporting (from image editing tool) and importing to STY tool with correct way and palette.

I think that finding correct palette for imported tile is most difficult task.


Jernej should make it easier. He knows how his code works.

Re: Texture sharing

Posted: 06 Oct 2011, 20:57
by elypter
Part1:
Which tools can or have to be used with the process:
Stytool:
ensure that you have the newest version that shows the pallet number of tiles and sprites
Gimp:
this is the best program to edit tiles and sprites and also the only tool that can do all operations concerning palettes.
Photoshop:
Photoshop can not be used to manage palettes. If you have/want to use effekts or something else from photoshop you either have import it in gimp after that or you must keep the image in interlaced mode during the whole edit process(might not be possible) and even then you maybe have to reopen it in gimp.
ImageSynth plugin for photoshop:
this is a very good tool for creating seamless textures out of an image or non seamless texture or to mix and recompose textures. example
Irfanview:
it is basically a image viewer not an editor but it has some handy features. you can swap colors of the palette, you can import&export a pal file. importing does change the palette (!= apply) which can be used to generate remaped cars(cars in other other color than the default brown), peds, font, ... without gta
Paintshop:
thats the origin of the .pal palette format. it was probably used by dmp to create/edit the gta2 cars. i dont know it very well but it might be an accepable alternative to gimp and photoshop
Paint.NET:
good because it usually keeps the palette. sometimes it feels like a good image editing programm but sometimes it feels shit when something is weird or missing.

Re: Texture sharing

Posted: 07 Oct 2011, 17:26
by Lantyz
You'll also need STYed (not STY Tool!) to export and import palettes from and to a GTA2 style file. I use Paint.NET to edit images, and then Paint Shop Pro 7 to convert them to an existing palette or group several images together to create a new palette. I find it hard to get used to PSP7, which is why I stick to the--in my opinion--very easy to use Paint.NET. I once tried Gimp, but haven't really gotten into it yet. Perhaps you could write a tutorial on using palettes in Gimp, and I could do the same for PSP7?

Re: Texture sharing

Posted: 07 Oct 2011, 21:43
by elypter
Lantyz wrote:You'll also need STYed (not STY Tool!) to export and import palettes from and to a GTA2 style file.
That was true until the update of Stytool. The new version allows to import and export .pal files. thats why i outlined the importance to have the new version. but even without that feature it is possible to import with the pallet hack option and export through exported images (although it is very tricky with some special sprites)
Lantyz wrote:Perhaps you could write a tutorial on using palettes in Gimp, and I could do the same for PSP7?
That was my idea to write for the next part. Good idea if you could do it for PSP7. But instead of posting it here we should make a page in this wiki or this wiki?