Compare commits

..

2 Commits
v0.1 ... main

Author SHA1 Message Date
Maschell
d3e801fffd Update github actions 2024-05-06 13:56:59 +02:00
Maschell
7b5f682918 Rename to Payload-Loader Installer update icon (thanks @Adinaton) 2024-05-06 13:56:59 +02:00
8 changed files with 34 additions and 34 deletions

View File

@ -7,9 +7,9 @@ on:
jobs:
clang-format:
runs-on: ubuntu-18.04
runs-on: ubuntu-22.04
steps:
- uses: actions/checkout@v2
- uses: actions/checkout@v4
- name: clang-format
run: |
docker run --rm -v ${PWD}:/src wiiuenv/clang-format:13.0.0-2 -r ./source
@ -17,7 +17,7 @@ jobs:
runs-on: ubuntu-22.04
needs: clang-format
steps:
- uses: actions/checkout@v2
- uses: actions/checkout@v4
- name: Checkout submodules using a PAT
run: |
git config --file .gitmodules --get-regexp url | while read url; do

View File

@ -4,17 +4,17 @@ on: [pull_request]
jobs:
clang-format:
runs-on: ubuntu-18.04
runs-on: ubuntu-22.04
steps:
- uses: actions/checkout@v2
- uses: actions/checkout@v4
- name: clang-format
run: |
docker run --rm -v ${PWD}:/src wiiuenv/clang-format:13.0.0-2 -r ./source
check-build-with-logging:
runs-on: ubuntu-18.04
runs-on: ubuntu-22.04
needs: clang-format
steps:
- uses: actions/checkout@v2
- uses: actions/checkout@v4
- name: Checkout submodules using a PAT
run: |
git config --file .gitmodules --get-regexp url | while read url; do
@ -32,7 +32,7 @@ jobs:
runs-on: ubuntu-22.04
needs: clang-format
steps:
- uses: actions/checkout@v2
- uses: actions/checkout@v4
- name: Checkout submodules using a PAT
run: |
git config --file .gitmodules --get-regexp url | while read url; do

View File

@ -13,8 +13,8 @@ TOPDIR ?= $(CURDIR)
# APP_SHORTNAME sets the short name of the application
# APP_AUTHOR sets the author of the application
#-------------------------------------------------------------------------------
APP_NAME := PayloadLoader Installer
APP_SHORTNAME := PayloadLoader Installer
APP_NAME := Payload-Loader Installer
APP_SHORTNAME := Payload-Loader Installer
APP_AUTHOR := Maschell, rw-r-r-0644, GaryOderNichts
include $(DEVKITPRO)/wut/share/wut_rules
@ -38,7 +38,7 @@ SOURCES := source \
source/fs \
source/input
INCLUDES := include source
ICON := meta/icon.jpg
ICON := meta/icon.png
#-------------------------------------------------------------------------------
# options for code generation

View File

@ -1,9 +1,9 @@
# PayloadLoader Installer
# Payload-Loader Installer
A (hopefully) userfriendly and safe installer to inject a ["payload.elf-loader"](https://github.com/wiiu-env/PayloadFromRPX) into the Health and Safety application via [FailST](https://maschell.github.io/homebrew/2020/12/02/failst.html).
To be able to do a coldboot setup you need launch this installer via the Health & Safety injection itself.
**Use the installer to uninstall the PayloadLoader, even a factory won't remove it**
**Use the installer to uninstall the Payload-Loader, even a factory won't remove it**
**There is always the risk of bricking the console, only proceed with installing if you understand this risk**
@ -17,8 +17,8 @@ To be able to do a coldboot setup you need launch this installer via the Health
Load the Installer with the [PayloadLoaderInstallerEnvironment](https://github.com/wiiu-env/PayloadLoaderInstallerEnvironment) or [homebrew_on_menu_plugin](https://github.com/wiiu-env/homebrew_on_menu_plugin).
- Coldbooting into the PayloadLoader can only be activated if you launch the installer from an environment that has been loaded by the PayloadLoader. This ensures the PayloadLoader is actually working properly before coldbooting into it.
- **Launching the PayloadLoader Installer from the browser won't let change the boot title to PayloadLoader.**
- Coldbooting into the Payload-Loader can only be activated if you launch the installer from an environment that has been loaded by the Payload-Loader. This ensures the Payload-Loader is actually working properly before coldbooting into it.
- **Launching the Payload-Loader Installer from the browser won't let change the boot title to Payload-Loader.**
- The PayloadFromRPX can only be updated when coldbooting into the Wii U Menu.
- Coldbooting can only be activated when the installer recognizes the PayloadFromRPX.
- The installer is only designed to work with a unmodifed system. **If your have modified the Health & Safety Application or system.xml in the past the installer may fail**

Binary file not shown.

Before

Width:  |  Height:  |  Size: 57 KiB

BIN
meta/icon.png Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 20 KiB

View File

@ -21,7 +21,7 @@ void ApplicationState::changeState(eGameState newState) {
menu.addText();
menu.addOption("Press A to return to the Wii U Menu.", STATE_EXIT_SYSMENU);
} else if (this->state == STATE_WELCOME_SCREEN) {
menu.addText("Welcome to the PayloadLoader Installer!");
menu.addText("Welcome to the Payload-Loader Installer!");
menu.addText("Do you want to check if an installation is possible?");
menu.addText();
menu.addOption("Check", STATE_GET_APP_INFORMATION);
@ -33,9 +33,9 @@ void ApplicationState::changeState(eGameState newState) {
} else if (this->state == STATE_CHECK_COLDBOOT_STATUS) {
menu.addText("Check if coldboot can be enabled.");
} else if (this->state == STATE_CHECK_REMOVAL_POSSIBLE) {
menu.addText("Check if PayloadLoader can be removed.");
menu.addText("Check if Payload-Loader can be removed.");
} else if (this->state == STATE_APP_INCOMPATIBLE) {
menu.addText("Sorry, PayloadLoader cannot be safely installed to:");
menu.addText("Sorry, Payload-Loader cannot be safely installed to:");
menu.addText(std::string(appInfo->appName));
menu.addText();
menu.addText("Additional informations:");
@ -59,7 +59,7 @@ void ApplicationState::changeState(eGameState newState) {
menu.addText();
menu.addOption("Exit", STATE_EXIT_SYSMENU);
} else if (this->state == STATE_MAIN_MENU) {
menu.addText("PayloadLoader " + std::string(this->alreadyInstalledAndUpdated ? "is" : "can be") + " installed to:");
menu.addText("Payload-Loader " + std::string(this->alreadyInstalledAndUpdated ? "is" : "can be") + " installed to:");
menu.addText(std::string(appInfo->appName));
menu.addText();
menu.addOption("Install / Update", STATE_INSTALL_CONFIRM_DIALOG);
@ -75,13 +75,13 @@ void ApplicationState::changeState(eGameState newState) {
menu.addOption("Back", STATE_MAIN_MENU);
} else {
if (this->coldbootTitleId == this->appInfo->titleId) {
menu.addText("Before you can install/update PayloadLoader you need to change");
menu.addText("Before you can install/update Payload-Loader you need to change");
menu.addText("the coldboot title back to Wii U Menu");
menu.addText();
menu.addOption("Back", STATE_MAIN_MENU);
} else {
menu.addText("Are you REALLY sure you want to install PayloadLoader?");
menu.addText("Are you REALLY sure you want to install Payload-Loader?");
menu.addText("Installing could permanently damage your console");
menu.addText();
menu.addText("After the installation the following app will turn into");
@ -104,17 +104,17 @@ void ApplicationState::changeState(eGameState newState) {
} else if (this->state == STATE_INSTALL_RPX) {
menu.addText("... install safe.rpx");
} else if (this->state == STATE_INSTALL_SUCCESS) {
menu.addText("PayloadLoader was successfully installed");
menu.addText("Payload-Loader was successfully installed");
menu.addText();
menu.addOption("Press A to shutdown the console", STATE_EXIT_SHUTDOWN);
} else if (this->state == STATE_REMOVE_CONFIRM_DIALOG) {
if (this->systemXMLAlreadyPatched) {
menu.addText("Before you can remove PayloadLoader you need to switch");
menu.addText("Before you can remove Payload-Loader you need to switch");
menu.addText("the system boot title back to the Wii U Menu");
menu.addText();
menu.addOption("Back", STATE_MAIN_MENU);
} else {
menu.addText("Are you REALLY sure you want to remove PayloadLoader?");
menu.addText("Are you REALLY sure you want to remove Payload-Loader?");
menu.addText();
menu.addOption("Back", STATE_MAIN_MENU);
menu.addOption("Remove", STATE_REMOVE_STARTED);
@ -124,9 +124,9 @@ void ApplicationState::changeState(eGameState newState) {
} else if (this->state == STATE_REMOVE_COLDBOOT) {
menu.addText("... remove system.xml coldboot patches");
} else if (this->state == STATE_REMOVE_PAYLOAD_LOADER) {
menu.addText("... remove PayloadLoader application patches");
menu.addText("... remove Payload-Loader application patches");
} else if (this->state == STATE_REMOVE_SUCCESS) {
menu.addText("PayloadLoader was successfully removed");
menu.addText("Payload-Loader was successfully removed");
menu.addText();
menu.addOption("Press A to shutdown the console", STATE_EXIT_SHUTDOWN);
} else if (this->state == STATE_BOOT_MENU) {
@ -142,19 +142,19 @@ void ApplicationState::changeState(eGameState newState) {
menu.addOption("Switch back to Wii U Menu", STATE_BOOT_SWITCH_SYSMENU);
} else if (this->systemXMLPatchAllowed) {
menu.addOption("Switch to PayloadLoader", STATE_BOOT_SWITCH_PAYLOAD_LOADER);
menu.addOption("Switch to Payload-Loader", STATE_BOOT_SWITCH_PAYLOAD_LOADER);
} else if (this->systemXMLPatchAllowedButNoRPXCheck) {
menu.addText("Your RPX is not as expected. You probably");
menu.addText("need to update or re-install PayloadLoader first.");
menu.addText("need to update or re-install Payload-Loader first.");
menu.addText();
} else if (this->systemXMLPatchPossible) {
menu.addText("To change the system boot title to PayloadLoader, you need to");
menu.addText("launch this installer from an already running PayloadLoader");
menu.addText("To change the system boot title to Payload-Loader, you need to");
menu.addText("launch this installer from an already running Payload-Loader");
menu.addText("instance, in order to verify that the installation");
menu.addText("is working properly.");
menu.addText();
menu.addText("After installing PayloadLoader, reboot the console, open the");
menu.addText("Health & Safety app and relaunch the PayloadLoader installer.");
menu.addText("After installing Payload-Loader, reboot the console, open the");
menu.addText("Health & Safety app and relaunch the Payload-Loader installer.");
menu.addText();
} else {
menu.addText("Sorry, your system.xml file has not yet been tested");
@ -286,7 +286,7 @@ void ApplicationState::update(Input *input) {
ApplicationState::ApplicationState() {
menu.setOptionsCallback([this](auto &&newState) { changeState(std::forward<decltype(newState)>(newState)); });
menu.setHeader("PayloadLoader Installer");
menu.setHeader("Payload-Loader Installer");
menu.setFooter("By Maschell, rw-r-r-0644, GaryOderNichts");
changeState(STATE_WELCOME_SCREEN);

View File

@ -65,7 +65,7 @@ int main_loop() {
int main(int argc, char **argv) {
WHBLogUdpInit();
DEBUG_FUNCTION_LINE("Hello from PayloadLoader Installer!");
DEBUG_FUNCTION_LINE("Hello from Payload-Loader Installer!");
WHBProcInit();
WiiUScreen::Init();