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

Author Topic: Help Repointing text.  (Read 1065 times)


  • Newbie
  • *
  • Posts: 1
    • View Profile
Help Repointing text.
« on: April 18, 2018, 01:20:43 am »
    So currently I'm trying to translate a DS rom. I have already taken the time to copy most if not all the texts and had them translated. Now I'm working on putting it into the game. The main problem I'm having is some of the names are one symbol (Kanji) which I assume is 2 bytes/2 letters for input. There are tones of tutorials for the Pokemon games for re-pointing texts but none of them help me for what I'm doing. Could Someone help me try and re-point to an empty part of the data; I know where I need it to be but I can't figure out how to point it to that part of the data?


  • Hero Member
  • *****
  • Posts: 3051
    • View Profile
Re: Help Repointing text.
« Reply #1 on: April 19, 2018, 07:58:36 am »
DS ROMs can vary dramatically in their approach to pointers -- most older systems were either where it was in the memory or where it is was in relation to the start of the ROM or some other fixed location.
DS however has and makes extensive use of a filesystem, devs however could and did define their own systems all the time. Beyond that if the text was located in the binary (usually a file called arm9.bin when it was pulled apart, or one of the overlay files) then it will probably be pointed such that its location in memory is used instead (the arm9.bin and overlays are loaded into fixed locations in memory for that given game and they are easily found with something like ndsts or crystaltile2 so there is that).
Oh and compression can also make things fun but for the most part you point the uncompressed file and recompress it before inserting it back into the game.

Without knowing what game it is I can not do much. I have not read many pokemon tutorials of late but if memory serves then it did showcase most of the obvious/common approaches so they should get you started, however having previously read some tutorials they they do seem overly specific at times so maybe not.
I cover a few of the more common approaches in if you wanted.
More generally pointers... they point at where things are. It makes little sense to obfuscate them so the relations between their contents and the destination the game reads is usually a very simple mathematical one.