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

Show Posts

This section allows you to view all posts made by this member. Note that you can only see posts made in areas you currently have access to.


Topics - Soniyx

Pages: [1]
1
ROM Hacking Discussion / Atlas will not set Offset on Pointer value
« on: July 10, 2013, 03:26:58 pm »
Hello,
while I am in translating progress I just wanted to reinsert the first part into the rom.
I just played with the configuration files for Atlas and I am stuck by calculating the right pointer values. Addresses are right as I can see.

My configuration file:
Code: [Select]
#VAR(dialogue,TABLE)
#ADDTBL("ptcg2_ptr.tbl", dialogue)
#ACTIVETBL(dialogue)
#ENDIANSWAP("FALSE")

#VAR(PtrDC000, CUSTOMPOINTER)
#CREATEPTR(PtrDC000, "LINEAR", $-DC000, 32)
#VAR(PtrTblTxt, POINTERTABLE)
#PTRTBL(PtrTblTxt, $DC004, 4, PtrDC000)

#JMP($200002)

//POINTER #1 @ $DC004 - STRING #1 @ $200002
#W32($DC004)
[START]HAND[END]
//POINTER #2 @ $DC008 - STRING #2 @ $200008
#W32($DC008)
[START]CHECK[END]
//POINTER #3 @ $DC00C - STRING #3 @ $20000F
#W32($DC00C)
[START]ATTACK[END]
...

Text is in english, because I thought there were some mistakes in the translated version. Atlas inserts as value 02 00 20 00 but it has to be 02 40 12 00. Setting the offset in #CREATEPTR from $-DC000 to $-C000 does not show any effects, all values are still the same. Changing the text will also change the values, but without offset.

Text starts at $200002, pointers start at $DC000 and points to itself, $DC004 points to the beginng of text.
What's my mistake at this point?

2
Hello Community :)

I am currently working on a translation of Pokemon Trading Card Game 2 into german. As source I am using the english translation of Artemis251 on an original japanese Rom. This project is my first translation in the gb/gbc section.

In some cases I need to repoint some text to fit the translation. I tried several methods (2-byte and 3-byte-pointers) I could find.

For example, I tried to repoint the text "START A NEW GAME FROM THE BEGINNING" which is located at 0x2103BF. As pointer I tried BF43. There are 27 instances, but no one in the current rom bank. As 3-byte-pointer (BF4384) there are no matches.

Where am I wrong? Where are my mistakes in finding these pointers?

Pages: [1]