GTA2 Font Topic - TXT2GTA2 (Version 3 Released!)
Re: GTA2 Font Topic - txt2gta2 released!
And what are you using to draw them?
PictureBox?
It has property Visible, you can set that to true or false.
I don't know what and how you are drawing, so i can't give exact answer.
PictureBox?
It has property Visible, you can set that to true or false.
I don't know what and how you are drawing, so i can't give exact answer.
- Cuban-Pete
- Immortal
- Posts: 909
- Joined: 29 Jan 2010, 15:03
- GH nick: Cuban-Pete
Re: GTA2 Font Topic - txt2gta2 released!
Yeah, picturebox. If user clicks radio-thing of normal font, it only sees font example, if he click large, he only gets large example.
I also have a different question.
I have in separate .h file my "working" code (doing string checks and all), but I have not been able to get those this-> things working there. How do I do that?
For example, I want to put in this->progressBar->Value = 10 or 50 or etc.
I also have a different question.
I have in separate .h file my "working" code (doing string checks and all), but I have not been able to get those this-> things working there. How do I do that?
For example, I want to put in this->progressBar->Value = 10 or 50 or etc.
"Mmmm, your eyes are so beautiful."
- Cuban-Pete
- Immortal
- Posts: 909
- Joined: 29 Jan 2010, 15:03
- GH nick: Cuban-Pete
Re: GTA2 Font Topic - TXT2GTA2 (Version 3 Released!)
I scraped progressbar and released version 3. Please test and tell me how the gui works for you. I'm pretty content about how it turned out. Only the black box popping up is not so nice (however it does give a little information to user that it is working).
"Mmmm, your eyes are so beautiful."
-
- Lunatic
- Posts: 456
- Joined: 19 Jul 2008, 14:14
- GH nick: Razor, R
- Location: Poland / Szczecin
- Contact:
Re: GTA2 Font Topic - TXT2GTA2 (Version 3 Released!)
cool nut improve formating
what when i would like to do text like:
ababababababa
sdfsdfsdfsdfsdfsdfsdfsdfs
sdfsdfsdfsdfsdfsdfsdfsdfsdfsdfs
now it`s just straight line :<
just noticed strange bug:
and Result:
what when i would like to do text like:
ababababababa
sdfsdfsdfsdfsdfsdfsdfsdfs
sdfsdfsdfsdfsdfsdfsdfsdfsdfsdfs
now it`s just straight line :<
just noticed strange bug:
Code: Select all
[0]0[1]1[2]2[3]3[4]4[5]5[6]6[7]7[8]8[9]9[10]10[11]11[12]12[13]13[14]14[15]15[16]16[17]17[18]18[19]19
- Attachments
-
- result01.png (3.41 KiB) Viewed 30175 times
- Cuban-Pete
- Immortal
- Posts: 909
- Joined: 29 Jan 2010, 15:03
- GH nick: Cuban-Pete
Re: GTA2 Font Topic - TXT2GTA2 (Version 3 Released!)
Good bug spotting. I know where the bug is, fixing it now.
Multi-line input will take some research before it can work (but I already got idea to make it work).
Multi-line input will take some research before it can work (but I already got idea to make it work).
"Mmmm, your eyes are so beautiful."
- Cuban-Pete
- Immortal
- Posts: 909
- Joined: 29 Jan 2010, 15:03
- GH nick: Cuban-Pete
Re: GTA2 Font Topic - TXT2GTA2 (Version 3 Released!)
I added this text before download link:
Disclaimer: You understand and agree that your use of this program is entirely at your own risk and that the program is provided "As Is" and "As Available".
Copyright: Fonts (images) are taken from Grand Theft Auto 2 (GTA2) game. Original creators are DMA Design (now Rockstar North).
Looks pretty "solid" and correct to me, or?
Disclaimer: You understand and agree that your use of this program is entirely at your own risk and that the program is provided "As Is" and "As Available".
Copyright: Fonts (images) are taken from Grand Theft Auto 2 (GTA2) game. Original creators are DMA Design (now Rockstar North).
Looks pretty "solid" and correct to me, or?
"Mmmm, your eyes are so beautiful."
- Gustavob
- Immortal
- Posts: 407
- Joined: 18 May 2009, 21:40
- GH nick: Gustavob
|Gustavob| - Location: Nowhere.
- Contact:
Re: GTA2 Font Topic - TXT2GTA2 (Version 3 Released!)
Cuban-Pete I noticed that in the version 3.0.1, the colour 19 (Zaibatsu) is lighter than the color 18 (same Zaibatsu color) in the python/1.1 version, you should try to fix that, even because the colour 18 in v1.1 looks more like Zaibatsu than in version 3.0.1 :p (not a real problem, but the darker one is better if someone wants to make a Zaibatsu-like text)
Last edited by Gustavob on 18 Feb 2010, 19:08, edited 1 time in total.
You just lost the game.
Re: GTA2 Font Topic - TXT2GTA2 (Version 3 Released!)
One more idea.
The text generator should show preview of what user will see in result.
So Font Example will show actually your text with the colors without generating images.
Probably difficult to implement but...
The text generator should show preview of what user will see in result.
So Font Example will show actually your text with the colors without generating images.
Probably difficult to implement but...
- Cuban-Pete
- Immortal
- Posts: 909
- Joined: 29 Jan 2010, 15:03
- GH nick: Cuban-Pete
Re: GTA2 Font Topic - TXT2GTA2 (Version 3 Released!)
I indeed tweaked some colours (#7a8c8f vs #bbbbbb).
v1.1 v3.0.1 I will change the colour in next release, unless you say it's very important. Perhaps there are more "wrong" colours? Please tell now. The problem is that the "colour changer" from imagemagick (program that I use to edit images) does not create exactly the colour you enter so I needed to adjust for that.
v1.1 v3.0.1 I will change the colour in next release, unless you say it's very important. Perhaps there are more "wrong" colours? Please tell now. The problem is that the "colour changer" from imagemagick (program that I use to edit images) does not create exactly the colour you enter so I needed to adjust for that.
Yeah, I had that idea also, but thought/think it's too difficult for me to make. I'm already glad I got a decent GUI, which is much better than console, also looks more professional. Perhaps in future release. I will put it under "things to do" list.One more idea.
The text generator should show preview of what user will see in result.
So Font Example will show actually your text with the colors without generating images.
Probably difficult to implement but...
"Mmmm, your eyes are so beautiful."
Re: GTA2 Font Topic - TXT2GTA2 (Version 3 Released!)
It only takes a second to generate anyway, so you could just display the image after generation.
Showing a proper preview without writing to disk would be a complete new project that doesn't use Image Majik.
I tried making Menu text but it has a transparent background instead of black. Is that normal?
Showing a proper preview without writing to disk would be a complete new project that doesn't use Image Majik.
I tried making Menu text but it has a transparent background instead of black. Is that normal?
- Gustavob
- Immortal
- Posts: 407
- Joined: 18 May 2009, 21:40
- GH nick: Gustavob
|Gustavob| - Location: Nowhere.
- Contact:
Re: GTA2 Font Topic - TXT2GTA2 (Version 3 Released!)
Cuban-Pete: I tested it right now and its only the Zaibatsu and Yakuza colours that are lighter in v3.0.1:
IMO in both ones, the darker one look more like gang one.
IMO in both ones, the darker one look more like gang one.
You just lost the game.
- Cuban-Pete
- Immortal
- Posts: 909
- Joined: 29 Jan 2010, 15:03
- GH nick: Cuban-Pete
Re: GTA2 Font Topic - TXT2GTA2 (Version 3 Released!)
Yes, it has on purpose a transparent background, so you can place it on a different coloured background.Sektor wrote:It only takes a second to generate anyway, so you could just display the image after generation.
Showing a proper preview without writing to disk would be a complete new project that doesn't use Image Majik.
I tried making Menu text but it has a transparent background instead of black. Is that normal?
If you want a quick way to add black background, open cmd.exe at txt2gta2 main folder (or navigate to it) and enter:
Code: Select all
imagemagick\convert.exe result03.png -background black -flatten result03.png
@gustavob, I will also put Yakuza back (but it does look very dark).
"Mmmm, your eyes are so beautiful."
- Salamander
- Janitor
- Posts: 143
- Joined: 01 Apr 2009, 20:38
- GH nick: Salamander
KingSalamander
Sally
[00] - Contact:
Re: GTA2 Font Topic - TXT2GTA2 (Version 3 Released!)
I prefer the lighter v3.0.1 version of the gray text. Make sure your monitor is properly calibrated.
- Cuban-Pete
- Immortal
- Posts: 909
- Joined: 29 Jan 2010, 15:03
- GH nick: Cuban-Pete
Re: GTA2 Font Topic - TXT2GTA2 (Version 3 Released!)
Sorry, I don't understand what you mean, Razor.
I'm not sure what to do with colours (Zaibatsu). I guess it's starting to become personal taste. Perhaps it's an idea to make a separate file where people can set there own colours. However I'm not that good at coding, how do I let it read the colour codes into char array? (.xml ??).
I'm not sure what to do with colours (Zaibatsu). I guess it's starting to become personal taste. Perhaps it's an idea to make a separate file where people can set there own colours. However I'm not that good at coding, how do I let it read the colour codes into char array? (.xml ??).
"Mmmm, your eyes are so beautiful."
-
- Lunatic
- Posts: 456
- Joined: 19 Jul 2008, 14:14
- GH nick: Razor, R
- Location: Poland / Szczecin
- Contact:
Re: GTA2 Font Topic - TXT2GTA2 (Version 3 Released!)
i mean if you chose any color and it text area you will put just ":" and then click to create image the editor will display bug info
- Cuban-Pete
- Immortal
- Posts: 909
- Joined: 29 Jan 2010, 15:03
- GH nick: Cuban-Pete
Re: GTA2 Font Topic - TXT2GTA2 (Version 3 Released!)
Here it just works. I get an image with ":"
There is still one bug and that is, if you end your text line with [ or [5 it will give error. I got idea how to fix it, but the program users should just pay attention.
I do have some error checking, if you enter only a color tag, like [4] it will tell "Could not color the emptiness, please enter a text line" - it's a little joke of me. Or when you enter nothing and press generate it will say "Could not read your mind, please enter a text line"
There is still one bug and that is, if you end your text line with [ or [5 it will give error. I got idea how to fix it, but the program users should just pay attention.
I do have some error checking, if you enter only a color tag, like [4] it will tell "Could not color the emptiness, please enter a text line" - it's a little joke of me. Or when you enter nothing and press generate it will say "Could not read your mind, please enter a text line"
"Mmmm, your eyes are so beautiful."
-
- Lunatic
- Posts: 456
- Joined: 19 Jul 2008, 14:14
- GH nick: Razor, R
- Location: Poland / Szczecin
- Contact:
Re: GTA2 Font Topic - TXT2GTA2 (Version 3 Released!)
weird
Code: Select all
Szczegółowe informacje na temat wywoływania debugowania w trybie JIT (just in time)
zamiast tego okna dialogowego znajdują się na końcu tego komunikatu.
************** Tekst wyjątku **************
System.AccessViolationException: Nastąpiła próba odczytu lub zapisu pamięci chronionej. Często wskazuje to, że inna pamięć jest uszkodzona.
w strlen(SByte* )
w GetResultNumber(basic_string<char\,std::char_traits<char>\,std::allocator<char> >* )
w inpFont012(String textInput, basic_string<char\,std::char_traits<char>\,std::allocator<char> >* folder, Int32 inpFont, Boolean overwriteCheck, String custom8, String custom9)
w TXT2GTA2_v3.Form1.GenerateImageFile(Object sender, EventArgs e)
w System.Windows.Forms.Control.OnClick(EventArgs e)
w System.Windows.Forms.Button.OnClick(EventArgs e)
w System.Windows.Forms.Button.OnMouseUp(MouseEventArgs mevent)
w System.Windows.Forms.Control.WmMouseUp(Message& m, MouseButtons button, Int32 clicks)
w System.Windows.Forms.Control.WndProc(Message& m)
w System.Windows.Forms.ButtonBase.WndProc(Message& m)
w System.Windows.Forms.Button.WndProc(Message& m)
w System.Windows.Forms.Control.ControlNativeWindow.OnMessage(Message& m)
w System.Windows.Forms.Control.ControlNativeWindow.WndProc(Message& m)
w System.Windows.Forms.NativeWindow.Callback(IntPtr hWnd, Int32 msg, IntPtr wparam, IntPtr lparam)
************** Zestawy załadowane **************
mscorlib
Wersja zestawu: 2.0.0.0
Wersja Win32: 2.0.50727.3053 (netfxsp.050727-3000)
CodeBase: file:///c:/WINDOWS/Microsoft.NET/Framework/v2.0.50727/mscorlib.dll
----------------------------------------
TXT2GTA2_v3
Wersja zestawu: 1.0.3700.41216
Wersja Win32: 3.0.0
CodeBase: file:///C:/TXT2GTA2_v3/TXT2GTA2_v3.exe
----------------------------------------
msvcm90
Wersja zestawu: 9.0.30729.4148
Wersja Win32: 9.00.30729.4148
CodeBase: file:///C:/WINDOWS/WinSxS/x86_Microsoft.VC90.CRT_1fc8b3b9a1e18e3b_9.0.30729.4148_x-ww_d495ac4e/msvcm90.dll
----------------------------------------
System.Windows.Forms
Wersja zestawu: 2.0.0.0
Wersja Win32: 2.0.50727.3053 (netfxsp.050727-3000)
CodeBase: file:///C:/WINDOWS/assembly/GAC_MSIL/System.Windows.Forms/2.0.0.0__b77a5c561934e089/System.Windows.Forms.dll
----------------------------------------
System
Wersja zestawu: 2.0.0.0
Wersja Win32: 2.0.50727.3053 (netfxsp.050727-3000)
CodeBase: file:///C:/WINDOWS/assembly/GAC_MSIL/System/2.0.0.0__b77a5c561934e089/System.dll
----------------------------------------
System.Drawing
Wersja zestawu: 2.0.0.0
Wersja Win32: 2.0.50727.3053 (netfxsp.050727-3000)
CodeBase: file:///C:/WINDOWS/assembly/GAC_MSIL/System.Drawing/2.0.0.0__b03f5f7f11d50a3a/System.Drawing.dll
----------------------------------------
mscorlib.resources
Wersja zestawu: 2.0.0.0
Wersja Win32: 2.0.50727.3053 (netfxsp.050727-3000)
CodeBase: file:///c:/WINDOWS/Microsoft.NET/Framework/v2.0.50727/mscorlib.dll
----------------------------------------
System.Windows.Forms.resources
Wersja zestawu: 2.0.0.0
Wersja Win32: 2.0.50727.3053 (netfxsp.050727-3000)
CodeBase: file:///C:/WINDOWS/assembly/GAC_MSIL/System.Windows.Forms.resources/2.0.0.0_pl_b77a5c561934e089/System.Windows.Forms.resources.dll
----------------------------------------
************** Debugowanie w trybie JIT **************
Aby włączyć debugowanie w trybie JIT (just-in-time), plik .config tej
aplikacji lub komputera (machine.config) musi mieć
wartość jitDebugging ustawioną w sekcji system.windows.forms.
Aplikacja musi być również skompilowana z włączonym
debugowaniem.
Na przykład:
<configuration>
<system.windows.forms jitDebugging="true" />
</configuration>
Gdy debugowanie JIT jest włączone, wszystkie nieobsługiwane wyjątki
są wysyłane do debugera JIT zarejestrowanego na komputerze
i nie są obsługiwane w tym oknie dialogowym.
Re: GTA2 Font Topic - TXT2GTA2 (Version 3 Released!)
[15]: worked for me.
- Cuban-Pete
- Immortal
- Posts: 909
- Joined: 29 Jan 2010, 15:03
- GH nick: Cuban-Pete
Re: GTA2 Font Topic - TXT2GTA2 (Version 3 Released!)
If you use something else, like a letter a,b,c,d etc. Does it than work?
edit: Perhaps it's something with polish (special) characters numbering...
edit: Perhaps it's something with polish (special) characters numbering...
"Mmmm, your eyes are so beautiful."