The ls file holds offset data into the DT archive. It's linked to the file data via the filepath's crc. The Version 2 of the ls file added 2 new fields, the dt index and (what seems to be) the padding preceding the actual data. Indexed dt files were important for wiiu version mainly. All of this really is just to help me prepare structs and classes for repacking.
Code:
public struct LSEntry_v1
{
public uint _crc;
public uint _start;
public uint _size;
}
public struct LSEntry_v2
{
public uint _crc;
public uint _start;
public uint _size;
public short _dtIndex;
public short _padlen;
}