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 

Package Image/data files in EBOOT.PBP?

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



Joined: 08 Jul 2008
Posts: 5

PostPosted: Thu Jul 10, 2008 9:05 pm    Post subject: Package Image/data files in EBOOT.PBP? Reply with quote

My psp application uses some images(png) and some other data files. Is there some way that I can package those files inside the EBOOT.PBP and access them from my program. I want to be still able to use normal file I/O functions on these packaged files. I see Sony updates inlude a .psar file. Can we create PSAR like files and access them from our programs?
Back to top
View user's profile Send private message
jean



Joined: 05 Jan 2008
Posts: 489

PostPosted: Thu Jul 10, 2008 9:32 pm    Post subject: Reply with quote

if you browse the sdk's examples directory, you'll see that some of them uses gcc linker to link a file (image, sound, text,...) into executable. If you rely to that examples, you can handle things like they're already in memory (well, in fact they _are_ from the moment PBP gets loaded). For what concerns sony's software platform for accessing PSAR, well, i don't know (and honestly don't care).
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