Homebrew [Release] Homebrew Launcher with grid layout

  • Thread starter Thread starter mashers
  • Start date Start date
  • Views Views 677,561
  • Replies Replies 4,218
  • Likes Likes 139
Just me nitpicking again, but it seems the water slides down right after pressing the ? icon even if it wouldn't overlap any text
 
I've just uploaded beta 75:
  • Adds framerate control - animations should now run at 30fps regardless of the hardware
  • Added the option to hide the /3ds folder from the folders list
  • Integrated support for @ihaveamac's amazing updater app. Just copy the files from /gridlauncher in the zip file to the root of your SD card and the update option will appear in gridlauncher settings

You can update by downloading and copying the 3dsx from the first post, or use the updater app!!! For this update I actually recommend downloading the zip file as it now also contains the files you need for the integrated updater. If you copy these files to your SD card along with the boot.3dsx then you will be able to open the updater from the gridlauncher settings.

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


I need to understand what they are and how they work. I currently have no idea what they are or what they do.
They are xml short cuts with a .smdc for a icon. They load the data you saved in hans. However the game needs to be in for it to work
 
@mashers
In the configure file for the updater, what do I put if I'm using your emergency launcher?

Just wondering if I have to do so or if it will name itself?
for the publicly available versions, go to "config.txt" and put where you put the grid launcher. like /boot_mashers.3dsx or whatever you named it.

1.3 should automatically do this.
 
Oh, but can I have a suggestion? A Progress Bar in the Updater would be handy!
The problem I can see with that is that a progress bar requires threading (one thread to download, and then progress bar updates on the main thread, or vice versa). I don't know if Lua supports threading.

The updater keeps updating, even if you already are on beta 76
That's because the updater does not yet know what version of the app is already installed. I'm going to work on that today.

@mashers or anyone else who may know @suloku maybe?...
While files do i need to take from the source to use the font engine/text functions only in another project?
You need MAText.c, MAText.h, MAFontRobotoRegular.c, MAFontRobotoRegular.h, and all of the MAFontRobotoRegularxx.bin data files. Please make sure you give credit if you use this - the text engine too me a long time to write ;)

Just me nitpicking again, but it seems the water slides down right after pressing the ? icon even if it wouldn't overlap any text
It doesn't know whether it actually needs to slide down, it just does it when an info screen is displayed.

Will this ever have drag and drop organization support like the home menu?
Only if somebody else implements it. I have said many times already that I don't want to implement this feature.
 
You need MAText.c, MAText.h, MAFontRobotoRegular.c, MAFontRobotoRegular.h, and all of the MAFontRobotoRegularxx.bin data files. Please make sure you give credit if you use this - the text engine too me a long time to write ;)
Cheers. :)
Probably won't be releasing anything anytime soon. haha Just wanted to mess around with it really. :)
Also, any luck on getting non latin characters working at all (japanese etc). ?
 
Cheers. :)
Probably won't be releasing anything anytime soon. haha Just wanted to mess around with it really. :)
Also, any luck on getting non latin characters working at all (japanese etc). ?
No. I don't think it's going to be possible with this engine I'm afraid, for the reasons posted elsewhere. The only hope for that, I think, is to get Freetype working.

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

@mashers
Love the updater, wish every homebrew programmer would implement it :), no need for removing sd's or half working ftp transffers on O3DS!
Thanks for the hard work!
Thank @ihaveamac - he did the hard work on the updater :)
 
  • Like
Reactions: DjoeN
Oh, but can I have a suggestion? A Progress Bar in the Updater would be handy!
The problem I can see with that is that a progress bar requires threading (one thread to download, and then progress bar updates on the main thread, or vice versa). I don't know if Lua supports threading.
I think in Lua it would be coroutines. Since it's part of Lua, chances are the interpreter that LPP uses has the feature. I'm not that familiar with it though so I'll figure that out after 1.3
 
Last edited by ihaveahax,
I think in Lua it would be coroutines. Since it's part of Lua, chances are the interpreter that LPP uses has the feature. I'm not that familiar with it though so I'll figure that out after 1.3
Wonderful! A progress bar would indeed be welcome. Also, do you know if Lua can download a zip file? If so then the PHP script could package up the 3dsx in a zip file and Lua could download it at the client end to reduce the amount of data to be downloaded.

@mashers and @ihaveamac it should be possible (on hax 2.5) to get updater to know where gridlauncher boot.3dsx is by using argument passing. That is only if lua player allows that though...

If using emergency launcher or any other launcher: Gridlauncher should check for argv[0] being a path to a .3dsx file, then launch the updater with that as argv[1] --> updater has gridlauncher's path.
If argv[0] is null, assume gridlauncher is set up as /boot.3dsx and pass that to updater.
That was exactly the solution! :)

Code:
char * glInfo = (char*)malloc(1024);

if (argc > 0) {
    sprintf(glInfo, "%s|%d", argv[0], currentversion);
}
else {
    sprintf(glInfo, "sdmc:/boot.3dsx|%d", currentversion);
}

logTextP(glInfo, "/gridlauncher/glinfo.txt");
free(glInfo);
 
Wonderful! A progress bar would indeed be welcome. Also, do you know if Lua can download a zip file? If so then the PHP script could package up the 3dsx in a zip file and Lua could download it at the client end to reduce the amount of data to be downloaded.
LPP can (and that was part of the prototype I showed you). But I'll do that later because it's not important.
 
  • Like
Reactions: DjoeN

Site & Scene News