forums.ps2dev.org Forum Index forums.ps2dev.org
Homebrew PS2, PSP & PS3 Development Discussions
 
 FAQFAQ   SearchSearch   MemberlistMemberlist   UsergroupsUsergroups   RegisterRegister 
 ProfileProfile   Log in to check your private messagesLog in to check your private messages   Log inLog in 

Newbie questions here!

 
Post new topic   Reply to topic    forums.ps2dev.org Forum Index -> PSP Development
View previous topic :: View next topic  
Author Message
Ghozt



Joined: 13 Mar 2006
Posts: 34

PostPosted: Tue Mar 14, 2006 7:54 pm    Post subject: Newbie questions here! Reply with quote

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:
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:

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.
Back to top
View user's profile Send private message
Display posts from previous:   
Post new topic   Reply to topic    forums.ps2dev.org Forum Index -> PSP Development All times are GMT + 10 Hours
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum


Powered by phpBB © 2001, 2005 phpBB Group