[indev] TreeHome - custom home menu template

Discussion in '3DS - Homebrew Development and Emulators' started by MarcusD, Sep 20, 2016.

  1. MarcusD
    OP

    MarcusD baby Near

    Member
    1,223
    2,561
    Oct 16, 2015
    Hungary
    under the bed
    Before you say "there are threads about editing the home menu", le'mme tell you, by "custom", I meant that YOU program the home menu! Yes, it's now possible to make your own custom home menu from scratch! :D

    Requirements:
    • prior C or C++ programming knowledge
    • patience and strong nerves (this is only a template for getting stuff work! you'll need to make your home menu from scratch!)
    • and lots of apt fuckery :creep:
    Known (and fixable) bugs:
    • launching an application normally softlocks the system (not fully implemented initialization code)
    • pressing home button softlocks the system (not glancing at apt :glare:)

    Notes:
    • there's no point in screenshots as the template only contains a dummy console-based... something :P

    Extra credits:
    • Many people on 3DSHacks Discord for help and motivation
    • #3dsdev @ efnet for helping with some ctrulib issues my stupidity
    • @ihaveamac for helping me making this work on new3DS

    Github repo: https://github.com/MarcuzD/TreeHome

    Screenshots
     
    Last edited by MarcusD, Jan 16, 2017
  2. Joom

    Joom  ❤❤❤

    Member
    4,304
    2,948
    Jan 8, 2016
    United States
    Does this mean custom applets as well? How much control does this actually give us? Cause I'm imagining entire home replacements like what we saw with the PSP.
     
  3. Voxel

    Voxel u wot

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

    Our Patreon
    5,218
    5,970
    Jun 27, 2015
    United Kingdom
    England, UK
    Nice one, Marcus! :D
    Been looking forward to this all month! Will hopefully be able to do some work later on in the day, for sure! :)
     
    Jacklack3, julialy, Gray_Jack and 3 others like this.
  4. Naendow

    Naendow Brick-Master

    Member
    291
    100
    Jan 4, 2016
    Germany
    That sounds really interresting. Hopefully someone writes a home menu that disables the notification center, miiverse etc.
    300+ games ans 40+ dsiware would also be nice, and maybe also 3dsx in the menu.
     
  5. Ryuzaki_MrL

    Ryuzaki_MrL Green Thunder

    Member
    744
    720
    Jun 23, 2015
    Brazil
    Finally something to get me out of boredom :D
     
    Darkyose and MarcusD like this.
  6. Joom

    Joom  ❤❤❤

    Member
    4,304
    2,948
    Jan 8, 2016
    United States
    These two things will never happen.
     
    Kvnrdrguez likes this.
  7. Naendow

    Naendow Brick-Master

    Member
    291
    100
    Jan 4, 2016
    Germany
    And why? As I understood it is a limitation of the home menu.
     
    Last edited by Naendow, Sep 20, 2016
  8. MarcusD
    OP

    MarcusD baby Near

    Member
    1,223
    2,561
    Oct 16, 2015
    Hungary
    under the bed
    Yes :P
    Btw, I think it's possible to rewrite the 3DS's software down until FIRM (only possible with firmlaunch tho').

    Welp, iirc the 300 title limit is only with the official home menu, so ye :P
    DS(i), well... if you can fit more than 40 (or hell, even more than 8) DS(i)Ware on TWLNAND, then probably :P
    3dsx launcher... since *hax relies on the official home menu's code, you would need to compile *hax payload so it wouldn't need to be ROP'd.
     
  9. Joom

    Joom  ❤❤❤

    Member
    4,304
    2,948
    Jan 8, 2016
    United States
    Have you even seen the size of the TWL NAND? Good luck even getting 40 DSiWare titles installed. And the 3dsx format isn't native to the 3DS, therefore installing them to the home menu won't happen, especially seeing as they also don't contain an icon, title ID, ticket, etc.
     
    Kvnrdrguez and MarcusD like this.
  10. Naendow

    Naendow Brick-Master

    Member
    291
    100
    Jan 4, 2016
    Germany
    I was thinking about the ds forwarder. They are not too big.

    And with 3dsx I thought about just launching them laying on the sd card. The stuff like title, icon etc. would get grabbed from the smdh. ;)
    Let's just wait what will happen

    Edit: Wow, that English skills xD
     
  11. MarcusD
    OP

    MarcusD baby Near

    Member
    1,223
    2,561
    Oct 16, 2015
    Hungary
    under the bed
    In theory it should be possible to launch a 3dsx thinking it's installed as a cia. This could be achieved by either a custom Applet, or a *hax wrapper application.
     
    akira123 and Naendow like this.
  12. duffmmann

    duffmmann GBAtemp Psycho!

    Member
    3,882
    1,617
    Mar 11, 2009
    United States
    If you install the DS game forwarders for an DS R4 flash card, you easily can fill up 40 spots (I have) and I'd love to be able to place even more forwarders out there for sure, so yeah, I'd really make use of being able to place more than 40 DS titles.
     
    Kvnrdrguez and Joom like this.
  13. SomeGamer

    SomeGamer GBAtemp Guru

    Member
    5,804
    2,773
    Dec 19, 2014
    Hungary
    So a Home Menu where you can't press the Home button. Truly impressed. :P Jk, I'm fully aware that this is a dev example, great work! Would love to see a FastMenu someday with most of the graphic stuff stripped out, focusing on quick boot and serving almost the sole purpose of launching titles and applets, maybe with some quick settings such as brightness and wireless.
     
    Last edited by SomeGamer, Sep 20, 2016
  14. mironicurse

    mironicurse GBAtemp Regular

    Member
    120
    38
    Sep 28, 2015
    Russia
    IIRC, homemenu running in background all the time? Can we make custom services/daemons with this?
     
  15. ih8ih8sn0w
    This message by ih8ih8sn0w has been removed from public view by raulpica, Sep 23, 2016, Reason: Not EoF -rp.
    Sep 20, 2016
  16. Mrrraou

    Mrrraou GBAtemp Advanced Maniac

    Member
    1,869
    2,167
    Oct 17, 2015
    France
    that's not that simple lmao, i thought you were rewriting the home menu, so you should know that NS uses Loader for that, and that menu doesn't touch that.
    you sadly kinda look like you don't know what you're doing...
     
    Last edited by Mrrraou, Sep 20, 2016
  17. gnmmarechal

    gnmmarechal Seriel's Original Stalker

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

    Our Patreon
    4,847
    3,005
    Jul 13, 2014
    Portugal
    https://gs2012.xyz
    Wow, cool stuff.
     
  18. DeoNaught

    DeoNaught ¯\_(ツ)_/¯

    Member
    1,588
    1,706
    Aug 22, 2016
    United States
    Constant Fear
    so what exactly can we do with this? just wondering.
     
  19. astronautlevel

    astronautlevel Finding a reason, waiting for a miracle

    Member
    4,046
    5,095
    Jan 26, 2016
    United States
    That Nightly Site™
    Nothing until it's released, but in theory we could make a completely custom home menu.
     
    gnmmarechal and MarcusD like this.
  20. Lilligant

    Lilligant GBAtemp Regular

    Member
    148
    77
    Aug 29, 2016
    Brazil
    This sounds interesting, watching :D
     
  21. DeoNaught

    DeoNaught ¯\_(ツ)_/¯

    Member
    1,588
    1,706
    Aug 22, 2016
    United States
    Constant Fear
    So like in android, a custom Home Launcher.
    You see how many people are watching Lol.