Skip to main content

path.data

path.data is fairly simple. It contains a mapping of ID's to asset paths.

The file starts with 4 bytes representing a timestamp in unix epoch and 4 bytes representing the total number of paths in the file.

Each path consists of a varying number of bytes. The first 4 bytes of a path are the ID, the next 4 bytes are the length of the path in bytes. Reading bytes equivalent to the length will give you a GB2312 encoded string representing the path.

Example snippet of a path.data export.

1,Models\npcs\怪物\植物系\木怪\木怪.ecm
2,Models\npcs\怪物\飞行系\通用蝙蝠怪\通用蝙蝠怪.ecm
3,Models\npcs\怪物\飞行系\大怪鸟\大怪鸟.ecm
4,Models\npcs\怪物\飞行系\吸血蝙蝠怪\吸血蝙蝠怪.ecm
5,Models\npcs\怪物\飞行系\吸血蝙蝠\吸血蝙蝠.ecm
6,Models\npcs\怪物\金属系\铜钱妖\铜钱妖.ecm
7,Models\npcs\怪物\金属系\怪箱子\怪箱子.ecm

An example C# class representing the data.

public class PathData
{
	public Int32 Timestamp { get; set; }
	public Int32 TotalPaths { get; set; }
	public ESOPath[] ESOPaths { get; set; }
}

public class ESOPath : PathData
{
	public Int32 ID { get; set; }
	public Int32 PathLength {get; set;}
	public String? FilePath { get; set; }
}