Search found 825 matches

by Torch
Sun Jun 01, 2008 6:18 pm
Forum: PSP Development
Topic: How to crash the PSP, so watchdog restarts after 10 seconds?
Replies: 13
Views: 3248

TyRaNiD wrote:Can't you just do it nice and call scePowerRequestStandby() which will shut down the PSP without any extra cludges :)
But this way they have to stare at the "wrong password" screen for 10 seconds. Its more the annoyance factor.
by Torch
Sun Jun 01, 2008 6:17 pm
Forum: PSP Development
Topic: How to get own filename of running program?
Replies: 10
Views: 2398

How to get own filename of running program?

How do I get the filename of my current running program.

Suppose my module is flash0:/vsh/modules/torch.prx, then from inside torch.prx how can I detect its filename. Suppose I rename it to something.prx, it should be able to find its filename as something.prx.
by Torch
Sun Jun 01, 2008 6:12 pm
Forum: PSP Development
Topic: How to crash the PSP, so watchdog restarts after 10 seconds?
Replies: 13
Views: 3248

TyRaNiD wrote:The real question is why on earth would you want to? :)
So people will get tired of guessing passwords..
by Torch
Sun Jun 01, 2008 2:49 am
Forum: PSP Development
Topic: How to crash the PSP, so watchdog restarts after 10 seconds?
Replies: 13
Views: 3248

Thank you. I didn't have any idea how. And I presumed that nonsense in asm(..) would give a compiler error.

The rest of my program will function properly right? I want it to crash only when I call that code.
by Torch
Sun Jun 01, 2008 2:27 am
Forum: PSP Development
Topic: How to crash the PSP, so watchdog restarts after 10 seconds?
Replies: 13
Views: 3248

How to crash the PSP, so watchdog restarts after 10 seconds?

How do I crash the PSP such that it autorestarts after 10 seconds or whatever?
by Torch
Sat May 31, 2008 7:55 pm
Forum: PSP Development
Topic: [Solved] VSHMAIN.PRX replacement module
Replies: 12
Views: 3456

Ah ok, i understood bad the problem, i thought you couldn't launch your module, not the real vshmain. Yeah the user function of modulemgr won't load vshmain, the firmware uses a specific function to load vshmain (they have tons of sceKernelLoadModule* functions for different purposes), but yeah kuK...
by Torch
Sat May 31, 2008 7:45 pm
Forum: PSP Development
Topic: [Solved] VSHMAIN.PRX replacement module
Replies: 12
Views: 3456

moonlight wrote:try with 0x800 flag.
I did. I tried all possible combinations, kernel mode, usermode, different thread modes, call from external prx, all were giving 80020148.

Finally used kubridge kukernelloadmodule and it worked!
by Torch
Sat May 31, 2008 7:43 pm
Forum: PSP Development
Topic: [Solved] VSHMAIN.PRX replacement module
Replies: 12
Views: 3456

Solved. Have to use M33SDK.
by Torch
Sat May 31, 2008 12:31 pm
Forum: PSP Development
Topic: [Solved] VSHMAIN.PRX replacement module
Replies: 12
Views: 3456

adrahil wrote:SCE_KERNEL_ERROR_UNSUPPORTED_PRX_TYPE is pretty obvious :)
I'm a total noob. Please explain how to launch a renamed vshmain.prx
by Torch
Fri May 30, 2008 1:27 pm
Forum: PSP Development
Topic: [Solved] VSHMAIN.PRX replacement module
Replies: 12
Views: 3456

phobox wrote:have a look at the sources of the 1.50 custom firmware by dark alex (www.dark-alex.org)
Thats what I based this on in the first place. It doesn't want to work in newer firmwares.
by Torch
Thu May 29, 2008 11:19 pm
Forum: PSP Development
Topic: [Solved] VSHMAIN.PRX replacement module
Replies: 12
Views: 3456

I also tried loading it as a VSH module with 0x800 and PSP_THREAD_ATTR_VSH, as well as trying to load vshmain_real.prx in kernel and user memory.
by Torch
Thu May 29, 2008 10:43 pm
Forum: PSP Development
Topic: [Solved] VSHMAIN.PRX replacement module
Replies: 12
Views: 3456

I tried it with pspSdkLoadStartModule but it also gives 0x80020148
by Torch
Thu May 29, 2008 4:59 am
Forum: PSP Development
Topic: [Solved] VSHMAIN.PRX replacement module
Replies: 12
Views: 3456

[Solved] VSHMAIN.PRX replacement module

I'm trying to make a module to replace vshmain.prx to do some stuff, and then launch the original vshmain_real.prx #include <pspkernel.h> #include <pspthreadman.h> #include <pspdebug.h> #include <stdio.h> PSP_MODULE_INFO&#40;"Password", 0, 1, 1&#41;; PSP_MAIN_THREAD_ATTR&#40;TH...
by Torch
Wed May 28, 2008 8:14 pm
Forum: PSP Development
Topic: Reboot after sctrlKernelLoadExecVSHMs2
Replies: 13
Views: 4281

Can you explain the vshmain_args in a bit more detail? I made a replacement vshmain.prx and when booting from power off, it has argc=0. If I exit recovery menu, then it has argc=19. How do I capture the arguements in my replacement vshmain.prx and forward them to vshmain_real.prx? You've decalred vs...
by Torch
Wed May 28, 2008 2:52 am
Forum: PSP Development
Topic: Sound: perfect loop
Replies: 5
Views: 1929

MP3 is NOT gapless. LAME encoded MP3s include metadata in the MP3's tags which indicate the exact length of the song. Only players that support reading this metadata will stop playback at the exact moment, while others will play till the padding is over.

Use AT3 files for gapless.