This is a snippet from a tool I made back earlier this year that uses displees. But yes, you would be packing the 624/625 for edgeville.
Code:
private fun packMaps(path: Path, cache: CacheLibrary): Boolean {
val maps = cache.getIndex(5)
for (map in Files.walk(path, 1)) {
if (map == path) {
continue
}
val fileName = map.fileName.toString().replace(".dat", "")
val id = fileName.toInt()
val buffer = Files.readAllBytes(map)
maps.getArchive(id, true).addFile(0, buffer, 0)
logger.info("Added $id")
}
if (maps.update()) {
logger.info("Finished packing")
}
return true
}
}