diff --git a/Makefile b/Makefile index f51b999..0c1371f 100644 --- a/Makefile +++ b/Makefile @@ -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 diff --git a/README.md b/README.md index b7af483..aa1c613 100644 --- a/README.md +++ b/README.md @@ -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 diff --git a/icon.jpg b/icon.jpg index d23a471..5223169 100644 Binary files a/icon.jpg and b/icon.jpg differ diff --git a/source/gui/gui_hekate.cpp b/source/gui/gui_hekate.cpp index d0d0e9f..75b4d09 100644 --- a/source/gui/gui_hekate.cpp +++ b/source/gui/gui_hekate.cpp @@ -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); diff --git a/source/gui/gui_hid_mitm.cpp b/source/gui/gui_hid_mitm.cpp index b3f5210..6cbb67e 100644 --- a/source/gui/gui_hid_mitm.cpp +++ b/source/gui/gui_hid_mitm.cpp @@ -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); diff --git a/source/gui/gui_main.cpp b/source/gui/gui_main.cpp index ac98bd9..cdb03f3 100644 --- a/source/gui/gui_main.cpp +++ b/source/gui/gui_main.cpp @@ -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); diff --git a/source/gui/gui_sysmodule.cpp b/source/gui/gui_sysmodule.cpp index 2f3fc89..48f9971 100644 --- a/source/gui/gui_sysmodule.cpp +++ b/source/gui/gui_sysmodule.cpp @@ -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);