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!

Coding homebrew on 2.5

This is a discussion on Coding homebrew on 2.5 within the PSP Development Forum forums, part of the PSP Development, Hacks, and Homebrew category; Hi guys, I posted this elsewhere but didn't get the answer I was looking for, I think my question was ...

Reply
 
LinkBack Thread Tools
Old 05-03-2006, 02:23 AM   #1
 
Join Date: May 2006
Posts: 15
Trader Feedback: 0
Default Coding homebrew on 2.5

Hi guys,

I posted this elsewhere but didn't get the answer I was looking for, I think my question was misunderstood.

I'm trying to understand how to dev homebrew on 2.5 firmware. I know how to code C/C++. I know how to install all the tools and devkit etc etc. I know OGL and SDL. That's not my problem. I've read through all the tutorials I can find but none are any help - they're all "welcome to your first C prog" type tuts. Here's what I need to know:

Assuming I have coded my first piece of homebrew and I have my eboot file sitting on my harddrive, ready to be tested.

Because I have firmware 2.5, does this mean I have to enable USB mode, copy the eboot, exit USB mode, boot GTA, go to the save game, use the eloader, select my eboot and then see what happens?

I see a couple of major problems with this. First, that's going to take 5+ minutes every time I want to test a code change. Second, there's no apparent way to debug the code. Every tutorial and forum post I've found completely skips over this, or assumes you use (cough) LUA.

If I'm right and there's no other way to code and test homebrew (and there's no way to debug), then I'll give up on this right now because there's no sensible way to code anything under those restrictions. If I'm wrong and there's a super-smart way to deploy and test code please tell me!

Thanks.
Endeavour is offline  
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
Best prices available for:
Price Range:
$13.00 - $25.00
at 10 Stores

Price Range:
$17.00 - $48.00
at 9 Stores

Old 05-03-2006, 02:40 AM   #2
QJ Gamer Platinum
 
zx-81's Avatar
 
Join Date: Feb 2006
Location: France
Posts: 1,094
Trader Feedback: 0
Default

Quote:
Originally Posted by Endeavour
....
Assuming I have coded my first piece of homebrew and I have my eboot file sitting on my harddrive, ready to be tested.

Because I have firmware 2.5, does this mean I have to enable USB mode, copy the eboot, exit USB mode, boot GTA, go to the save game, use the eloader, select my eboot and then see what happens?
It is exactly what i do for my homebrew developpement, because like you, i've got a 2.5 FW.

Sometimes i prefer to use PSP-ftpd to go faster (i don't have to exit the loader and GTA, i've only to run psp-ftpd).

Quote:
Originally Posted by Endeavour
....
I see a couple of major problems with this. First, that's going to take 5+ minutes every time I want to test a code change. Second, there's no apparent way to debug the code. Every tutorial and forum post I've found completely skips over this, or assumes you use (cough) LUA.

If I'm right and there's no other way to code and test homebrew (and there's no way to debug), then I'll give up on this right now because there's no sensible way to code anything under those restrictions. If I'm wrong and there's a super-smart way to deploy and test code please tell me!

Thanks.
For debug i use the screen of the PSP to display traces ... and also (as many others homebrew developpers) i use a debug file (redirect stdout or stderr to a log file etc ...).

Hope that help.
__________________
The more you fail, the more you have a chance that it will work in the end.
zx-81 is offline  
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
Old 05-03-2006, 03:05 AM   #3

Developer
 
Join Date: Oct 2005
Posts: 408
Trader Feedback: 0
Default

If you're serious about developing for the PSP you might consider getting a 1.5 from Ebay and selling your 2.5. Then you can use PSPLink and cut your cycles down to 5-10 seconds per compile and you get remote GDB access.
Samstag is offline  
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
Old 05-03-2006, 04:00 AM   #4

Developer
 
tommydanger's Avatar
 
Join Date: Mar 2006
Posts: 166
Trader Feedback: 0
Default

hrm yes that's bad
Furthermore the gta eloader doesn't support usb mode, only the tiff eloader does afaik.
some time ago I loaded my homebrew through the tiff eloader then went back to the eloader, enabled usb mode, copied a new version of my homebrew to the psp, tried to start it again, but nothing happend, unfortunately.
don't know if the latest eloader already supports that

as Samstag said, get a 1.5 PSP and youre fine, PSPLINK,easy access through the game menu,..
also a 2.0 PSP would do the job
tommydanger is offline  
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
Old 05-03-2006, 07:40 AM   #5
 
Join Date: May 2006
Posts: 15
Trader Feedback: 0
Default

ok, thanks guys, that's the info I needed. I'm not going through all that hassle just to code for the PSP, and selling just to get a 1.5 firmware version isn't worth it.

Looks like I won't bother. Thanks.
Endeavour is offline  
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
Old 05-03-2006, 07:49 AM   #6
 
XSonic's Avatar
 
Join Date: Apr 2006
Location: North East England. Firmware Version: 2.5
Posts: 148
Trader Feedback: 0
Default

If you REALLY wanna code for the PSP, won't it be worth the wait to see if it works? By the way, it doesn't take five minutes, maybe 2-3 minutes.
XSonic is offline  
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
Old 05-03-2006, 11:28 PM   #7
QJ Gamer Platinum
 
zx-81's Avatar
 
Join Date: Feb 2006
Location: France
Posts: 1,094
Trader Feedback: 0
Default

The (only?) advantage to develop on 2.5 is that you're sure that it will work on all FW up to 2.6.
zx-81 is offline  
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
Old 05-04-2006, 03:40 AM   #8
 
Join Date: May 2006
Posts: 15
Trader Feedback: 0
Default

Quote:
By the way, it doesn't take five minutes, maybe 2-3 minutes.
2-3 minutes per build is unacceptable for coding. It interrupts your concentration and your flow. Sure, sometimes you can go 30, 40 mins of coding without a single build for the easy stuff, but for the fiddly little changes you might need to repeatedly build and test every minute or 2.

3 minutes per build, 10 builds, you've just wasted half an hour for no reason. I'll stick to PC and PocketPC coding, thanks.
Endeavour is offline  
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
Old 05-04-2006, 12:15 PM   #9

QJ Gamer Gold
 
slicer4ever's Avatar
 
Join Date: Jul 2005
Location: everywhere
Posts: 3,430
Trader Feedback: 0
Default

yea unfortuantly that is codeing for c/c++ but with lua they developed the holeist thing for 2.1+ that is: luaplayerwindows so if you do wanna code for the psp i surgest lua at least for 2.1+ but untill someone can develop the same thing for c/c++ you ganna have to stick to loading up gta all the time
__________________
1. Failed....again...
2. http://slicer.gibbocool.com/ stay updated on all my projects
slicer4ever is online now  
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
Old 05-04-2006, 12:34 PM   #10
No longer a community member.
 
Join Date: Dec 2005
Posts: 22
Trader Feedback: 0
Default

There is a PSP Homebrew emulator for the PC, but I don't know how well it works:
PSPE
Hardrive is offline  
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
Reply

Tags
coding , homebrew

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 04:04 AM.



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