C# Class NewSF64Toolkit.DataStructures.SF64ROM

Inheritance: IGameDataStructure, IResource
Show file Open project: mib-f8sm9c/NewSF64Toolkit Class Usage Examples

Public Methods

Method Description
CheckCRC ( ) : bool
Decompress ( ) : bool
FixCRC ( ) : bool
GetAsBytes ( ) : byte[]
GetTreeNode ( ) : TreeNode
LoadFromBytes ( byte data ) : bool
LoadFromDMATables ( string fileName, List DMAData ) : void
LoadFromROM ( string romFile ) : bool
LoadROMResources ( ) : void
ResetRom ( ) : void
SaveRomTo ( string filePath ) : bool

Private Methods

Method Description
BytesToDMATable ( byte data, Endianness RomEndianness ) : bool
CheckValidity ( ) : void
DecompressDMA ( ) : bool
FixDMATable ( ) : bool
SF64ROM ( ) : System
SF64ROM ( string fileName, List DMAData ) : System
SF64ROM ( string fileName, byte data ) : System

Method Details

CheckCRC() public method

public CheckCRC ( ) : bool
return bool

Decompress() public method

public Decompress ( ) : bool
return bool

FixCRC() public method

public FixCRC ( ) : bool
return bool

GetAsBytes() public method

public GetAsBytes ( ) : byte[]
return byte[]

GetTreeNode() public method

public GetTreeNode ( ) : TreeNode
return TreeNode

LoadFromBytes() public method

public LoadFromBytes ( byte data ) : bool
data byte
return bool

LoadFromDMATables() public static method

public static LoadFromDMATables ( string fileName, List DMAData ) : void
fileName string
DMAData List
return void

LoadFromROM() public static method

public static LoadFromROM ( string romFile ) : bool
romFile string
return bool

LoadROMResources() public method

public LoadROMResources ( ) : void
return void

ResetRom() public static method

public static ResetRom ( ) : void
return void

SaveRomTo() public static method

public static SaveRomTo ( string filePath ) : bool
filePath string
return bool