use of custom kstuff (#58)

* reverted libmprotect.h, couldn't make a viable build with recent ps5 sdk's
* added feature to load kstuff from /data/kstuff.elf before using embedded
* added menu feature to download latest kstuff from echostretch
* made download_file() more generic
This commit is contained in:
Adam Furtenbach
2025-09-22 20:11:47 +02:00
committed by GitHub
parent b41b22d768
commit 0a4bfbe558
8 changed files with 127 additions and 13 deletions

View File

@@ -550,6 +550,19 @@ void handleIPC(struct clientArgs *client, std::string &inputStr,
reply(sender_app, false);
break;
}
case BREW_UTIL_DOWNLOAD_KSTUFF: {
notify(true, "Downloading kstuff");
if (!download_file("https://github.com/EchoStretch/kstuff/releases/latest/download/kstuff.elf",
"/data/kstuff.elf")) {
etaHEN_log("Failed to download kstuff");
reply(sender_app, true);
break;
}
notify(true, "Successfully downloaded latest kstuff");
reply(sender_app, false);
break;
}
case BREW_UTIL_RELOAD_CHEATS: {
notify(true, "Reloading cheats cache");
ReloadCheatsCache(NULL);