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 

Creating own ISO

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



Joined: 26 Dec 2008
Posts: 2

PostPosted: Fri Dec 26, 2008 11:14 am    Post subject: Creating own ISO Reply with quote

Hello,

I'm planning to create a homebrew game on the PSP. Therefore I have installed the PSPSDK and well, everything code-related is clear to me (well, at least everything I need for my game :-)) - but there are still some questions left concerning "architecture". I hope you can help me;

1. I want to create an ISO for my game but now I am reading that it is not possible since the EBOOT.BIN has to be encrypted so that the PSP can load it? Is this true?

2. Is it possible to create e EBOOT.BIN for my ISO which is encrypted and the CFW can load it?

3. If I only would use a EBOOT.PSP which is not encrypted(?) I only have one file where should I store the (huge) data files?

4. Generally, is it possible to create a simple ISO so the game could be distributed this way or is it generally a bad idea?

Thanks
Back to top
View user's profile Send private message
Dariusc123456



Joined: 12 Aug 2008
Posts: 394

PostPosted: Fri Dec 26, 2008 11:56 am    Post subject: Reply with quote

Its possible, but there not much programs to create iso. The eboot.bin is an encrypted elf. Its best to make it as an eboot, and for any type of external files, make a program to pack it into one file. Its not that hard to make it.
Back to top
View user's profile Send private message AIM Address
Art



Joined: 09 Nov 2005
Posts: 647

PostPosted: Fri Dec 26, 2008 12:55 pm    Post subject: Reply with quote

Someone distributed one of the sdk sample demos as an ISO,
but I suspect it was done with an official devkit.
_________________
If not actually, then potentially.
Back to top
View user's profile Send private message
Dariusc123456



Joined: 12 Aug 2008
Posts: 394

PostPosted: Fri Dec 26, 2008 1:02 pm    Post subject: Reply with quote

Listen, just to make it easy for you and me, boot.bin is plain elf, eboot.bin can be a encrypted elf by psp-pack. In some games, it have the ~PSP or ~SCEA tags. Listen, make it an eboot.pbp, when done, let anyone know.


Use unpack-pbp to unpack the eboot, and change the data.psp to eboot.elf, and make a copy of that file and name it boot.bin. run ether psp-pack or psp-strip and name it eboot.bin.
and I believe you know the rest.

I might make a makefile to help you to better.
Back to top
View user's profile Send private message AIM Address
MysticWhiteDragon



Joined: 16 Feb 2006
Posts: 30

PostPosted: Fri Dec 26, 2008 1:06 pm    Post subject: Reply with quote

Personally I would just zip the EBOOT.PBP and all the other files in a zip file and then just let the user extract the files manually. If you want them put into the PBP there are several different methods providing the EBOOT is small enough.

1) Use a program such as Tiny Hexer and use export to source to allow it to be included into the code.

2) Take a look at funcLib in particular the Password example. It gives you an example of how to embed files, although I have not tried this way so I can't tell how well it works, or how much memory it consumes.
Back to top
View user's profile Send private message
Dariusc123456



Joined: 12 Aug 2008
Posts: 394

PostPosted: Fri Dec 26, 2008 1:21 pm    Post subject: Reply with quote

Using bin2c to export it is a bit slow(to me in fact). But its easy, but large files may go slow.
Back to top
View user's profile Send private message AIM Address
cewlout



Joined: 26 Dec 2008
Posts: 2

PostPosted: Fri Dec 26, 2008 9:43 pm    Post subject: Reply with quote

Thanks dudes for your adive, I'll investigate further!
Back to top
View user's profile Send private message
Dariusc123456



Joined: 12 Aug 2008
Posts: 394

PostPosted: Fri Dec 26, 2008 11:59 pm    Post subject: Reply with quote

You can use ISO Buster to create the iso.
Back to top
View user's profile Send private message AIM Address
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