Actually, I dont think I used unpack for the stats... :P
Code:
array($stats);
$stats['str'] = hexdec(bin2hex(substr($row[0],123,1)));
$stats['sta'] = hexdec(bin2hex(substr($row[0],124,1)));
$stats['cha'] = hexdec(bin2hex(substr($row[0],125,1)));
...
Hope that helps (that was before I found out about pack/unpack)