public SCS(DuplicatableStream stream, Endianness endian = Endianness.BigEndian, Bitness bits = Bitness.B32, GameTextEncoding encoding = GameTextEncoding.ShiftJIS) { ulong entryCount = stream.ReadUInt(bits, endian); Entries = new List <string>((int)entryCount); for (uint i = 0; i < entryCount; ++i) { ulong offset = stream.ReadUInt(bits, endian); if (offset != 0) { Entries.Add(stream.ReadNulltermStringFromLocationAndReset(offset, encoding)); } else { Entries.Add(null); } } }