I got 2 simple questions for you:
1. I want my program to execute MPH's Game Loader when I press X and I'm using this command:
Code: Select all
sceKernelLoadExec("ms0:/PSP/GAME/MPHGAMELOADER/EBOOT.BIN", 0);
I tryed with sceKernelLoadExec("ms0:/PSP/GAME/MPHGAMELOADER%/EBOOT.BIN", 0); but that didn't work either...
2.I know how to dump a single file with this code but what should I do if I want to dump the entire kd folder or the whole flash0?
Code: Select all
void DumpAta.prx(void)
{
int i;
int fd;
fd = sceIoOpen("flash0:/kd/ata.prx", PSP_O_RDONLY, 0777);
if(fd >= 0)
{
char path[256];
build_path(path, "ms0:/", kd, 0);
sceIoMkdir(path, 0777);
write_file("flash0:/kd/", path, "ata.prx");
}
}
btw. This is not the exact code I used ( I'm on another computer right now) but it should look something like this.