Homebrew [Release] Homebrew Launcher with grid layout

Baccabechoppin

GBAtemp's Finest Bacca!
Member
Joined
Aug 10, 2015
Messages
750
Trophies
0
Age
21
Location
Magnolia Town
XP
567
Country
Australia
Another quick thing: on the Folder Help screen there is no back button on the bottom screen, you can still go back by pressing B or tapping where the button is supposed to be (which is the top left corner) whereas on the regular help screen the back button is in the middle of the screen
 

mashers

Stubborn ape
OP
Member
Joined
Jun 10, 2015
Messages
3,837
Trophies
0
Age
39
Location
Kongo Jungle
XP
4,954
Country
Another quick thing: on the Folder Help screen there is no back button on the bottom screen, you can still go back by pressing B or tapping where the button is supposed to be (which is the top left corner) whereas on the regular help screen the back button is in the middle of the screen
I'm migrating the information pages to a new style which will resemble the 3DS power off screen, with information on the top screen and buttons on the bottom screen. The help pages and the reboot pages are supposed to have the buttons in the middle like that. It looks a bit weird because the layout is so sparse at the moment, but this will change.

These screens responding to a tap in the upper left corner is a bug - they shouldn't do that so I'll need to change it. The missing back button on the folders help page is because I forgot to add it - thanks, I'll add this in.
 

bunny365

Well-Known Member
Member
Joined
Aug 26, 2013
Messages
241
Trophies
0
XP
207
Country
United States
I'm migrating the information pages to a new style which will resemble the 3DS power off screen, with information on the top screen and buttons on the bottom screen. The help pages and the reboot pages are supposed to have the buttons in the middle like that. It looks a bit weird because the layout is so sparse at the moment, but this will change.

These screens responding to a tap in the upper left corner is a bug - they shouldn't do that so I'll need to change it. The missing back button on the folders help page is because I forgot to add it - thanks, I'll add this in.
Also, a few suggestions / ideas:
  • A while ago I suggested a 12 hour format time display, but I don't actually use it because it's not centered.
  • Since you took the time to put the titles for SVDT into a grid, there should be a "folder" containing all your HOME Menu apps, which you can use to start your downloaded games. :P (Kinda like the RFL, but for downloaded games)
  • Also have the version number (from the ZIP download filename) displayed within the app.
  • The help info is partly hidden behind the wave animation.
 
Last edited by bunny365,
  • Like
Reactions: klear

mashers

Stubborn ape
OP
Member
Joined
Jun 10, 2015
Messages
3,837
Trophies
0
Age
39
Location
Kongo Jungle
XP
4,954
Country
Also, a few suggestions / ideas:
  • A while ago I suggested a 12 hour format time display, but I don't actually use it because it's not centered.
  • Since you took the time to put the titles for SVDT into a grid, there should be a "folder" containing all your HOME Menu apps, which you can use to start your downloaded games. :P (Kinda like the RFL, but for downloaded games)
  • Also have the version number (from the ZIP download filename) displayed within the app.
  • The help info is partly hidden behind the wave animation.
Your wish is my command :) Just uploaded beta 19, which adds the following:
  • Properly centralised time no matter what time or format it is being displayed in
  • Title launcher! The bottom right button with a little home symbol on it will let you choose a title and launch it (thank you @suloku for the title launching code!)
  • Version number is now displayed on the about page
  • The waves now slide down to get out of the way of the text on the about page and slide back up again when it's close. For the best effect, do this with the animation on. It looks so cool ;)

Enjoy dudes!
 

SomeGamer

Well-Known Member
Member
Joined
Dec 19, 2014
Messages
6,827
Trophies
1
XP
4,838
Country
Hungary
Thanks a lot for the update!
Just a suggestion: could you add something against accidental region free launching? Maybe to hold A a little bit? Or disabling A on region free? :P I often launch the cart accidentally and it takes ages to get back to HBL! :D
EDIT: Or cursor memory!
 
Last edited by SomeGamer,

teampleb

BAH! DED! X_X
Banned
Joined
Aug 26, 2015
Messages
2,066
Trophies
0
Age
26
Location
Pennsylvania
XP
1,280
Country
United States
Thanks a lot for the update!
Just a suggestion: could you add something against accidental region free launching? Maybe to hold A a little bit? Or disabling A on region free? :P I often launch the cart accidentally and it takes ages to get back to HBL! :D
Just don't press A. I've never hit it once by accident.
 

suloku

Well-Known Member
Member
Joined
Apr 28, 2008
Messages
883
Trophies
0
XP
839
Country
Well, great update as always! Some suggestions regarding titles:

- Title filtering, is very easy to implement, for now I would use the blue top bar, tap to switch to next title group, display current title group there. On your implementation, I think you have some hidenn/unhidden bool which you can set/unset depending on High TID ((tid>>32) & 0xffffffff). I say "for now" because I guess you'd like to put some sort of button that list the title types like folders, but there's really only 3 kind of bootable titles, so maybe 4 lateral buttons will suffice?
- Put some flag so the title list is only read once, currently every time you access an app that has to show the title list, the list is reloaded, which takes a few seconds.
- In background.c change to this to fix water animation weirdness: #define BG_WATER_OFFSET (-25)

EDIT:
- Also, I don't know if multithreading is possible in current homebrew libs, but moving title reading to a separate thread would be great, since the titles would be read in background and probably when the user would want to use the title list, it would already be loaded.
 
Last edited by suloku,
  • Like
Reactions: klear

SomeGamer

Well-Known Member
Member
Joined
Dec 19, 2014
Messages
6,827
Trophies
1
XP
4,838
Country
Hungary
Now that there are icons in all four corners I've noticed some things:
The top left icon's drawing method is different.
The lower left icon overlaps with the lower left app icon.
Cart presence is not updated while on title selector. This makes it possible to launch it with the cart taken out, resulting in a black screen.
And a suggestion: corner icons remapping?
EDIT: The status bar looks weird on the about page. :P And B doesn't work to exit from title launcher. And I can move onto empty tiles in title manager.
However, this is just a bug report, your work is pretty impressive! :D
 
Last edited by SomeGamer,

bunny365

Well-Known Member
Member
Joined
Aug 26, 2013
Messages
241
Trophies
0
XP
207
Country
United States
Your wish is my command :) Just uploaded beta 19, which adds the following:
  • Properly centralised time no matter what time or format it is being displayed in
  • Title launcher! The bottom right button with a little home symbol on it will let you choose a title and launch it (thank you @suloku for the title launching code!)
  • Version number is now displayed on the about page
  • The waves now slide down to get out of the way of the text on the about page and slide back up again when it's close. For the best effect, do this with the animation on. It looks so cool ;)

Enjoy dudes!
Very nice! Some more things, though:
(FYI, when I say "title selector," I'm referring to the selector to decide either what data is passed to SVDT or what game / title is launched.)
  • I don't think the wave animation is supposed to move to the TOP of the screen on the about page... As well, the homebrew launcher logo can probably disappear on the about screen... Also, the water doesn't go back up when you leave the about page using the not-supposed-to-be-there-back-button-in-the-top-left-corner. ;)
  • The title launcher button is a bit too close to the bottom left icon.
  • In the title selector, the game card should appear in the first slot (as opposed to the last slot) with the little game card tab, like with the RFL. It'll even have the same purpose. That way I can have the RFL in the title launcher instead of "in" all my folders, taking up space. Also, if there's no game inserted, show a blank gray unselectable "game," like on the HOME Menu.
  • Maybe you can cache the entries of the title launcher. And to give the option of disabling/enabling the cache, have a cache button on the top right. It will start with the title launcher uncached, so the cache button will have a floppy disk icon (like the save icon in Word). Clicking the button would save the cache with the message "Title cache saved." briefly flashed on the bottom of the screen (where the page indicators are). At this point, there should be a file saved containing a list of all your HOME Menu games along with their title ID, name, author, description, and icon (if it doesn't take too much memory). At this point, when in the title selector, the cache icon will instead have a refresh icon (or a trash bin icon, if that makes it less confusing). Clicking that icon will delete the cache file entirely, reloading the title grid currently displayed to you and briefly flashing the message "Title cache deleted. Title list reloading...", bringing you back to step 1.
  • To go along with the previous idea, if cache mode is enabled you should probably check if the selected title exists before launching it or passing it's title ID.
  • Some items in the title launcher can't be booted (such as, from my testing at least, microSD Management (New 3DS only), Nintendo Network ID Settings, HOME Menu, Friends List, Notifications, and Game Notes), so should be hidden from view.
  • The System Transfer title in the title selector is displayed as "???". Even though this is probably because of what data HB gave you on the title, you can probably change it to say "System Transfer" if it matches the correct ID.
  • Quite possibly there could be an option to change the view from a horizontally scrolling to vertical scrolling, which wouldn't be page based, but instead scrolling based, like on some Android launchers.
  • I've noticed that the wave animation is semi-broken especially when the cursor is broken. This is also present in Smealum's HBL, but I think several people have mentioned a mod of the HBL by suloku that fixes the animation.
  • Wrap-around scrolling, so that you can scroll left from the first page to get to the last page and scroll right from the last page to get to the main page.
  • In the title selector, the blank title slots can be selected using the + Control Pad. It can't be "booted" causing a crash or anything, but it's different than on the normal grid.
  • My friend has told me before that he can't use this launcher because it crashes when you take out the SD Card. I'm not sure if this is still the case, but maybe you can look into it?
To be fair, I could probably program 90% of these... if I had your source code. ;)
 
Last edited by bunny365,

BurningDesire

Well-Known Member
Member
Joined
Jan 27, 2015
Messages
5,000
Trophies
1
Location
Behind a screen reading news
XP
4,803
Country
United States
There should be an updater! :D
Maybe Tjessx can help with that. He wrote the socket code for pictochat. So Unlike everyone else saying "Wifi doesn't work with ninjhax 2.0" It does. It's not impossible. Then maybe when you press start there can be a Reboot - Back and Update button. @mashers pm me.
 
Last edited by BurningDesire,

mashers

Stubborn ape
OP
Member
Joined
Jun 10, 2015
Messages
3,837
Trophies
0
Age
39
Location
Kongo Jungle
XP
4,954
Country
Well, great update as always! Some suggestions regarding titles:

- Title filtering, is very easy to implement, for now I would use the blue top bar, tap to switch to next title group, display current title group there. On your implementation, I think you have some hidenn/unhidden bool which you can set/unset depending on High TID ((tid>>32) & 0xffffffff). I say "for now" because I guess you'd like to put some sort of button that list the title types like folders, but there's really only 3 kind of bootable titles, so maybe 4 lateral buttons will suffice?
- Put some flag so the title list is only read once, currently every time you access an app that has to show the title list, the list is reloaded, which takes a few seconds.
- In background.c change to this to fix water animation weirdness: #define BG_WATER_OFFSET (-25)

EDIT:
- Also, I don't know if multithreading is possible in current homebrew libs, but moving title reading to a separate thread would be great, since the titles would be read in background and probably when the user would want to use the title list, it would already be loaded.
Thanks buddy! I've just changed that value in background.c, but I'm not sure what difference it has made. I'll take your word for it that it was needed ;) WRT the title list only being read once, I agree that reading it every time isn't idea. The reason it does this is actually because I want it to refresh when the cart has been changed. I'm actually going to add some flags to track when the cart has been changed, and then when you open the title menu this flag will be checked to see if a reload is necessary. Should make things a bit better.

Now that there are icons in all four corners I've noticed some things:
The top left icon's drawing method is different.
What do you mean? I can't really tell what the problem is with the top left icon.

The lower left icon overlaps with the lower left app icon.
Ahh yes, I don't use the third row of icons so hadn't noticed. I'll move things around to make them fit.

Cart presence is not updated while on title selector. This makes it possible to launch it with the cart taken out, resulting in a black screen.
Yes I'll add some checking for cart changes in the title list.

And a suggestion: corner icons remapping?
EDIT: The status bar looks weird on the about page.
Can you explain what you mean by remapping the corner icons, and that the status bar looks weird?

And B doesn't work to exit from title launcher.
Oh yes I forgot to implement that. I'll add it to the next update.

And I can move onto empty tiles in title manager.
Yes I'm still trying to figure that out! ;)

However, this is just a bug report, your work is pretty impressive! :D
Thanks mate, I appreciate the help with finding the bugs :)

Very nice! Some more things, though:
(FYI, when I say "title selector," I'm referring to the selector to decide either what data is passed to SVDT or what game / title is launched.)
  • I don't think the wave animation is supposed to move to the TOP of the screen on the about page... As well, the homebrew launcher logo can probably disappear on the about screen...
Weird, it doesn't do that for me! Can you post a screenshot so I can see it? I'll think about also moving the logo on the about page

  • Also, the water doesn't go back up when you leave the about page using the not-supposed-to-be-there-back-button-in-the-top-left-corner. ;)

Oh yes - that's because the button handling code is for a different mode in which the water is unchanged. I've removed the check for a touch in that corner while on the about page now.

  • The title launcher button is a bit too close to the bottom left icon.
Yeah that's because I don't use the third row of icons. I'm going to change that now.

  • In the title selector, the game card should appear in the first slot (as opposed to the last slot) with the little game card tab, like with the RFL. It'll even have the same purpose. That way I can have the RFL in the title launcher instead of "in" all my folders, taking up space. Also, if there's no game inserted, show a blank gray unselectable "game," like on the HOME Menu.
Yes I'm intended to make the cart the first icon and make the icon behave in the same way as the one on the home menu.

  • Maybe you can cache the entries of the title launcher. And to give the option of disabling/enabling the cache, have a cache button on the top right. It will start with the title launcher uncached, so the cache button will have a floppy disk icon (like the save icon in Word). Clicking the button would save the cache with the message "Title cache saved." briefly flashed on the bottom of the screen (where the page indicators are). At this point, there should be a file saved containing a list of all your HOME Menu games along with their title ID, name, author, description, and icon

The problem with that is that if the title no longer exists and the user tries to launch it from the cached information then the console will crash. The only way I could check if the title is still installed is to once again load the whole list and verify each cached entry, which would take even longer than just loading it.

  • Some items in the title launcher can't be booted (such as, from my testing at least, microSD Management (New 3DS only), Nintendo Network ID Settings, HOME Menu, Friends List, Notifications, and Game Notes), so should be hidden from view.
Good idea. Should be possible to filter them but this would mean checking if the title ID is one in a set of predefined non-working IDs. These could perhaps go in a text file so the list can be updated.

  • The System Transfer title in the title selector is displayed as "???". Even though this is probably because of what data HB gave you on the title, you can probably change it to say "System Transfer" if it matches the correct ID.
Good idea. Yes the title ID can be checked and then the name forced to "System Transfer".

  • I've noticed that the wave animation is semi-broken especially when the cursor is broken. This is also present in Smealum's HBL, but I think several people have mentioned a mod of the HBL by suloku that fixes the animation.
I've implemented suloku's fix but couldn't see any difference. I'm assuming it's ok now though, whatever the problem was.

  • Wrap-around scrolling, so that you can scroll left from the first page to get to the last page and scroll right from the last page to get to the main page.
Yes I will be adding that option at some point.

  • In the title selector, the blank title slots can be selected using the + Control Pad. It can't be "booted" causing a crash or anything, but it's different than on the normal grid.
Still can't quite figure that out - I'll try to solve it though.

  • My friend has told me before that he can't use this launcher because it crashes when you take out the SD Card. I'm not sure if this is still the case, but maybe you can look into it?
I've just tested it and it didn't crash for me when removing the SD card. It shows the "No SD detected" message.
 

SomeGamer

Well-Known Member
Member
Joined
Dec 19, 2014
Messages
6,827
Trophies
1
XP
4,838
Country
Hungary
What do you mean? I can't really tell what the problem is with the top left icon.
No problem with it, it just stays when loading title selector while the others don't. :P
Can you explain what you mean by remapping the corner icons, and that the status bar looks weird?
By remapping I mean swapping the functions of the corners.
About the weird water on the About screen, the water clips into the status bar.
 

ChaosRipple

Well-Known Member
Member
Joined
Oct 1, 2015
Messages
272
Trophies
0
Age
28
XP
173
Country
United States
One thing that i noticed is the title launcher in the bottom left corner actually collides with the third row of apps. Also, when only two rows are showing, it doesn't seem centered which kind of bugs me. Hope it's not too much to ask. >.<
 
  • Like
Reactions: FEAR_1337

mashers

Stubborn ape
OP
Member
Joined
Jun 10, 2015
Messages
3,837
Trophies
0
Age
39
Location
Kongo Jungle
XP
4,954
Country
Ok guys, beta 20 is up. This adds the following:
  • Title menu scans for titles only the first time you open it. Subsequent times will not re-scan. If you insert or remove a cart then the titles list will be rescanned next time you open it
  • The third row of icons now fits properly
  • The icons are now properly centralised in two row mode
  • The title launcher can now be closed with the B button
  • Tapping in the top left corner of the screen now no longer closes the about page
Still to do from this batch of fixes:
  • Fix bug with moving to empty positions on the title menu
  • Move the cart icon to the first position on the title menu, give it the cart background, and make it show an empty slot if no cart is inserted
  • Filter non-bootable titles from the title menu
  • Fix the name of System Transfer in the title menu
  • Wraparound scroll option
 

fmkid

Just another GBATemp's random guy
Member
Joined
Apr 23, 2015
Messages
1,911
Trophies
0
XP
1,413
Country
Colombia
I've found a bug on this HBL related with folders view... When I use CTRXplore HB and modify some file/folder on root of SD card and exit to HBL, it shows a message saying "Empty Folder", and if I enter to folders change option, only shows 3ds folder (other of them just not showed).

Do they show up again if you exit the launcher and go back into it?
Hi, @mashers... About this problem commented by me on above re-post (in bold, some words just changed from original post), and about you said to me: when I reload HBL (via Netload), HB and Folders are showed indeed. But, trying to load some HB app leads to crash (freeze and bottom red screen). Then, unique option is shut down the console. And, also about, problem really occurs randomly (not all the times)!

In other topic, I have some suggetions:

1- Please, implement if possible a "remember latest HB executed" feature.
2- About water covering text issue, actually occurs in Folder Help screen!
Edit:
3- Possibility to put and scan custom HB folders into "3ds" folder, in despite of root (as actually implemented).

Thanks, and keep up the good work!
 
Last edited by fmkid,
General chit-chat
Help Users
    Skelletonike @ Skelletonike: wth happened during lunch break?