Newbie questions here!

Discuss the development of new homebrew software, tools and libraries.

Moderators: cheriff, TyRaNiD

Post Reply
Ghozt
Posts: 34
Joined: Mon Mar 13, 2006 8:37 pm

Newbie questions here!

Post by Ghozt »

Hi everybody!

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);
But since I'm on 1.5 it will give me the "The Game could not be started (80010002)" error. If I remember right thats the error you get when trying to launch a non-kxploited eboot, right? So what is the code to launch a eboot from a homebrew game on 1.5 then?

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.
Post Reply