GTA2 Font Topic - TXT2GTA2 (Version 3 Released!)

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

Re: GTA2 Font Topic - TXT2GTA2 (Version 3 Released!)

Post by Cuban-Pete »

Maybe add this line to index.php? (under on page)

Code: Select all

print"</br>Use this text on the forums:</br><textarea name=\"text\" rows=\"1\" cols=\"10\">[img]http://epicgta2.omnitude.net/gta2text/gta2text.php?font=".$font."&text=".htmlspecialchars($text)."[/img]</textarea><br>";
//fck. new forum page. don't forget to check car and street font on other page ;)
"Mmmm, your eyes are so beautiful."
User avatar
T.M.
Immortal
Posts: 960
Joined: 29 Jan 2010, 15:00
Location: F21B3EED

Re: GTA2 Font Topic - TXT2GTA2 (Version 3 Released!)

Post by T.M. »

hmm, i think i'll do those tomorrow, unless you want to do them meanwhile im afk? (i can send the code i have atm).
User avatar
Cuban-Pete
Immortal
Posts: 909
Joined: 29 Jan 2010, 15:03
GH nick: Cuban-Pete

Re: GTA2 Font Topic - TXT2GTA2 (Version 3 Released!)

Post by Cuban-Pete »

You may send me the code any time, but I will now also go to sleep. :)
"Mmmm, your eyes are so beautiful."
User avatar
T.M.
Immortal
Posts: 960
Joined: 29 Jan 2010, 15:00
Location: F21B3EED

Re: GTA2 Font Topic - TXT2GTA2 (Version 3 Released!)

Post by T.M. »

Are you gonna send me the second font too? from the image:
Image
User avatar
Cuban-Pete
Immortal
Posts: 909
Joined: 29 Jan 2010, 15:03
GH nick: Cuban-Pete

Re: GTA2 Font Topic - TXT2GTA2 (Version 3 Released!)

Post by Cuban-Pete »

That is the font microgrammadeebolext. Which can be downloaded here: http://www.azfonts.net/load_font/microg ... olext.html

Or I can give you the images, but it gives ugly edges when using with transparent background. Using the real font file would be better. <3
"Mmmm, your eyes are so beautiful."
User avatar
elypter
Immortal
Posts: 1119
Joined: 26 Dec 2009, 23:53
GH nick: elypter

Re: GTA2 Font Topic - TXT2GTA2 (Version 3 Released!)

Post by elypter »

there are also fonts in fstyle.sty
yur sa'nok ngeyä
User avatar
T.M.
Immortal
Posts: 960
Joined: 29 Jan 2010, 15:00
Location: F21B3EED

Re: GTA2 Font Topic - TXT2GTA2 (Version 3 Released!)

Post by T.M. »

@Cuban-Pete, how the hell did you know which font it is that gta2 uses ? O_O

im not going to implement that then, since it would require other than 100% alpha blending. who ever needs that font, can simply download it and use photoshop or whatever with it.
User avatar
Cuban-Pete
Immortal
Posts: 909
Joined: 29 Jan 2010, 15:03
GH nick: Cuban-Pete

Re: GTA2 Font Topic - TXT2GTA2 (Version 3 Released!)

Post by Cuban-Pete »

It's a known fact in the gta2 community. :P
"Mmmm, your eyes are so beautiful."
User avatar
Cuban-Pete
Immortal
Posts: 909
Joined: 29 Jan 2010, 15:03
GH nick: Cuban-Pete

Re: GTA2 Font Topic - TXT2GTA2 (Version 3 Released!)

Post by Cuban-Pete »

Colouring does not work yet? Maybe you want to share the code so I can play with it this weekend? I might need to set up a localhost to test it. Perhaps zip the whole bunch (index.php, gta2text.php and coloured images).
"Mmmm, your eyes are so beautiful."
User avatar
T.M.
Immortal
Posts: 960
Joined: 29 Jan 2010, 15:00
Location: F21B3EED

Re: GTA2 Font Topic - TXT2GTA2 (Version 3 Released!)

Post by T.M. »

OH yeah, i didnt have time to finish it :D ill send the zip ^^

Edit, here:
gta2text.7z
gta2text php project
(125.91 KiB) Downloaded 541 times
Edit2: you want me to colorize them? i dont have time atm, but you could do it as well, just run over all the pixels and change that one color into 42% mixed to the text color.
User avatar
Cuban-Pete
Immortal
Posts: 909
Joined: 29 Jan 2010, 15:03
GH nick: Cuban-Pete

Re: GTA2 Font Topic - TXT2GTA2 (Version 3 Released!)

Post by Cuban-Pete »

omg, I can't get the script working on my xampp lite, but it does work on my own website... weird
"Mmmm, your eyes are so beautiful."
User avatar
elypter
Immortal
Posts: 1119
Joined: 26 Dec 2009, 23:53
GH nick: elypter

Re: GTA2 Font Topic - TXT2GTA2 (Version 3 Released!)

Post by elypter »

probably the libs bitching on windows
yur sa'nok ngeyä
User avatar
T.M.
Immortal
Posts: 960
Joined: 29 Jan 2010, 15:00
Location: F21B3EED

Re: GTA2 Font Topic - TXT2GTA2 (Version 3 Released!)

Post by T.M. »

what errors does it say?
User avatar
Cuban-Pete
Immortal
Posts: 909
Joined: 29 Jan 2010, 15:03
GH nick: Cuban-Pete

Re: GTA2 Font Topic - TXT2GTA2 (Version 3 Released!)

Post by Cuban-Pete »

None error, the image does not show up. I get an image that shows a broken link.

Oh well, I don't have enough time this weekend to work on it anyway. :(
"Mmmm, your eyes are so beautiful."
User avatar
T.M.
Immortal
Posts: 960
Joined: 29 Jan 2010, 15:00
Location: F21B3EED

Re: GTA2 Font Topic - TXT2GTA2 (Version 3 Released!)

Post by T.M. »

add this code to beginning of the PHP files:

Code: Select all

error_reporting(E_ALL);
and then remove the header() from that PHP file which generates the image, so you can view the source code of that page when you see "broken link"
User avatar
Sektor
Boss
Boss
Posts: 1453
Joined: 04 Mar 2008, 06:51
GH nick: Sektor
Location: GTAMP.com
Contact:

Re: GTA2 Font Topic - TXT2GTA2 (Version 3 Released!)

Post by Sektor »

http://gtamp.com/text/

Thanks T.M. and Cuban-Pete.
User avatar
Cuban-Pete
Immortal
Posts: 909
Joined: 29 Jan 2010, 15:03
GH nick: Cuban-Pete

Re: GTA2 Font Topic - TXT2GTA2 (Version 3 Released!)

Post by Cuban-Pete »

Hehe, you already added it to the website. Cool! <3

You do know that it is not completely finished? :)
"Mmmm, your eyes are so beautiful."
User avatar
Sektor
Boss
Boss
Posts: 1453
Joined: 04 Mar 2008, 06:51
GH nick: Sektor
Location: GTAMP.com
Contact:

Re: GTA2 Font Topic - TXT2GTA2 (Version 3 Released!)

Post by Sektor »

Yes I know. I just couldn't wait. [fastreload]
User avatar
Pyro
Immortal
Posts: 414
Joined: 17 Mar 2010, 04:07
GH nick: Pyro
Location: Wales, UK

Re: GTA2 Font Topic - TXT2GTA2 (Version 3 Released!)

Post by Pyro »

Interesting.

I know it's not complete but it seems the colour options don't seem to do anything yet? Guessing that's coming in future...
Post Reply