Click or drag to resize

ResFile Class

Represents a NintendoWare for Cafe (NW4F) graphics data archive file.
Inheritance Hierarchy
SystemObject
  Syroot.NintenTools.BfresResFile

Namespace:  Syroot.NintenTools.Bfres
Assembly:  Syroot.NintenTools.Bfres (in Syroot.NintenTools.Bfres.dll) Version: 1.2.1
Syntax
C#
public class ResFile : IResData

The ResFile type exposes the following members.

Constructors
  NameDescription
Public methodResFile
Initializes a new instance of the ResFile class.
Public methodResFile(String)
Initializes a new instance of the ResFile class from the file with the given fileName.
Public methodResFile(Stream, Boolean)
Initializes a new instance of the ResFile class from the given stream which is optionally left open.
Top
Properties
  NameDescription
Public propertyAlignment
Gets or sets the alignment to use for raw data blocks in the file.
Public propertyBoneVisibilityAnims
Gets or sets the stored VisibilityAnim (FVIS) instances for bone visibility animations.
Public propertyByteOrder
Gets the byte order in which data is stored. Must be the endianness of the target platform.
Public propertyColorAnims
Gets or sets the stored ShaderParamAnim (FSHU) instances for color animations.
Public propertyExternalFiles
Gets or sets attached ExternalFile instances. The key of the dictionary typically represents the name of the file they were originally created from.
Public propertyMatVisibilityAnims
Gets or sets the stored VisibilityAnim (FVIS) instances for material visibility animations.
Public propertyModels
Gets or sets the stored Model (FMDL) instances.
Public propertyName
Gets or sets a name describing the contents.
Public propertySceneAnims
Gets or sets the stored SceneAnim (FSCN) instances.
Public propertyShaderParamAnims
Gets or sets the stored ShaderParamAnim (FSHU) instances.
Public propertyShapeAnims
Gets or sets the stored ShapeAnim (FSHA) instances.
Public propertySkeletalAnims
Gets or sets the stored SkeletalAnim (FSKA) instances.
Public propertyTexPatternAnims
Gets or sets the stored TexPatternAnim (FTXP) instances.
Public propertyTexSrtAnims
Gets or sets the stored ShaderParamAnim (FSHU) instances for texture SRT animations.
Public propertyTextures
Gets or sets the stored Texture (FTEX) instances.
Public propertyVersion
Gets or sets the revision of the BFRES structure formats.
Top
Methods
  NameDescription
Public methodSave(String)
Saves the contents in the file with the given fileName.
Public methodSave(Stream, Boolean)
Saves the contents in the given stream and optionally leaves it open
Top
See Also