GXT Editor
GXT Editor
B-$hep, Jernej or any Delphi coders, can you modify GXT Editor so it opens e.gxt by default or last opened GXT?
edit: Actually I forgot it supports GXT file from command line and unlike mispad, it doesn't seem to spew an out of bounds error if you don't give the full path name.
edit: Actually I forgot it supports GXT file from command line and unlike mispad, it doesn't seem to spew an out of bounds error if you don't give the full path name.
Re: GXT Editor
if this is something like a suggestion thread i would like to suggest a textfile import/export method
yur sa'nok ngeyä
Re: GXT Editor
I will work on it.
All suggestions and stuff is welcome.
Im bored anyway. So i work on different stuff.
Otherwise i will forget many stuff about GTA2 and coding.
All suggestions and stuff is welcome.
Im bored anyway. So i work on different stuff.
Otherwise i will forget many stuff about GTA2 and coding.
Last edited by B-$hep on 10 Aug 2010, 08:24, edited 1 time in total.
Re: GXT Editor
OK, i attached the new GXT editor.
The RAR contains the ReadMe.txt file which describes exactly what's fixed, modified, updated or added.
I added the feature Sektor requested: it opens the last used GXT file or e.gxt if it can find it.
Also elypter's request: textfile import / export.
ReadMe.txt contains all the info. It's too long to write this all here.
If you have any other bug reports or ideas, etc, let me know.
Enjoy.
The RAR contains the ReadMe.txt file which describes exactly what's fixed, modified, updated or added.
I added the feature Sektor requested: it opens the last used GXT file or e.gxt if it can find it.
Also elypter's request: textfile import / export.
ReadMe.txt contains all the info. It's too long to write this all here.
If you have any other bug reports or ideas, etc, let me know.
Enjoy.
- Attachments
-
- GXTEdv3.rar
- GTA2 GXT Editor v3.0.0
- (240.98 KiB) Downloaded 1807 times
Re: GXT Editor
Thank you. Saving window size or at least option to start maximized would be good in all of Jernej's tools.
Re: GXT Editor
Awesome, thanks! ![Very Happy :D](./images/smilies/icon_e_biggrin.gif)
i have 2 other suggestion:
-commandline option to jump to a specified line/entry (could be used by TMs Editor)
-display which lines trigger a vocal wav file
and a question:
In the language list you added Japanese. I looked a bit around and saw that there must have been a Russian and maybe a Japanese GTA2 version. Shouldn't Russian have to be on the list then too? And are these language files available somewhere? They are not in the US/EU version that most of us have. Not that i am speaking Russian or Japanese, but it would be nice for completeness and the ability to test some things. For example with that special characters.
![Very Happy :D](./images/smilies/icon_e_biggrin.gif)
i have 2 other suggestion:
-commandline option to jump to a specified line/entry (could be used by TMs Editor)
-display which lines trigger a vocal wav file
and a question:
In the language list you added Japanese. I looked a bit around and saw that there must have been a Russian and maybe a Japanese GTA2 version. Shouldn't Russian have to be on the list then too? And are these language files available somewhere? They are not in the US/EU version that most of us have. Not that i am speaking Russian or Japanese, but it would be nice for completeness and the ability to test some things. For example with that special characters.
yur sa'nok ngeyä
Re: GXT Editor
Will do it.
I already created improved version but i couldn't upload it atm.
I will add the functions you asked for and will upload.
Stay tuned.
I already created improved version but i couldn't upload it atm.
I will add the functions you asked for and will upload.
Stay tuned.
Re: GXT Editor
What do you mean by that? Can you be more specific?elypter wrote:-commandline option to jump to a specified line/entry (could be used by TMs Editor)
-display which lines trigger a vocal wav file
Show some example.
I added Russian language and many other things are done.
Read the ReadMe.txt file.
I have attached new version.
Share your ideas, suggestions or bug reports.
- Attachments
-
- GXTEdv3.0.1.rar
- GXT Editor v3.0.1
- (243.13 KiB) Downloaded 5912 times
Re: GXT Editor
I think the command line option isn't useful anymore since TradeMark plans to do his own gxt file handling in his editor.B-$hep wrote:What do you mean by that? Can you be more specific?elypter wrote:-commandline option to jump to a specified line/entry (could be used by TMs Editor)
-display which lines trigger a vocal wav file
Show some example.
the vocal trigger lines are those hardcoded gxt entries that play a sound file eg:
This is from BFF Wipe out:
Code: Select all
IF (random = 1)
DISPLAY_MESSAGE (5050) //CHOCTASTIC!
ENDIF
IF (random = 2)
DISPLAY_MESSAGE (5051) //RASPBERRY RIPPLE!
ENDIF
IF (random = 3)
DISPLAY_MESSAGE (5052) //YOU SHOT YOUR LOAD!
ENDIF
IF (random = 4)
DISPLAY_MESSAGE (5053) //OOH... DID THAT HURT?
ENDIF
IF (random = 5)
DISPLAY_MESSAGE (5054) //DEATH TO ICE-CREAM VANS!
ENDIF
IF (random = 6)
DISPLAY_MESSAGE (5057) //EAT LEADEN DEATH, PUNK!
ENDIF
IF (random = 7)
DISPLAY_MESSAGE (5058) //THAT'S GOTTA HURT!
ENDIF
IF (random = 8)
DISPLAY_MESSAGE (5059) //SORRY ABOUT THAT!
ENDIF
IF (random = 9)
DISPLAY_MESSAGE (5060) //XIN LOI, MY MAN!
ENDIF
IF (random = 10)
DISPLAY_MESSAGE (5061) //DAMN SUNDAY DRIVERS!
ENDIF
IF (random = 11)
DISPLAY_MESSAGE (5062) //SUCK IT AND SEE!
ENDIF
IF (random = 12)
DISPLAY_MESSAGE (5063) //TASTE MY WRATH, ICE-CREAM BOY!
ENDIF
IF (random = 13)
DISPLAY_MESSAGE (5031) //Oh, sorry about that... Did that hurt?
ENDIF
IF (random = 14)
DISPLAY_MESSAGE (5032) //Nice work!
ENDIF
IF (random = 15)
DISPLAY_MESSAGE (5015) //Time's up pal
ENDIF
IF (random = 16)
DISPLAY_MESSAGE (5504) //Race On!
ENDIF
IF (random = 17)
DISPLAY_MESSAGE (5501) //Race Over!
ENDIF
IF (random = 18)
DISPLAY_MESSAGE (1124) //JOB COMPLETE!
ENDIF
IF (random = 19)
DISPLAY_MESSAGE (1125) //JOB FAILED!
ENDIF
yur sa'nok ngeyä
-
- Immortal
- Posts: 889
- Joined: 16 May 2009, 06:14
- GH nick: BenMillard
- Location: London, UK
- Contact:
Re: GXT Editor
Yes, I'd particularly like Mis Pad and Sty Tool to do that.Sektor wrote:Saving window size or at least option to start maximized would be good in all of Jernej's tools.
(EDIT) Please keep command-line support. There is no advantage to Elypter's suggestion of crippling our current tools.
(EDIT2) Strangely, the menu titles don't turn "Windows selection colour" when I hover the mouse over them. If I click them they highlight and the menu items within them highlight, too.
GTA5 Race, DM & Capture | GTA2 Levels & Coding | GTA2 YouTube Videos
Gran Turismo 6 custom track club(Sign in with PSN details, then follow link again.)
Gran Turismo 6 custom track club(Sign in with PSN details, then follow link again.)
Re: GXT Editor
You understood that wrong. I never suggested to remove anything. I just said it's not important to add something that does not exist yet.BenMillard wrote: (EDIT) Please keep command-line support. There is no advantage to Elypter's suggestion of crippling our current tools.
yur sa'nok ngeyä
-
- Immortal
- Posts: 889
- Joined: 16 May 2009, 06:14
- GH nick: BenMillard
- Location: London, UK
- Contact:
Re: GXT Editor
Oh yeah, just re-read and noticed what you were quoting. I agree there's no need to add a command-line option which jumps to a particular line.
Having said that, an Edit > Go To Line feature might be useful? (EDIT) In particular for Mis Pad.
Having said that, an Edit > Go To Line feature might be useful? (EDIT) In particular for Mis Pad.
Last edited by BenMillard on 21 Sep 2010, 19:07, edited 1 time in total.
GTA5 Race, DM & Capture | GTA2 Levels & Coding | GTA2 YouTube Videos
Gran Turismo 6 custom track club(Sign in with PSN details, then follow link again.)
Gran Turismo 6 custom track club(Sign in with PSN details, then follow link again.)
- Gustavob
- Immortal
- Posts: 407
- Joined: 18 May 2009, 21:40
- GH nick: Gustavob
|Gustavob| - Location: Nowhere.
- Contact:
Re: GXT Editor
That one is already there since 3.0.0:BenMillard wrote:Having said that, an Edit > Go To Line feature might be useful?
Edit:Readme wrote: * What's new in 3.0.0
[...]
+ Added possibility to "Go To" specific line in editor
[...]
agreed nowBenMillard wrote: (EDIT) In particular for Mis Pad.
![Razz :P](./images/smilies/icon_razz.gif)
Also, in MisPad too, maybe add a better highlighting..
Maybe an option to change the font the editor uses? Low priority ofc but some people may not like current font and would like to use another font
You just lost the game.
-
- Immortal
- Posts: 889
- Joined: 16 May 2009, 06:14
- GH nick: BenMillard
- Location: London, UK
- Contact:
Re: GXT Editor
Would a list of GTA2 messages which create sounds help?elypter wrote:I think the command line option isn't useful anymore since TradeMark plans to do his own gxt file handling in his editor.
the vocal trigger lines are those hardcoded gxt entries that play a sound file eg:[...]
![Loony Wink ;)](./images/smilies/gangs/loony.png)
Most can be triggered using DISPLAY_MESSAGE. Anyone know how the "Your time is extended!" announcement works?
Last edited by BenMillard on 09 May 2011, 10:56, edited 2 times in total.
GTA5 Race, DM & Capture | GTA2 Levels & Coding | GTA2 YouTube Videos
Gran Turismo 6 custom track club(Sign in with PSN details, then follow link again.)
Gran Turismo 6 custom track club(Sign in with PSN details, then follow link again.)
Re: GXT Editor
yep, that list is useful. i used bff wipeout for that before.
about the time extended i dont know. i think it has to do with some kind of add time to timer command but dont remember clearly.
about the time extended i dont know. i think it has to do with some kind of add time to timer command but dont remember clearly.
yur sa'nok ngeyä
-
- Immortal
- Posts: 889
- Joined: 16 May 2009, 06:14
- GH nick: BenMillard
- Location: London, UK
- Contact:
Re: GXT Editor
Hitman Pro detected a couple of viruses in my GTA2GXT.exe file, version 3.0.0.46:
Not sure if it came with these or if it got infected at a later date.Hitman Pro 3.7.1 Build 186 (64-Bit) wrote:Detection Names
G Data Gen:Trojan.Heur.qmKfrHgMcjdke
Ikarus Trojan.Win32.Spy!IK
Scoring (100.0)
[In red:] One or more antivirus vendors have indicated that the file is malicious.
[In amber:] Entropy (or randomness) indicates the program is encrypted, compressed or obfuscated. This is not typical for most programs.
[In green:] The file appears to be part of an installation package or setup program. This is typical for most programs.
GTA5 Race, DM & Capture | GTA2 Levels & Coding | GTA2 YouTube Videos
Gran Turismo 6 custom track club(Sign in with PSN details, then follow link again.)
Gran Turismo 6 custom track club(Sign in with PSN details, then follow link again.)
Re: GXT Editor
It's a false positive, partially triggered because the file is packed with UPX exe compression. Sadly Hitman Pro is not the only scanner to falsely identify it.
Here's a scan of v3.0.1 http://gtamp.com/gta2/tools
Here's a scan of v3.0.1 http://gtamp.com/gta2/tools
Re: GXT Editor
Idiots at virustotal are publishing my email.
If you think i sent you a damn virus then don't use it.
I compiled clean executable on clean PC, i compressed it for it to be smaller.
I never send or attach viruses to anyone. I don't know where the sources are for GXTEditor but i find them i can recompile and can upload original exe, without UPX'ing.
If that will satisfy everyone.
If you think i sent you a damn virus then don't use it.
I compiled clean executable on clean PC, i compressed it for it to be smaller.
I never send or attach viruses to anyone. I don't know where the sources are for GXTEditor but i find them i can recompile and can upload original exe, without UPX'ing.
If that will satisfy everyone.
Always wear safety glasses while programming.
Re: GXT Editor
Uncompressing it with UPX makes less scanners detect it, which is odd since the scanners could decompress it themselves.
virtualtotal.com uncompressed version report.
The uncompressed version shows behavioural information:
Hooking activity:
TYPE: WH_CALLWNDPROC
METHOD: SetWindowsHook (successful)
TYPE: WH_CBT
METHOD: SetWindowsHook (successful)
TYPE: WH_GETMESSAGE
METHOD: SetWindowsHook (successful)
Network activity
UDP communications...
<MACHINE_DNS_SERVER>:53
I guess it thinks some of those are suspicious but it doesn't actually say and those are standard functions.
virtualtotal.com uncompressed version report.
The uncompressed version shows behavioural information:
Hooking activity:
TYPE: WH_CALLWNDPROC
METHOD: SetWindowsHook (successful)
TYPE: WH_CBT
METHOD: SetWindowsHook (successful)
TYPE: WH_GETMESSAGE
METHOD: SetWindowsHook (successful)
Network activity
UDP communications...
<MACHINE_DNS_SERVER>:53
I guess it thinks some of those are suspicious but it doesn't actually say and those are standard functions.
Re: GXT Editor
B-$hep, thank you for this tool.B-$hep wrote:What do you mean by that? Can you be more specific?elypter wrote:-commandline option to jump to a specified line/entry (could be used by TMs Editor)
-display which lines trigger a vocal wav file
Show some example.
I added Russian language and many other things are done.
Read the ReadMe.txt file.
I have attached new version.
Share your ideas, suggestions or bug reports.
My report. Hard to say it refers to tool or patch 11.44.
Sektor, can check it out?
I wanted to enable local language Russian:
- 1. Add a translation r.gxt (I have been translating for the year 2001. For quality I do not answer, because I do not remember how the game looks. And who translated do not know)
2. Add a translation bob_r.gxt for GTA Manager - this my translation. In GTA Manager works great. But GXT Editor (in tool bar) shows Spanish.
3. All appened files r.gxt, bob_r.gxt in to GTA2/data
4. Start GTA2 Manager, change the language of the local Russian
5. Start game GTA2...
Also multiplayer
6. What I see: The language was still English. Although this transfer before I worked in version 9.6. When you start going too multiplayer. Also translation always is English or displays an error message 'GTA2/data/r.gxt invalid' and stopped game
- Attachments
-
- SNAG-0001.png (38.28 KiB) Viewed 52833 times
-
- SNAG-0000.png (39.41 KiB) Viewed 52833 times
-
- Russian_Translation[bob_r].7z
- (2.11 KiB) Downloaded 1668 times
-
- Russian_Translation[r.gxt].7z
- (56.87 KiB) Downloaded 1723 times