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 

Save Images and Sound in .PBP

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



Joined: 05 Apr 2008
Posts: 30
Location: Germany -> Hessen -> Hanau

PostPosted: Sun Apr 20, 2008 5:50 am    Post subject: Save Images and Sound in .PBP Reply with quote

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
_________________
Back to top
View user's profile Send private message Visit poster's website MSN Messenger
kralyk



Joined: 06 Apr 2008
Posts: 114
Location: Czech Republic, central EU

PostPosted: Sun Apr 20, 2008 6:01 am    Post subject: Reply with quote

Maybe this could help:

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

(source included)
Back to top
View user's profile Send private message
floorball92



Joined: 05 Apr 2008
Posts: 30
Location: Germany -> Hessen -> Hanau

PostPosted: Sun Apr 20, 2008 6:15 am    Post subject: Reply with quote

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.
_________________
Back to top
View user's profile Send private message Visit poster's website MSN Messenger
angelo



Joined: 29 Aug 2007
Posts: 168

PostPosted: Sun Apr 20, 2008 9:13 am    Post subject: Requires editing C Reply with quote

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.
Back to top
View user's profile Send private message Send e-mail MSN Messenger
Insert_witty_name



Joined: 10 May 2006
Posts: 376

PostPosted: Sun Apr 20, 2008 9:48 am    Post subject: Reply with quote

The external files are compiled into the EBOOT using bin2c or bin2o.
Back to top
View user's profile Send private message
Viper8896



Joined: 26 Jan 2006
Posts: 110

PostPosted: Sun Apr 20, 2008 4:33 pm    Post subject: Reply with quote

I think you're looking for this http://forums.ps2dev.org/viewtopic.php?t=8736
Back to top
View user's profile Send private message
Art



Joined: 09 Nov 2005
Posts: 647

PostPosted: Sun Apr 20, 2008 9:02 pm    Post subject: Reply with quote

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


but it didn't really help me until I was given the working example in this thread:
http://forums.qj.net/f-developers-dungeon-47/t-post-some-c-samples-64005/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.
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