294 lines
13 KiB
XML
294 lines
13 KiB
XML
<?xml version="1.0" encoding="UTF-8"?>
|
|
|
|
<?import javafx.geometry.Insets?>
|
|
<?import javafx.scene.control.Button?>
|
|
<?import javafx.scene.control.Label?>
|
|
<?import javafx.scene.control.Separator?>
|
|
<?import javafx.scene.layout.AnchorPane?>
|
|
<?import javafx.scene.layout.BorderPane?>
|
|
<?import javafx.scene.layout.ColumnConstraints?>
|
|
<?import javafx.scene.layout.GridPane?>
|
|
<?import javafx.scene.layout.HBox?>
|
|
<?import javafx.scene.layout.RowConstraints?>
|
|
<?import javafx.scene.layout.VBox?>
|
|
<?import javafx.scene.shape.SVGPath?>
|
|
<?import javafx.scene.text.Font?>
|
|
|
|
<VBox spacing="5.0" xmlns="http://javafx.com/javafx/8.0.141" xmlns:fx="http://javafx.com/fxml/1" fx:controller="konogonka.Controllers.NSP.NSPController">
|
|
<children>
|
|
<GridPane gridLinesVisible="true">
|
|
<columnConstraints>
|
|
<ColumnConstraints hgrow="SOMETIMES" maxWidth="90.0" minWidth="85.0" />
|
|
<ColumnConstraints hgrow="SOMETIMES" maxWidth="60.0" minWidth="55.0" />
|
|
<ColumnConstraints hgrow="SOMETIMES" maxWidth="-Infinity" minWidth="-Infinity" prefWidth="180.0" />
|
|
<ColumnConstraints hgrow="SOMETIMES" maxWidth="-Infinity" minWidth="-Infinity" prefWidth="100.0" />
|
|
</columnConstraints>
|
|
<rowConstraints>
|
|
<RowConstraints maxHeight="30.0" minHeight="30.0" vgrow="SOMETIMES" />
|
|
<RowConstraints maxHeight="30.0" minHeight="30.0" vgrow="SOMETIMES" />
|
|
<RowConstraints maxHeight="30.0" minHeight="30.0" vgrow="SOMETIMES" />
|
|
<RowConstraints maxHeight="30.0" minHeight="30.0" vgrow="SOMETIMES" />
|
|
<RowConstraints maxHeight="30.0" minHeight="30.0" vgrow="SOMETIMES" />
|
|
<RowConstraints maxHeight="30.0" minHeight="30.0" vgrow="SOMETIMES" />
|
|
<RowConstraints maxHeight="30.0" minHeight="30.0" vgrow="SOMETIMES" />
|
|
<RowConstraints maxHeight="30.0" minHeight="30.0" vgrow="SOMETIMES" />
|
|
</rowConstraints>
|
|
<children>
|
|
<AnchorPane styleClass="customTitleGrid">
|
|
<children>
|
|
<Label layoutX="10.0" layoutY="7.0" text="Offset" AnchorPane.bottomAnchor="0.0" AnchorPane.leftAnchor="0.0" AnchorPane.rightAnchor="0.0" AnchorPane.topAnchor="0.0">
|
|
<font>
|
|
<Font name="System Bold" size="13.0" />
|
|
</font>
|
|
<padding>
|
|
<Insets left="5.0" right="5.0" />
|
|
</padding>
|
|
</Label>
|
|
</children>
|
|
</AnchorPane>
|
|
<AnchorPane styleClass="customTitleGrid" GridPane.columnIndex="1">
|
|
<children>
|
|
<Label layoutX="-4.0" layoutY="6.0" text="Size" AnchorPane.bottomAnchor="0.0" AnchorPane.leftAnchor="0.0" AnchorPane.rightAnchor="0.0" AnchorPane.topAnchor="0.0">
|
|
<font>
|
|
<Font name="System Bold" size="13.0" />
|
|
</font>
|
|
<padding>
|
|
<Insets left="5.0" right="5.0" />
|
|
</padding>
|
|
</Label>
|
|
</children>
|
|
</AnchorPane>
|
|
<AnchorPane styleClass="customTitleGrid" GridPane.columnIndex="2">
|
|
<children>
|
|
<Label layoutX="14.0" layoutY="8.0" text="Description" AnchorPane.bottomAnchor="0.0" AnchorPane.leftAnchor="0.0" AnchorPane.rightAnchor="0.0" AnchorPane.topAnchor="0.0">
|
|
<font>
|
|
<Font name="System Bold" size="13.0" />
|
|
</font>
|
|
<padding>
|
|
<Insets left="5.0" right="5.0" />
|
|
</padding>
|
|
</Label>
|
|
</children>
|
|
</AnchorPane>
|
|
<AnchorPane styleClass="customTitleGrid" GridPane.columnIndex="3">
|
|
<children>
|
|
<Label layoutX="-4.0" layoutY="8.0" text="Value" AnchorPane.bottomAnchor="0.0" AnchorPane.leftAnchor="0.0" AnchorPane.rightAnchor="0.0" AnchorPane.topAnchor="0.0">
|
|
<font>
|
|
<Font name="System Bold" size="13.0" />
|
|
</font>
|
|
<padding>
|
|
<Insets left="5.0" right="5.0" />
|
|
</padding>
|
|
</Label>
|
|
</children>
|
|
</AnchorPane>
|
|
<Label text="0x0" GridPane.rowIndex="1">
|
|
<padding>
|
|
<Insets left="5.0" right="5.0" />
|
|
</padding>
|
|
</Label>
|
|
<Label text="0x4" GridPane.columnIndex="1" GridPane.rowIndex="1">
|
|
<padding>
|
|
<Insets left="5.0" right="5.0" />
|
|
</padding>
|
|
</Label>
|
|
<Label text="0x4" GridPane.rowIndex="2">
|
|
<padding>
|
|
<Insets left="5.0" right="5.0" />
|
|
</padding>
|
|
</Label>
|
|
<Label text="0x4" GridPane.columnIndex="1" GridPane.rowIndex="2">
|
|
<padding>
|
|
<Insets left="5.0" right="5.0" />
|
|
</padding>
|
|
</Label>
|
|
<Label text="Magic "PFS0"" GridPane.columnIndex="2" GridPane.rowIndex="1">
|
|
<padding>
|
|
<Insets left="5.0" right="5.0" />
|
|
</padding>
|
|
</Label>
|
|
<Label text="Number of files" GridPane.columnIndex="2" GridPane.rowIndex="2">
|
|
<padding>
|
|
<Insets left="5.0" right="5.0" />
|
|
</padding>
|
|
</Label>
|
|
<Label fx:id="magicLbl" text="-" GridPane.columnIndex="3" GridPane.rowIndex="1">
|
|
<padding>
|
|
<Insets left="5.0" right="5.0" />
|
|
</padding>
|
|
</Label>
|
|
<Label text="0x8" GridPane.rowIndex="3">
|
|
<padding>
|
|
<Insets left="5.0" right="5.0" />
|
|
</padding>
|
|
</Label>
|
|
<Label text="0x4" GridPane.columnIndex="1" GridPane.rowIndex="3">
|
|
<padding>
|
|
<Insets left="5.0" right="5.0" />
|
|
</padding>
|
|
</Label>
|
|
<Label text="0xC" GridPane.rowIndex="4">
|
|
<padding>
|
|
<Insets left="5.0" right="5.0" />
|
|
</padding>
|
|
</Label>
|
|
<Label text="0x4" GridPane.columnIndex="1" GridPane.rowIndex="4">
|
|
<padding>
|
|
<Insets left="5.0" right="5.0" />
|
|
</padding>
|
|
</Label>
|
|
<Label text="Size of the string table" GridPane.columnIndex="2" GridPane.rowIndex="3">
|
|
<padding>
|
|
<Insets left="5.0" right="5.0" />
|
|
</padding>
|
|
</Label>
|
|
<Label text="Zero/Reserved" GridPane.columnIndex="2" GridPane.rowIndex="4">
|
|
<padding>
|
|
<Insets left="5.0" right="5.0" />
|
|
</padding>
|
|
</Label>
|
|
<Label fx:id="stringTableSizeLbl" text="-" GridPane.columnIndex="3" GridPane.rowIndex="3">
|
|
<padding>
|
|
<Insets left="5.0" right="5.0" />
|
|
</padding>
|
|
</Label>
|
|
<Label fx:id="paddingLbl" text="-" GridPane.columnIndex="3" GridPane.rowIndex="4">
|
|
<padding>
|
|
<Insets left="5.0" right="5.0" />
|
|
</padding>
|
|
</Label>
|
|
<Label fx:id="filesCountLbl" text="-" GridPane.columnIndex="3" GridPane.rowIndex="2">
|
|
<padding>
|
|
<Insets left="5.0" right="5.0" />
|
|
</padding></Label>
|
|
<Label text="0x10" GridPane.rowIndex="5">
|
|
<GridPane.margin>
|
|
<Insets />
|
|
</GridPane.margin>
|
|
<padding>
|
|
<Insets left="5.0" right="5.0" />
|
|
</padding>
|
|
</Label>
|
|
<Label fx:id="fileEntryTableSizeLbl" text="X" GridPane.columnIndex="1" GridPane.rowIndex="5">
|
|
<GridPane.margin>
|
|
<Insets />
|
|
</GridPane.margin>
|
|
<padding>
|
|
<Insets left="5.0" right="5.0" />
|
|
</padding>
|
|
</Label>
|
|
<Label fx:id="stringsTableOffsetLbl" text="0x10+X" GridPane.rowIndex="6">
|
|
<GridPane.margin>
|
|
<Insets />
|
|
</GridPane.margin>
|
|
<padding>
|
|
<Insets left="5.0" right="5.0" />
|
|
</padding>
|
|
</Label>
|
|
<Label fx:id="stringsTableSizeLbl" text="Y" GridPane.columnIndex="1" GridPane.rowIndex="6">
|
|
<GridPane.margin>
|
|
<Insets />
|
|
</GridPane.margin>
|
|
<padding>
|
|
<Insets left="5.0" right="5.0" />
|
|
</padding>
|
|
</Label>
|
|
<Label fx:id="rawFileDataOffsetLbl" text="0x10+X+Y" GridPane.rowIndex="7">
|
|
<GridPane.margin>
|
|
<Insets />
|
|
</GridPane.margin>
|
|
<padding>
|
|
<Insets left="5.0" right="5.0" />
|
|
</padding>
|
|
</Label>
|
|
<Label text="..." GridPane.columnIndex="1" GridPane.rowIndex="7">
|
|
<GridPane.margin>
|
|
<Insets />
|
|
</GridPane.margin>
|
|
<padding>
|
|
<Insets left="5.0" right="5.0" />
|
|
</padding>
|
|
</Label>
|
|
<Label text="File Entry Table" GridPane.columnIndex="2" GridPane.rowIndex="5">
|
|
<GridPane.margin>
|
|
<Insets />
|
|
</GridPane.margin>
|
|
<padding>
|
|
<Insets left="5.0" right="5.0" />
|
|
</padding>
|
|
</Label>
|
|
<Label text="String Table" GridPane.columnIndex="2" GridPane.rowIndex="6">
|
|
<GridPane.margin>
|
|
<Insets />
|
|
</GridPane.margin>
|
|
<padding>
|
|
<Insets left="5.0" right="5.0" />
|
|
</padding>
|
|
</Label>
|
|
<Label text="Raw File Data" GridPane.columnIndex="2" GridPane.rowIndex="7">
|
|
<GridPane.margin>
|
|
<Insets />
|
|
</GridPane.margin>
|
|
<padding>
|
|
<Insets left="5.0" right="5.0" />
|
|
</padding>
|
|
</Label>
|
|
<Label text="..." GridPane.columnIndex="3" GridPane.rowIndex="5">
|
|
<GridPane.margin>
|
|
<Insets />
|
|
</GridPane.margin>
|
|
<padding>
|
|
<Insets left="5.0" right="5.0" />
|
|
</padding>
|
|
</Label>
|
|
<Label text="..." GridPane.columnIndex="3" GridPane.rowIndex="6">
|
|
<GridPane.margin>
|
|
<Insets />
|
|
</GridPane.margin>
|
|
<padding>
|
|
<Insets left="5.0" right="5.0" />
|
|
</padding>
|
|
</Label>
|
|
<Label text="..." GridPane.columnIndex="3" GridPane.rowIndex="7">
|
|
<GridPane.margin>
|
|
<Insets />
|
|
</GridPane.margin>
|
|
<padding>
|
|
<Insets left="5.0" right="5.0" />
|
|
</padding>
|
|
</Label>
|
|
</children>
|
|
</GridPane>
|
|
<HBox />
|
|
<HBox>
|
|
<children>
|
|
<Label text="Raw data start position: " />
|
|
<Label fx:id="RawDataStartLbl" text="-" />
|
|
</children>
|
|
</HBox>
|
|
<HBox>
|
|
<children>
|
|
<Label text="File size: " />
|
|
<Label fx:id="NSPSizeLbl" text="-" />
|
|
</children>
|
|
</HBox>
|
|
<Separator prefWidth="200.0" />
|
|
<fx:include fx:id="tableFilesList" source="TableView.fxml" />
|
|
<BorderPane>
|
|
<center>
|
|
<Button fx:id="extractBtn" disable="true" mnemonicParsing="false" text="%btnExtract" BorderPane.alignment="CENTER">
|
|
<graphic>
|
|
<SVGPath content="M2,10.96C1.5,10.68 1.35,10.07 1.63,9.59L3.13,7C3.24,6.8 3.41,6.66 3.6,6.58L11.43,2.18C11.59,2.06 11.79,2 12,2C12.21,2 12.41,2.06 12.57,2.18L20.47,6.62C20.66,6.72 20.82,6.88 20.91,7.08L22.36,9.6C22.64,10.08 22.47,10.69 22,10.96L21,11.54V16.5C21,16.88 20.79,17.21 20.47,17.38L12.57,21.82C12.41,21.94 12.21,22 12,22C11.79,22 11.59,21.94 11.43,21.82L3.53,17.38C3.21,17.21 3,16.88 3,16.5V10.96C2.7,11.13 2.32,11.14 2,10.96M12,4.15V4.15L12,10.85V10.85L17.96,7.5L12,4.15M5,15.91L11,19.29V12.58L5,9.21V15.91M19,15.91V12.69L14,15.59C13.67,15.77 13.3,15.76 13,15.6V19.29L19,15.91M13.85,13.36L20.13,9.73L19.55,8.72L13.27,12.35L13.85,13.36Z" />
|
|
</graphic>
|
|
</Button>
|
|
</center>
|
|
<opaqueInsets>
|
|
<Insets />
|
|
</opaqueInsets>
|
|
</BorderPane>
|
|
</children>
|
|
<padding>
|
|
<Insets bottom="5.0" left="5.0" right="5.0" top="5.0" />
|
|
</padding>
|
|
</VBox>
|