Hi there people :) I have been trying to crack the Sony PMF format for a couple of days.. its been tedious but im getting somewhere... ok lets have a look at the Official Sony Gameboot :)
0x00000800 - 000001BA4400053D1D110186A 3F8000001BB000C80C35140F0 7FB9E1EFBDE004000001BF
0x00001000 - 000001BA44000541B6230186A 3F8000001E007EC8100
0x00001800 - 000001BA4400054654DD0186A 3F8000001E007EC8100
0x00002000 - 000001BA4400054AEDEF0186A 3F8000001E007EC8100
0x00002800 - ""
0x00003000 - ""
0x00003800 - ""
0x00004000 - ""
0x00004800 - ""
0x00005000 - ""
0x00005800 - ""
0x00006000 - ""
0x00006800 - ""
0x00007000 - ""
This appears in the Sony Gameboot PMF Every 800Bytes(hex) followed by 200Bytes(hex) with the exception of the first 800Bytes(hex) which has BB000C80C35140F07FB9E1EFB DE004000001BF at the end instead of the shorter version seen in later addresses.
Each frame is made up of 12Kbytes.
This is the very 1st frame of the Sony Gameboot.
To extract a frame you need to use a hex editor. From address 0x00000800 to 0x00003800 is the 1st frame of a gameboot. This is 12Kbytes. To extract the rest of the frames just extract 12Kbytes (12,288 bytes or 3000 hex) after the last frame. Continually do this until you have all frames. :) Note: Only the 1st frame will actually play, to see the rest you need to attatch that frame to the 1st frame. :)
Audio is located towards the end of the PMF file, which is good because we can edit the frames of a gameboot without thw worry of corrupting the Atrac3 stream.
I have tried to replicate these frames without much success so far... the problem lies in how the single frame is encoded... Each frame in a PMF file is 12Kb. The problem I am experiancing is trying to replicate the size of this frame. I have tried to extract one frame from my customized H264 file which is a lot smaller than 12Kb. =\. Increasing the bitrate does not affect this either.
There are 6 checks/headers per frame in a PMF. These can be identified by the following hex code, 00 00 01 BA 44 00. These are not to be overwritten or the PSP will fail to render the stream.
Well thats all I have right now. I will update this thread later on with my findings.