Save Images and Sound in .PBP

Discuss the development of new homebrew software, tools and libraries.

Moderators: cheriff, TyRaNiD

Post Reply
floorball92
Posts: 30
Joined: Sat Apr 05, 2008 5:53 am
Location: Germany -> Hessen -> Hanau
Contact:

Save Images and Sound in .PBP

Post by floorball92 »

Hey Guys,

can someone tell me, how to save the sounds and Images and maybe .txt Files ( not so important ) in an EBOOT?? There are so much EBOOT' s using Images, where no Images are in the flder, so Iit can' t be so difficult, I think
Image
kralyk
Posts: 114
Joined: Sun Apr 06, 2008 8:18 pm
Location: Czech Republic, central EU

Post by kralyk »

Maybe this could help:

http://www.pdc.me.uk/pbpunpacker.php?

(source included)
floorball92
Posts: 30
Joined: Sat Apr 05, 2008 5:53 am
Location: Germany -> Hessen -> Hanau
Contact:

Post by floorball92 »

I only could find, how to put a preview pic and something like this in the homebrew, but not, how to storage the images used in the Homebrew in the EBOOT.

If they explain how to do this, but I have overreden it, please tell me.
Image
angelo
Posts: 168
Joined: Wed Aug 29, 2007 9:34 pm

Requires editing C

Post by angelo »

It requires you editing the C code. You have to encrypt the file into a C file then make a function for the program to decyrpt it and output it.

Personaly, you're better of reading it from the MS.

Don't ask me how to do it... I can't code.
Insert_witty_name
Posts: 376
Joined: Wed May 10, 2006 11:31 pm

Post by Insert_witty_name »

The external files are compiled into the EBOOT using bin2c or bin2o.
Viper8896
Posts: 110
Joined: Thu Jan 26, 2006 6:20 pm

Post by Viper8896 »

I think you're looking for this http://forums.ps2dev.org/viewtopic.php?t=8736
Art
Posts: 642
Joined: Wed Nov 09, 2005 8:01 am

Post by Art »

Here's a thread that sort of explains it:
http://forums.ps2dev.org/viewtopic.php? ... ight=eboot


but it didn't really help me until I was given the working example in this thread:
http://forums.qj.net/f-developers-dunge ... page3.html

Sound works the same if you can store a PCM sample in an array,
and then read it with a sample player at runtime.

It is fairly easy in hindsight.
Art.
If not actually, then potentially.
Post Reply