mirror of
https://github.com/d0k3/SafeB9SInstaller.git
synced 2025-06-25 21:22:45 +00:00
SafeSigHaxInstaller -> SafeB9SInstaller
This commit is contained in:
parent
70791cd9b5
commit
bb6043b453
4
Makefile
4
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)
|
||||
|
||||
|
||||
|
@ -1,4 +1,4 @@
|
||||
# SafeSigHaxInstaller
|
||||
# SafeB9SInstaller
|
||||
Safe, simple, user-friendly installer for sighaxed FIRMs
|
||||
|
||||
**DON'T USE THIS YET**
|
||||
|
@ -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)
|
||||
|
@ -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) {
|
||||
|
@ -3,4 +3,4 @@
|
||||
#include "common.h"
|
||||
|
||||
u32 ShowInstallerStatus(void);
|
||||
u32 SafeSigHaxInstaller(void);
|
||||
u32 SafeB9SInstaller(void);
|
||||
|
@ -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!");
|
||||
|
Loading…
x
Reference in New Issue
Block a user