From df89f423a9dab57e82587aff9d34111ee6db07ee Mon Sep 17 00:00:00 2001 From: xeonliu <62530004+xeonliu@users.noreply.github.com> Date: Tue, 23 Apr 2024 01:34:41 +0800 Subject: [PATCH 1/2] Update patch.md --- docs/patch.md | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/docs/patch.md b/docs/patch.md index a13f40a..3c4392d 100644 --- a/docs/patch.md +++ b/docs/patch.md @@ -35,7 +35,10 @@ ## Load PRX at Runtime Using CFW There are two ways of dealing with the system calls (used to print messages with system code): Using a PSP plugin, or modifying the ELF/BIN file. -劫持动态链接库?(Module Tutorial) +劫持动态链接库?(Module Tutorial) +改内存 +Metal Gear Solid,改动libfont.prx + 监测运行状态? ## load cheat code using CW Cheat (金手指) From 35cfdc970e737b4a87bce9bef27bcad439f1524b Mon Sep 17 00:00:00 2001 From: Your Name Date: Tue, 23 Apr 2024 11:36:55 +0800 Subject: [PATCH 2/2] local edit --- docs/debug.md | 10 +++++++++- docs/libs/load.md | 9 +++++++++ 2 files changed, 18 insertions(+), 1 deletion(-) create mode 100644 docs/libs/load.md diff --git a/docs/debug.md b/docs/debug.md index c08da8f..f0a25ba 100644 --- a/docs/debug.md +++ b/docs/debug.md @@ -4,4 +4,12 @@ https://datacrystal.romhacking.net/wiki/Blaze_Union/Tutorials ## Makefile Example (From RetroArch) -+ After `include` \ No newline at end of file ++ After `include` +```Makefile +debug: + /snap/bin/ppsspp-emu.ppsspp-sdl EBOOT.BIN +``` + +> If you are using Ubuntu and install PPSSPP from snap. +> + Program Location: /snap/bin/ppsspp-emu.ppsspp-sdl +> + `PSP` Folder Location: ~/snap/ppsspp-emu/common/.config/ppsspp \ No newline at end of file diff --git a/docs/libs/load.md b/docs/libs/load.md new file mode 100644 index 0000000..03f3409 --- /dev/null +++ b/docs/libs/load.md @@ -0,0 +1,9 @@ +# Load&Execution Library. +Load&Execute A PRX/BOOT.BIN... from another Executable File + +You can pass some arguments to the main function of the program you are about to execute. + +```C +int sceKernelLoadExec (const char *file, struct SceKernelLoadExecParam *param); +``` +The PSP will reboot and execute the file you have selected. The screen will gone blank for a while. But you seem to have some choice to keep the screen on during the reboot process, according to what the official document says. \ No newline at end of file