public ScenarioFunctionBlock(BinaryReader binaryReader)
 {
     this.flags = (Flags)binaryReader.ReadInt32();
     this.name = binaryReader.ReadString32();
     this.periodSecondsPeriodForAboveFunctionLowerValuesMakeFunctionOscillateQuicklyHigherValuesMakeItOscillateSlowly = binaryReader.ReadSingle();
     this.scalePeriodByMultiplyThisFunctionByAbovePeriod = binaryReader.ReadShortBlockIndex1();
     this.function = (Function)binaryReader.ReadInt16();
     this.scaleFunctionByMultiplyThisFunctionByResultOfAboveFunction = binaryReader.ReadShortBlockIndex1();
     this.wobbleFunctionCurveUsedForWobble = (WobbleFunctionCurveUsedForWobble)binaryReader.ReadInt16();
     this.wobblePeriodSecondsTimeItTakesForMagnitudeOfThisFunctionToCompleteAWobble = binaryReader.ReadSingle();
     this.wobbleMagnitudePercentAmountOfRandomWobbleInTheMagnitude = binaryReader.ReadSingle();
     this.squareWaveThresholdIfNonZeroAllValuesAboveSquareWaveThresholdAreSnappedTo10AndAllValuesBelowItAreSnappedTo00ToCreateASquareWave = binaryReader.ReadSingle();
     this.stepCountNumberOfDiscreteValuesToSnapToEGStepCountOf5SnapsFunctionTo000025050075Or100 = binaryReader.ReadInt16();
     this.mapTo = (MapTo)binaryReader.ReadInt16();
     this.sawtoothCountNumberOfTimesThisFunctionShouldRepeatEGSawtoothCountOf5GivesFunctionValueOf10AtEachOf025050And075AsWellAsAt10 = binaryReader.ReadInt16();
     this.padding = binaryReader.ReadBytes(2);
     this.scaleResultByMultiplyThisFunctionEGFromAWeaponVehicleFinalResultOfAllOfTheAboveMath = binaryReader.ReadShortBlockIndex1();
     this.boundsModeControlsHowBoundsBelowAreUsed = (BoundsModeControlsHowBoundsBelowAreUsed)binaryReader.ReadInt16();
     this.bounds = binaryReader.ReadSingle();
     this.padding0 = binaryReader.ReadBytes(4);
     this.padding1 = binaryReader.ReadBytes(2);
     this.turnOffWithIfSpecifiedFunctionIsOffSoIsThisFunction = binaryReader.ReadShortBlockIndex1();
     this.padding2 = binaryReader.ReadBytes(16);
     this.padding3 = binaryReader.ReadBytes(16);
 }
 public TriggersBlock(BinaryReader binaryReader)
 {
     this.name = binaryReader.ReadString32();
     this.triggerFlags = (TriggerFlags)binaryReader.ReadInt32();
     this.combinationRule = (CombinationRule)binaryReader.ReadInt16();
     this.padding = binaryReader.ReadBytes(2);
     {
         var count = binaryReader.ReadInt32();
         var address = binaryReader.ReadInt32();
         var elementSize = Marshal.SizeOf(typeof(OrderCompletionCondition));
         this.conditions = new OrderCompletionCondition[count];
         using (binaryReader.BaseStream.Pin())
         {
             for (int i = 0; i < count; ++i)
             {
                 binaryReader.BaseStream.Position = address + i * elementSize;
                 this.conditions[i] = new OrderCompletionCondition(binaryReader);
             }
         }
     }
 }
 public StructureBspSoundEnvironmentPaletteBlock(BinaryReader binaryReader)
 {
     this.name = binaryReader.ReadString32();
     this.soundEnvironment = binaryReader.ReadTagReference();
     this.cutoffDistance = binaryReader.ReadSingle();
     this.interpolationSpeed1Sec = binaryReader.ReadSingle();
     this.padding = binaryReader.ReadBytes(24);
 }
 public ScenarioCutsceneFlagBlock(BinaryReader binaryReader)
 {
     this.padding = binaryReader.ReadBytes(4);
     this.name = binaryReader.ReadString32();
     this.position = binaryReader.ReadVector3();
     this.facing = binaryReader.ReadVector2();
 }
 public OrdersBlock(BinaryReader binaryReader)
 {
     this.name = binaryReader.ReadString32();
     this.style = binaryReader.ReadShortBlockIndex1();
     this.padding = binaryReader.ReadBytes(2);
     this.flags = (Flags)binaryReader.ReadInt32();
     this.forceCombatStatus = (ForceCombatStatus)binaryReader.ReadInt16();
     this.padding0 = binaryReader.ReadBytes(2);
     this.entryScript = binaryReader.ReadString32();
     this.skip1 = binaryReader.ReadBytes(2);
     this.followSquad = binaryReader.ReadShortBlockIndex1();
     this.followRadius = binaryReader.ReadSingle();
     {
         var count = binaryReader.ReadInt32();
         var address = binaryReader.ReadInt32();
         var elementSize = Marshal.SizeOf(typeof(ZoneSetBlock));
         this.primaryAreaSet = new ZoneSetBlock[count];
         using (binaryReader.BaseStream.Pin())
         {
             for (int i = 0; i < count; ++i)
             {
                 binaryReader.BaseStream.Position = address + i * elementSize;
                 this.primaryAreaSet[i] = new ZoneSetBlock(binaryReader);
             }
         }
     }
     {
         var count = binaryReader.ReadInt32();
         var address = binaryReader.ReadInt32();
         var elementSize = Marshal.SizeOf(typeof(SecondaryZoneSetBlock));
         this.secondaryAreaSet = new SecondaryZoneSetBlock[count];
         using (binaryReader.BaseStream.Pin())
         {
             for (int i = 0; i < count; ++i)
             {
                 binaryReader.BaseStream.Position = address + i * elementSize;
                 this.secondaryAreaSet[i] = new SecondaryZoneSetBlock(binaryReader);
             }
         }
     }
     {
         var count = binaryReader.ReadInt32();
         var address = binaryReader.ReadInt32();
         var elementSize = Marshal.SizeOf(typeof(SecondarySetTriggerBlock));
         this.secondarySetTrigger = new SecondarySetTriggerBlock[count];
         using (binaryReader.BaseStream.Pin())
         {
             for (int i = 0; i < count; ++i)
             {
                 binaryReader.BaseStream.Position = address + i * elementSize;
                 this.secondarySetTrigger[i] = new SecondarySetTriggerBlock(binaryReader);
             }
         }
     }
     {
         var count = binaryReader.ReadInt32();
         var address = binaryReader.ReadInt32();
         var elementSize = Marshal.SizeOf(typeof(SpecialMovementBlock));
         this.specialMovement = new SpecialMovementBlock[count];
         using (binaryReader.BaseStream.Pin())
         {
             for (int i = 0; i < count; ++i)
             {
                 binaryReader.BaseStream.Position = address + i * elementSize;
                 this.specialMovement[i] = new SpecialMovementBlock(binaryReader);
             }
         }
     }
     {
         var count = binaryReader.ReadInt32();
         var address = binaryReader.ReadInt32();
         var elementSize = Marshal.SizeOf(typeof(OrderEndingBlock));
         this.orderEndings = new OrderEndingBlock[count];
         using (binaryReader.BaseStream.Pin())
         {
             for (int i = 0; i < count; ++i)
             {
                 binaryReader.BaseStream.Position = address + i * elementSize;
                 this.orderEndings[i] = new OrderEndingBlock(binaryReader);
             }
         }
     }
 }
 public HsGlobalsBlock(BinaryReader binaryReader)
 {
     this.name = binaryReader.ReadString32();
     this.type = (Type)binaryReader.ReadInt16();
     this.padding = binaryReader.ReadBytes(2);
     this.initializationExpressionIndex = binaryReader.ReadInt32();
 }
 public CsPointBlock(BinaryReader binaryReader)
 {
     this.name = binaryReader.ReadString32();
     this.position = binaryReader.ReadVector3();
     this.referenceFrame = binaryReader.ReadInt16();
     this.padding = binaryReader.ReadBytes(2);
     this.surfaceIndex = binaryReader.ReadInt32();
     this.facingDirection = binaryReader.ReadVector2();
 }
 public SquadGroupsBlock(BinaryReader binaryReader)
 {
     this.name = binaryReader.ReadString32();
     this.parent = binaryReader.ReadShortBlockIndex1();
     this.initialOrders = binaryReader.ReadShortBlockIndex1();
 }
 public ActorStartingLocationsBlock(BinaryReader binaryReader)
 {
     this.name = binaryReader.ReadStringID();
     this.position = binaryReader.ReadVector3();
     this.referenceFrame = binaryReader.ReadInt16();
     this.padding = binaryReader.ReadBytes(2);
     this.facingYawPitchDegrees = binaryReader.ReadVector2();
     this.flags = (Flags)binaryReader.ReadInt32();
     this.characterType = binaryReader.ReadShortBlockIndex1();
     this.initialWeapon = binaryReader.ReadShortBlockIndex1();
     this.initialSecondaryWeapon = binaryReader.ReadShortBlockIndex1();
     this.padding0 = binaryReader.ReadBytes(2);
     this.vehicleType = binaryReader.ReadShortBlockIndex1();
     this.seatType = (SeatType)binaryReader.ReadInt16();
     this.grenadeType = (GrenadeType)binaryReader.ReadInt16();
     this.swarmCountNumberOfCreturesInSwarmIfASwarmIsSpawnedAtThisLocation = binaryReader.ReadInt16();
     this.actorVariantName = binaryReader.ReadStringID();
     this.vehicleVariantName = binaryReader.ReadStringID();
     this.initialMovementDistanceBeforeDoingAnythingElseTheActorWillTravelTheGivenDistanceInItsForwardDirection = binaryReader.ReadSingle();
     this.emitterVehicle = binaryReader.ReadShortBlockIndex1();
     this.initialMovementMode = (InitialMovementMode)binaryReader.ReadInt16();
     this.placementScript = binaryReader.ReadString32();
     this.skip1 = binaryReader.ReadBytes(2);
     this.padding2 = binaryReader.ReadBytes(2);
 }
Example #10
0
 public ScenarioProfilesBlock(BinaryReader binaryReader)
 {
     this.name = binaryReader.ReadString32();
     this.startingHealthDamage01 = binaryReader.ReadSingle();
     this.startingShieldDamage01 = binaryReader.ReadSingle();
     this.primaryWeapon = binaryReader.ReadTagReference();
     this.roundsLoaded = binaryReader.ReadInt16();
     this.roundsTotal = binaryReader.ReadInt16();
     this.secondaryWeapon = binaryReader.ReadTagReference();
     this.roundsLoaded0 = binaryReader.ReadInt16();
     this.roundsTotal0 = binaryReader.ReadInt16();
     this.startingFragmentationGrenadeCount = binaryReader.ReadByte();
     this.startingPlasmaGrenadeCount = binaryReader.ReadByte();
     this.startingUnknownGrenadeCount = binaryReader.ReadByte();
     this.startingUnknownGrenadeCount0 = binaryReader.ReadByte();
 }
Example #11
0
 public RecordedAnimationBlock(BinaryReader binaryReader)
 {
     this.name = binaryReader.ReadString32();
     this.version = binaryReader.ReadByte();
     this.rawAnimationData = binaryReader.ReadByte();
     this.unitControlDataVersion = binaryReader.ReadByte();
     this.padding = binaryReader.ReadByte();
     this.lengthOfAnimationTicks = binaryReader.ReadInt16();
     this.padding0 = binaryReader.ReadBytes(2);
     this.padding1 = binaryReader.ReadBytes(4);
     this.paddingrecordedAnimationEventStream = binaryReader.ReadBytes(8);
 }
Example #12
0
 public DeviceGroupBlock(BinaryReader binaryReader)
 {
     this.name = binaryReader.ReadString32();
     this.initialValue01 = binaryReader.ReadSingle();
     this.flags = (Flags)binaryReader.ReadInt32();
 }
Example #13
0
 public ScenarioObjectNamesBlock(BinaryReader binaryReader)
 {
     this.name = binaryReader.ReadString32();
     this.eMPTYSTRING = binaryReader.ReadShortBlockIndex1();
     this.eMPTYSTRING0 = binaryReader.ReadShortBlockIndex2();
 }
Example #14
0
 public EditorCommentBlock(BinaryReader binaryReader)
 {
     this.position = binaryReader.ReadVector3();
     this.type = (Type)binaryReader.ReadInt32();
     this.name = binaryReader.ReadString32();
     this.comment = binaryReader.ReadString256();
 }
Example #15
0
 public AiConversationBlock(BinaryReader binaryReader)
 {
     this.name = binaryReader.ReadString32();
     this.flags = (Flags)binaryReader.ReadInt16();
     this.padding = binaryReader.ReadBytes(2);
     this.triggerDistanceWorldUnitsDistanceThePlayerMustEnterBeforeTheConversationCanTrigger = binaryReader.ReadSingle();
     this.runToPlayerDistWorldUnitsIfTheInvolvesPlayerFlagIsSetWhenTriggeredTheConversationsParticipantSWillRunToWithinThisDistanceOfThePlayer = binaryReader.ReadSingle();
     this.padding0 = binaryReader.ReadBytes(36);
     {
         var count = binaryReader.ReadInt32();
         var address = binaryReader.ReadInt32();
         var elementSize = Marshal.SizeOf(typeof(AiConversationParticipantBlock));
         this.participants = new AiConversationParticipantBlock[count];
         using (binaryReader.BaseStream.Pin())
         {
             for (int i = 0; i < count; ++i)
             {
                 binaryReader.BaseStream.Position = address + i * elementSize;
                 this.participants[i] = new AiConversationParticipantBlock(binaryReader);
             }
         }
     }
     {
         var count = binaryReader.ReadInt32();
         var address = binaryReader.ReadInt32();
         var elementSize = Marshal.SizeOf(typeof(AiConversationLineBlock));
         this.lines = new AiConversationLineBlock[count];
         using (binaryReader.BaseStream.Pin())
         {
             for (int i = 0; i < count; ++i)
             {
                 binaryReader.BaseStream.Position = address + i * elementSize;
                 this.lines[i] = new AiConversationLineBlock(binaryReader);
             }
         }
     }
     {
         var count = binaryReader.ReadInt32();
         var address = binaryReader.ReadInt32();
         var elementSize = Marshal.SizeOf(typeof(GNullBlock));
         this.gNullBlock = new GNullBlock[count];
         using (binaryReader.BaseStream.Pin())
         {
             for (int i = 0; i < count; ++i)
             {
                 binaryReader.BaseStream.Position = address + i * elementSize;
                 this.gNullBlock[i] = new GNullBlock(binaryReader);
             }
         }
     }
 }
Example #16
0
 public SquadsBlock(BinaryReader binaryReader)
 {
     this.name = binaryReader.ReadString32();
     this.flags = (Flags)binaryReader.ReadInt32();
     this.team = (Team)binaryReader.ReadInt16();
     this.parent = binaryReader.ReadShortBlockIndex1();
     this.squadDelayTimeSeconds = binaryReader.ReadSingle();
     this.normalDiffCountInitialNumberOfActorsOnNormalDifficulty = binaryReader.ReadInt16();
     this.insaneDiffCountInitialNumberOfActorsOnInsaneDifficultyHardDifficultyIsMidwayBetweenNormalAndInsane = binaryReader.ReadInt16();
     this.majorUpgrade = (MajorUpgrade)binaryReader.ReadInt16();
     this.padding = binaryReader.ReadBytes(2);
     this.vehicleType = binaryReader.ReadShortBlockIndex1();
     this.characterType = binaryReader.ReadShortBlockIndex1();
     this.initialZone = binaryReader.ReadShortBlockIndex1();
     this.padding0 = binaryReader.ReadBytes(2);
     this.initialWeapon = binaryReader.ReadShortBlockIndex1();
     this.initialSecondaryWeapon = binaryReader.ReadShortBlockIndex1();
     this.grenadeType = (GrenadeType)binaryReader.ReadInt16();
     this.initialOrder = binaryReader.ReadShortBlockIndex1();
     this.vehicleVariant = binaryReader.ReadStringID();
     {
         var count = binaryReader.ReadInt32();
         var address = binaryReader.ReadInt32();
         var elementSize = Marshal.SizeOf(typeof(ActorStartingLocationsBlock));
         this.startingLocations = new ActorStartingLocationsBlock[count];
         using (binaryReader.BaseStream.Pin())
         {
             for (int i = 0; i < count; ++i)
             {
                 binaryReader.BaseStream.Position = address + i * elementSize;
                 this.startingLocations[i] = new ActorStartingLocationsBlock(binaryReader);
             }
         }
     }
     this.placementScript = binaryReader.ReadString32();
     this.skip1 = binaryReader.ReadBytes(2);
     this.padding2 = binaryReader.ReadBytes(2);
 }
Example #17
0
 public HsScriptsBlock(BinaryReader binaryReader)
 {
     this.name = binaryReader.ReadString32();
     this.scriptType = (ScriptType)binaryReader.ReadInt16();
     this.returnType = (ReturnType)binaryReader.ReadInt16();
     this.rootExpressionIndex = binaryReader.ReadInt32();
 }
Example #18
0
 public AreasBlock(BinaryReader binaryReader)
 {
     this.name = binaryReader.ReadString32();
     this.areaFlags = (AreaFlags)binaryReader.ReadInt32();
     this.skip = binaryReader.ReadBytes(20);
     this.skip0 = binaryReader.ReadBytes(4);
     this.padding1 = binaryReader.ReadBytes(64);
     this.manualReferenceFrame = binaryReader.ReadInt16();
     this.padding2 = binaryReader.ReadBytes(2);
     {
         var count = binaryReader.ReadInt32();
         var address = binaryReader.ReadInt32();
         var elementSize = Marshal.SizeOf(typeof(FlightReferenceBlock));
         this.flightHints = new FlightReferenceBlock[count];
         using (binaryReader.BaseStream.Pin())
         {
             for (int i = 0; i < count; ++i)
             {
                 binaryReader.BaseStream.Position = address + i * elementSize;
                 this.flightHints[i] = new FlightReferenceBlock(binaryReader);
             }
         }
     }
 }
Example #19
0
 public HsSourceFilesBlock(BinaryReader binaryReader)
 {
     this.name = binaryReader.ReadString32();
     this.paddingsource = binaryReader.ReadBytes(8);
 }
Example #20
0
 public ZoneBlock(BinaryReader binaryReader)
 {
     this.name = binaryReader.ReadString32();
     this.flags = (Flags)binaryReader.ReadInt32();
     this.manualBsp = binaryReader.ReadShortBlockIndex1();
     this.padding = binaryReader.ReadBytes(2);
     {
         var count = binaryReader.ReadInt32();
         var address = binaryReader.ReadInt32();
         var elementSize = Marshal.SizeOf(typeof(FiringPositionsBlock));
         this.firingPositions = new FiringPositionsBlock[count];
         using (binaryReader.BaseStream.Pin())
         {
             for (int i = 0; i < count; ++i)
             {
                 binaryReader.BaseStream.Position = address + i * elementSize;
                 this.firingPositions[i] = new FiringPositionsBlock(binaryReader);
             }
         }
     }
     {
         var count = binaryReader.ReadInt32();
         var address = binaryReader.ReadInt32();
         var elementSize = Marshal.SizeOf(typeof(AreasBlock));
         this.areas = new AreasBlock[count];
         using (binaryReader.BaseStream.Pin())
         {
             for (int i = 0; i < count; ++i)
             {
                 binaryReader.BaseStream.Position = address + i * elementSize;
                 this.areas[i] = new AreasBlock(binaryReader);
             }
         }
     }
 }
Example #21
0
 public CsPointSetBlock(BinaryReader binaryReader)
 {
     this.name = binaryReader.ReadString32();
     {
         var count = binaryReader.ReadInt32();
         var address = binaryReader.ReadInt32();
         var elementSize = Marshal.SizeOf(typeof(CsPointBlock));
         this.points = new CsPointBlock[count];
         using (binaryReader.BaseStream.Pin())
         {
             for (int i = 0; i < count; ++i)
             {
                 binaryReader.BaseStream.Position = address + i * elementSize;
                 this.points[i] = new CsPointBlock(binaryReader);
             }
         }
     }
     this.bspIndex = binaryReader.ReadShortBlockIndex1();
     this.manualReferenceFrame = binaryReader.ReadInt16();
     this.flags = (Flags)binaryReader.ReadInt32();
 }
Example #22
0
 public AiAnimationReferenceBlock(BinaryReader binaryReader)
 {
     this.animationName = binaryReader.ReadString32();
     this.animationGraphLeaveThisBlankToUseTheUnitsNormalAnimationGraph = binaryReader.ReadTagReference();
     this.padding = binaryReader.ReadBytes(12);
 }
Example #23
0
 public ScenarioCutsceneCameraPointBlock(BinaryReader binaryReader)
 {
     this.flags = (Flags)binaryReader.ReadInt16();
     this.type = (Type)binaryReader.ReadInt16();
     this.name = binaryReader.ReadString32();
     this.position = binaryReader.ReadVector3();
     this.orientation = binaryReader.ReadVector3();
     this.unused = binaryReader.ReadSingle();
 }
Example #24
0
 public AiScriptReferenceBlock(BinaryReader binaryReader)
 {
     this.scriptName = binaryReader.ReadString32();
     this.padding = binaryReader.ReadBytes(8);
 }
Example #25
0
 public OrderCompletionCondition(BinaryReader binaryReader)
 {
     this.ruleType = (RuleType)binaryReader.ReadInt16();
     this.squad = binaryReader.ReadShortBlockIndex1();
     this.squadGroup = binaryReader.ReadShortBlockIndex1();
     this.a = binaryReader.ReadInt16();
     this.x = binaryReader.ReadSingle();
     this.triggerVolume = binaryReader.ReadShortBlockIndex1();
     this.padding = binaryReader.ReadBytes(2);
     this.exitConditionScript = binaryReader.ReadString32();
     this.invalidName_0 = binaryReader.ReadInt16();
     this.padding1 = binaryReader.ReadBytes(2);
     this.flags = (Flags)binaryReader.ReadInt32();
 }
Example #26
0
 public AiRecordingReferenceBlock(BinaryReader binaryReader)
 {
     this.recordingName = binaryReader.ReadString32();
     this.padding = binaryReader.ReadBytes(8);
 }
Example #27
0
 public StructureBspBackgroundSoundPaletteBlock(BinaryReader binaryReader)
 {
     this.name = binaryReader.ReadString32();
     this.backgroundSound = binaryReader.ReadTagReference();
     this.insideClusterSoundPlayOnlyWhenPlayerIsInsideCluster = binaryReader.ReadTagReference();
     this.padding = binaryReader.ReadBytes(20);
     this.cutoffDistance = binaryReader.ReadSingle();
     this.scaleFlags = (ScaleFlags)binaryReader.ReadInt32();
     this.interiorScale = binaryReader.ReadSingle();
     this.portalScale = binaryReader.ReadSingle();
     this.exteriorScale = binaryReader.ReadSingle();
     this.interpolationSpeed1Sec = binaryReader.ReadSingle();
     this.padding0 = binaryReader.ReadBytes(8);
 }
Example #28
0
 public AiConversationParticipantBlock(BinaryReader binaryReader)
 {
     this.padding = binaryReader.ReadBytes(8);
     this.useThisObjectIfAUnitWithThisNameExistsWeTryToPickThemToStartTheConversation = binaryReader.ReadShortBlockIndex1();
     this.setNewNameOnceWePickAUnitWeNameItThis = binaryReader.ReadShortBlockIndex1();
     this.padding0 = binaryReader.ReadBytes(12);
     this.padding1 = binaryReader.ReadBytes(12);
     this.encounterName = binaryReader.ReadString32();
     this.padding2 = binaryReader.ReadBytes(4);
     this.padding3 = binaryReader.ReadBytes(12);
 }
Example #29
0
 public StructureBspWeatherPaletteBlock(BinaryReader binaryReader)
 {
     this.name = binaryReader.ReadString32();
     this.weatherSystem = binaryReader.ReadTagReference();
     this.padding = binaryReader.ReadBytes(2);
     this.padding0 = binaryReader.ReadBytes(2);
     this.padding1 = binaryReader.ReadBytes(32);
     this.wind = binaryReader.ReadTagReference();
     this.windDirection = binaryReader.ReadVector3();
     this.windMagnitude = binaryReader.ReadSingle();
     this.padding2 = binaryReader.ReadBytes(4);
     this.windScaleFunction = binaryReader.ReadString32();
 }
 public GlobalTagImportInfoBlock(BinaryReader binaryReader)
 {
     this.build = binaryReader.ReadInt32();
     this.version = binaryReader.ReadString256();
     this.importDate = binaryReader.ReadString32();
     this.culprit = binaryReader.ReadString32();
     this.padding = binaryReader.ReadBytes(96);
     this.importTime = binaryReader.ReadString32();
     this.padding0 = binaryReader.ReadBytes(4);
     this.files = ReadFiles(binaryReader);
     this.padding1 = binaryReader.ReadBytes(128);
 }