Syroot.NintenTools.NSW.Bntx Represents a NintendoWare for Cafe (NW4F) graphics data archive file. Initializes a new instance of the class. Initializes a new instance of the class from the given which is optionally left open. The to load the data from. true to leave the stream open after reading, otherwise false. Initializes a new instance of the class from the file with the given . The name of the file to load the data from. Gets or sets a name describing the contents. Gets or sets the target platform as a string. Gets or sets the major revision of the BNTX structure formats. Gets or sets the second major revision of the BNTX structure formats. Gets or sets the minor revision of the BNTX structure formats. Gets or sets the second minor revision of the BNTX structure formats. Gets the byte order in which data is stored. Must be the endianness of the target platform. Gets or sets the alignment to use for raw data blocks in the file. Gets or sets the data alignment to use for raw data blocks in the file. Gets or sets the target adress size to use for raw data blocks in the file. Gets or sets the flag. Unknown purpose. Gets or sets the BlockOffset. Gets or sets the stored (_RLT) instance. Gets or sets the target platform. Gets or sets a list of the stored instances. Saves the contents in the given and optionally leaves it open The to save the contents into. true to leave the stream open after writing, otherwise false. Saves the contents in the file with the given . The name of the file to save the contents into. Represents a 16-bit fixed-point decimal consisting of 1 sign bit, 10 integer bits and 5 fractional bits (denoted as Q10.5). Note that the implementation is not reporting over- and underflowing errors. Examples: SIIIIIII_IIIFFFFF 0b00000000_00010000 = 0.5 0b00000000_00100000 = 1 0b00000001_00000000 = 8 0b01000000_00000000 = 512 0b10000000_00000000 = -1024 Represents the largest possible value of . Represents the smallest possible value of . Initializes a new instance of the struct from the given representation. The raw representation of the internally stored bits. Gets the internally stored value to represent the instance. Signed to get arithmetic rather than logical shifts. Returns the given . The . The result. Adds the first to the second one. The first . The second . The addition result. Negates the given . The to negate. The negated result. Subtracts the first from the second one. The first . The second . The subtraction result. Multiplicates the given by the scalar. The . The scalar. The multiplication result. Multiplicates the first by the second one. The first . The second . The multiplication result. Divides the given through the scalar. The . The scalar. The division result. Divides the first through the second one. The first . The second . The division result. Gets a value indicating whether the first specified is the same as the second specified . The first to compare. The second to compare. true, if both are the same. Gets a value indicating whether the first specified is not the same as the second specified . The first to compare. The second to compare. true, if both are not the same. Converts the given value to a instance. The value to represent in the new instance. Converts the given value to a instance. The value to represent in the new instance. Converts the given value to a instance. The value to represent in the new instance. Converts the given value to a instance. The value to represent in the new instance. Converts the given value to a instance. The value to represent in the new instance. Converts the given value to a instance. The value to represent in the new instance. Gets a value indicating whether this is the same as the second specified . The object to compare, if it is a . true, if both are the same. Gets a hash code as an indication for object equality. The hash code. Gets a string describing this . A string describing this . Indicates whether the current is equal to another . A to compare with this . true if the current is equal to the other parameter; otherwise, false. Represents a 4-byte value which can hold differently typed data. The data as an . The data as a . The data as an . Converts the given value to a instance. The value to represent in the new instance. Converts the given value to a instance. The value to represent in the new instance. Converts the given value to a instance. The value to represent in the new instance. Converts the given value to an instance. The value to represent in the new instance. Converts the given value to a instance. The value to represent in the new instance. Converts the given value to an instance. The value to represent in the new instance. Returns the for this instance. The enumerated constant that is the of the class or value type that implements this interface. This operation is not supported. This operation is not supported. This operation is not supported. This operation is not supported. This operation is not supported. Converts the value of this instance to an equivalent double-precision floating-point number using the specified culture-specific formatting information. An interface implementation that supplies culture-specific formatting information. A double-precision floating-point number equivalent to the value of this instance. This operation is not supported. Converts the value of this instance to an equivalent 32-bit signed integer using the specified culture-specific formatting information. An interface implementation that supplies culture-specific formatting information. An 32-bit signed integer equivalent to the value of this instance. Converts the value of this instance to an equivalent 64-bit signed integer using the specified culture-specific formatting information. An interface implementation that supplies culture-specific formatting information. An 64-bit signed integer equivalent to the value of this instance. This operation is not supported. Converts the value of this instance to an equivalent single-precision floating-point number using the specified culture-specific formatting information. An interface implementation that supplies culture-specific formatting information. A single-precision floating-point number equivalent to the value of this instance. This operation is not supported. Converts the value of this instance to an of the specified that has an equivalent value, using the specified culture-specific formatting information. The to which the value of this instance is converted. An interface implementation that supplies culture-specific formatting information. An instance of type conversionType whose value is equivalent to the value of this instance. This operation is not supported. This operation is not supported. This operation is not supported. Represents a 16-bit half-precision floating point value according to the IEEE 754 standard. Examples: SEEEEEFF_FFFFFFFF 0b00000000_00000000 = 0 1b00000000_00000000 = -0 0b00111100_00000000 = 1 0b11000000_00000000 = -2 0b11111011_11111111 = 65504 (MaxValue) 0b01111100_00000000 = PositiveInfinity 0b11111100_00000000 = NegativeInfinity Represents the smallest positive value greater than zero. Represents the largest possible value of . Represents the smallest possible value of . Represents not a number (NaN). Represents negative infinity. Represents positive infinity. Initializes a new instance of the struct from the given representation. The raw representation of the internally stored bits. Gets the internally stored value to represent the instance. Signed to get arithmetic rather than logical shifts. Returns the given . The . The result. Adds the first to the second one. The first . The second . The addition result. Negates the given . The to negate. The negated result. Subtracts the first from the second one. The first . The second . The subtraction result. Multiplicates the first by the second one. The first . The second . The multiplication result. Divides the first through the second one. The first . The second . The division result. Gets a value indicating whether the first specified is the same as the second specified . The first to compare. The second to compare. true, if both are the same. Gets a value indicating whether the first specified is not the same as the second specified . The first to compare. The second to compare. true, if both are not the same. Converts the given value to a instance. The value to represent in the new instance. Converts the given value to a instance. The value to represent in the new instance. Converts the given value to a instance. The value to represent in the new instance. Converts the given value to a instance. The value to represent in the new instance. Converts the given value to a instance. The value to represent in the new instance. Converts the given value to a instance. The value to represent in the new instance. Gets a value indicating whether this is the same as the second specified . The object to compare, if it is a . true, if both are the same. Gets a hash code as an indication for object equality. The hash code. Gets a string describing this . A string describing this . Indicates whether the current is equal to another . A to compare with this . true if the current is equal to the other parameter; otherwise, false. Returns a value indicating whether the specified number evaluates to not a number (). A half-precision floating-point number. true if value evaluates to not a number (); otherwise false. Returns a value indicating whether the specified number evaluates to negative or positive infinity. A half-precision floating-point number. true if half evaluates to or ; otherwise false. Returns a value indicating whether the specified number evaluates to negative infinity. A half-precision floating-point number. true if half evaluates to ; otherwise false. Returns a value indicating whether the specified number evaluates to positive infinity. A half-precision floating-point number. true if half evaluates to ; otherwise false. Represents a buffer of data uploaded to the GPU which can hold arbitrary data. The size of a full vertex in bytes. The raw bytes stored for each buffering. Represents an memory pool section in a subfile, storing memory. Represents an memory info section in a subfile. References vertex and index buffers Gets or sets the buffer instance that stores face data first, then vertex buffer after. Gets or sets the memory pool property Represents an _RLT section in a subfile, storing pointers to sections in a Bntx. Gets or sets the instance storing the data which forms the shape's surface. Saved depending on . Represents the non-generic base of a dictionary which can quickly look up instances via key or index. Initializes a new instance of the class. Gets the number of instances stored. Adds the given to insert in the dictionary. Duplicated instances already exists. Removes the given from the dictionary. Duplicated instances already exists. Determines whether the given is in the dictionary. true if was found in the dictionary; otherwise false. Returns the key given is within range of the dictionary. Returns the key given is within range of the dictionary. Gets or sets the instance stored at the specified . The 0-based index of the instance to get or set. The at the specified . The index is smaller than 0 or bigger or equal to . Searches for the specified and returns the zero-based index of the first occurrence within the entire dictionary. The instance to locate in the dictionary. The value can be null. The zero-based index of the first occurence of within the entire dictionary if found; otherwise -1. Removes all elements from the dictionary. Returns only the publically visible nodes, excluding the root node. Represents a node forming the Patricia trie of the dictionary. Represents a which is stored in a . The textual represented by this instance. The with which this string was read or will be written. Converts the given value to a instance. The value to represent in the new instance. Converts the given value to an instance. The value to represent in the new instance. Returns the value of the property. The value of the property. Represents a 2D transformation. The size of this structure. The scaling amount of the transformation. The rotation angle of the transformation. The translation amount of the transformation. Represents a 3D transformation. The size of this structure. The scaling amount of the transformation. The rotation amount of the transformation. The translation amount of the transformation. Represents a 2D texture transformation. The size of this structure. The with which the transformation is applied. The scaling amount of the transformation. The rotation angle of the transformation. The translation amount of the transformation. Represents a 2D texture transformation which is multiplied by a 3x4 matrix referenced at runtime by the . The size of this structure. The with which the transformation is applied. The scaling amount of the transformation. The rotation angle of the transformation. The translation amount of the transformation. A pointer to a 3x4 matrix to multiply the transformation with. Set at runtime. Represents the texture transformation mode used in and . Represents custom user variables which can be attached to many sections and subfiles of a . Gets or sets the name with which the instance can be referenced uniquely in instances. The data type of the stored values. Returns the stored value as an array of instances when the is . The typed value. Returns the stored value as an array of instances when the is . The typed value. Returns the stored value as an array of instances when the is or . The typed value. Returns the stored value as an array of instances when the is . The typed value. Sets the stored as an array and the to The value to store. Sets the stored as a array and the to The value to store. Sets the stored as a array and the to or depending on . true to store data as UTF-16 encoded strings, or false to store it as ASCII encoded strings. The value to store. Sets the stored as a array and the to The value to store. Represents the possible data types of values stored in instances. The values is an array. The values is a array. The values is a array encoded in ASCII. The values is a array. The values is a array encoded in UTF-16. Represents extension methods for the class. Reads a instance from the current stream and returns it. The extended . The instance. Reads instances from the current stream and returns them. The extended . The number of instances to read. The instances. Reads a instance from the current stream and returns it. The extended . The instance. Reads instances from the current stream and returns them. The extended . The number of instances to read. The instances. Reads a instance from the current stream and returns it. The extended . The instance. Reads instances from the current stream and returns them. The extended . The number of instances to read. The instances. Reads a instance from the current stream and returns it. The extended . The instance. Reads instances from the current stream and returns them. The extended . The number of instances to read. The instances. Reads a instance from the current stream and returns it. The extended . The in which values are stored. The instance. Reads instances from the current stream and returns them. The extended . The number of instances to read. The in which values are stored. The instances. Reads a instance from the current stream and returns it. The extended . The instance. Reads instances from the current stream and returns them. The extended . The number of instances to read. The instances. Reads a instance from the current stream and returns it. The extended . The instance. Reads instances from the current stream and returns them. The extended . The number of instances to read. The instances. Reads a instance from the current stream and returns it. The extended . The instance. Reads instances from the current stream and returns them. The extended . The number of instances to read. The instances. Reads a instance from the current stream and returns it. The extended . The in which values are stored. The instance. Reads instances from the current stream and returns them. The extended . The number of instances to read. The in which values are stored. The instances. Reads a instance from the current stream and returns it. The extended . The instance. Reads instances from the current stream and returns them. The extended . The number of instances to read. The instances. Reads a instance from the current stream and returns it. The extended . The instance. Reads instances from the current stream and returns them. The extended . The number of instances to read. The instances. Reads a instance from the current stream and returns it. The extended . The instance. Reads instances from the current stream and returns them. The extended . The number of instances to read. The instances. Reads a instance from the current stream and returns it. The extended . The in which values are stored. The instance. Reads instances from the current stream and returns them. The extended . The number of instances to read. The in which values are stored. The instances. Reads a instance from the current stream and returns it. The extended . The instance. Reads instances from the current stream and returns them. The extended . The number of instances to read. The instances. Reads a instance from the current stream and returns it. The extended . The instance. Reads instances from the current stream and returns them. The extended . The number of instances to read. The instances. Represents extension methods for the class. Writes a instance into the current stream. The extended . The instance. Writes instances into the current stream. The extended . The instances. Writes a instance into the current stream. The extended . The instance. Writes instances into the current stream. The extended . The instances. Writes a instance into the current stream. The extended . The instance. Writes instances into the current stream. The extended . The instances. Writes a instance into the current stream. The extended . The instance. The in which values are stored. Writes instances into the current stream. The extended . The instances. The in which values are stored. Writes a instance into the current stream. The extended . The instance. Writes instances into the current stream. The extended . The instances. Writes a instance into the current stream. The extended . The instance. Writes instances into the current stream. The extended . The instances. Writes a instance into the current stream. The extended . The instance. Writes instances into the current stream. The extended . The instances. Writes a instance into the current stream. The extended . The instance. The in which values are stored. Writes instances into the current stream. The extended . The instances. The in which values are stored. Writes a instance into the current stream. The extended . The instance. Writes instances into the current stream. The extended . The instances. Writes a instance into the current stream. The extended . The instance. Writes instances into the current stream. The extended . The instances. Writes a instance into the current stream. The extended . The instance. Writes instances into the current stream. The extended . The instances. Writes a instance into the current stream. The extended . The instance. The in which values are stored. Writes instances into the current stream. The extended . The instances. The in which values are stored. Writes a instance into the current stream. The extended . The instance. Writes instances into the current stream. The extended . The instances. Writes a instance into the current stream. The extended . The instance. Writes instances into the current stream. The extended . The instances. Represents extension methods for instances. Returns an instance represented by the given number of , starting at the . The extended instance. The first bit of the encoded value. The number of least significant bits which are used to store the value. The decoded . Returns the current with the bit at the set (being 1). The extended instance. The 0-based index of the bit to enable. The current with the bit enabled. Returns the current with the given set into the given number of starting at . The extended instance. The value to encode. The first bit used for the encoded value. The number of bits which are used to store the value. The current with the value encoded into it. Returns the current with the bit at the cleared (being 0). The extended instance. The 0-based index of the bit to disable. The current with the bit disabled. Returns a value indicating whether the bit at the in the current is enabled or disabled. The extended instance. The 0-based index of the bit to check. true when the bit is set; otherwise false. Returns the current with all bits rotated in the given , where positive directions rotate left and negative directions rotate right. The extended instance. The direction in which to rotate, where positive directions rotate left. The current with the bits rotated. Returns the current with the bit at the enabled or disabled, according to . The extended instance. The 0-based index of the bit to enable or disable. true to enable the bit; otherwise false. The current with the bit enabled or disabled. Returns the current with the bit at the enabled when it is disabled or disabled when it is enabled. The extended instance. The 0-based index of the bit to toggle. The current with the bit toggled. Represents extension methods for instances. Returns an instance represented by the given number of , starting at the . The extended instance. The first bit of the encoded value. The number of least significant bits which are used to store the value. The decoded . Returns the current with the bit at the set (being 1). The extended instance. The 0-based index of the bit to enable. The current with the bit enabled. Returns the current with the given set into the given number of starting at . The extended instance. The value to encode. The first bit used for the encoded value. The number of bits which are used to store the value. The current with the value encoded into it. Returns the current with the bit at the cleared (being 0). The extended instance. The 0-based index of the bit to disable. The current with the bit disabled. Returns a value indicating whether the bit at the in the current is enabled or disabled. The extended instance. The 0-based index of the bit to check. true when the bit is set; otherwise false. Returns the current with all bits rotated in the given , where positive directions rotate left and negative directions rotate right. The extended instance. The direction in which to rotate, where positive directions rotate left. The current with the bits rotated. Returns the current with the bit at the enabled or disabled, according to . The extended instance. The 0-based index of the bit to enable or disable. true to enable the bit; otherwise false. The current with the bit enabled or disabled. Returns the current with the bit at the enabled when it is disabled or disabled when it is enabled. The extended instance. The 0-based index of the bit to toggle. The current with the bit toggled. Represents the common interface for data instances. Loads raw data from the data stream into instances. The to load data with. Saves header data of the instance and queues referenced data in the given . The to save headers and queue data with. Loads the hierachy and data of a . Initializes a new instance of the class loading data into the given from the specified which is optionally left open. The instance to load data into. The to read data from. true to leave the stream open after reading, otherwise false. Initializes a new instance of the class from the file with the given . The instance to load data into. The name of the file to load the data from. Initializes a new instance of the class from the file with the given . The instance to load data into. The name of the file to load the data from. Gets the loaded instance. Gets the loaded instance. Starts deserializing the data from the root. Reads and returns an instance of type from the following offset or returns null if the read offset is 0. The type of the to read. The instance or null. Reads and returns an instance of arbitrary type from the following offset with the given or returns null if the read offset is 0. The type of the data to read. The callback to read the instance data with. The optional offset to use instead of reading a following one. The data instance or null. Offset required for ExtFile header (offset specified before size). Reads and returns an instance the following offset or returns an empty instance if the read offset is 0. The instance. Reads and returns an instance with elements of type from the following offset or returns null if the read offset is 0. The type of the elements. The number of elements to expect for the list. The optional offset to use instead of reading a following one. The instance or null. Offset required for FMDL FVTX lists (offset specified before count). Reads and returns a instance from the following offset or null if the read offset is 0. The optional encoding of the text. The read text. Reads and returns instances from the following offsets. The number of instances to read. The optional encoding of the texts. The read texts. Reads a B ntx signature consisting of 4 ASCII characters encoded as an and checks for validity. A valid signature. Reads a Bntx offset which is the absolute address. The absolute address of the offset. Reads Bntx offsets which is the absolute addresses. The number of offsets to read. The absolute addresses of the offsets. Saves the hierachy and data of a . Gets or sets a data block alignment typically seen with . Initializes a new instance of the class saving data from the given into the specified which is optionally left open. The instance to save data from. The to save data into. true to leave the stream open after writing, otherwise false. Initializes a new instance of the class for the file with the given . The instance to save. The name of the file to save the data into. Initializes a new instance of the class for the file with the given . The instance to save. The name of the file to save the data into. Gets the saved instance. Gets the saved instance. Gets the current index when writing lists or dicts. Starts serializing the data from the root. Save pointer array to be relocated in section 1 Reserves space for an offset and size for header block. Reserves space for an offset to the written later. The to save. The index of the element, used for instances referenced by a . Reserves space for the file size field which is automatically filled later. Reserves space for the string pool size and offset fields which are automatically filled later. Reserves space for an offset to the written later. The type of the elements. The to save. Reserves space for an offset to the written later. The type of the element values. The to save. Reserves space for an offset to the written later with the . The data to save. The to invoke to write the data. Reserves space for an offset to the written later in the string pool with the specified . The name to save. The in which the name will be stored. Reserves space for offsets to the written later in the string pool with the specified The names to save. The in which the names will be stored. Reserves space for an offset to the written later in the data block pool. The data to save. The alignment to seek to before invoking the callback. The to invoke to write the data. Writes a Bntx signature consisting of 4 ASCII characters encoded as an . A valid signature. Represents a sorting empty strings to the end of lists. Represents shapes of a given surface or texture. Represents shapes of a given surface or texture. Represents desired texture, color-buffer, depth-buffer, or scan-buffer formats. Represents the desired tiling modes for a surface. Represents an exception raised when handling data. Initializes a new instance of the class with a specified error . The error message that explains the reason for the exception. Initializes a new instance of the class with a specified error message created from the given and . The format of the error message. The parameters to format the error message with. Represents an FMDL subfile in a , storing multi-dimensional texture data. Initializes a new instance of the class from the given which is optionally left open. The to load the data from. true to leave the stream open after reading, otherwise false. Initializes a new instance of the class from the file with the given . The name of the file to load the data from. Saves the contents in the given and optionally leaves it open The to save the contents into. true to leave the stream open after writing, otherwise false. Saves the contents in the file with the given . The name of the file to save the contents into. Gets or sets the source channel to map to the R (red) channel. Gets or sets the source channel to map to the G (green) channel. Gets or sets the source channel to map to the B (blue) channel. Gets or sets the source channel to map to the A (alpha) channel. Gets or sets the width of the texture. Gets or sets the height of the texture. Gets or sets the number of mipmaps stored in the . Gets or sets the desired texture data buffer format. Gets or sets the name with which the instance can be referenced uniquely in instances. Gets or sets the path of the file which originally supplied the data of this instance. Gets or sets the depth of the texture. Gets or sets the tiling mode. Gets or sets the swizzling value. Gets or sets the swizzling alignment. Gets or sets the pixel swizzling stride. Gets or sets the dims of the texture. Gets or sets the shape of the texture. Gets or sets the offsets in the array to the data of the mipmap level corresponding to the array index. The raw bytes of texture data stored for each mip map Gets or sets info flags Gets or sets the image size Gets or sets sample amount Represents the AA modes (number of samples) for a surface. Represents the format of a vertex attribute entry. Possible type conversions: UNorm: attrib unsigned integer is converted to/from [0.0, 1.0] in shader. UInt: attrib unsigned integer is copied to/from shader as unsigned int. SNorm: attrib signed integer is converted to/from [-1.0, 1.0] in shader. SInt: attrib signed integer is copied to/from shader as signed int. Single: attrib single is copied to/from shader as Single. UIntToSingle: attrib unsigned integer is converted Single in shader. SIntToSingle: attrib signed integer is converted Single in shader. Represents how the terms of the blend function are combined. Represents the factors used in the blend function. Represents compare functions used for depth and stencil tests. Represents the source channels to map to a color channel in textures. Represents the vertex order of front-facing polygons. Represents the type in which vertex indices are stored. Represents the logic op function to perform. Black White Source (Default) ~Source Destination ~Destination Source & Destination ~(Source & Destination) Source | Destination ~(Source | Destination) Source ^ Destination ~(Source ^ Destination) Source & ~Destination ~Source & Destination Source | ~Destination ~Source | Destination Represents the base primitive used to draw each side of the polygon when dual-sided polygon mode is enabled. Represents the type of primitives to draw. Requires at least 1 element and 1 more to draw another primitive. Requires at least 2 elements and 2 more to draw another primitive. Requires at least 2 elements and 1 more to draw another primitive. Requires at least 3 elements and 3 more to draw another primitive. Requires at least 3 elements and 1 more to draw another primitive. Requires at least 3 elements and 1 more to draw another primitive. Requires at least 4 elements and 4 more to draw another primitive. Requires at least 4 elements and 1 more to draw another primitive. Requires at least 6 elements and 6 more to draw another primitive. Requires at least 6 elements and 2 more to draw another primitive. Requires at least 3 elements and 3 more to draw another primitive. Requires at least 2 elements and 1 more to draw another primitive. Requires at least 4 elements and 4 more to draw another primitive. Requires at least 4 elements and 2 more to draw another primitive. Requires at least 2 elements and 2 more to draw another primitive. Requires at least 2 elements and 1 more to draw another primitive. Requires at least 3 elements and 3 more to draw another primitive. Requires at least 3 elements and 1 more to draw another primitive. Requires at least 4 elements and 4 more to draw another primitive. Requires at least 4 elements and 2 more to draw another primitive. Represents the stencil function to be performed if stencil tests pass. Represents shapes of a given surface or texture. Represents desired texture, color-buffer, depth-buffer, or scan-buffer formats. Represents Indicates how a given surface may be used. A final TV render target is one that will be copied to a TV scan buffer. It needs to be designated to handle certain display corner cases (when a HD surface must be scaled down to display in NTSC/PAL). Represents maximum desired anisotropic filter ratios. Higher ratios give better image quality, but slower performance. Represents type of border color to use. Represents how to treat texture coordinates outside of the normalized coordinate texture range. Represents desired texture filter options between mip levels. Represents desired texture filter options within a plane. Represents desired texture filter options between Z planes. Represents the desired tiling modes for a surface. Computes a CRC32 checksum. Based on Compute the checksum of a UTF8 text. Text to calculate Checksum Compute the checksum of a text using a specific encoding. Text to calculate Text encoding Checksum Compute the checksum of a binary buffer. Buffer to calculate