Homebrew [Release] Homebrew Launcher with grid layout

  • Thread starter Thread starter mashers
  • Start date Start date
  • Views Views 675,723
  • Replies Replies 4,218
  • Likes Likes 139
Ok guys, I've just uploaded a small update which fixes the following:
  • The left arrow button now shows correctly if you are on > page 1
  • The option to hide the region free launcher is now only visible if the region free launcher is actually available. The option is forced ON if the region free launcher is not available to prevent the first icon being hidden or inaccessible should the region free launcher not be installed
  • I have drawn a new disabled wifi icon which I hope is clearer

My next priority will be to get the font changed as this is holding me back from improving the appearance further.

--------------------- MERGED ---------------------------

There should also be info on the OP on folders.
If you press the help (?) button on the folder select page then it provides the same information :)

--------------------- MERGED ---------------------------

I have also updated the screenshots on the first post.
 
What about adding some support for characters of other languages ?Such as Japanese or Chinese.
When using target selector or regionfree launcher,I often get odd titiles with japanese carts.
 
What about adding some support for characters of other languages ?Such as Japanese or Chinese.
When using target selector or regionfree launcher,I often get odd titiles with japanese carts.
That's probably because the built-in font does not contain those characters. Once the font has been changed this might improve.
 
I noticed that the launcher can take place of Ninjhax 1.1b launcher.However, it won't support kernel access then.
So has smealum changed the sourcecode since Ninjhax 2.0?
 
Uploading to github is not all too hard. Install the github application (just google). Though the application create a repo, this will create the repo (only) locally. Go to the path of the repo, copy your source and stuff. Now use the github app to publish this repo (or sync if you published it before adding any files).

--------------------- MERGED ---------------------------

I noticed that the launcher can take place of Ninjhax 1.1b launcher.However, it won't support kernel access then.
So has smealum changed the sourcecode since Ninjhax 2.0?
Yes.
 
I noticed that the launcher can take place of Ninjhax 1.1b launcher.However, it won't support kernel access then.
So has smealum changed the sourcecode since Ninjhax 2.0?
The menu has nothing to do with kernel access, the ninjhax payload that loads it does. So if you load it with ninjhax 1.1 it will be ninjhax 1.1 just with a new menu.
 
  • Like
Reactions: SLiV3R
That's probably because the built-in font does not contain those characters. Once the font has been changed this might improve.
For that, you would need a font with alphabetic Latin script, Kana & Kanjii for Japanese and Hanzi for Chinese. I don't know if there are any free fonts supporting that many characters.
 
For that, you would need a font with alphabetic Latin script, Kana & Kanjii for Japanese and Hanzi for Chinese. I don't know if there are any free fonts supporting that many characters.
Roboto supports all of that and it's free: https://www.google.com/fonts/specimen/Roboto

It's the same font I used in the concept which this launcher is based off of.
 
  • Like
Reactions: Garcia98
Thanks @link6155. I have downloaded the Roboto font and intend to use it as the font for the launcher. The problem I am having is that sf2d (the graphics library needed for sftd (the TTF font library)) doesn't seem to play nicely with the graphics functions already used in the launcher. I think my only options will be to completely migrate the launcher to sf2d and rewrite all of the graphics functions. This will be a huge undertaking and I won't know if it will work properly until it's complete, so I'm just bracing myself to take it on!
 
  • Like
Reactions: link6155
I don't know that lib, but it's a common one, so you should find a lot of examples online. You could also study the sources of sf2d.

I immagine that there is a function that, gived a string, a font, a font size and a buffer for storing the result image, draws a bitmap in rbga in the buffer that you can blit wherever you want.
 
I don't know that lib, but it's a common one, so you should find a lot of examples online. You could also study the sources of sf2d.

I immagine that there is a function that, gived a string, a font, a font size and a buffer for storing the result image, draws a bitmap in rbga in the buffer that you can blit wherever you want.
That would be ideal. ctrulib can easily draw an RGBA bitmap. I'll look into the sources of sftd to see which Freetype functions it's using and then see if I can call the same functions to render the text but draw it with ctrulib. Thanks for the tip! :)
 
Thanks buddy I've been following that tutorial for the past hour or so and have been trying to figure out what the glyph slot buffer actually contains so I can attempt to draw it.
 
The new version is really good.

The thing that could be improved IMHO is the folder selection screen layout. But I uderstand that it's the last thing added.
 

Site & Scene News

Popular threads in this forum