Code:
# Metal Gear Solid: Peace Walker PSP (*.pdt)
# script for QuickBMS http://aluigi.org/papers.htm#quickbms
get FILESIZE asize
get DUMMY long
filexor 0x4d
goto 0x800
for i = 0
savepos BLOCK_OFFSET
if BLOCK_OFFSET >= FILESIZE
cleanexit
endif
getdstring DUMMY 4
get BLOCK_SIZE long
getdstring DUMMY 0x18
getdstring NAME 0x10
getdstring DUMMY 0x20
get SIZE long
savepos OFFSET
string NAME += "_"
string NAME += i
string NAME += ".wav"
log NAME OFFSET SIZE
math BLOCK_OFFSET += BLOCK_SIZE
goto BLOCK_OFFSET
next i