ROM Hack Tingle

  • Thread starter Deleted User
  • Start date
  • Views 2,181
  • Replies 8
D

Deleted User

Guest
OP
Hello,
I am translating the DS game Tingle's Love Balloon Trip. One problem I have is that there is not enough space for the new text. So I need to hack the pointers. I've hacked NES pointers before using the Mad Hacker's guide, but I just can't figure out NDS ones.
 

rastsan

8 baller, Death Wizard,
Member
Joined
May 28, 2008
Messages
1,002
Trophies
1
Location
toronto
Website
rastsan.wordpress.com
XP
413
Country
Canada
sometimes its reversed 4 byte so 48 49 06 02 but found in memory at 06 49 48 or 02 06 49 48. just drop the 02. you find the text in memory then search for three of those bytes but reversed through the rom. there may be some additional math here adding or taking away something. fasts guide has a good section on this
although there are some ds games that don't have pointers like this. they are based from pointers stored differently. 7th dragon had them relative to their position so at x location it would say y pointer. so at 448 offset in file there was a 4501 pointer. 145 hex from where the pointer actually was. this had to be done for each and every pointer. then you have shiren the wanderer with some of its sir0 files where in those files the pointers would be based off x offset in said file. so in file at say 24 you find the start of the pointers list and then every pointer would point from offset 24 in that file. my favorite pointers though had to be the work the translators did for master of the monster lair. they used asm to have it re-point to files that again would re-point in file. everything that was in the arm9 or overlay files were re-pointed that way with a load this file and load those pointers.

if this confuses you please ask away...
 
D

Deleted User

Guest
OP
I used this tool-
http://www.romhacking.net/utilities/978/
to calculate the pointer for $55D16 and it said it was $5D05. But all that is there is 00. However when I modify the bytes around it it screws up the text at $55D16. How would I modify them to repoint the text somewhere else?
 
D

Deleted User

Guest
OP
Untitled.jpg

I noticed that every 8 bytes it increases B2 to B3 to B4 etc.
Does that mean anything?
 

Normmatt

Former AKAIO Programmer
Member
Joined
Dec 14, 2004
Messages
2,161
Trophies
1
Age
33
Website
normmatt.com
XP
2,217
Country
New Zealand
You did select GBA in that pointer tool right? :rofl: because the pointer for 55D16 would be 165d05 not 5D05. Not to mention the pointers will be relative to where the arm9 binary is loaded in memory which is usually 02000000 so add that to the address to get 02055D16 and the pointer 165d0502.
 
D

Deleted User

Guest
OP
So pointers and the text they point to wouldn't be located in the same file?
 

The Real Jdbye

*is birb*
Member
Joined
Mar 17, 2010
Messages
23,380
Trophies
4
Location
Space
XP
14,003
Country
Norway
Untitled.jpg

I noticed that every 8 bytes it increases B2 to B3 to B4 etc.
Does that mean anything?
I think you are supposed to search for 5D05 not go to that position in the file.
However what you're looking at there seems to be a pointer table. Each of them probably point to a piece of text (or it could be something else like graphics). It's probably unrelated to what you want.
 
D

Deleted User

Guest
OP
Generally they are... If I remember correctly the tingle game had no files in its filesystem... but its been awhile since I looked at it. Either way the pointer calculation likely works the same way.

No, there's quite a bit of files in it.
I think you are supposed to search for 5D05 not go to that position in the file.
However what you're looking at there seems to be a pointer table. Each of them probably point to a piece of text (or it could be something else like graphics). It's probably unrelated to what you want.
This file(lang.bin) only contains text, so its not graphics. Also I've tried searching for 5D05 before and there are no results.
 

Site & Scene News

Popular threads in this forum

General chit-chat
Help Users
  • AncientBoi @ AncientBoi:
    Try putting it up after a couple of :grog::grog::grog::grog::grog::grog::grog: But only a couple :D
    +1
  • BigOnYa @ BigOnYa:
    Was gonna, already cracked open a cold one, but gonna have to wait now, and make a trip to Microcenter, or worst buy
    +1
  • K3Nv2 @ K3Nv2:
    In speaking of miscares for tvs I must've busted like one hdmi port cause it's all static but others work fine lol
    +1
  • BigOnYa @ BigOnYa:
    I have a older tv that was like that, luckily it had 3 HDMI ins
  • AncientBoi @ AncientBoi:
    2 here
  • BigOnYa @ BigOnYa:
    But you only like to use the rear one, right
    +1
  • K3Nv2 @ K3Nv2:
    Think if I rebend the metal it'll be fine because it tries to get a signal
  • K3Nv2 @ K3Nv2:
    @AncientBoi, only fits type c out
    +1
  • AncientBoi @ AncientBoi:
    HDMI 1 [main TV] is loose, HDMI 2 [goes to second TV] is good.
  • K3Nv2 @ K3Nv2:
    Look into a hdmi splitter
    +1
  • BigOnYa @ BigOnYa:
    Or most surround sound receivers are 3 HDMI in, one HDMI out to tv, and you can select which hdmi in
    you want on the receiver.
    +1
  • K3Nv2 @ K3Nv2:
    Surround sound receiver is a good $300
  • BigOnYa @ BigOnYa:
    True, but so nice for gaming, movies.
  • K3Nv2 @ K3Nv2:
    Ancientboi is old he needs Walmart PA system
    +2
  • AncientBoi @ AncientBoi:
    Splitter @ $39 it says. I'll consider it. Thanks
  • K3Nv2 @ K3Nv2:
    Coupon makes it 30
  • K3Nv2 @ K3Nv2:
    My gaming stick can finally get use
  • K3Nv2 @ K3Nv2:
    I did see Walmart got new electric scooters now ab won't run out of juice in the middle of the parking lot
    +1
  • AncientBoi @ AncientBoi:
    :O:O:O $12. Cool
  • K3Nv2 @ K3Nv2:
    Yeah but one two ports
    +1
  • K3Nv2 @ K3Nv2:
    I'd rather spend like $15 more for double
    +1
  • K3Nv2 @ K3Nv2:
    Lol hogwarts legacy has a Arachnophobia setting to turn on
    K3Nv2 @ K3Nv2: Lol hogwarts legacy has a Arachnophobia setting to turn on