This commit is contained in:
cathery 2020-05-19 08:51:47 +03:00
commit 9ad2e5e912
7 changed files with 9 additions and 9 deletions

View File

@ -34,11 +34,11 @@ VERSION_MAJOR := 4
VERSION_MINOR := 0
VERSION_MICRO := 0
APP_TITLE := Kosmos Toolbox
APP_TITLE := Hekate Toolbox
APP_AUTHOR := WerWolv, cathery
APP_VERSION := ${VERSION_MAJOR}.${VERSION_MINOR}.${VERSION_MICRO}
TARGET := KosmosToolbox
TARGET := HekateToolbox
OUTDIR := out
BUILD := build
SOURCES := source source/gui source/utils

View File

@ -1,6 +1,6 @@
# Kosmos Toolbox
# Hekate Toolbox
A toolbox that allows the user to change settings of the loader (requires a modified version of loader). It's aimed for the use with tomGER's SDFiles.
A toolbox that allows the user to change settings of the loader (requires a modified version of loader). It was originally developed for the use with tomGER's SDFiles (Later AtlasNX's Kosmos), but fully works with Hekate-based CFW configurations.
## Current Features
- Reading and modifying of the hbmenu launch button combination

BIN
icon.jpg

Binary file not shown.

Before

Width:  |  Height:  |  Size: 67 KiB

After

Width:  |  Height:  |  Size: 30 KiB

View File

@ -141,7 +141,7 @@ void GuiHekate::draw() {
Gui::drawRectangle((u32)((Gui::g_framebuffer_width - 1220) / 2), 87, 1220, 1, currTheme.textColor);
Gui::drawRectangle((u32)((Gui::g_framebuffer_width - 1220) / 2), Gui::g_framebuffer_height - 73, 1220, 1, currTheme.textColor);
Gui::drawTextAligned(fontIcons, 70, 68, currTheme.textColor, "\uE130", ALIGNED_LEFT);
Gui::drawTextAligned(font24, 70, 58, currTheme.textColor, " Kosmos Toolbox", ALIGNED_LEFT);
Gui::drawTextAligned(font24, 70, 58, currTheme.textColor, " Hekate Toolbox", ALIGNED_LEFT);
Gui::drawTextAligned(font20, Gui::g_framebuffer_width - 50, Gui::g_framebuffer_height - 25, currTheme.textColor, "\uE0E1 Back \uE0E0 OK", ALIGNED_RIGHT);
Gui::drawTextAligned(font20, Gui::g_framebuffer_width / 2, 150, currTheme.textColor, "Select the Hekate profile you want to reboot your Nintendo Switch into. \n Make sure to close all open titles beforehand as this will reboot your device immediately.", ALIGNED_CENTER);

View File

@ -81,7 +81,7 @@ void GuiHIDMitm::draw() {
Gui::drawRectangle((u32)((Gui::g_framebuffer_width - 1220) / 2), 87, 1220, 1, currTheme.textColor);
Gui::drawRectangle((u32)((Gui::g_framebuffer_width - 1220) / 2), Gui::g_framebuffer_height - 73, 1220, 1, currTheme.textColor);
Gui::drawTextAligned(fontIcons, 70, 68, currTheme.textColor, "\uE130", ALIGNED_LEFT);
Gui::drawTextAligned(font24, 70, 58, currTheme.textColor, " Kosmos Toolbox", ALIGNED_LEFT);
Gui::drawTextAligned(font24, 70, 58, currTheme.textColor, " Hekate Toolbox", ALIGNED_LEFT);
Gui::drawTextAligned(font20, Gui::g_framebuffer_width - 50, Gui::g_framebuffer_height - 25, currTheme.textColor, "\uE122 Remap", ALIGNED_RIGHT);
Gui::drawImage(Gui::g_framebuffer_width / 2 - 500, Gui::g_framebuffer_height / 2 - 220, 1001, 441, switch_bin, IMAGE_MODE_RGBA32);

View File

@ -147,7 +147,7 @@ void GuiMain::draw() {
Gui::drawRectangle((u32)((Gui::g_framebuffer_width - 1220) / 2), 87, 1220, 1, currTheme.textColor);
Gui::drawRectangle((u32)((Gui::g_framebuffer_width - 1220) / 2), Gui::g_framebuffer_height - 73, 1220, 1, currTheme.textColor);
Gui::drawTextAligned(fontIcons, 70, 68, currTheme.textColor, "\uE130", ALIGNED_LEFT);
Gui::drawTextAligned(font24, 70, 58, currTheme.textColor, " Kosmos Toolbox", ALIGNED_LEFT);
Gui::drawTextAligned(font24, 70, 58, currTheme.textColor, " Hekate Toolbox", ALIGNED_LEFT);
Gui::drawTextAligned(font20, Gui::g_framebuffer_width - 50, Gui::g_framebuffer_height - 25, currTheme.textColor, "\uE0E1 Back \uE0E0 OK", ALIGNED_RIGHT);
Gui::drawTextAligned(font24, Gui::g_framebuffer_width / 2, Gui::g_framebuffer_height - 130, currTheme.textColor, "Press \uE044 to save and return back to the home menu", ALIGNED_CENTER);

View File

@ -32,7 +32,7 @@ GuiSysmodule::GuiSysmodule() : Gui() {
anyModulesPresent = false;
std::ifstream configFile("sdmc:/switch/KosmosToolbox/config.json");
std::ifstream configFile("sdmc:/switch/HekateToolbox/config.json");
json configJson;
if (!configFile.fail()) {
@ -180,7 +180,7 @@ void GuiSysmodule::draw() {
Gui::drawRectangle((u32)((Gui::g_framebuffer_width - 1220) / 2), 87, 1220, 1, currTheme.textColor);
Gui::drawRectangle((u32)((Gui::g_framebuffer_width - 1220) / 2), Gui::g_framebuffer_height - 73, 1220, 1, currTheme.textColor);
Gui::drawTextAligned(fontIcons, 70, 68, currTheme.textColor, "\uE130", ALIGNED_LEFT);
Gui::drawTextAligned(font24, 70, 58, currTheme.textColor, " Kosmos Toolbox", ALIGNED_LEFT);
Gui::drawTextAligned(font24, 70, 58, currTheme.textColor, " Hekate Toolbox", ALIGNED_LEFT);
if (hidMitmInstalled())
Gui::drawTextAligned(font20, Gui::g_framebuffer_width - 50, Gui::g_framebuffer_height - 25, currTheme.textColor, "\uE0E2 Key configuration \uE0E1 Back \uE0E0 OK", ALIGNED_RIGHT);