ROM Hack Translation List of addresses with text in Clannad

Kikazaka1352

New Member
OP
Newbie
Joined
Jul 20, 2020
Messages
2
Trophies
0
Age
22
XP
40
Country
Russia
Hi everyone, I am translating Clannad into Russian.
To translate the text in the main file, I decided to create an ips patch.
In the process of working, I came across a text that looks like a list of addresses is being created to work with.

Снимок экрана 2024-04-12 145127.png
Снимок экрана 2024-04-12 145149.png


While I was working with the emulator, I was able to redefine the addresses in ips patches and there were no problems, but when I decided to check on a real console, I remembered that the address in memory changes every time I start.
Can anyone tell me what to do about it?
 

masagrator

The patches guy
Developer
Joined
Oct 14, 2018
Messages
6,284
Trophies
3
XP
12,054
Country
Poland
Their approach was completely wrong.

If you want to patch strings with IPS, you patch strings.
If you want to patch static pointers with IPS, you patch offsets in .rel.dyn, not addresses in .data, because game must update addresses to be ASLR compliant. And for that .rel.dyn is used to calculate correct address and then calculated address overwrites static pointers in .data
 
Last edited by masagrator,

Site & Scene News

Popular threads in this forum

General chit-chat
Help Users
  • BakerMan
    The snack that smiles back, Ballsack!
    SylverReZ @ SylverReZ: @AncientBoi