[Tutorial] How to convert Arm9LoaderHax payloads to FIRMS

Discussion in '3DS - Flashcards & Custom Firmwares' started by Epicdaftman, May 20, 2017.

  1. Reecey

    Reecey Mario 64 (favorite game of all time)

    Member
    4,280
    1,110
    Mar 7, 2010
    At Home :)
    I'm not sure how there doing it but this guy below has all the .firm builds in his hourly page for B9Sv1.2, if you need them that is its just a shame we could not get your app working! :(

    https://gbatemp.net/threads/compile...otu-for-boot9strap-v-1-2.473197/#post-7372458
     


  2. Hihomaster

    Hihomaster GBAtemp Regular

    Member
    180
    49
    Jun 25, 2008
    France
    Reecey likes this.
  3. Reecey

    Reecey Mario 64 (favorite game of all time)

    Member
    4,280
    1,110
    Mar 7, 2010
    At Home :)
    Yea go for it! please let me know and I would be very happy to test it out for you :)
     
  4. key1340

    key1340 GBAtemp Regular

    Member
    141
    82
    Jul 6, 2015
    United States
    You don't need to update your app the updated framebuffer doesn't get add in when you convert the a9lh bin to firm. It needs to be added in to the source code of the app you won't to build.
     
  5. Hihomaster

    Hihomaster GBAtemp Regular

    Member
    180
    49
    Jun 25, 2008
    France
    so the original app need to be updated to use firmtool for v1.2?
     
  6. key1340

    key1340 GBAtemp Regular

    Member
    141
    82
    Jul 6, 2015
    United States
    With b9s 1.0 all you need to do is convert a9lh.bin to firm.bin with firmtool.

    For b9s 1.2 you need to update the framebuffer in the source code of godmode9,decrypt9 or whot ever app you wont to make compatible with b9s.Then make the a9lh.bin then convert to firm.bin with firmtool.
     
  7. Reecey

    Reecey Mario 64 (favorite game of all time)

    Member
    4,280
    1,110
    Mar 7, 2010
    At Home :)
    So what file & line do you change to convert the app in the master-folder? say if you open it up with notepad++ what part do you change to what and then just type in "make release" I presume in cmd to build it? just use decrypt9 as an example. I know all about building files I used to do all the wiiu stuff over there so all I need to know is which file & line or lines you need to change to what string to convert the framebuffer?
     
    Last edited by Reecey, Jun 6, 2017
  8. key1340

    key1340 GBAtemp Regular

    Member
    141
    82
    Jul 6, 2015
    United States
    To update the framebuffer is different for every app.Here is Decrypt9 and hourglass9 code for an example.

    https://github.com/d0k3/Decrypt9WIP/commit/99069ca130175f74e195cc11f2a5e3cd385ebf19
    https://github.com/d0k3/Hourglass9/commit/dbf75e2007efa0fed93b0eaad5a8e9e07ae5b828

    When the framebuffer has been updated you don't need and special commands just use make or make firm for most apps.Or if you have the a9lh.bin that has its framebuffer already updated just use the command on the first page of this thread with firmtool.
     
    Reecey likes this.
  9. Reecey

    Reecey Mario 64 (favorite game of all time)

    Member
    4,280
    1,110
    Mar 7, 2010
    At Home :)
    I see so the apps have already been updated by the owner, its just a matter of compiling them again.
     
  10. Clément

    Clément GBAtemp Regular

    Member
    126
    25
    Aug 2, 2016
    France
    Paris
    I obtained a output.firm and the size is 0 kb with Python 3.6.1 :/ I need to have Python 3.2 ? Or it's not the problem ?
    upload_2017-6-11_0-24-43.png
     
  11. Hihomaster

    Hihomaster GBAtemp Regular

    Member
    180
    49
    Jun 25, 2008
    France
    are you using bootstrap 1.2 or the old one ? cause it doesn't work with 1.2 currently since the method of patching changed
     
  12. stl25

    stl25 GBAtemp Advanced Fan

    Member
    964
    536
    Feb 3, 2008
    United States
    Here, there and everywhere
    Would anybody here know how to convert @FIX94 arm9select a9lh payload to b9s 1.2 payload?
     
  13. Mat37

    Mat37 GBAtemp Regular

    Member
    190
    13
    Dec 3, 2016
    France
    Is there any tool to convert bins to firm for b9s 1.2 ? cuz emunand9 doesn't work (or maybe i'm doing something wrong but tested with files at page 3 and makes same result
     
  14. Mitch__

    Mitch__ Member

    Newcomer
    29
    26
    Jun 12, 2017
    United States
    Can someone please elaborate this for me? I got lost at "Run that but replace the arm9loaderhax.bin with the payload of your choice" run what?
     
  15. Mat37

    Mat37 GBAtemp Regular

    Member
    190
    13
    Dec 3, 2016
    France
    Copy the code in a bat file in same directory as firmtool, and replace arm9loaderhax.bin with the name of your payload
     
  16. Haider Raza

    Haider Raza Alhumdulillah

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

    Our Patreon
    1,287
    245
    Jan 30, 2016
    Pakistan
    I don't know how to use this can someone convert gateway.bin file to .firm so I can use it.
     
  17. Powerful

    Powerful GBAtemp Regular

    Member
    259
    41
    Dec 7, 2016
    United States
    can anyone make an emunand.firm for b9s v1.2? i could only get the emunand firm to work on b9s 1.0
     
  18. Rafa10PT

    Rafa10PT Member

    Newcomer
    18
    0
    Jul 27, 2017
    Portugal
    Nice!