TWL Slot-1 Launcher (First custom DSiWare app!)

Discussion in '3DS - Homebrew Development and Emulators' started by Apache Thunder, Feb 10, 2016.

  1. Apache Thunder
    OP

    Apache Thunder I have cameras in your head!

    Member
    4,102
    4,034
    Oct 7, 2007
    United States
    Levelland, Texas

    TWL_FIRM MUST be sig patched before this will boot! The new patches to TWL were recently added to rxTools and should make it's way into a nightly build soon. The sig patches added also patch out DS Cart White List and save chip detection. So if your DS Flashcart already works thanks to that patch, then you don't need this. rxTools isn't specifically needed. If you happen to have a prepatched TWL_FIRM installed, that will work too. Note that rxTools does not yet support patching TWL_FIRM on n3DS. The prepatched TWL_FIRM cia is your only option (for now) on the n3DS.

    Many older DS flash carts get blocked by CTR mode (most likely by Process9 of NATIVE_FIRM). You can tell if you see it error almost instantly when trying to boot your flashcart. This app gets around that! Any flashcart that hasn't worked since 1.0 launch firmware can be used with this launcher. Note that some flashcarts may work without this launcher with just the TWL_FIRM patches alone. Test that first before using this launcher. If your card works with just the patches, do not report that as that no longer pertains to my launcher. This launcher is intended for DS flashcarts that get blocked by CTR mode.

    You can tell if yours is blocked by CTR mode by attempting to boot it from home menu. If you see the "Error has occured" screen pop up almost immediately without the screens flickering on and off, then it is a card blocked by CTR mode. That's what this launcher is for! :D

    This should work on n3DS too once sig patched TWL_FIRM is available for it.

    To use this, simply insert your previously blocked DS flashcart into the game card slot, then boot this app.

    That is all you have to do! :D

    Older flashcarts that don't have valid icon/banner data still will not work. Notable examples are the original R4 and older hardware revisions of the original Action Replay for DS.

    Anything that behaves like a normal cartridge should be bootable with this method.


    How this DSi app works is simple. It's a stripped down DSi Extended header with dummy data for the arm7/arm9 sections (they aren't needed as it launches slot-1 before ever getting to load them). Inserted a custom banner and set the file type at offset 0x234 to 00. This tells TWL_FIRM that it's a cartridge. (even though it's not. :P ).

    This tricks it into booting older flashcarts because the 3DS boots into TWL_FIRM expecting to load this this DSiWare SRL. But because the file type in the TID field is set to cartridge, it immediately boots what ever is in slot-1. Neat little oversight thanks to Nintendo. :P

    Download link: TWLSlot1Launcher_v3.rar
    Update: Download link updated. Minor changes to header and brought SRL closer to proper SRL spec.

    Confirmed list of carts working with this:

    AceKard 2i
    AceKard 2.1
    AceKard RPG
    R4i-SDHC
    iTouchDS2
    R4i SDHC Dual Core
    Supercard DS One v3 SDHC



    If you get an error on boot, double check that you have TWL_FIRM patched either via preinstalled CIA or via rxTools (or a future CFW that add the new patches) before reporting that your flashcard doesn't work with this. Thanks!

    Credit goes to TuxSH and Steveice10 for finding the sig patches for TWL_FIRM! Also credit to TheStoneBanana for accidently discovering this odd little quirk of TWL FIRM. :D
     
    Last edited by Apache Thunder, Feb 16, 2016


  2. daxtsu

    daxtsu GBAtemp Guru

    Member
    5,546
    3,952
    Jun 9, 2007
    Antarctica
    Shouldn't it also work with ReiNand and Cakes, since @Aurora Wright released CIA forms of the sig patched TWL_FIRM?
     
  3. DeslotlCL

    DeslotlCL GBAtemp's official dragon look-alike axolotl

    Member
    1,933
    2,134
    Oct 28, 2015
    Chile
    under your bed
    Where do i need to apply that patch? to both sys/emunand?
     
  4. TuxSH

    TuxSH GBAtemp Advanced Fan

    Member
    612
    992
    Oct 19, 2015
    France
  5. Mrrraou

    Mrrraou GBAtemp Advanced Maniac

    Member
    1,869
    2,167
    Oct 17, 2015
    France
    Not sure, IIRC, only rxTools patches TWL_FIRM signchecks for O3DS. Still has to be confirmed, though.
     
  6. Supster131

    Supster131 (づ。◕‿‿◕。)づ *:・゚✧

    Member
    3,193
    2,210
    Jan 19, 2016
    United States
    My Computer
    Did she already release that? I can't seem to find it on that iso site.
     
  7. daxtsu

    daxtsu GBAtemp Guru

    Member
    5,546
    3,952
    Jun 9, 2007
    Antarctica
    Right, but if we already have patched CIAs then it should work fine regardless of who's patching what (and Aurora released said CIAs like an hour ago).

    Edit: maybe she hasn't yet? She said she was.
     
    Last edited by daxtsu, Feb 10, 2016
  8. TuxSH

    TuxSH GBAtemp Advanced Fan

    Member
    612
    992
    Oct 19, 2015
    France
    Stop being in such a hurry, please.
     
    SLiV3R likes this.
  9. Mrrraou

    Mrrraou GBAtemp Advanced Maniac

    Member
    1,869
    2,167
    Oct 17, 2015
    France
    Sorry, when I was talking about TWL_FIRM signchecks, I meant NATIVE_FIRM Process9 signchecks for TWL_FIRM, that are only patched by rxTools on O3DS.
     
    daxtsu likes this.
  10. Supster131

    Supster131 (づ。◕‿‿◕。)づ *:・゚✧

    Member
    3,193
    2,210
    Jan 19, 2016
    United States
    My Computer
    What? lol. Daxtsu stated she already released it.
     
  11. daxtsu

    daxtsu GBAtemp Guru

    Member
    5,546
    3,952
    Jun 9, 2007
    Antarctica
    Well, I could be wrong. I thought they'd already be up, since firmware CIAs are small.
     
  12. Potato Hentai

    Potato Hentai Advanced Member

    Newcomer
    55
    25
    Feb 10, 2016
    United States
    upload_2016-2-10_17-1-58.png
    logo concept
     
    Noroxus, klear and Apache Thunder like this.
  13. Fatalanus

    Fatalanus GBAtemp Advanced Fan

    Member
    586
    210
    Jan 4, 2015
    Romania
    I don't think so that it's released.
    Anyway my old flashcard will not be supported, so.. I'm watching it for the science. :)
     
  14. Potato Hentai

    Potato Hentai Advanced Member

    Newcomer
    55
    25
    Feb 10, 2016
    United States
    Will it work with Action Replay DSi?
     
    SirBeethoven likes this.
  15. Apache Thunder
    OP

    Apache Thunder I have cameras in your head!

    Member
    4,102
    4,034
    Oct 7, 2007
    United States
    Levelland, Texas
    It should But remember some newer flashcarts got blocked by DS Cart White list or save chip detection of TWL_FIRM in 4.4+. The currently public TWL_FIRM patches already allow those to boot directly. So instead use that first to see if your flashcart boots.

    But older stuff like the Supercard DSOne for example should work through this launcher. Basically all the stuff that didn't boot on a 3DS since launch day. (and even stuff that never worked on a DSi!)
     
  16. Potato Hentai

    Potato Hentai Advanced Member

    Newcomer
    55
    25
    Feb 10, 2016
    United States
    Will 3DS games boot? Just wondering
     
  17. daxtsu

    daxtsu GBAtemp Guru

    Member
    5,546
    3,952
    Jun 9, 2007
    Antarctica
    3DS games don't run in TWL_FIRM, so no.
     
  18. Apache Thunder
    OP

    Apache Thunder I have cameras in your head!

    Member
    4,102
    4,034
    Oct 7, 2007
    United States
    Levelland, Texas
    I doubt it. It's already in TWL mode by the time it tries to launch Slot-1. You can try, but it will probably just crash. :P
     
  19. Robz8

    Robz8 Coolest of TWL

    Member
    6,813
    2,875
    Oct 1, 2010
    United States
    Anyone tried any DSi Enhanced/Exclusive games on a flashcard with the launcher?
    If so, do they boot in DS mode, or DSi mode?
     
  20. SLiV3R

    SLiV3R 3DS Friend Code: 0473-9069-2206

    Member
    2,202
    1,044
    Jan 9, 2006
    Yeah, personally I'll wait a couple of days or a week too see how all this comes along :)