Page 2 of 2

Posted: Tue Jul 19, 2005 8:24 pm
by magnificus
Vag wrote:
Steve Camber wrote:Just try to avoid exceeding the existing text size limit :)

In fact, there is a way to exceed the limits. Generally, it depends on the game but in most cases you will need to find pointers. These are values that point to the beginning of a text string. If you move the text inside the rom, you have to change the pointer value accordingly. I found pointers in Kick off 2 (not by calculating them though, by experience), so it may be possible to do it in Player manager as well.

If you really want to do hack Player Manager, you better read my tutorial about Kick off 2 rom hacking, it will help you.


Thank you. I'll take a look at it.

Posted: Tue Jul 19, 2005 8:27 pm
by magnificus
Steve Camber wrote:In KO2 the pointers to the text strings get calculated at run time, so you can change the position of the separating 0 bytes (i.e. use long/shorter words), as long as the overall text string table doesnt grow and overflow into areas where it doesnt belong ;)


I used shorter words, but sometimes it seems that I didn't know what I had write. Anyway I think I put any phrase longer thant the overall text string and all the menus and places where there was text, became changed.

Posted: Tue Jul 19, 2005 10:19 pm
by Vag
Steve Camber wrote:In KO2 the pointers to the text strings get calculated at run time, so you can change the position of the separating 0 bytes (i.e. use long/shorter words), as long as the overall text string table doesnt grow and overflow into areas where it doesnt belong ;)

Yes, but not with all strings. If I remember correctly, it works with the players and the referrees and maybe some other texts. It doesn't work with the in game strings (like "THROW IN", "FOUL", etc.). These pointers weren't very hard to find, for an experienced rom hacker at least. Try the following: Get the last value of the offset of the beginning of the string. Search for this value upwards. Add one to it and play the game to see what happens... that's how I found them and I didn't need to find all of them. There is a way to calculate them though (if you need them all).

Posted: Wed Jul 20, 2005 7:42 am
by Steve Camber
Yes, the text that appears at the bottom of the screen during the game is kept in a different string table, and the pointers are fixed there.