| View previous topic :: View next topic |
| Author |
Message |
ChaosKnight

Joined: 14 Apr 2005 Posts: 142 Location: Florida, USA
|
Posted: Thu Apr 14, 2005 6:13 am Post subject: PBP Notes (Because there are a lot of PBP Questions) |
|
|
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 |
|
 |
MelGibson
Joined: 10 Apr 2005 Posts: 58
|
|
| Back to top |
|
 |
th3count
Joined: 14 Apr 2005 Posts: 7
|
Posted: Thu Apr 14, 2005 1:11 pm Post subject: |
|
|
| what would putting this firmware on a US PSP do? change everything to japanese language? |
|
| Back to top |
|
 |
jyopp
Joined: 14 Apr 2005 Posts: 2 Location: Central Florida, USA
|
Posted: Thu Apr 14, 2005 2:14 pm Post subject: UNKNOWN.PNG |
|
|
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 |
|
 |
ChaosKnight

Joined: 14 Apr 2005 Posts: 142 Location: Florida, USA
|
Posted: Thu Apr 14, 2005 9:37 pm Post subject: |
|
|
Awesome work figuring out that resolution. I like the 1 up mushroom too. _________________ w00t |
|
| Back to top |
|
 |
jyopp
Joined: 14 Apr 2005 Posts: 2 Location: Central Florida, USA
|
Posted: Sun Apr 17, 2005 5:01 am Post subject: zLib Compression... |
|
|
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 |
|
 |
MelGibson
Joined: 10 Apr 2005 Posts: 58
|
Posted: Sun Apr 17, 2005 5:35 am Post subject: |
|
|
I think besides PSAR in the header there is no other textstring inside the archive
505341520200000020DE9A0001000000 PSAR.... ....... |
|
| Back to top |
|
 |
ChaosKnight

Joined: 14 Apr 2005 Posts: 142 Location: Florida, USA
|
Posted: Sun Apr 17, 2005 2:47 pm Post subject: |
|
|
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 |
|
 |
|