Skip to content

GeckoConnector<TProvider> ​

A connector for the GameCube/Wii Gecko device.

Kind: Class

Namespace: ConnectorLib

Inheritance: ConnectorBase → I16BitConnector → I32BitConnector → I64BitConnector → I8BitConnector → IAddressableConnector → IConsoleConnector → IDisposable → IDomainMappableConnector → IGCNConnector → IGameConnector → IGeckoConnector → IROMProcessor → IWiiConnector → IWiiUConnector

Public Constructors

GeckoConnector<TProvider>()

Public Member Functions

virtual override

Task>

Connect()

virtual override

Task

Disconnect(string message)

byte[]

TranslateAddress(uint address)

Translates a given address to the format used by the Gecko device.

byte[]

TranslateValue(uint value)

Translates a given value to the format used by the Gecko device.

bool

Read(ulong address, Span buffer, int offset, int length)

bool

Write(ulong address, ReadOnlySpan buffer, int offset, int length)

bool

Read8(ulong address, byte out value)

bool

Write8(ulong address, byte value)

bool

Freeze8(ulong address, byte value)

bool

Unfreeze(ulong address)

bool

Freeze(ulong address, ulong value, byte size, WriteType writeType, ulong cmpAddress, ulong cmpValue, byte cmpSize, CompareType cmpType)

bool

Freeze(ulong address, ulong value, ulong mask, byte size, WriteType writeType, ulong cmpAddress, ulong cmpValue, byte cmpSize, CompareType cmpType)

bool

SetBits(ulong address, byte mask, byte out orig)

bool

SetBits(ulong address, string domain, byte mask, byte out orig)

bool

UnsetBits(ulong address, byte mask, byte out orig)

bool

UnsetBits(ulong address, string domain, byte mask, byte out orig)

bool

CompareSwap(ulong chkAddress, byte test, byte newVal, byte out orig)

string

GetROMPath()

bool

OpenROM(string localPath)

bool

CloseROM()

bool

PatchROM(IROMPatch patch)

bool

PatchROM(byte[] data)

bool

ResetConsole()

bool

Read16(ulong address, ushort out value)

bool

Write16(ulong address, ushort value)

bool

Freeze16(ulong address, ushort value)

bool

Read32(ulong address, uint out value)

bool

Write32(ulong address, uint value)

bool

Freeze32(ulong address, uint value)

bool

Read64(ulong address, ulong out value)

bool

Write64(ulong address, ulong value)

bool

Freeze64(ulong address, ulong value)

bool

Read(ulong address, string domain, Span buffer, int offset, int length)

bool

Write(ulong address, string domain, ReadOnlySpan buffer, int offset, int length)

bool

Freeze(ulong address, string domain, ulong value, byte size, WriteType writeType, ulong cmpAddress, ulong cmpValue, byte cmpSize, CompareType cmpType)

bool

Freeze(ulong address, string domain, ulong value, ulong mask, byte size, WriteType writeType, ulong cmpAddress, ulong cmpValue, byte cmpSize, CompareType cmpType)

bool

Unfreeze(ulong address, string domain)

Public Attributes

IGeckoProvider

Provider

The provider used to communicate with the Gecko device.

Properties

bool

Connected

[get, ]

int

AddressShift

[get, set]

The address shift used to translate addresses.

IFeatureAware

Features

[get, ]

Endianness

Endianness

[get, ]

PointerFormat

PointerFormat

[get, ]

Events

Action<string>

UserStateLoad

Action<string>

UserStateSave

Action<string>

UserStateDelete

EventHandler<ValueTuple<ConnectionStatus, string>>

ConnectionStatusChanged