SALTYSD/ Pokemon Sun/code help needed

Discussion in '3DS - ROM Hacking, Translations and Utilities' started by Bedant, May 30, 2017.

  1. Bedant
    OP

    Bedant Member

    Newcomer
    41
    2
    Nov 17, 2015
    India
    hello so after reading quite a few posts i came to understand that i need to patch the code.bin of the update to patch the saltysd ips ...the thing is how do i extract the code.bin from the update?

    ive tried using the code.bin(exefs folder) that gets extracted on extracting the rom with cia pack hack.
    but it always crashes on boot ie 3ds splash screen.
     
  2. KunoichiZ

    KunoichiZ GBAtemp Guru

    Member
    7,523
    2,920
    Mar 16, 2012
    United States
    Just use Luma's layeredfs feature instead of SaltySD for Pokemon Sun, unless you want to use the no outlines patch.

    Are you extracting the code.bin from the latest update (v1.2) and not from v1.1?
     
    Ericjwg likes this.
  3. Bedant
    OP

    Bedant Member

    Newcomer
    41
    2
    Nov 17, 2015
    India
    umm let me try and be clear..on what i did....so i dumped the rom from my cart using decrypt9 then i extracted it using pack hack and using the code.bin thats in the exefs folder....im pretty sure its code.bin of the game that im using...i understood that NOT what im supposed to do..but how do i extract the code.bin from the update itself? :/

    i would use layeredfs but i want the no outlines patch.
     
  4. KunoichiZ

    KunoichiZ GBAtemp Guru

    Member
    7,523
    2,920
    Mar 16, 2012
    United States
    You have to obtain the v1.2 update in .cia format, then use packhack to extract that .cia contents instead. You don't use the code.bin from the game.
     
  5. Ericjwg

    Ericjwg Good

    Member
    2,827
    681
    Jul 2, 2015
    Canada
    hope this helps:
    https://gbatemp.net/threads/batch-tool-to-generate-ips-patches-for-pkmn-su-mo.452178/

    btw, you can extract code.bin with godmode9 (image mounting feature)