I can create a pointer to repoint a specific text string? (GBA)

Started by MegaParadise, November 21, 2020, 09:14:38 PM

Previous topic - Next topic

MegaParadise

Hi! Im currently translating "Yugioh GX - Duel Academy (GBA)", but im having LOTS of troubles trying to translate some key words and phrases. The texts in this game dont have pointers, just the whole block of text-data. Its impossible to repoint the whole segment because i dont have any place with so many free space  :banghead:
Is there any way to make "custom" pointers for certain text strings?

Anime_World

Yes, just modify the dialogue routine using ARM assembly.  ;)

MegaParadise

Quote from: Anime_World on November 22, 2020, 05:53:33 AM
Yes, just modify the dialogue routine using ARM assembly.  ;)
Oh cool! Where i can learn how to do it? Most of the things that i have to "custom repoint" are stuff like days, months, titles, etc. Most of this things are read through commands (especially names and titles, for instance: command $101 displays the message "King of Games"). Now, i need to use lots of more letters to properly translate "King of Games", but the section in wich the command reads it its an entiee block, with lots of other words that are read by the game through commands and other means. Al this info is sepparated with "00" wich are simple ".", but they indicate where one thing start and when it ends, so its impossible trying to translate most of this things since you cant go beyond the default end of the title, name, day, etc. Having that in table, how can i do it (with ARM Assembly)?


MegaParadise

Quote from: Anime_World on November 23, 2020, 03:12:26 AM
00=ENDSTRING

ARM Assembly lessons:


https://www.chibialiens.com/arm/
https://www.pokecommunity.com/showthread.php?t=233645
I really appreciate it! But, unfortunely, i dont have a strong programming base, and read the whole thing seems like hell to me, hahaha. Is there any specific tutorial for the kind of thing that i want to do? Thanks a lot m8.

Anime_World

Quote from: MegaParadise on November 23, 2020, 07:24:27 AM
I really appreciate it! But, unfortunely, i dont have a strong programming base, and read the whole thing seems like hell to me, hahaha. Is there any specific tutorial for the kind of thing that i want to do? Thanks a lot m8.

Unfortunately not!  :-[

phonymike

Hi. I posted the location of the pointer table in another thread. It's better to make only one topic per project.

I was able to use cartographer and dump what seems to be most of the script. And then I used atlas to insert the script. Atlas will adjust the pointers as needed to give you freedom while editing the script.

Download this file (version 2), it is part of the extracted script, and can be inserted into the rom. You need to put atlas.exe and "Yu-Gi-Oh! - GX Duel Academy (U).gba" into the same folder as these files, and run "insert.bat". The script will be inserted and you'll have "modified.gba".

Let me know how it works for ya.




EDIT: I went through and cleaned up the script. It has 4,521 strings, and it inserts into the rom with no problems. You need atlas for it to work. There is still the tutorial text, and some other texts like "Blue-Eyes White Dragon..Mystical Elf..Baby Dragon.Ryu-Kishin..Feral Imp"