Load prx in service mode

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

Moderators: cheriff, TyRaNiD

Post Reply
FaderX
Posts: 28
Joined: Sat Mar 01, 2008 12:38 pm

Load prx in service mode

Post by FaderX »

Hello,

i've created a little app that required kernel mode, so i made a prx.
But then i tried using service mode and thats what i want to create it for. but i try,

Code: Select all

SceUID mod = pspSdkLoadStartModule("kernel.prx", PSP_MEMORY_PARTITION_KERNEL);
if &#40;mod < 0&#41; &#123; printf&#40;" ! Error 0x%08X loading/starting prx.\n", mod&#41;; &#125;
Im running in vsh mode and i get the error 0x8002032C (No Cwd ??) <- probably coz im using a 3.XX kernel prx on a 1.50 based thing

But yea, i dont wont to put it into a single app because when i did, i changed it to kernel mode and added the kernel functions then i wouldnt even load :S.

Is it possible to load a 3.XX prx (elf, unencrypt) to get the prx to load.?

If you have an idea please let me know,

Cheers
Pirata Nervo
Posts: 409
Joined: Tue Oct 09, 2007 4:22 am

Post by Pirata Nervo »

try giving the full path instead of giving kernel.prx only
Image
Upgrade your PSP
FaderX
Posts: 28
Joined: Sat Mar 01, 2008 12:38 pm

Post by FaderX »

thanks it worked, id never would have guessed that i had to use the full path :s *gets embarrassed*

in 3.xx it must ave changed to either what i was using and the full path?. lol


thanks again.
J.F.
Posts: 2906
Joined: Sun Feb 22, 2004 11:41 am

Post by J.F. »

That's one thing I wish would get cleared up on a future rev of the firmware - that inconsistency on when the working directory has been set and when it hasn't. It should ALWAYS be set.
Post Reply