Page 1 of 2

Is there any way to edit the database in PM?

Posted: Thu May 26, 2005 3:36 pm
by magnificus
I would like to make "my own spanish game" so I have to modify the names database. Is there any way to do it?

8)

Posted: Thu May 26, 2005 4:27 pm
by filippodb
well vag, alkis and steve camber are expert on this kind of editing, you can take a look also at the kick off guide to translate kick off games on wikickoff here:

http://www.kickoffworld.net/wiki/index.php?title=Text

Posted: Fri Jun 03, 2005 8:07 pm
by magnificus
I tried with HexEditor to replace the original surnames for Spanish surnames (followed by a . as it's originally written) and save the file.

Then I start Winuae, make a new league and when I go to the transfer list or to see my squad, and the screen becomes blurred.

Anyone knows why is this happening? In the editor, I have occupied the same space it was written before.

Posted: Sat Jun 04, 2005 11:25 am
by Steve Camber
At a guess..

The hex editor you are using displays "." for characters it can't properly display.

Each name must end with a ZERO byte. If you are putting in a dot "." character at the end of names then that may look the same to you in the hex editor, but the amiga will get very confused as it is not ZERO.

If this is the case then replace occurences of "2E" with "00" in the hex column.

I hope that fixes it!!

Posted: Sat Jun 04, 2005 11:46 am
by magnificus
Great! Thanks. It worked perfectly.
I think that if I want to translate the texts, I have to substitute the spanish text fitting in the original one, right?

Now I'm thinking on translating the whole game. Anyone interested?

Posted: Sat Jun 04, 2005 2:44 pm
by Steve Camber
Yes, go crazy with the rest of the text! Just try to avoid exceeding the existing text size limit :)

Posted: Sat Jun 04, 2005 4:31 pm
by magnificus
Yes, I've just seen what you mean. The results on my first try were not as I was expect to be. All the phrases aren't where they supposed to be.

I'll keep on trying. 8)

Posted: Sun Jul 17, 2005 11:53 pm
by fritez
magnificus wrote:I tried with HexEditor to replace the original surnames for Spanish surnames (followed by a . as it's originally written) and save the file.

Then I start Winuae, make a new league and when I go to the transfer list or to see my squad, and the screen becomes blurred.

Anyone knows why is this happening? In the editor, I have occupied the same space it was written before.



hey how can u edit the names and in what game??

Posted: Mon Jul 18, 2005 12:13 am
by fritez
magnificus wrote:I tried with HexEditor to replace the original surnames for Spanish surnames (followed by a . as it's originally written) and save the file.

Then I start Winuae, make a new league and when I go to the transfer list or to see my squad, and the screen becomes blurred.

Anyone knows why is this happening? In the editor, I have occupied the same space it was written before.


do you know if anyone have an updated version of KO or GOAL! to download??

Posted: Mon Jul 18, 2005 11:28 am
by magnificus
I edit the names in player manager replacing the original for spanish ones. I have only done this with the names, because when I tried to substitute the other text or phrases, the whole game became unreadable.

Posted: Mon Jul 18, 2005 7:09 pm
by fritez
magnificus wrote:I edit the names in player manager replacing the original for spanish ones. I have only done this with the names, because when I tried to substitute the other text or phrases, the whole game became unreadable.


So u have edited the player and team names to the latest update, with english language??

Posted: Mon Jul 18, 2005 10:07 pm
by Vag
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.

Posted: Tue Jul 19, 2005 2:40 pm
by Steve Camber
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 ;)