Quantcast

Jump to content

» «
Photo

Draw GXT Entries?

6 replies to this topic
jacob.
  • jacob.

    Homie

  • Members
  • Joined: 27 Jun 2004

#1

Posted 18 June 2005 - 09:06 PM

CODE
:WaitForApproval
0001: wait  1 ms
0341: unknown_text_stuff  0
0343: set_text_linewidth  640.0
0348: set_text_draw_proportional  1
0345: set_text_draw_in_box  0
033F: set_text_draw_letter_width_height  1.3  3.36
0342: set_text_draw_centered  1
081C:  2  0  0  0  255
0349: text_draw_style =  3  
0340: set_text_draw_color  180  180  180  255
033E: text_draw  320.0  180.333 'DUAL'
0002: jump ££WaitForApproval


I've used hammer's gxt editor and modified DUAL to say what I want, and now I'm using this to draw it.. but as soon as this thread is created, the game crashes. Am I doing something wrong?

Hammer83
  • Hammer83

    Hustler

  • Members
  • Joined: 11 Jan 2003

#2

Posted 18 June 2005 - 09:11 PM

Could be that my editor is f*cked up smile.gif

jacob.
  • jacob.

    Homie

  • Members
  • Joined: 27 Jun 2004

#3

Posted 18 June 2005 - 09:15 PM Edited by !cMc! Jacob, 18 June 2005 - 09:25 PM.

QUOTE (Hammer83 @ Jun 18 2005, 21:11)
Could be that my editor is f*cked up smile.gif

I tried it on an entry I didn't modify and it still crashed.. cry.gif

EDIT: 'DUAL' seems to be a table, not an entry name.. the entry names are all in offset form, the offset I want drawn is 00B6BA96.
Look at this segment I found in the original main.scm..
CODE
054C: use_GXT_table 'DUAL'
09F5:  1
00A0: store_actor $PLAYER_ACTOR position_to $73 $74 $75
0395: clear_area  0 at $73 $74 $75 range  50.0
03F0: text_draw_toggle  1
0391: (unknown)
0390: 'LD_NONE'
038F:  1 "SHIP"
038F:  2 "TVCORN"
038F:  3 "SHOOT"
038F:  4 "LIGHT"
038F:  5 "EXPLM01"
038F:  6 "EXPLM02"
038F:  7 "EXPLM03"
038F:  8 "EXPLM04"
038F:  9 "EXPLM05"
038F:  10 "EXPLM06"
038F:  11 "EXPLM07"
038F:  12 "EXPLM08"
038F:  13 "EXPLM09"
038F:  14 "EXPLM10"
038F:  15 "EXPLM11"
038F:  16 "EXPLM12"
038F:  17 "FORCE"
038F:  18 "WARP"
038F:  19 "THRUST"
038F:  20 "SHPNORM"
038F:  21 "SHPWARP"
038F:  22 "SHIP2"
038F:  23 "SHIP3"
038F:  24 "TITLE"

........

Hammer83
  • Hammer83

    Hustler

  • Members
  • Joined: 11 Jan 2003

#4

Posted 18 June 2005 - 09:35 PM

Not offset, CRC32.

trx
  • trx

    trx nl

  • Members
  • Joined: 10 Mar 2003

#5

Posted 19 June 2005 - 02:19 AM

use
CODE
03F0: text_draw_toggle  1

before you start defining stuff for the draw_text thingies... looks...

jacob.
  • jacob.

    Homie

  • Members
  • Joined: 27 Jun 2004

#6

Posted 19 June 2005 - 05:18 AM

QUOTE (Hammer83 @ Jun 18 2005, 21:35)
Not offset, CRC32.

CyQ cracked the hash and posted the Delphi source to it, have you not seen it? Could you not use this for your GXT editor?

random_download
  • random_download

    :o

  • Members
  • Joined: 07 Mar 2004

#7

Posted 19 June 2005 - 07:43 AM

QUOTE (!cMc! Jacob @ Jun 19 2005, 05:18)
QUOTE (Hammer83 @ Jun 18 2005, 21:35)
Not offset, CRC32.

CyQ cracked the hash and posted the Delphi source to it, have you not seen it? Could you not use this for your GXT editor?

He already knows that it is CRC32 as he just posted it... that tool found the CRC32 of whatever string you put in then searched for that string in the gxt.




1 user(s) are reading this topic

0 members, 1 guests, 0 anonymous users