GTA2 animations to .gif

Anything to do with GTA1/GTA2 modding (tools, scripts and more).
Post Reply
User avatar
Cuban-Pete
Immortal
Posts: 909
Joined: 29 Jan 2010, 15:03
GH nick: Cuban-Pete

GTA2 animations to .gif

Post by Cuban-Pete »

Hi,

With some ImageMagick, Python and a lot debugging (me is noob at coding) I automated the process of making .gif animations of the GTA2 sprites (from sty tool).

Perhaps I can also do the guns and stuff. :D

-- only power-ups
Attachments
GTA2_animations.zip
(60.34 KiB) Downloaded 577 times
dollar.gif
dollar.gif (6.66 KiB) Viewed 15306 times
cross.gif
cross.gif (5.7 KiB) Viewed 15306 times
bullet.gif
bullet.gif (11.19 KiB) Viewed 15306 times
armor.gif
armor.gif (6.87 KiB) Viewed 15306 times
Last edited by Cuban-Pete on 30 Jan 2010, 22:58, edited 1 time in total.
"Mmmm, your eyes are so beautiful."
User avatar
Sektor
Boss
Boss
Posts: 1423
Joined: 04 Mar 2008, 06:51
GH nick: Sektor
Location: GTAMP.com
Contact:

Re: GTA2 animations to .gif

Post by Sektor »

Awesome!
Razor
Lunatic
Lunatic
Posts: 456
Joined: 19 Jul 2008, 14:14
GH nick: Razor, R
Location: Poland / Szczecin
Contact:

Re: GTA2 animations to .gif

Post by Razor »

remove black bg
User avatar
Cuban-Pete
Immortal
Posts: 909
Joined: 29 Jan 2010, 15:03
GH nick: Cuban-Pete

Re: GTA2 animations to .gif

Post by Cuban-Pete »

automated this is the best I get. the program 'sty tool' should figure out the transparency, but i'm afraid it can't do that.

remember, this are only the power-ups. the guns and rockets are harder to fix I must admit.

edit -- you/I can/could fix the white spots (bad transparency) by hand in Gimp.
Attachments
GTA2_animations_trans.zip
(58.23 KiB) Downloaded 540 times
dollar.gif
dollar.gif (5.73 KiB) Viewed 15298 times
"Mmmm, your eyes are so beautiful."
User avatar
B-$hep
Immortal
Posts: 568
Joined: 24 Apr 2009, 21:43
GH nick: B-Shep
Location: EU

Re: GTA2 animations to .gif

Post by B-$hep »

I should add this functionality to STY tool and make it automated.
Pretty good idea.
I actually wanted to integrate same functionality to map editor also.
But i guess it's a job of STY tool.
Cuban-Pete wrote:the program 'sty tool' should figure out the transparency, but i'm afraid it can't do that.
It figures but it has a bug. I didn't looked so deeply to it yet, because i don't use it so much and i didn't care.

But i should now. Fix bugs that i know and add some features (that would be actually also useful to me in future).

For example one of them same thing you posted: animated exports.
User avatar
Cuban-Pete
Immortal
Posts: 909
Joined: 29 Jan 2010, 15:03
GH nick: Cuban-Pete

Re: GTA2 animations to .gif

Post by Cuban-Pete »

Cool, I didn't know you made the program and are still working on it/updating. Great news.

An export/generate function to animated .gifs with correct transparency would be awesome. :D
"Mmmm, your eyes are so beautiful."
User avatar
B-$hep
Immortal
Posts: 568
Joined: 24 Apr 2009, 21:43
GH nick: B-Shep
Location: EU

Re: GTA2 animations to .gif

Post by B-$hep »

Jernej wrote the STY tool. He gave me permission to update and release it.
Thanks goes to him.

Also there is a STYed tool from Gain software but Gain is dead.
Razor
Lunatic
Lunatic
Posts: 456
Joined: 19 Jul 2008, 14:14
GH nick: Razor, R
Location: Poland / Szczecin
Contact:

Re: GTA2 animations to .gif

Post by Razor »

i have styen on my harddrive :) i can send it to you! Do you work at new version of styed? i have some suggestions :)
User avatar
B-$hep
Immortal
Posts: 568
Joined: 24 Apr 2009, 21:43
GH nick: B-Shep
Location: EU

Re: GTA2 animations to .gif

Post by B-$hep »

You have my email Razor, so...
What STYed you have?

That old from Gain? I have it. But you can send me your ideas.
Last edited by B-$hep on 31 Jan 2010, 16:17, edited 1 time in total.
User avatar
Gustavob
Immortal
Posts: 407
Joined: 18 May 2009, 21:40
GH nick: Gustavob
|Gustavob|
Location: Nowhere.
Contact:

Re: GTA2 animations to .gif

Post by Gustavob »

STYed is available for download in Gouranga yet http://www.gouranga.com/files/utils/gta2/styed14.zip..
You just lost the game.
Razor
Lunatic
Lunatic
Posts: 456
Joined: 19 Jul 2008, 14:14
GH nick: Razor, R
Location: Poland / Szczecin
Contact:

Re: GTA2 animations to .gif

Post by Razor »

styed1.4


-map editor crashes when i`ll add new pallet
-fix "add page" option in textures. We wont have to replace alredy exist textures :)
-support more pallets
Post Reply