Homebrew Launcher with grid icons, paging and info on top screen

Discussion in '3DS - Homebrew Development and Emulators' started by mashers, Sep 13, 2015.

  1. mashers
    OP

    mashers Stubborn ape

    Member
    3,837
    5,157
    Jun 10, 2015
    Kongo Jungle
    Hi everyone

    I decided to start a new thread about my update of Smea's HBL, as I didn't want to detract from the thread @suloku has running about his fantastic update to provide sorting and folder support.

    My update of the HBL is slightly different in that I am endeavouring to replicate this layout:

    View attachment 25259


    PROGRESS UPDATE 17/09/2015

    Please see this thread for a beta release. All future updates will be posted on the release thread not here.

    https://gbatemp.net/threads/release-homebrew-launcher-with-grid-layout.397527/

    Previous details
     
    Last edited by mashers, Sep 17, 2015
  2. ironmaster49

    ironmaster49 GBAtemp Advanced Fan

    Member
    764
    168
    Aug 9, 2015
    Woah nice, looks great :) Will this also have themes, like wii homebrew menu?
     
    Margen67 likes this.
  3. Asia81

    Asia81 In my Ecchi World <3

    Member
    5,149
    2,566
    Nov 15, 2014
    France
    Albi
    NICE

    @smealum

    Maybe you can add this you too and work together :D
     
    Margen67 likes this.
  4. SomeGamer

    SomeGamer GBAtemp Guru

    Member
    5,804
    2,772
    Dec 19, 2014
    Hungary
    Did anyone made themes for this by now?
     
  5. ironmaster49

    ironmaster49 GBAtemp Advanced Fan

    Member
    764
    168
    Aug 9, 2015
    I think he is still working on the theme, the grids work now but i am quite sure he is just working on the theme
     
    Margen67 likes this.
  6. duwen

    duwen Old Man Yoshi

    Member
    1,165
    649
    Sep 6, 2013
    United States
    Bullet Hell
    Nice work! If you do manage to replicate the layout as intended I'll definitely be using this.
     
  7. mashers
    OP

    mashers Stubborn ape

    Member
    3,837
    5,157
    Jun 10, 2015
    Kongo Jungle
    It will have themes in a similar way that 3DS home menu does, but in a simpler way; selecting background images, possibly sounds and music, and colours from within the app itself.

    It's not ready for that yet. I'm still working on the basic redesigned interface. It's harder than you would think since the data structure smea used is in a one-dimensional array (i.e. a list) which suits presentation in a single column. Adding a two-dimensional interface to that (rows and columns) is quite tricky as you have to keep track not only of where you are in the one-dimensional datasource (the array) but also of where you are on the interface (which row/column is selected) and handle translating between them.

    Replicating the layout in the top post is the initial plan :)
     
    clank likes this.
  8. ironmaster49

    ironmaster49 GBAtemp Advanced Fan

    Member
    764
    168
    Aug 9, 2015
    Very nice mashers, i like it, even more than sunshell (no offense,Rinnegatamante, your shell was great)
     
  9. mashers
    OP

    mashers Stubborn ape

    Member
    3,837
    5,157
    Jun 10, 2015
    Kongo Jungle
    My intention is certainly not to compete with any other launchers (smea's original, @suloku's changes, any other launchers out there). I'm making the launcher how I would prefer it, and if it meets other people's needs too then I'm happy about that :)
     
    clank likes this.
  10. ironmaster49

    ironmaster49 GBAtemp Advanced Fan

    Member
    764
    168
    Aug 9, 2015
    Yeah, im not saying its competing it just looks very nice i like it just as much as i like all the other launchers :) sunshell can be quite useful as it has plugins, what if you try implementing plugins too. It just reminds me of sunshell, the icons, very nice
     
  11. SomeGamer

    SomeGamer GBAtemp Guru

    Member
    5,804
    2,772
    Dec 19, 2014
    Hungary
    Sorry, wrong thread.
     
  12. ironmaster49

    ironmaster49 GBAtemp Advanced Fan

    Member
    764
    168
    Aug 9, 2015
    Well by coincidence it turned out to be relevant :)
     
    SomeGamer likes this.
  13. suloku

    suloku GBAtemp Advanced Fan

    Member
    866
    491
    Apr 28, 2008
    Great work, I you only tweak the draw functions this could be added to my mod and toogle between list and grid views!
    I'll keep a look in your progress.
     
  14. Keizel

    Keizel GBAtemp Fan

    Member
    365
    111
    Jun 28, 2015
    This will my favourite project about a Homebrew Launcher. Beautiful interface!
     
    SomeGamer likes this.
  15. mashers
    OP

    mashers Stubborn ape

    Member
    3,837
    5,157
    Jun 10, 2015
    Kongo Jungle
    Unfortunately I've had to amend quite a bit more than that. I've had to modify the C structs representing the menu items to help track their positions in the grid layout and change the updateMenu() and drawMenuItem() functions. It would probably be possible to merge the two projects by making these duplicate functions and then branch off to one or the other depending on the currently selected layout. I'll have a think about it!

    — Posts automatically merged - Please don't double post! —

    The grid is now fully working and bug free. Touch controls are still buggy so that's next on the list.
     
    clank and SLiV3R like this.
  16. suloku

    suloku GBAtemp Advanced Fan

    Member
    866
    491
    Apr 28, 2008
    Yes, that's what I had in mind. If your modifications don't interfere with the original design and can be added as duplicate functions it is certainly possible. My modifications have the "what if there's no config files" in mind, so hbl behaves as vanilla one (except some things, like favorites).

    Anyway, I'm eagger for this, grid view is way better imho, the screen is too small and 4 entries are too few.
     
  17. mashers
    OP

    mashers Stubborn ape

    Member
    3,837
    5,157
    Jun 10, 2015
    Kongo Jungle
    Ok, once I'm done making changes I'll merge them back into the original source as duplicate methods. I know I should have done this from the start, and bolting it back onto the new source is messier than doing that from the start, but I was too excited to get started ;)
     
    clank, klear and SLiV3R like this.
  18. mashers
    OP

    mashers Stubborn ape

    Member
    3,837
    5,157
    Jun 10, 2015
    Kongo Jungle
    Touch controls work now :) It was complicated to work out why I couldn't get touches on the correct row recognised, until I realised that pixel zero is at the bottom of the 3DS screen and pixel 240 is at the top, whereas the touch recognition was the opposite way round. So I had to translate the touch coordinates to match the coordinates of the icon positions :wtf:
     
    clank, SLiV3R, Februarysn0w and 2 others like this.
  19. OctopusRift

    OctopusRift GBATemp's Local Octopus, Open 9am-2am. "Not Yet"

    Member
    1,460
    832
    Nov 19, 2014
    Saint Kitts and Nevis
    This is AWESOME.
     
  20. mashers
    OP

    mashers Stubborn ape

    Member
    3,837
    5,157
    Jun 10, 2015
    Kongo Jungle
    On-screen buttons now allow moving between pages:



    IMG_2330.JPG
     
    clank, mutinize, Februarysn0w and 4 others like this.