What does the code.bin do and how do I edit it?

Discussion in '3DS - ROM Hacking, Translations and Utilities' started by blujay, Nov 2, 2015.

  1. blujay
    OP

    blujay GBATemp's Official Warthog

    Member
    GBAtemp Patron
    blujay is a Patron of GBAtemp and is helping us stay independent!

    Our Patreon
    2,206
    2,053
    Nov 2, 2015
    United States
    Gilbert, Arizona
    Title explains it. For exefs hacking. And compiling it for HANS?
     
  2. smealum

    smealum growing up sucks.

    Member
    635
    2,030
    May 1, 2006
    United States
    SF
    code.bin is the decompressed .code section from your game's exefs. it's basically the initial memory configuration of the game if you put the data at 0x00100000. you can edit it by modifying the compiled code or the data it includes.
     
    Thelostrune likes this.
  3. blujay
    OP

    blujay GBATemp's Official Warthog

    Member
    GBAtemp Patron
    blujay is a Patron of GBAtemp and is helping us stay independent!

    Our Patreon
    2,206
    2,053
    Nov 2, 2015
    United States
    Gilbert, Arizona
    Thanks smealum.
     
  4. Woody8275
    This message by Woody8275 has been removed from public view by raulpica, Nov 3, 2015, Reason: Off-topic -rp.
    Nov 3, 2015
  5. Queno138

    Queno138 Ravens

    Member
    2,413
    782
    Sep 18, 2010
    Senegal
    Luigi's Dark Mansion
    Does that mean if I squeeze a Pokemon update romfs with the original romfs, I need to modify this .code.bin in order for the game to work?