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 

PBP Notes (Because there are a lot of PBP Questions)

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



Joined: 14 Apr 2005
Posts: 142
Location: Florida, USA

PostPosted: Thu Apr 14, 2005 6:13 am    Post subject: PBP Notes (Because there are a lot of PBP Questions) Reply with quote

The PBP is an uncompressed archive file, the contents are thusly:

PARAM.SFO - You can change what's in here to modify text and region codes etc...

ICON0.PNG - A PNG that's displayed as the game / game save icon. (144x80 px)

ICON1.PMF - A video icon file. It's encoded with AVS.

UNKNOWN.PNG - A larger icon sits in the lower right corner of the screen. (Don't know pixel dimensions but it's considerably bigger than ICON0.PNG)

PIC1.PNG - Background image (480x272px)

SND0.AT3 - An ATRAC3 encoded wav file. Plays while you have the icon selected.

UNKNOWN.PSP - The PSP Executable? (Encrypted/Compressed)?

UNKNOWN.PSPAR - An archive containing a filesystem? (Encrypted/Compressed)?

----

So far there are several programs for editing these files. They are all mentioned on these forums, look around and see what suits you best. PDC made a very nice looking one, and mine has a PARAM.SFO editor and PNG preview, I know there is at least one more but I haven't used it personally.

----

This list may be inaccurate / incomplete, feel free to post updates/fixes.

Thanks.
_________________
w00t
Back to top
View user's profile Send private message AIM Address Yahoo Messenger
MelGibson



Joined: 10 Apr 2005
Posts: 58

PostPosted: Thu Apr 14, 2005 8:26 am    Post subject: Reply with quote

This doesn't concern the PBP file format directly, but the link to the recent firmware EBOOT.PBP contains the MD5 checksum of the file...


http://dj01.psp.update.playstation.org/update/jp/2005_0324_e32eb27980ba8b291eb803e3397e4b24/EBOOT.PBP

e32eb27980ba8b291eb803e3397e4b24 being the MD5 checksum of EBOOT.PBP
Back to top
View user's profile Send private message
th3count



Joined: 14 Apr 2005
Posts: 7

PostPosted: Thu Apr 14, 2005 1:11 pm    Post subject: Reply with quote

what would putting this firmware on a US PSP do? change everything to japanese language?
Back to top
View user's profile Send private message
jyopp



Joined: 14 Apr 2005
Posts: 2
Location: Central Florida, USA

PostPosted: Thu Apr 14, 2005 2:14 pm    Post subject: UNKNOWN.PNG Reply with quote

Okay, I spent a few minutes playing with UNKNOWN.PNG to find its size, and found out two (hopefully) useful things. I created a file with a 1-pixel checkerboard pattern (the old-school "50% Grey"), inserted it into an EBOOT.PBP file, and sized it to the display area by counting up visible artifacts.

1. The size of the image appears to be (310x180px).
2. The internal representation of this image is probably done by loading it as a (compressed) texture into the graphics accelerator -- even with no stretch artifacts (which appear as gradiated bars / diamonds), there is still some distortion, seen as overlapping dark/light regions on the image...

(The effect you see on the grey panel is in the PSP, not the camera.)
Back to top
View user's profile Send private message
ChaosKnight



Joined: 14 Apr 2005
Posts: 142
Location: Florida, USA

PostPosted: Thu Apr 14, 2005 9:37 pm    Post subject: Reply with quote

Awesome work figuring out that resolution. I like the 1 up mushroom too.
_________________
w00t
Back to top
View user's profile Send private message AIM Address Yahoo Messenger
jyopp



Joined: 14 Apr 2005
Posts: 2
Location: Central Florida, USA

PostPosted: Sun Apr 17, 2005 5:01 am    Post subject: zLib Compression... Reply with quote

I don't remember what thread the comment was in, but ChaosKnight said something about the PSAR file looking zlib-compressed...

I'm working on a simple program to probe the files for obvious compression methods. So far, we can rule out simple zlib compression. I scratched the original program together in Delphi, so it's very slow. I'm going to rewrite it in gcc as a command-line tool, and start changing out the compression/decompression libraries for other possiblities (like gzip or bz2) as time permits, to see if we can get some worthwhile data out of them.

Is there a text string I can search for in the PSAR file?
Back to top
View user's profile Send private message
MelGibson



Joined: 10 Apr 2005
Posts: 58

PostPosted: Sun Apr 17, 2005 5:35 am    Post subject: Reply with quote

I think besides PSAR in the header there is no other textstring inside the archive

505341520200000020DE9A0001000000 PSAR.... .......
Back to top
View user's profile Send private message
ChaosKnight



Joined: 14 Apr 2005
Posts: 142
Location: Florida, USA

PostPosted: Sun Apr 17, 2005 2:47 pm    Post subject: Reply with quote

Mel Gibson is right. Also, I'm pretty confident that although the file may or may not be compressed, it is most definately encrypted. So sorry jyopp, you program will likely not work with any decompression algorithm.

It would be pretty careless of Sony to not encrypt the firmware.
_________________
w00t
Back to top
View user's profile Send private message AIM Address Yahoo Messenger
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