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 

Loading a decrypted PRX...

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



Joined: 03 Aug 2005
Posts: 43

PostPosted: Fri Dec 16, 2005 7:45 am    Post subject: Loading a decrypted PRX... Reply with quote

Should it be possible to use LoadModule and StartModule on a decrypted PRX? I've decrypted one and you dont seem to be able to use LoadModule on it -- it comes up with 0x80020148 (SCE_KERNEL_ERROR_UNSUPPORTED_PRX_TYPE). Am I missing something?
Back to top
View user's profile Send private message
dot_blank



Joined: 28 Sep 2005
Posts: 498
Location: Brasil

PostPosted: Fri Dec 16, 2005 2:03 pm    Post subject: Reply with quote

loading a decrypted prx would be
in the same light as loading a unencrypted
elf on psp with 1.5 ....it will not work
without some exploit for prx....

those who have a 1.0 should test if this
holds true for decrypted prx on 1.0

i have tested on 2.0 and 1.5 just to make
sure and to no avail .... so does this
mean that a decrypted prx cannot be
loaded ...hmm well hopefully not ;)
_________________
10011011 00101010 11010111 10001001 10111010
Back to top
View user's profile Send private message
TyRaNiD



Joined: 18 Jan 2004
Posts: 918

PostPosted: Fri Dec 16, 2005 4:38 pm    Post subject: Reply with quote

Yes you are mising something, you can load decrypted user mode plain text modules by default, plain text kernel modules fail to load due to inbuilt firmware checks. Of course all is not in vain, we anticipated this day and there is a pspsdk function (pspSdkInstallNoPlainModuleCheckPatch) which you should call in a kernel app before doing anything else which removes this restriction.

Obviously should be noted this only applies to 1.0 and 1.5. As you cant get into kmode anyway on 2+ it isn't much use.
Back to top
View user's profile Send private message
Jabberwocky



Joined: 03 Aug 2005
Posts: 43

PostPosted: Fri Dec 16, 2005 9:07 pm    Post subject: Reply with quote

Thanks TyRaNiD, that's what I was missing. All working as expected now... :o)
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