ROM Hack Need help: inserting data in code.bin

HiD

Well-Known Member
OP
Newcomer
Joined
Sep 25, 2016
Messages
98
Trophies
0
XP
900
Country
Canada
So I've been working on undubbing SMT Soul Hackers, and released a first version.
I had to edit some data in code.bin to replace a voice table made of offsets and sizes referring to a CWAV collection file.
This worked out pretty well.
However, the JPN version has more dubs than the US one (world map NPCs, ...).
I can easily remap all that to the US rom, but it would mean generating a bigger voice table, thus inserting some data in code.bin.

Although replacing data is totally fine, everything I've tried to insert data in code.bin breaks the game at boot time.

I know there is a code.bin size reference exeheader.bin, but even playing around with that hasn't helped me much.

I'd need some help figuring out how the data section is laid out in code.bin (it's basically an ELF), and if it's possible to extend this table without messing the program addressing.
 
Last edited by HiD,

Site & Scene News

Popular threads in this forum

General chit-chat
Help Users
    K3Nv2 @ K3Nv2: Well start walking towards them