This is the structure for reading the SKILLPACKAGE.xsp file. Thought I posted this already but apparently I didn't.
010 editor template attached below.
Code:
typedef struct
{
int category;
short id;
} skillItem_t;
typedef struct
{
char pkgName[ 32 ];
int skillCount;
skillItem_t skillItem[ skillCount ];
} skillPackage_t;
struct
{
int pkgCount;
skillPackage_t skillPackage[ pkgCount ];
} theFile;