News: 11 March 2016 - Forum Rules
Current Moderators - DarkSol, KingMike, MathOnNapkins, Azkadellia, Danke

Author Topic: Text Pointers  (Read 6681 times)

Drakon

  • Sr. Member
  • ****
  • Posts: 277
    • View Profile
    • 16 Bit Gamer
Re: Text Pointers
« Reply #20 on: February 22, 2014, 10:06:03 pm »
Could be hardcoded pointers, and the three bytes are actually control codes (for text positioning/scrolling text).

Thanks for the explanation.  I've only dabbled a small amount in text hacking as I'm too impatient to make fanslations.

Bob Liu

  • Sr. Member
  • ****
  • Posts: 253
    • View Profile
Re: Text Pointers
« Reply #21 on: February 23, 2014, 10:18:44 am »
I don't even know if I'll be able to do this, I'd probably just mess it up so im just gonna put this off for a while. Anyhow what is the process of changing the text pointers, that would help me understand the process better.

1. Get the offsets for start and finish of the block of text
2. Get the pointers for both
3. ?
4. ?
5. ?

Malias

  • Sr. Member
  • ****
  • Posts: 292
    • View Profile
Re: Text Pointers
« Reply #22 on: February 23, 2014, 08:34:52 pm »
I don't even know if I'll be able to do this, I'd probably just mess it up so im just gonna put this off for a while. Anyhow what is the process of changing the text pointers, that would help me understand the process better.

1. Get the offsets for start and finish of the block of text
2. Get the pointers for both
3. ?
4. ?
5. ?
6. Profit  :D

In all seriousness, this is the basic process for changing text pointers:
  • Get the location of the start of the text
  • Calculate and find the pointer that points to that string
  • Get the location of where you want the pointer to point to (the new starting point of your string)
  • Calculate the pointer address for the new location
  • Replace the old value of the pointer with your new one

If you have further questions, I'd seriously recommend taking a look at some of the pointer docs available on this site.
The great achievement is to lose one's reason for no reason, and to let my lady know that if I can do this without cause, what should I do if there were cause?
     ~Don Quixote~

henke37

  • Hero Member
  • *****
  • Posts: 643
    • View Profile
Re: Text Pointers
« Reply #23 on: February 24, 2014, 08:00:16 am »
You skipped the step where you decide on where the pointed to data should be located. That's kinda of a big one.