KRC file format parse