示例#1
0
        public void LoadSection(FileFormats.DRM.Section section)
        {
            //this.Text += ": " + entry.Description;
            this.Data = new byte[section.Data.Length];
            section.Data.Read(this.Data, 0, this.Data.Length);

            this.UpdatePreview();
        }
示例#2
0
        public void LoadSection(FileFormats.DRM.Section section)
        {
            //this.Text += ": " + entry.Description;
            this.Data = new byte[section.Data.Length];
            section.Data.Read(this.Data, 0, this.Data.Length);

            this.tabPage1.Text = "File Info";
            this.tabText1.Text = string.Format("ID:\t{0:X8}\nType:\t{1}\nFilesize:\t{2}", section.Id, section.Type, section.Data.Length);

            this.UpdatePreview();
        }
示例#3
0
        public void LoadSection(FileFormats.DRM.Section section)
        {
            var texture = new FileFormats.PCD9File();

            texture.Deserialize(section.Data);

            this.hintLabel.Text = string.Format(
                "{0} : {1}x{2}",
                texture.Format,
                texture.Width, texture.Height);
            //this.Text += ": " + entry.Description;

            this.Texture = texture;

            this.UpdatePreview(true);
        }
示例#4
0
        public void LoadSection(FileFormats.DRM.Section section)
        {
            var texture = new FileFormats.PCD9File();
            texture.Deserialize(section.Data);

            this.hintLabel.Text = string.Format(
                "{0} : {1}x{2} | Filesize: {3} Bytes",
                texture.Format,
                texture.Width, texture.Height,
                section.Data.Length);
            this.Text += string.Format(": {0:X8}", section.Id);

            this.Texture = texture;
            this.Section = section;

            this.UpdatePreview(true);
        }
示例#5
0
        public void LoadSection(FileFormats.DRM.Section section)
        {
            var texture = new FileFormats.PCD9File();

            texture.Deserialize(section.Data);

            this.hintLabel.Text = string.Format(
                "{0} : {1}x{2} | Filesize: {3} Bytes",
                texture.Format,
                texture.Width, texture.Height,
                section.Data.Length);
            this.Text += string.Format(": {0:X8}", section.Id);

            this.Texture = texture;
            this.Section = section;

            this.UpdatePreview(true);
        }