From bb6043b45361b36d512acbfdc528ffff5b615938 Mon Sep 17 00:00:00 2001 From: d0k3 Date: Wed, 17 May 2017 21:44:20 +0200 Subject: [PATCH] SafeSigHaxInstaller -> SafeB9SInstaller --- Makefile | 4 ++-- README.md | 2 +- source/common/common.h | 2 +- source/installer.c | 10 +++++----- source/installer.h | 2 +- source/main.c | 2 +- 6 files changed, 11 insertions(+), 11 deletions(-) diff --git a/Makefile b/Makefile index 23f3ac1..fbd630d 100644 --- a/Makefile +++ b/Makefile @@ -16,7 +16,7 @@ include $(DEVKITARM)/ds_rules # INCLUDES is a list of directories containing header files # SPECS is the directory containing the important build and link files #--------------------------------------------------------------------------------- -export TARGET := SafeSigHaxInstaller +export TARGET := SafeB9SInstaller BUILD := build SOURCES := source source/common source/fs source/crypto source/fatfs source/nand source/safety DATA := data @@ -163,7 +163,7 @@ clean: @-make clean --no-print-directory -C CakesROP @echo clean BrahmaLoader... @-make clean --no-print-directory -C BrahmaLoader - @echo clean SafeSigHaxInstaller... + @echo clean SafeB9SInstaller... @rm -fr $(BUILD) $(OUTPUT_D) $(RELEASE) diff --git a/README.md b/README.md index 09cdd76..b08aa62 100644 --- a/README.md +++ b/README.md @@ -1,4 +1,4 @@ -# SafeSigHaxInstaller +# SafeB9SInstaller Safe, simple, user-friendly installer for sighaxed FIRMs **DON'T USE THIS YET** diff --git a/source/common/common.h b/source/common/common.h index 0c9eba4..f63b128 100644 --- a/source/common/common.h +++ b/source/common/common.h @@ -44,7 +44,7 @@ #define VERSION "0.0.3" // input / output paths -#define INPUT_PATH "0:/sighax" +#define INPUT_PATH "0:/boot9strap" // buffer area defines (big buffer for firm) #define WORK_BUFFER ((u8*) 0x21000000) diff --git a/source/installer.c b/source/installer.c index ba88689..84f4e8d 100644 --- a/source/installer.c +++ b/source/installer.c @@ -15,8 +15,8 @@ #define FIRM0_NAND_OFFSET FIRM_NAND_OFFSET #define FIRM1_NAND_OFFSET (FIRM_NAND_OFFSET + (FIRM_NAND_SIZE/2)) -#define NAME_SIGHAXFIRM (INPUT_PATH "/sighaxfirm.bin") -#define NAME_SIGHAXFIRMSHA (INPUT_PATH "/sighaxfirm.bin.sha") +#define NAME_SIGHAXFIRM (INPUT_PATH "/boot9strap.firm") +#define NAME_SIGHAXFIRMSHA (INPUT_PATH "/boot9strap.firm.sha") #define NAME_SECTOR0x96 (INPUT_PATH "/secret_sector.bin") #define NAME_FIRMBACKUP (INPUT_PATH "/firm0firm1.bak") #define NAME_SECTORBACKUP (INPUT_PATH "/sector0x96.bak") @@ -50,7 +50,7 @@ u32 ShowInstallerStatus(void) { const u32 pos_y0 = pos_yb + 50; const u32 stp = 14; - DrawStringF(BOT_SCREEN, pos_xb, pos_yb, COLOR_STD_FONT, COLOR_STD_BG, "SafeSigHaxInstaller v" VERSION "\n" "--------------------------" "\n" "https://github.com/d0k3/SafeSigHaxInstaller"); + DrawStringF(BOT_SCREEN, pos_xb, pos_yb, COLOR_STD_FONT, COLOR_STD_BG, "SafeB9SInstaller v" VERSION "\n" "-----------------------" "\n" "https://github.com/d0k3/SafeB9SInstaller"); DrawStringF(BOT_SCREEN, pos_x0, pos_y0 + (0*stp), COLOR_STD_FONT, COLOR_STD_BG, "ARM9LoaderHax -"); DrawStringF(BOT_SCREEN, pos_x0, pos_y0 + (1*stp), COLOR_STD_FONT, COLOR_STD_BG, "MicroSD Card -"); @@ -72,7 +72,7 @@ u32 ShowInstallerStatus(void) { return 0; } -u32 SafeSigHaxInstaller(void) { +u32 SafeB9SInstaller(void) { UINT bt; // initialization @@ -277,7 +277,7 @@ u32 SafeSigHaxInstaller(void) { } // if we end up here: uhoh - ShowPrompt(false, "SafeSigHaxInstaller failed!\nThis really should not have happened :/."); + ShowPrompt(false, "SafeB9SInstaller failed!\nThis really should not have happened :/."); ShowPrompt(false, "You may launch an external payload\nto try and fix up your system.\n \nThis may be your LAST CHANCE!\nUse it wisely."); const char* optionstr[2] = { "Unmount SD card", "Run " INPUT_PATH "/payload.bin" }; while (true) { diff --git a/source/installer.h b/source/installer.h index 4cbcaa3..31d262c 100644 --- a/source/installer.h +++ b/source/installer.h @@ -3,4 +3,4 @@ #include "common.h" u32 ShowInstallerStatus(void); -u32 SafeSigHaxInstaller(void); +u32 SafeB9SInstaller(void); diff --git a/source/main.c b/source/main.c index fa1e92d..fc75fde 100644 --- a/source/main.c +++ b/source/main.c @@ -13,7 +13,7 @@ void Reboot() int main() { - u32 ret = SafeSigHaxInstaller(); + u32 ret = SafeB9SInstaller(); ShowInstallerStatus(); // update installer status one last time if (ret) ShowPrompt(false, "SigHaxed FIRM was not installed!\nCheck lower screen for info."); else ShowPrompt(false, "SigHaxed FIRM install success!");