private void ReadFromTxt(string fileName)
 {
     foreach (string line in File.ReadAllLines(fileName))
     {
         var vals  = line.Split(',');
         var entry = new ItemBoxContentEntry();
         entry.ID           = Convert.ToByte(vals[0].Trim(), 16);
         vals[1]            = vals[1].Trim();
         entry.BParam1      = Convert.ToByte(vals[1].Substring(0, 2), 16);
         entry.BParam2      = Convert.ToByte(vals[1].Substring(2, 2), 16);
         entry.ModelID      = Convert.ToByte(vals[2].Trim(), 16);
         entry.BehavAddress = Convert.ToUInt32(vals[3].Trim(), 16);
         ContentTable.Add(entry);
     }
 }
        private void Read(BinaryRom rom, uint location)
        {
            int curID = -1;

            rom.Position = location;
            while (rom.ReadUInt64() != (decimal)0x6300000000000000)
            {
                var entry = new ItemBoxContentEntry();
                rom.Position      -= 8;
                curID              = rom.ReadByte();
                entry.ID           = Conversions.ToByte(curID);
                entry.BParam1      = rom.ReadByte();
                entry.BParam2      = rom.ReadByte();
                entry.ModelID      = rom.ReadByte();
                entry.BehavAddress = rom.ReadUInt32();
                ContentTable.Add(entry);
            }
        }