| View previous topic :: View next topic |
| Author |
Message |
cewlout
Joined: 26 Dec 2008 Posts: 2
|
Posted: Fri Dec 26, 2008 11:14 am Post subject: Creating own ISO |
|
|
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 |
|
 |
Dariusc123456
Joined: 12 Aug 2008 Posts: 394
|
Posted: Fri Dec 26, 2008 11:56 am Post subject: |
|
|
| 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 |
|
 |
Art
Joined: 09 Nov 2005 Posts: 647
|
Posted: Fri Dec 26, 2008 12:55 pm Post subject: |
|
|
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 |
|
 |
Dariusc123456
Joined: 12 Aug 2008 Posts: 394
|
Posted: Fri Dec 26, 2008 1:02 pm Post subject: |
|
|
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 |
|
 |
MysticWhiteDragon
Joined: 16 Feb 2006 Posts: 30
|
Posted: Fri Dec 26, 2008 1:06 pm Post subject: |
|
|
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 |
|
 |
Dariusc123456
Joined: 12 Aug 2008 Posts: 394
|
Posted: Fri Dec 26, 2008 1:21 pm Post subject: |
|
|
| 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 |
|
 |
cewlout
Joined: 26 Dec 2008 Posts: 2
|
Posted: Fri Dec 26, 2008 9:43 pm Post subject: |
|
|
| Thanks dudes for your adive, I'll investigate further! |
|
| Back to top |
|
 |
Dariusc123456
Joined: 12 Aug 2008 Posts: 394
|
Posted: Fri Dec 26, 2008 11:59 pm Post subject: |
|
|
| You can use ISO Buster to create the iso. |
|
| Back to top |
|
 |
|