Loading a decrypted PRX...

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

Moderators: cheriff, TyRaNiD

Post Reply
Jabberwocky
Posts: 43
Joined: Wed Aug 03, 2005 6:58 pm

Loading a decrypted PRX...

Post by Jabberwocky »

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?
User avatar
dot_blank
Posts: 498
Joined: Wed Sep 28, 2005 8:47 am
Location: Brasil

Post by dot_blank »

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
TyRaNiD
Posts: 907
Joined: Sun Jan 18, 2004 12:23 am

Post by TyRaNiD »

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.
Jabberwocky
Posts: 43
Joined: Wed Aug 03, 2005 6:58 pm

Post by Jabberwocky »

Thanks TyRaNiD, that's what I was missing. All working as expected now... :o)
Post Reply