forums.ps2dev.org Forum Index forums.ps2dev.org
Homebrew PS2, PSP & PS3 Development Discussions
 
 FAQFAQ   SearchSearch   MemberlistMemberlist   UsergroupsUsergroups   RegisterRegister 
 ProfileProfile   Log in to check your private messagesLog in to check your private messages   Log inLog in 

How to make ELF files?

 
Post new topic   Reply to topic    forums.ps2dev.org Forum Index -> PSP Development
View previous topic :: View next topic  
Author Message
TheSamuraiElephant



Joined: 04 Aug 2005
Posts: 17

PostPosted: Thu Aug 04, 2005 9:29 pm    Post subject: How to make ELF files? Reply with quote

Hi,

I've heard lots of talk of people making home-brew games for the PSP by converting ELF files into PBP files to boot from. Is this the best way to get homebrew games working on the PSP?
Also, how do I make ELF files? I have Visual Studio.NET.

I'm a newbie to home-brew stuff (although not to programming), this is my first post. Go easy :)

Cheers!
Back to top
View user's profile Send private message
J.F.



Joined: 22 Feb 2004
Posts: 2906

PostPosted: Wed Aug 10, 2005 8:10 am    Post subject: Reply with quote

Wrong forum. Ask in the PSP development forum.

Short answer - VS.Net won't make ELF files for MIPS CPUs. You need a version of gcc set to crosscompile for the proper CPU. Check the PSP SDK forum.
Back to top
View user's profile Send private message AIM Address
ooPo
Site Admin


Joined: 17 Jan 2004
Posts: 2032
Location: Canada

PostPosted: Wed Aug 10, 2005 8:39 am    Post subject: Reply with quote

Moved from 'PS2 General Discussion' to 'PSP Software Development'.

Mistake #1 - Posting to the wrong place.

Here's the sticky in this forum on using Visual Studio.Net that would have shown up in a simple search: http://forums.ps2dev.org/viewtopic.php?t=2493

Mistake #2 - Not bothering to read before writing.

Want to go for #3?
Back to top
View user's profile Send private message Visit poster's website
TheSamuraiElephant



Joined: 04 Aug 2005
Posts: 17

PostPosted: Sat Aug 13, 2005 2:46 am    Post subject: Reply with quote

OK. Sorry I posted in the wrong place, it's my first post. I read somewhere that the PS2 general discussion was the place to ask newbie questions and assuming this generalisation swept out even to PSP newbie related discussion I posted there. Sorry about that.
RE: Mistake#2: I had already read that thread. While it does mention a way of linking the tool chain to Visual Studio.net It does not mention anything of converting ELF files to PBPs. I also did not hear if the way mentioned in the thread was the best way to create PBPs.
Perhaps mistake#3 was expecting this place to be a little more friendly.
Back to top
View user's profile Send private message
Agoln



Joined: 08 Jun 2005
Posts: 326
Location: Fort Wayne, IN

PostPosted: Sat Aug 13, 2005 3:16 am    Post subject: Reply with quote

TheSamuraiElephant wrote:
Perhaps mistake#3 was expecting this place to be a little more friendly.


This place is friendly to people that have hinted that they have actually done some work on their own, instead of clogging up the forums by flapping their arms around asking how to do somthing that has been discussed in detail, many times over in the forums.

Your post suggested that you had heard of PBP and ELF somewhere, and you use VS.Net. If you did some researching, you would have found out that there is http://wiki.pspdev.org/psp:programming_faq that site, that tells how to get cygwin up and running, and goes on to explain how to start things off.

As for VS.Net, since that is not exactly *nix friendly, there has had to have been some hacking to get it to work properly. The thread mentioned by ooPo is the only one that someone has attempted to make the SDK work in .net.

But to answer your question after that lecture, here is the skinny of elf's and PBP's...

Elf's are an executable file that is made after compiling. Using the SDK and it's examples, you can use just about any Makfile in the sample SDK's and see how they are created.

After you create the ELF, you have to convert it into a file that the PSP can read and boot the game from. This is the PBP file. There are many tools available in the toolchain that convert Elf's to PBP's (pbp-packer) and PBP's to elf's (pbp-unpacker).
_________________
Lego of my Ago!
Back to top
View user's profile Send private message AIM Address
TheSamuraiElephant



Joined: 04 Aug 2005
Posts: 17

PostPosted: Sat Aug 13, 2005 11:14 pm    Post subject: Reply with quote

Thanks for the reply.
I didn't intend that last post to sound bitter, I'm afraid it just came out the wrong way. Apologies if any offence was caused.
I can understand how annoying it must be to have to deal with people constantly asking the same questions without reading through FAQs. I had searched for PSP development sites (that is how i stumbled across this forum), but had not come across the wiki site previously. Thats probably my fault for skimming over my results.
Thanks for the explanations regarding ELFs and PBPs.
I won't post until I have something to show, or I have a problem relating to something I'm trying to develop (A 3DS file viewer for the PSP).
Hopefully then, I can get off to a better start with you both.

Cheers,
David
Back to top
View user's profile Send private message
Display posts from previous:   
Post new topic   Reply to topic    forums.ps2dev.org Forum Index -> PSP Development All times are GMT + 10 Hours
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum


Powered by phpBB © 2001, 2005 phpBB Group