No description
Find a file
2019-10-20 21:08:14 +02:00
Common So many changes 2019-10-20 21:08:14 +02:00
LibraryAppletQHbTarget So many changes 2019-10-20 21:08:14 +02:00
LibraryAppletQMenu So many changes 2019-10-20 21:08:14 +02:00
libstratosphere@8bae7b4a78 Changes, add IPC code, start with themes 2019-10-11 17:43:17 +02:00
Plutonium@008d0fabf3 Add current stuff 2019-10-05 22:44:05 +02:00
QForegroundViewer So many changes 2019-10-20 21:08:14 +02:00
SystemAppletQDaemon So many changes 2019-10-20 21:08:14 +02:00
SystemApplicationQHbTarget So many changes 2019-10-20 21:08:14 +02:00
.gitignore Foreground viewer! 2019-10-18 22:49:47 +02:00
.gitmodules Finish animations, add IPC, relicense to GPLv2 due to libstrat 2019-10-06 18:34:04 +02:00
LICENSE Finish animations, add IPC, relicense to GPLv2 due to libstrat 2019-10-06 18:34:04 +02:00
Makefile So many changes 2019-10-20 21:08:14 +02:00
Mockup.png Add current stuff 2019-10-05 22:44:05 +02:00
README.md Some more UI themeing 2019-10-19 19:45:43 +02:00
Themes.md Sfx support! 2019-10-20 13:20:31 +02:00
TODO.txt Some more UI themeing 2019-10-19 19:45:43 +02:00
TopMenuMockup.png Missing new files 2019-10-20 18:41:52 +02:00

{qlaunch-reimpl}

Custom, open-source replacement for Nintendo Switch's HOME Menu (qlaunch), extending it with amazing, homebrew-orienteed functionality!

  • Note: {qlaunch-reimpl} will be replaced with the actual project's name when it is decided.

{qlaunch-reimpl} is a very ambicious project, consisting on two custom library applets, a custom system application and a custom system applet, in order to replace the console's HOME menu with a custom, homebrew-orienteed one.

  • The project is licensed as GPLv2.

  • For those who are interested in how the UI was done, this project is, like Goldleaf, a good example of how powerful Plutonium libraries can be in order to make beautiful UIs.

Are you looking for help with themes? Check this document for more info!

  1. Features
  2. Disclaimer
  3. Project and subprojects
  4. Installing and removing
  5. Compiling
  6. Errors
  7. Credits

Features

This is the amount of features {qlaunch-reimpl} contains, compared to the original HOME menu:

  • Homebrew support

    • Launching as applets (no need of Album!)

    • Launching as applications (no need of any titles to do so!)

    • Custom basic homebrew menu

    • Option to add homebrew accessors to main menu (no more need of forwarders!)

  • Unique, cool extras

    • Web browsing (via web-applet) directly from HOME menu!

    • Screenshot capturing from PC itself via QForegroundViewer!

  • UI

    • Themeable (not the same way official qlaunch themes work)

      • Custom icons, background...

      • Custom background music and sound effects!

    • Option to show the suspended title in the background (like 3DS's HOME menu did!)

  • Users

    • PC-like login on startup (select user and use it for everything)

    • Password support! (up to 15 characters)

TODO: add more later...?

Disclaimer

Homebrew as applications

{qlaunch-reimpl} launches homebrew present (added) to main menu as an application, taking advantage of flog's built-in application title, which was stubbed but not removed, thus it's content can be overriden via LayeredFS and launched.

Since launching this title should be impossible, it might involve ban risk, so use it at your own risk. {qlaunch-reimpl} warns on launching titles this way.

Project and subprojects

{qlaunch-reimpl} is split, as mentioned above, into several sub-projects:

QDaemon (SystemAppletQDaemon)

This is the technically actual qlaunch reimplementation. However, to avoid memory issues it does not use any kind of UI (except console for development debug, which is removed for releases), and thus it uses 16MB of heap, while official HOME menu uses 56MB.

Instead, it uses QMenu custom library applet (launches and communicates with it) in order to display a proper menu UI.

But, if all the functionality is handled by QMenu, why is this daemon process necessary? Well, mainly since the system applet process has a lot of unique code it's the only one who can use, specially, related to title launching, focus managing...

TL;DR: this is a simple daemon process which stays communicated with QMenu to perform tasks it is asked to so, specially with code it is the only one that can access.

QMenu (LibraryAppletQMenu)

This is the HOME menu the user will see and interact with. It contains all the UI and sounc functionality, password, themes...

QHbTarget

This is the name for two related projects, whose aim is to target and launch homebrew NROs in a simple way. It can be considered as a simple and helpful wrapper around nx-hbloader's code:

System application (SystemApplicationQHbTarget)

This is the process which runs instead of flog, which is used to launch homebrew as applications.

Library applet (LibraryAppletQHbTarget)

This is the same process but, like in normal HOME menu and Album, it runs homebrew as an applet. However, exiting homebrew here will exit to HOME menu instead of exiting to hbmenu.

QForegroundViewer

QDaemon daemon process, appart from usual (and special) HOME menu functions, it also sends the console's foreground display via USB as a raw RGBA8 1280x720 ~3MB buffer. QForegroundViewer is the PC tool (WinForms) which intercepts those sent buffers and renders them. It is a bit laggy, but can be very useful for taking quick screenshots!

Unlike the other projects, this one isn't essential and {qlaunch-reimpl} would be perfectly usable ignoring this sent data.

Installing and removing

In order to check {qlaunch-reimpl}'s installation, you will need to pay attention to the titles directory of the CFW you're using.

How do I know whether it is installed?

Check if folders 0100000000001000, 010000000000100B, 0100000000001009 and 01008BB00013C000 exist. (and that they aren't empty, or at least contain a exefs.nsp file)

How do I remove it?

1 - Delete the following folders: 010000000000100B, 0100000000001009 and 01008BB00013C000.

2 - Delete only exefs.nsp file from 0100000000001000 directory (if there is a romfs folder present it could be a normal HOME menu theme)

Compiling

You will need devkitPro, devkitA64, libnx and all SDL2 libraries for switch development.

Clone (recursively!) this repo (uses libstratosphere and Plutonium submodules) and hit make in root. It should build everything and generate a titles folder ready for use inside SdOut.

Errors

If you get a crash using {qlaunch-reimpl}, please check:

  • If the crash's title is 0100000000001000, 010000000000100B, 0100000000001009 or 01008BB00013C000 and you know for sure you have this project in your SD, then it is very likely related to this project.

Credits

  • Several scene developers for help with small issues or features.

  • SciresM for libstratosphere.

  • Switchbrew team for libnx and hbloader, the base of *QHbTarget projects (they're some useful wrappers of hbloader in the end)