Random Homebrew: Portaball for 2.7
breakout for psp 2.7

open source recovery menu

Forum rules
Any post not directly related to programming will be moderated.
Do not request people to code something for you.
Avoid posting messages that do not bring anything to the conversation. We want the threads in this subforum to stay focused.

Re: open source recovery menu

Postby devshelper » Fri Mar 25, 2011 9:32 am

Advertising
can you modify my source code and then post it here?
because i am a little confused with what you said and when i try it the result is the same
devshelper
 
Posts: 136
Joined: Sat Mar 19, 2011 12:09 pm

Re: open source recovery menu

Postby waratte » Fri Mar 25, 2011 12:16 pm

Advertising
m0skit0 wrote:Of course there are better methods. They are called "debugging", which is almost as important as programming.
I was referring to methods that help you find errors without a debugger.
devshelper wrote:can you modify my source code and then post it here?
because i am a little confused with what you said and when i try it the result is the same
Copy and remove the return statement at the end of your main. Add it to the beginning of your while loop. Compile and run the eboot on your psp. Wait a few seconds and press down the home key(on the psp). If that grey "exit game" screen appears, then your code works until that point. Go back to your code and move the return statement down one time. Run your new code. Check to see if the grey screen appears again. If it doesn't, the line above your return statement may be the line that crashes the programme. Otherwise, keep doing this until it stops working. When it stops working, the line above the return statement may be the line that breaks the code. I would have tried to do this myself but, you are including files that aren't on my computer.
waratte
 
Posts: 4066
Joined: Wed Oct 20, 2010 12:03 am

Re: open source recovery menu

Postby devshelper » Fri Mar 25, 2011 12:43 pm

ok!
i put return 0 after flipscreen and i can see the menu items, but i can navigate into the menu
devshelper
 
Posts: 136
Joined: Sat Mar 19, 2011 12:09 pm

Re: open source recovery menu

Postby m0skit0 » Fri Mar 25, 2011 1:18 pm

waratte wrote:I was referring to methods that help you find errors without a debugger.

I didn't mention a "debugger" anywhere, did I? Anyway, best option is to use GDB to debug, it's there for a reason. Also you have alternative methods, such as printing (on the screen and/or file and/or psplink). And why not use a debugger, are you afraid of it? :? :mrgreen:

waratte wrote:Copy and remove the return statement at the end of your main. Add it to the beginning of your while loop. Compile and run the eboot on your psp. Wait a few seconds and press down the home key(on the psp). If that grey "exit game" screen appears, then your code works until that point. Go back to your code and move the return statement down one time. Run your new code. Check to see if the grey screen appears again. If it doesn't, the line above your return statement may be the line that crashes the programme. Otherwise, keep doing this until it stops working. When it stops working, the line above the return statement may be the line that breaks the code. I would have tried to do this myself but, you are including files that aren't on my computer.

Really awful and slow method. Better do some output or better yet use PSPLINK and GDB.
I wanna lots of mov al,0xb
Image
"just not into this RA stuffz"
User avatar
m0skit0
Guru
 
Posts: 4800
Joined: Mon Sep 27, 2010 6:01 pm

Re: open source recovery menu

Postby devshelper » Fri Mar 25, 2011 3:18 pm

i am on win7, so i cant setup PSPLINK
devshelper
 
Posts: 136
Joined: Sat Mar 19, 2011 12:09 pm

Re: open source recovery menu

Postby JJS » Fri Mar 25, 2011 3:38 pm

devshelper wrote:i am on win7, so i cant setup PSPLINK
Of course you can. If you have MinPSPW, it is actually already installed. Look in the PSPSDK directory.
JJS
Big Beholder
 
Posts: 1516
Joined: Mon Sep 27, 2010 2:18 pm

Re: open source recovery menu

Postby devshelper » Fri Mar 25, 2011 3:42 pm

yeah, but only the psp files are there, not any pc file
devshelper
 
Posts: 136
Joined: Sat Mar 19, 2011 12:09 pm

Re: open source recovery menu

Postby JJS » Fri Mar 25, 2011 3:51 pm

They are in the "bin" subdirectory.
JJS
Big Beholder
 
Posts: 1516
Joined: Mon Sep 27, 2010 2:18 pm

Re: open source recovery menu

Postby devshelper » Fri Mar 25, 2011 3:58 pm

ok!
i am on 6.20 tn hen permanent.
which files should i copy to ms0:/psp/game/psplink?
(1.0 , 1.5 or 1.5 no_corrupt)?
devshelper
 
Posts: 136
Joined: Sat Mar 19, 2011 12:09 pm

Re: open source recovery menu

Postby JJS » Fri Mar 25, 2011 4:26 pm

devshelper wrote:(1.0 , 1.5 or 1.5 no_corrupt)
None of those :D. You need the files in "OE". But there is a problem with running the PSPLink Eboot on 6.20 TN. You should rather copy the files to your seplugins folder and enable "psplink.prx" in game.txt.
JJS
Big Beholder
 
Posts: 1516
Joined: Mon Sep 27, 2010 2:18 pm

PreviousNext

Return to Programming

Who is online

Users browsing this forum: No registered users and 1 guest

Friends

Coding 'n Cracking - Nymphaea - PS3 Forum - darkforestgroup - daxhordes.org - Tgames - coldbird - gopsp.it - pspstation.org - prometheus - hgoel.info - MakeSmartTV - ps vita