QJ.NET | Videos | Forums | iPhone | MMORPG | Nintendo DS | Wii | PlayStation 3 | PSP | Xbox 360 | PC | Downloads | Contact Us
Forums | Gaming News | Videos | Downloads | Today's Posts | Mark Forums Read | Chat | FAQ | Members List | Contact

QJ.net Game Discussion - PSP, Xbox, Wii, PS3, PSP Homebrew, and PSP Guides

Go Back   QJ.net Game Discussion - PSP, Xbox, Wii, PS3, PSP Homebrew, and PSP Guides > Developers Corner > PSP Development, Hacks, and Homebrew > PSP Development Forum
The above video goes away if you are a member and logged in, so log in now!

First PRX program, need help to optimise.

This is a discussion on First PRX program, need help to optimise. within the PSP Development Forum forums, part of the PSP Development, Hacks, and Homebrew category; Hi people, I have just written my first PRX program which I hope to release for people to use as ...

Reply
 
LinkBack Thread Tools
Old 08-09-2007, 01:23 PM   #1
 
aliasneo's Avatar
 
Join Date: Jul 2007
Location: England
Posts: 97
Trader Feedback: 0
Default First PRX program, need help to optimise.

Hi people, I have just written my first PRX program which I hope to release for people to use as soon as it works right and has had a little BETA testing.

I need a little help though, the program is meant to run before the XMB shows, and display some information by blitting text over then entire screen.

So far the program works but with a couple of problems, first of all, it loads after the XMB, second when it's blitting, the XMB can be seen beneath the text, third, since it loads approx the same time as XMB it pauses slightly as the XMB loads.

What I need is some help on making it load sooner, I.E. before XMB ... or displaying something over the entire screen to hide the XMB (a black rectangle?) until the program runs and finishes, hopefully this will fix the problem of XMB showing through and slowdown (because the program can be delayed a little since XMB is hidden by the rectangle.

Any help appreciated. Thanks
aliasneo is offline  
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
Old 08-09-2007, 03:09 PM   #2
 
Join Date: Feb 2006
Posts: 91
Trader Feedback: 0
Default

Hmm.. You could try and load it before the vshmain, how, I don't know.

Otherwise, a drastic alternative would be to turn your module into the VSHMAIN, and load all the necessary VSH modules from yours, like how Dark_AleX's POC firmware did. Not sure how well it would work on more recent firmwares, though.
As for not displaying the XMB, you could use some gfx libs to draw a black rectangle over the screen, like you said. Clearing the screen doesn't work when you're in the XMB, I think. Don't quote me on that though. :P

Otherwise, I'm stumped.
pj1115 is offline  
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
Old 08-09-2007, 03:34 PM   #3

Developer
 
Mr305's Avatar
 
Join Date: Nov 2006
Posts: 1,521
Trader Feedback: 0
Default

Coding PRX's isn't a good way to begin programming.
Mr305 is offline  
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
Old 08-09-2007, 03:51 PM   #4
 
aliasneo's Avatar
 
Join Date: Jul 2007
Location: England
Posts: 97
Trader Feedback: 0
Default Hmm

Quote:
Originally Posted by Mr305
Coding PRX's isn't a good way to begin programming.
Who's beginning programming by coding PRX's?

I'v been programming for 10 years, it's PSP programming i'm not familiar with, and even so, this PRX isn't my first PSP program, I have written other working programs in EBOOTs.

As the title says "First PRX Program" ... It's my first PRX not my first program
aliasneo is offline  
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
Old 08-09-2007, 05:24 PM   #5

Developer
 
Mr305's Avatar
 
Join Date: Nov 2006
Posts: 1,521
Trader Feedback: 0
Default

Quote:
Originally Posted by aliasneo
Who's beginning programming by coding PRX's?

I'v been programming for 10 years, it's PSP programming i'm not familiar with, and even so, this PRX isn't my first PSP program, I have written other working programs in EBOOTs.

As the title says "First PRX Program" ... It's my first PRX not my first program
Oh! Sorry... Good work.

Just this massive influx of PRX's makes me mad... Like flashers do...
Mr305 is offline  
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
Old 08-09-2007, 05:26 PM   #6
 
aliasneo's Avatar
 
Join Date: Jul 2007
Location: England
Posts: 97
Trader Feedback: 0
Default

Quote:
Originally Posted by Mr305
Oh! Sorry... Good work.

Just this massive influx of PRX's makes me mad... Like flashers do...
Noone said I am making this to release, I am making this for personaland educational purposes. It may be released if there is a call for it.

Now i would be graful if people who intend to help could reply, thanks
aliasneo is offline  
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
Old 08-09-2007, 11:10 PM   #7
 
pspballer07's Avatar
 
Join Date: Feb 2007
Posts: 315
Trader Feedback: 0
Default

yea what pj1115 said about making your own vshmain prx would work but u have a high risk of bricking ur psp if u don't know what ur doing. Another thing u could do for OE firmwares is to make ur own recovery prx and replace then old one but then its not really a plugin(if thats what ur tryin to do).
pspballer07 is offline  
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
Old 08-10-2007, 04:42 AM   #8
 
aliasneo's Avatar
 
Join Date: Jul 2007
Location: England
Posts: 97
Trader Feedback: 0
Default Indeed

Quote:
Originally Posted by pspballer07
yea what pj1115 said about making your own vshmain prx would work but u have a high risk of bricking ur psp if u don't know what ur doing. Another thing u could do for OE firmwares is to make ur own recovery prx and replace then old one but then its not really a plugin(if thats what ur tryin to do).
Yeh it's a plugin, I just need it to run before the XMB shows, or atleast for it to hidethe XMB while it runs, it runs for no more than a few seconds then exits.
aliasneo is offline  
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
Reply

Tags
optimise , program , prx

Thread Tools

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are Off
Pingbacks are Off
Refbacks are Off



All times are GMT -8. The time now is 11:27 AM.



Use of this Web site constitutes acceptance of the TERMS & CONDITIONS and PRIVACY POLICY
Copyright © 2009, QJ.NET. All Rights Reserved.
Contact Us