Need help: inserting data in code.bin

Discussion in '3DS - ROM Hacking, Translations and Utilities' started by HiD, Oct 7, 2016.

  1. HiD

    HiD Member

    Sep 25, 2016
    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, Oct 7, 2016
  1. This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
    By continuing to use this site, you are consenting to our use of cookies.
    Dismiss Notice