public static void unpackConfig(Archive container) {
		NpcDefinition.buffer = new Stream(container.get("npc.dat"));
		Stream stream2 = new Stream(container.get("npc.idx"));
		int totalNPCs = stream2.getUnsignedShort();
		NpcDefinition.npcIndices = new int[totalNPCs];
		int i = 2;
		for (int j = 0; j < totalNPCs; j++) {
			NpcDefinition.npcIndices[j] = i;
			i += stream2.getUnsignedShort();
		}
		NpcDefinition.cache = new NpcDefinition[20];
		for (int k = 0; k < 20; k++) {
			NpcDefinition.cache[k] = new NpcDefinition();
		}
	}