Search found 25 matches

by pj1115
Sun Jun 03, 2007 2:49 am
Forum: PSP Development
Topic: sceKernelLoadExec woes
Replies: 0
Views: 937

sceKernelLoadExec woes

I'm having trouble getting sceKernelLoadExec to work. I used to be able to make it work, but when I added more cases to the menu, it stopped working. This simple menu works, and the EBOOT execution code does seem to work - or, at least without the menu. All I get when I try to load an EBOOT from the...
by pj1115
Wed Apr 04, 2007 6:01 am
Forum: PSP Development
Topic: File operations help
Replies: 7
Views: 2338

^ Didn't understand that...
by pj1115
Wed Apr 04, 2007 5:42 am
Forum: PSP Development
Topic: File operations help
Replies: 7
Views: 2338

^^ You mean you never did a hello world? :p
by pj1115
Wed Apr 04, 2007 2:10 am
Forum: PSP Development
Topic: File operations help
Replies: 7
Views: 2338

File operations help

Hey I was just wondering if anyone here was willing to help me with some code samples. What I wanted to do was: - Be able to open up a file and cross-reference its contents (let's say 1 character, such as 1) with another (that reads 2) and then do something if it's lower. - Download a complete file ...
by pj1115
Mon Mar 26, 2007 8:43 am
Forum: PSP Development
Topic: PRX compile errors?
Replies: 0
Views: 1483

PRX compile errors?

Hey When compiling a PRX module, I always get errors in Cygwin. It doesn't happen when I compile EBOOTs. And, no, it isn't my source code (I tried it on the samples in the SDK which always used to work). What could be going wrong? Errors: xxxx [main] ? (xxx) C&#58...
by pj1115
Thu Mar 15, 2007 3:20 am
Forum: PSP Development
Topic: VSH blitting errors
Replies: 0
Views: 1007

VSH blitting errors

Hey I've been trying to use VSH text blitting with my PRX module and it doesn't seem to be working out.
I've included blit.h in my program, which defines blit_string, blit_setup and the like, but when I try to compile I get errors saying that they're undefined.

What am I doing wrong?
by pj1115
Tue Mar 06, 2007 3:01 am
Forum: PSP Development
Topic: Unload PRX?
Replies: 6
Views: 3296

fergie4000 wrote:does anyone know a successful way to remove the prx from ram? because it is stopping itself being run a second time.
Nope, sorry, that's what I need to do!

So, you've at least managed to offload it? How did you do it?
by pj1115
Mon Mar 05, 2007 8:25 am
Forum: PSP Development
Topic: Unload PRX?
Replies: 6
Views: 3296

BUMP. Sorry.
by pj1115
Sun Mar 04, 2007 10:01 pm
Forum: PSP Development
Topic: Unload PRX?
Replies: 6
Views: 3296

UPDATE: I tried to pass 'sceKernelSelfStopUnloadModule(1, 1, NULL);', but no luck. It doesn't unload.

I'll try sceKernelStopUnloadSelfModule but I've no idea what to pass to it. Any ideas?
by pj1115
Sun Mar 04, 2007 9:38 am
Forum: PSP Development
Topic: Unload PRX?
Replies: 6
Views: 3296

That's what I'm asking you! :p I'll try that, cheers Fanjita. BTW, congrats on the BBC interview! EDIT: I have two choices in pspmodulemgr.h: /** * Stop and unload the current module. * * @param unknown - Unknown (I've seen 1 passed). * @param argsize - Size (in bytes&#41...
by pj1115
Sun Mar 04, 2007 12:59 am
Forum: PSP Development
Topic: Unload PRX?
Replies: 6
Views: 3296

Unload PRX?

Hey

I've coded a PRX module that is activated from the LCF-TV icon, and it does what it should do, but unfortunately, I can't work out how to offload the module afterwards.

I've tried sceKernelExitGame, sceKernelDeleteThread, and loads of other stuff but I can't find one that works....
by pj1115
Tue Feb 27, 2007 4:36 am
Forum: PSP Development
Topic: 'Eject' memory stick?
Replies: 6
Views: 3736

Odd, why would it store temporary files on the memory stick? Wouldn't it be quicker, easier, and safer to do it in the memory?

Anyone else have any ideas?
by pj1115
Mon Feb 26, 2007 7:41 am
Forum: PSP Development
Topic: 'Eject' memory stick?
Replies: 6
Views: 3736

'Eject' memory stick?

Hey, in my module, something is renamed on the memory stick, and it works great. I have one problem, though. Say, if I wanted to rename PSP/PHOTO to PSP/IMAGE so the PSP couldn't find it, if I have already been inside the photo menu, it's cached, so the XMB doesn't notice a difference until you go i...
by pj1115
Wed Feb 21, 2007 7:14 am
Forum: PSP Development
Topic: PRX in VSH: Button input disabled.
Replies: 8
Views: 2788

Heh, I'll give the delay a go. Where should I put it in the loop? Before the key-press bit?

BTW, well done, 500 posts. :)

Finished, works good. Cheers, TyRaNiD and Insert_witty_name.
by pj1115
Wed Feb 21, 2007 7:08 am
Forum: PSP Development
Topic: PRX in VSH: Button input disabled.
Replies: 8
Views: 2788

Yep, that's basicly what I'm doing.

How would be a better way?
by pj1115
Wed Feb 21, 2007 6:32 am
Forum: PSP Development
Topic: PRX in VSH: Button input disabled.
Replies: 8
Views: 2788

I noticed that, sorry if I peeved you off... Oh, and it doesn't work. Well, it does, but the XMB will only work if one of the button combinations I'm using is being pressed. For example, when the PSP boots, all I see is a black screen, but when I hold down [Home]+[R] or [Home]+[L] (both are the butt...
by pj1115
Wed Feb 21, 2007 6:12 am
Forum: PSP Development
Topic: PRX in VSH: Button input disabled.
Replies: 8
Views: 2788

I haven't got that code. I've only got SceCtrlData pad; sceCtrlReadBufferPositive(&pad, 1); if ((pad.Buttons & PSP_CTRL_HOME) && (pad.Buttons & PSP_CTRL_RTRIGGER)){ //code } EDIT: I see, sceCtrlRead...
by pj1115
Wed Feb 21, 2007 5:30 am
Forum: PSP Development
Topic: PRX in VSH: Button input disabled.
Replies: 8
Views: 2788

PRX in VSH: Button input disabled.

Hey I've built a PRX that simply renames a file with a button combination in the XMB (made from the SDK sample). The XMB boots fine with the module loading, but the XMB's button input no longer works. (ie, I can't move around). However, all the file renaming works like a charm (I checked with USB). ...
by pj1115
Tue Feb 20, 2007 7:47 am
Forum: PSP Development
Topic: Refresh main function?
Replies: 10
Views: 3999

Thanks, worked like a charm!

I'm releasing it now, it's called 'Outa-Space PSP'.

Here's the download, and I've submitted it to QJ.
http://www.sendspace.com/file/as9nxq
by pj1115
Tue Feb 20, 2007 5:32 am
Forum: PSP Development
Topic: Refresh main function?
Replies: 10
Views: 3999

Oh, and I have another question. I'm not using callbacks (so there's no "Do you want to exit the game?" screen), and in my program I'm using: if(pad.Buttons & PSP_CTRL_HOME) { pspDebugScreenClear(); printf("\n\n\n\n\n\n\n\n\n\n Bye,...
by pj1115
Tue Feb 20, 2007 5:25 am
Forum: PSP Development
Topic: Refresh main function?
Replies: 10
Views: 3999

jas0nuk wrote:It's better to use a while loop, but you could use labels
e.g.

Code: Select all

void main(void) {
start:
printf("blah/n");
// do stuff
if (...) goto start;
}
Thanks a bunch, jas0nuk!

Expect a release from me in a few hours! :)
by pj1115
Tue Feb 20, 2007 4:09 am
Forum: PSP Development
Topic: Refresh main function?
Replies: 10
Views: 3999

Refresh main function?

Hey

Quick question:
If I was in the middle of the main function, would there be a way to start from the beginning again, like restart it? (ie, could I use main(); or is there another way)?
by pj1115
Mon Feb 19, 2007 9:29 am
Forum: PSP Development
Topic: Help with my source!
Replies: 0
Views: 707

Help with my source!

Hey I'm coding a flash0 file clearing application that can remove camera, video, music, photo, browser, network update, RSS and certificate utility functionality as well as the font replacement technique, all selected by the user. Now, I based this on some code which I did for a theme flasher, so it...
by pj1115
Mon Feb 19, 2007 9:11 am
Forum: PSP Development
Topic: Help with my source!
Replies: 0
Views: 800

Help with my source!

Hey I'm coding a flash0 file clearing application that can remove camera, video, music, photo, browser, network update, RSS and certificate utility functionality as well as the font replacement technique, all selected by the user. Now, I based this on some code which I did for a theme flasher, so it...
by pj1115
Mon Jan 22, 2007 4:50 am
Forum: PSP Development
Topic: Mount fatms0:\ as Flash0:\?
Replies: 0
Views: 1327

Mount fatms0:\ as Flash0:\?

Hi, I was wondering if I could have some assistance. I currently have the following code in my program: sceIoUnassign("flash1:"); sceIoAssign("flash1:", "msstor0p1:", "fatms0:", IOASSIGN_RDWR, NULL, 0&...