I'm just wondering like, when i dump a file :

King black dragon , from RSDS data suite

The file gets named 50, because 50 is it's npc ID

How do convert it into a .dat.

I know for exemple in my server that I have some .dat files ( 1300) but i do not hold the npc #1300, it's transparency. That was an exemple.

How do I figure out what's the name the dumped file should be called and how do I get an extension for them to be packed in

Files have no extensions and the inside use this format

case 1329:
cache[j].name = "Black unicorn Foal";
cache[j].componentModels = new int[]{25754};
cache[j].aByte68 = 2;
cache[j].standAnimation = 6374;
cache[j].walkAnimation = 6373;
cache[j].actions = new String[]{null, "Attack", null, null, null};
cache[j].combatLevel = 22;
cache[j].anInt91 = 86;
cache[j].anInt86 = 86;
break;