Jump to content


Photo

Last message displayed in dialog window [BGII]

bg2 dialog reverse engineering

  • Please log in to reply
5 replies to this topic

#1 maglighter

maglighter
  • Member
  • 3 posts

Posted 30 November 2013 - 09:11 AM

HI! I want to know, how can I give last text string or reference to string (relative to dialog.tlk), that was displayed at the dialog window when game is running and write it to file. Very specific, i know. Can i do it with scripts which is used in game or I should go the hard way - debugger? Need help from people who tried to reverse engineering game. How can i find place where program send string in dialog window? Which structure it use to store output strings? Where it store it in memory? How then i can write text string from the memory to file? Had some expirience with Ollydbg.

P.S. Sorry for my English.



#2 hook71

hook71
  • Member
  • 281 posts

Posted 30 November 2013 - 11:31 AM

I think ToBEx has a component for this.



#3 maglighter

maglighter
  • Member
  • 3 posts

Posted 30 November 2013 - 10:56 PM

Thank you! Looks very interesting, but I have BGII:EE, which not supported by TobEx.



#4 The Imp

The Imp

    Not good, see EVIL is better. You'll LIVE.

  • Member
  • 5155 posts

Posted 01 December 2013 - 01:47 AM

You posted in two forums without posting the reason why you need the information... you can for example take a screen shot of the window with the prt scr key and then compare the message to a string in the game with NearInfinity or DLTCEP. But for me to figure out the reason why you need the info is ridiculous...


Yep, Jarno Mikkola. my Mega Mod FAQ. Use of the BWS, and how to use it(scroll down that post a bit). 
OK, desert dweller, welcome to the sanity, you are free to search for the limit, it's out there, we drew it in the sand. Ouh, actually it was still snow then.. but anyways.


#5 maglighter

maglighter
  • Member
  • 3 posts

Posted 01 December 2013 - 05:25 AM

Yes I am. The reason is to log conversation what displayed in dialog box to file.



#6 The Imp

The Imp

    Not good, see EVIL is better. You'll LIVE.

  • Member
  • 5155 posts

Posted 01 December 2013 - 08:15 AM

Yes I am. The reason is to log conversation what displayed in dialog box to file.

Well, read up the dialog box, you are aware that it has buttons that you can use to read all the things displayed ... for about 100 lines or whatever it's set to. Yeah, loading the savegame won't save the log, which is why it almost always seems empty. Yeah, and most of the dialogs actually refresh the start so it actually clears, but rev-ing it back, you see that the space is not actually there anymore, so it's misplaced for whatever reason.


Edited by The Imp, 01 December 2013 - 08:22 AM.

Yep, Jarno Mikkola. my Mega Mod FAQ. Use of the BWS, and how to use it(scroll down that post a bit). 
OK, desert dweller, welcome to the sanity, you are free to search for the limit, it's out there, we drew it in the sand. Ouh, actually it was still snow then.. but anyways.