Code: Select all
CDROM Disk Images PBP (Sony)
----------------------------
PBP Format (rev-engineered from homebrew DBALL.PBP)
000000h 4 ID (00h,"PBP")
000004h 4 Version? (10000h) (but, reportedly "always 100h or 1000100h")
000008h 4 Offset of the file PARAM.SFO (28h)
00000Ch 4 Offset of the file ICON0.PNG (3D8h)
000010h 4 Offset of the file ICON1.PMF (3D8h) or ICON1.PNG
000014h 4 Offset of the file PIC0.PNG (3D8h) or UNKNOWN.PNG
000018h 4 Offset of the file PIC1.PNG (3D8h) or PICT1.PNG
00001Ch 4 Offset of the file SND0.AT3 (3D8h)
000020h 4 Offset of the file DATA.PSP (3D8h)
000024h 4 Offset of the file DATA.PSAR (10000h)
000028h .. PARAM.SFO file (zerofilled in homebrew PBP)
0003D8h .. PNG files etc (zerofilled in homebrew PBP)
010000h 0Ch ID "PSISOIMG0000"
01000Ch 4 PBP Size-10000h (144740h)
010010h 4 PBP Size-6420h (???) (14E320h)
010014h .. Zerofilled
010400h 0Bh Game ID ("_SCUS_94476" for Hot Shots Golf 2)
01040Bh .. Zerofilled
010800h A00h TOC List (0Ah-byte per entry, unused entries are zerofilled)
011200h 20h Zerofilled
011220h 4 PBP Size-D2CFh (???) (147471h)
011224h 4 Zero
011228h 4 Unknown (7FFh)
01122Ch 11h Game Name ("Hot Shots Golf",C2h,AEh,"2")
01123Dh .. Zerofilled
014000h .. Sector List (20h-byte per entry)
... .. Zerofilled
110000h .. Compressed sectors (starting with EDh,9Bh = non-ZLIB deflate?)
15467Dh B8h One extra compression block that is NOT in Sector List ???
154735h 0Bh Weird padding with ASCII "00000000000"
154740h - End of file
TOC List (Subchannel Q with ADR=1 during Lead-In):
000h 1 ADR/Control (eg. 41h=Data Track)
001h 1 Track (always 00h=Lead-in for all TOC List entries)
002h 1 Point (A0h, A1h, A2h, or Track 01h and up) (BCD?)
003h 3 Dummy MSF (usually 00:00:00 or weirdly 00:02:01) (BCD?)
006h 1 Reserved (00h)
007h 3 Actual MSF (or TOC info Point=A0h,A1h) (BCD?)
Example TOC (DBALL.PBP):
41 00 A0 00 00 00 00 01 20 00 ;First Track (1) and Type=20h=CDROM-XA)
41 00 A1 00 00 00 00 01 00 00 ;Last Track Number (1)
41 00 A2 00 00 00 00 27 19 22 ;Lead-Out, uh at 27:19:22 in DBALL.PBP ???
41 00 01 00 02 01 00 00 02 00 ;Track 1 at 00:02:00
(remaining entries are zerofilled)
Sector List:
000h 4 Offset-110000h to Sector(N*10h)
004h 2 Compressed size of Sector(N*10h+(0..0Fh)) ;9300h=uncompressed?
006h 2 Zero (but, reportedly "usually 1... and 0 for the last entry")
008h 10h Zero (but, reportedly "first 10h bytes of SHA1 sum of 10h sectors")
018h 8 Zero (padding)
Data Compression format is unknown:
Reportedly standard zlib ???
but it doesn't have zlib or gzip header?
maybe it's raw deflate`without header?
one tool is using some kind of "sharp" compression?
one tool is using some kind of "lz" compression?
Audio Compression format is unknown:
?
Multi-disc format is unknown:
?
Retail files have "PGD" encryption:
?