How to decompress a patched code.bin for use with HANS

Discussion in '3DS - ROM Hacking, Translations and Utilities' started by Shadowxp13, Nov 30, 2016.

  1. Shadowxp13
    OP

    Shadowxp13 *don't have anything to put here*

    Member
    122
    29
    Sep 28, 2015
    Brazil
    In middle of nowhere
    Title. I'm trying to do that SMPatcher thing with Sun, that resulted into a code.bin, how do i decompress it,
    ctrtool gives "ExeFs Section X size invalid". Thanks for now
     
  2. Aurora Wright

    Aurora Wright GBAtemp Advanced Maniac

    Member
    1,542
    4,096
    Aug 13, 2006
    Italy
    The code.bin is just one of the ExeFS contents, so you can't parse it as an ExeFS
     
  3. Shadowxp13
    OP

    Shadowxp13 *don't have anything to put here*

    Member
    122
    29
    Sep 28, 2015
    Brazil
    In middle of nowhere
    So, I messed up the whole thing?
    EDIT:Btw how to use that with HANS
     
    Last edited by Shadowxp13, Nov 30, 2016
  4. PabloMK7

    PabloMK7 Red Yoshi! ^ω^

    Member
    1,714
    996
    Feb 21, 2014
    World -1
    (If I understood correctly,) I thing you are confusing exefs with code.bin. code.bin is one of the parts of the exefs, to make an exefs you need: code.bin, icon.bin and banner.bin.
    The code.bin you have is what you need to use with hans.
     
  5. Shadowxp13
    OP

    Shadowxp13 *don't have anything to put here*

    Member
    122
    29
    Sep 28, 2015
    Brazil
    In middle of nowhere
    Thanks. I'm such a noob in romhacking.
    I was confusing exefs with .code.
    For using it with hans i need only to copy the .bin with the tidlow to the hans folder right?
     
    PabloMK7 likes this.