1. Wolfsbane1985
    OP

    Wolfsbane1985 Advanced Member

    Newcomer
    51
    8
    Aug 29, 2016
    United States
    I need help learning how to turn a homebrew app into a payload to load with Luma and A9LH (like Emunand9 and Decrypt9)

    Thanks for any help or advice
     
  2. The Real Jdbye

    The Real Jdbye Always Remember 30/07/08

    Member
    GBAtemp Patron
    The Real Jdbye is a Patron of GBAtemp and is helping us stay independent!

    Our Patreon
    11,862
    5,015
    Mar 17, 2010
    Norway
    Alola
    Generally you can't. The homebrew ecosystem that most homebrew relies on does not exist in ARM9 kernel mode. ARM9 homebrew is written specifically to work without it.
     
  3. Wolfsbane1985
    OP

    Wolfsbane1985 Advanced Member

    Newcomer
    51
    8
    Aug 29, 2016
    United States
    So you are saying i can't make it so an app i create will load on boot (ex: start_myprogram.bin) in the Luma folder?
     
  4. godofwrath

    godofwrath GBAtemp Fan

    Member
    380
    194
    Sep 30, 2007
    no he was saying you can't "turn a homebrew app into a payload".

    I think your question is actually "how do I make ARM9 Homebrew to launch as a payload" ? Though I can't be sure, you left the initial questioning ambiguous
     
  5. Wolfsbane1985
    OP

    Wolfsbane1985 Advanced Member

    Newcomer
    51
    8
    Aug 29, 2016
    United States
    Yes that is what i meant
     
  6. The Real Jdbye

    The Real Jdbye Always Remember 30/07/08

    Member
    GBAtemp Patron
    The Real Jdbye is a Patron of GBAtemp and is helping us stay independent!

    Our Patreon
    11,862
    5,015
    Mar 17, 2010
    Norway
    Alola
    I don't think it's very well documented (as in, there's no page explaining exactly what you need to do to make a working "hello world" payload for example)
    A9LH payloads are the same as Brahma payloads, so you can start by looking at some example code of Brahma payloads: https://github.com/patois/3DSProjects/tree/master/Brahma/examples
    You could probably use one of those as a starting point for your own homebrew.
    Though, I am not sure if there are any specific changes required to make Brahma payloads bootable from A9LH, or if they just work out of the box.
     
    Last edited by The Real Jdbye, Sep 7, 2016
  7. Wolfsbane1985
    OP

    Wolfsbane1985 Advanced Member

    Newcomer
    51
    8
    Aug 29, 2016
    United States
    I'll start there. Thanks