From 37a924da525be0433007771ce315c2768e1f0494 Mon Sep 17 00:00:00 2001 From: Brennen Murphy Date: Wed, 20 Nov 2024 07:16:08 -0500 Subject: [PATCH] Release 7.6.1, added more print statements for other errors that may happen --- README.md | 2 ++ src/Makefile.signed | 2 +- src/main.c | 8 +++++--- 3 files changed, 8 insertions(+), 4 deletions(-) diff --git a/README.md b/README.md index adca77d..8b5cb20 100644 --- a/README.md +++ b/README.md @@ -9,6 +9,8 @@ Copy the official firmware update to `PSP/GAME/UPDATE/EBOOT.PBP` on your memory The downgrader is "signed", and can be launched without having a custom firmware installed. Once you run the application, follow the on-screen instructions. ## Changelog +### Version 7.6.1 +* Added more print statements for less common issues with parsing EBOOT.PBP or the buffer ### Version 7.6 * Changed Default color, makes it a bit easier to read. * Detect which OFW you have to make sure your flashing the proper model OFW. ( i.e You can only flash GO OFW on GO and vice versa ) diff --git a/src/Makefile.signed b/src/Makefile.signed index 9fc227d..f2e702a 100644 --- a/src/Makefile.signed +++ b/src/Makefile.signed @@ -27,7 +27,7 @@ LIBS = -lpsppower PSP_FW_VERSION = 271 EXTRA_TARGETS = EBOOT.PBP -PSP_EBOOT_TITLE = Chronoswitch Downgrader v7.6 +PSP_EBOOT_TITLE = Chronoswitch Downgrader v7.6.1 BUILD_PRX = 1 diff --git a/src/main.c b/src/main.c index 9c8ce5e..d0a694f 100644 --- a/src/main.c +++ b/src/main.c @@ -27,11 +27,11 @@ #include "kernel_exploit.h" #include "rebootex.h" -PSP_MODULE_INFO("Chronoswitch", 0, 7, 6); +PSP_MODULE_INFO("Chronoswitch", 0, 7, 61); PSP_MAIN_THREAD_ATTR(PSP_THREAD_ATTR_VFPU); PSP_HEAP_SIZE_KB(3 << 10); -#define DOWNGRADER_VER ("7.6") +#define DOWNGRADER_VER ("7.6.1") typedef struct __attribute__((packed)) @@ -128,6 +128,7 @@ u32 get_updater_version(char *argv) if (sfo_size > sizeof(sfo_buffer)) { /* too much */ + printf("\nTo much deditated wammm ... Perhaps not have all your plugins running right now ...\n"); sceIoClose(fd); return 0xFFF; } @@ -153,6 +154,7 @@ u32 get_updater_version(char *argv) /* see if we went through all the data */ if (i == header->count) { + printf("\nHmmm SFO count is too big ... Looks like the EBOOT.PBP is corrupted somehow.\n"); return 0xFFF; } @@ -178,7 +180,7 @@ int main(int argc, char *argv[]) /* display welcome message */ printf( "Chronoswitch Downgrader" "\n" - "Version %s. Built %s %s" "\n" "\n" + "Version %s Built %s %s" "\n" "\n" "Contributions:" "\n" "\t" "6.31/6.35 Support added by Davee" "\n"