C# 클래스 YeloDebug.Xbox

Xbox debug connection.
상속: IDisposable
파일 보기 프로젝트 열기: troymac1ure/Entity 1 사용 예제들

공개 메소드들

메소드 설명
AllocateDebugMemory ( uint size ) : uint

Allocates debug memory on the xbox. Address space of 0xB0000000 to 0xC0000000.

AllocateMemory ( AllocationType type, uint size ) : uint

Allocates memory of specified type on the xbox.

AllocateMemory ( uint size ) : uint

Allocates memory on the xbox.

AllocatePhysicalMemory ( uint size ) : uint

Allocates physical memory on the xbox. Address space of 0x80000000 to 0x84000000. Extends to 0x88000000 on a developer kit.

AllocatePhysicalMemoryEx ( uint size, AddressRange range ) : uint

Allocates physical memory on the xbox. Input range of 0x0 - 0x4000000. Xbox address space of 0x80000000 to 0x84000000. Extends to 0x88000000 on a developer kit.

AllocateSystemMemory ( uint size ) : uint

Allocates system memory on the xbox. Address space of 0xD0000000 to 0xFFFFFFFC.

AllocateVirtualMemory ( uint size ) : uint

Allocates virtual memory on the xbox. Address space of 0x00000000 to 0x80000000.

AllocateVirtualMemoryEx ( uint size, uint address ) : uint

Allocates virtual memory on the xbox. Address space of 0x00000000 to 0x80000000.

CallAddress ( uint address, bool returnValue ) : uint

Simple function call with optional return value. Average execution time of 1.3 ms without return or 1.75ms with return.

0x10000 is reserved for function use.

CallAddressEx ( uint address, CPUContext context, bool returnValue ) : uint

Extended function call with optional context, arguments, and return value. Average execution time of 1.3ms without return or 1.75ms with return.

ChangeScriptBufferSize ( uint size ) : void

Changes the script buffer size.

ClearAllBreakpoints ( ) : void

Removes all breakpoints in an xbox title.

Connect ( ) : void

Connects to an xbox on the network. If multiple consoles are detected this method will attempt to connect to the last connection used. If that connection or information is unavailable this method will fail.

Connect ( string xbox ) : void

Connects to a specified xbox using the box name.

ConnectToIP ( string ip ) : void

Connects to an xbox using the IP address

ConnectionCheck ( ) : void

Checks the connection status between xbox and pc. This function only checks what YeloDebug believes to be the current connection status. For a true status check you will need to ping the xbox regularly.

Continue ( ) : void

Resumes all xbox title threads.

ContinueAllThreads ( ) : void

Resumes the execution of all xbox threads that have been stopped.

ContinueThread ( uint thread ) : void

Resumes the execution of an xbox thread that has been stopped.

CreateDirectory ( string name ) : void

Creates a directory on the xbox.

CreateFile ( string fileName, FileMode createDisposition ) : void

Creates a file on the xbox.

CyclePower ( ) : void

Shuts down the xbox console and then turns it on again.

DeleteDirectory ( string name ) : void

Deletes a directory on the xbox.

DeleteFile ( string fileName ) : void

Deletes a file on the xbox.

DisableDVDEjectReset ( ) : void

Disables reset on DVD tray eject.

Disconnect ( ) : void

Disconnects from the xbox.

DumpMemory ( ) : byte[]

A complete dump of xbox memory.

EjectTray ( ) : void

Ejects xbox tray.

EnableDVDEjectReset ( ) : void

Enables reset on DVD tray eject.

FileExists ( string fileName ) : bool

Determines if the given file exists.

FlushSocketBuffer ( ) : void

Clear everything from the receive buffer. Call this before you send anything to the xbox to help keep the channel in sync.

FlushSocketBuffer ( int size ) : void

Clear a specified amount from the receive buffer. If amount in buffer is less than requested size, everything will be cleared.

FreeAllMemory ( ) : uint

Frees all memory associated with the current allocation table.

FreeDebugMemory ( uint address ) : uint

Frees debug memory on the xbox.

FreeMemory ( uint address ) : uint

Frees xbox memory.

FreePhysicalMemory ( uint address ) : uint

Frees physical memory on the xbox.

FreeSystemMemory ( uint address ) : uint

Frees system memory on the xbox.

FreeVirtualMemory ( uint address ) : uint

Frees virtual memory on the xbox.

GetASCIIString ( uint address ) : string

Retrieves a null-terminated ascii string from xbox memory. Maximum length of 512 characters.

GetByte ( uint address ) : byte

Retrieves byte from xbox memory.

GetDirectoryList ( string name ) : List

Retrieves files that belong to a given directory.

GetDouble ( uint address ) : Double

Retrieves Double from xbox memory.

GetDriveFreeSpace ( Drive drive ) : ulong

Retrieves xbox drive freespace.

GetDriveSize ( Drive drive ) : ulong

Retrieves xbox drive size.

GetFileAccessCount ( ) : int

Gets the current file access count.

GetFileAttributes ( string fileName ) : FileAttributes

Retrieves file attributes.

GetFileCacheSize ( ) : uint

Retrieves the file cache size associated with the current title.

GetFileInformation ( string fileName ) : FileInformation

Retrieves file information.

GetFileSize ( string fileName ) : uint

Retrieves file size.

GetInt16 ( uint address ) : Int16

Retrieves Int16 from xbox memory.

GetInt32 ( uint address ) : Int32

Retrieves Int32 from xbox memory.

GetInt64 ( uint address ) : System.Int64

Retrieves Int64 from xbox memory.

GetMemory ( uint address, uint length ) : byte[]

Retrieves data from xbox memory.

GetMemory ( uint address, TypeCode dataType ) : object

Retrieves an object from xbox memory.

GetMemoryChecksum ( int address, int length ) : uint

Calculates the checksum of a block of memory on the xbox.

GetPartitions ( ) : List

Gets a list of partitions on the xbox hard drive.

GetSingle ( uint address ) : System.Single

Retrieves Single from xbox memory.

GetString ( uint address ) : string

Retrieves a string from xbox memory. Will automatically detect ascii or unicode strings of size greater than 1 char and retrieve as ascii. Maximum string size of 512 characters.

GetString ( uint address, uint length ) : string

Retrieves a string of specified length from xbox memory.

GetThreadStopInfo ( uint thread ) : string

If the specified thread is stopped this will return information about the circumstances that forced the thread to stop.

GetTrayState ( ) : TrayState
GetUInt16 ( uint address ) : UInt16

Retrieves UInt16 from xbox memory.

GetUInt32 ( uint address ) : UInt32

Retrieves UInt32 from xbox memory.

GetUInt64 ( uint address ) : System.UInt64

Retrieves UInt64 from xbox memory.

GetUnicodeString ( uint address ) : string

Retrieves a null-terminated unicode string from xbox memory. Maximum length of 512 characters.

GetVideoFlags ( ) : VideoFlags

Gets the xbox video flags.

GetVideoStandard ( ) : VideoStandard

Gets the xbox video standard.

HaltThread ( uint thread ) : void

Sends a request to the xbox that the specified thread break as soon as possible.

InitializeControllerHook ( ) : void

Hooks into the XInputGetState procedure on your xbox, and hijacks controller input.

IsGamepadHooked ( ) : bool

Detects whether or not we have already hooked into XInputGetState().

IsThreadStopped ( uint thread ) : bool

Determines whether the specified thread is stopped.

IsValidAddress ( uint address ) : bool

Determines whether or not the specified address exists in xbox memory.

IsValidAddressRange ( uint address, int size ) : bool

Checks for a valid address range.

LaunchTitle ( string path ) : void

Launches the specified xbox title and attempts to establish a new connection with that title.

LoadTray ( ) : void

Loads xbox tray.

ManuallyInitializeControllerHook ( uint xinputAddress ) : void

This is to be used if YeloDebug cannot automatically detect the XInputGetState function address. Then you will need to specify your own if you wish to hook into the controllers. This function has not been tested since I have not found a game which doesn't use the standard XInputGetState function.

MountDevice ( Device device, Drive drive ) : void

Mounts the specified device to the specified drive letter.

OverrideControllers ( bool enabled ) : void

Specifies if the xbox should override controller input and start listening for pc input.

Pause ( ) : void

Suspends all xbox title threads.

Ping ( ) : bool

Retrieves xbox connection status. Average execution time of 2200 executions per second, or one every half millisecond.

Ping ( int waitTime ) : bool

Retrieves xbox connection status. Average execution time of 2200 executions per second, or one every half millisecond.

QueryXboxConnections ( ) : List

Returns a list containing all consoles detected on the network.

RawFramebufferDump ( int width, int height, int pixelSizeInBytes ) : byte[]

Use this if the Screenshot function doesnt dump properly and you wish to add a new format. Framebuffer will be in a swizzled format.

ReadEEPROM ( ) : byte[]

Reads the xbox EEPROM.

Reboot ( ) : void

Performs a warm reboot on the xbox.

Reboot ( BootFlag flag ) : void

Reboots the xbox with the specified BootFlag.

ReceiveBinaryData ( ) : byte[]

Receives all available binary data sent from the xbox.

ReceiveBinaryData ( int size ) : byte[]

Receives binary data of specified size sent from the xbox.

ReceiveBinaryData ( byte &data ) : void

Receives binary data of specified size sent from the xbox.

ReceiveFile ( string localName, string remoteName ) : void

Receives a file from the xbox.

ReceiveMultilineResponse ( ) : string

Receives multiple lines of text from the xbox.

ReceiveNotification ( ) : bool

Receives a notification if one is present.

ReceiveNotifications ( ) : void

Receives any notifications that may be present.

ReceiveSocketLine ( ) : string

Receives a line of text from the xbox.

ReceiveStatusResponse ( ) : StatusResponse

Waits for a status response to be received from the xbox.

Reconnect ( ) : void

Re-establishes a connection with the currently selected xbox console.

Reconnect ( int timeout ) : void

Attempts to re-establish a connection with the currently selected xbox console.

RegisterNotificationSession ( int port ) : void

Registers a notification session on the specified port.

RemoveBreakPoint ( uint address ) : void

Removes a breakpoint in an xbox title.

RenameFile ( string oldFileName, string newFileName ) : void

Renames or moves a file on the xbox.

Reset ( ) : void

Resets the xbox console.

RestoreDefaultLEDState ( ) : void

Restores the xbox LED to its default state.

ResumeThread ( uint thread ) : void

Resumes a given xbox thread.

Screenshot ( ) : System.Image

Takes a screenshot of the xbox display.

SendBinaryData ( byte data ) : void

Sends binary data to the xbox.

SendBinaryData ( byte data, int length ) : void

Sends binary data of specified length to the xbox.

SendCommand ( string command ) : StatusResponse

Sends a command to the xbox.

SendFile ( string localName, string remoteName ) : void

Sends a file to the xbox.

SetBreakPoint ( uint address ) : void

Sets a breakpoint in an xbox title.

SetBreakPoint ( uint address, uint size, BreakpointType type ) : void

Sets a hardware breakpoint that suspends title execution when a particular section of memory is referenced.

SetFileAttributes ( string fileName, FileAttributes attributes ) : void

Sets file attributes.

SetFileCacheSize ( uint size ) : bool

Allows us to borrow extra memory from the file cache :)

SetFileInformation ( string fileName, FileInformation info ) : void

Modifies file creation information. If you wish to specify a new file size, use SetFileSize instead.

SetFileSize ( string fileName, int size ) : void

Sets the size of a specified file on the xbox. This method will not zero out any extra bytes that may have been created.

SetGamepadState ( uint port, InputState input ) : void

Sends gamepad input to a specified controller port. A controller must be plugged into the port for this to work. You are also responsible for the polling frequency.

SetLEDState ( LEDState state1, LEDState state2, LEDState state3, LEDState state4 ) : void

Sets the xbox LED state.

SetMemory ( uint address ) : void

Writes object(s) to a specified xbox memory location.

Shutdown ( ) : void

Shuts down the xbox console.

StopOn ( StopOnFlags flags ) : void

Some debugging events require title execution to be suspended. But there are some debugging events where thread suspension is an option. For these events, you can elect to have the debugging subsystem suspend title execution by calling this function.

StreamTest ( ) : string

Benchmark utility function best when ran with xdk dash. Lower memory situations will yeild lower speeds.

SuspendThread ( uint thread ) : void

Suspends a given xbox thread.

SynchronizeTime ( ) : void

Synchronizes the xbox system time with the computer's current time.

UnMountDevice ( Drive drive ) : void

Unmounts the specified drive.

Wait ( WaitType type ) : void

Waits for data to be received. During execution this method will enter a spin-wait loop and appear to use 100% cpu when in fact it is just a suspended thread. This is much more efficient than waiting a millisecond since most commands take fractions of a millisecond. It will either resume after the condition is met or throw a timeout exception.

Wait ( int targetLength ) : void

Waits for a specified amount of data to be received. Use with file IO.

Xbox ( ) : System

Xbox connection.

getTitleInformation ( ) : void

비공개 메소드들

메소드 설명
AlignmentCheck ( uint size ) : uint

Makes sure size is aligned to specs. Unaligned sizes will be rounded up to the next 4kb page boundary.

AllocateHistoryPages ( uint size ) : uint

Use in beginning when setting up our history page, since calladdressex will depend on that memory

AssertAllocationExists ( uint address ) : int

Makes sure the given allocation exists.

AssertAllocationNonexistant ( uint address ) : void

Makes sure the given allocation does not exist.

Deswizzle ( Byte swizzled ) : Byte[]
GetAllocationType ( uint address ) : AllocationType

Determines a given allocations type.

GetDriveInformation ( Drive drive, ulong &freeBytes, ulong &driveSize, ulong &totalFreeBytes ) : void

Dont use this, higher-level methods are available. Use GetDriveFreeSpace or GetDriveSize instead.

GetXboxInformation ( ) : void

Reads all static xbox information that will remain constant throughout a session.

Getmem ( uint address, int length, byte &buffer, int offset, int &read ) : void

Dont use this, higher-level methods are available. Use MemoryReader instead.

InitializeHistory ( ) : void

Initializes the history page.

IsEnoughMemory ( uint requestedSize ) : bool

Determines if the requested size of memory can be allocated. This function will also borrow from the file cache to meet the requested size if needed.

IsHistoryPresent ( ) : bool
LoadAllocationTable ( ) : List

Reads the allocation table from the xbox.

QueryVirtualMemory ( uint ptr ) : MEMORY_BASIC_INFORMATION
RawToBMP ( Byte raw ) : MemoryStream
ReadFilePartial ( string name, int offset, byte &buffer, int length, int &read ) : void

Dont use this, higher-level methods are available. Use FileStream instead.

RemoveAllocationEntry ( uint address ) : uint

Removes an entry from the allocation table.

SendATACommand ( ) : void
Setmem ( int address, int length, byte &buffer, int offset ) : void

Dont use this, higher-level methods are available. Use MemoryWriter instead. Writes to xbox memory. Performance of ~10MB/s due to a simple xbdm.dll modification.

StateChanged ( InputState oldState, InputState newState ) : bool

Compares the differences between two states and determines if they have changed.

SyncAllocationTable ( ) : void

Syncs the allocation table with the xbox.

VirtualProtect ( uint address, uint size, uint newProtect, uint &oldProtect ) : void
WriteFilePartial ( string name, int offset, byte &buffer, int length ) : void

Dont use this, higher-level methods are available. Use FileStream instead.

XInputGetStateAddress ( ) : uint

Searches xbox memory for XInputGetState(). Average execution time of 15ms.

_connect ( ) : void

Shared connection function

메소드 상세

AllocateDebugMemory() 공개 메소드

Allocates debug memory on the xbox. Address space of 0xB0000000 to 0xC0000000.
public AllocateDebugMemory ( uint size ) : uint
size uint Size of memory to be allocated. Note that an unaligned size will be rounded up to the next 4kb page boundary.
리턴 uint

AllocateMemory() 공개 메소드

Allocates memory of specified type on the xbox.
public AllocateMemory ( AllocationType type, uint size ) : uint
type AllocationType
size uint
리턴 uint

AllocateMemory() 공개 메소드

Allocates memory on the xbox.
public AllocateMemory ( uint size ) : uint
size uint
리턴 uint

AllocatePhysicalMemory() 공개 메소드

Allocates physical memory on the xbox. Address space of 0x80000000 to 0x84000000. Extends to 0x88000000 on a developer kit.
public AllocatePhysicalMemory ( uint size ) : uint
size uint Size of memory to be allocated. Note that an unaligned size will be rounded up to the next 4kb page boundary.
리턴 uint

AllocatePhysicalMemoryEx() 공개 메소드

Allocates physical memory on the xbox. Input range of 0x0 - 0x4000000. Xbox address space of 0x80000000 to 0x84000000. Extends to 0x88000000 on a developer kit.
public AllocatePhysicalMemoryEx ( uint size, AddressRange range ) : uint
size uint Size of memory to be allocated. Note that an unaligned size will be rounded up to the next 4kb page boundary.
range AddressRange Range of memory to place allocation.
리턴 uint

AllocateSystemMemory() 공개 메소드

Allocates system memory on the xbox. Address space of 0xD0000000 to 0xFFFFFFFC.
public AllocateSystemMemory ( uint size ) : uint
size uint Size of memory to be allocated. Note that an unaligned size will be rounded up to the next 4kb page boundary.
리턴 uint

AllocateVirtualMemory() 공개 메소드

Allocates virtual memory on the xbox. Address space of 0x00000000 to 0x80000000.
public AllocateVirtualMemory ( uint size ) : uint
size uint Size of memory to be allocated. Note that an unaligned size will be rounded up to the next 4kb page boundary.
리턴 uint

AllocateVirtualMemoryEx() 공개 메소드

Allocates virtual memory on the xbox. Address space of 0x00000000 to 0x80000000.
public AllocateVirtualMemoryEx ( uint size, uint address ) : uint
size uint Size of memory to be allocated. Note that an unaligned size will be rounded up to the next 4kb page boundary.
address uint Preferred address.
리턴 uint

CallAddress() 공개 메소드

Simple function call with optional return value. Average execution time of 1.3 ms without return or 1.75ms with return.
0x10000 is reserved for function use.
public CallAddress ( uint address, bool returnValue ) : uint
address uint Xbox procedure address.
returnValue bool
리턴 uint

CallAddressEx() 공개 메소드

Extended function call with optional context, arguments, and return value. Average execution time of 1.3ms without return or 1.75ms with return.
public CallAddressEx ( uint address, CPUContext context, bool returnValue ) : uint
address uint Xbox procedure address.
context CPUContext Cpu context. This parameter may be null.
returnValue bool
리턴 uint

ChangeScriptBufferSize() 공개 메소드

Changes the script buffer size.
public ChangeScriptBufferSize ( uint size ) : void
size uint
리턴 void

ClearAllBreakpoints() 공개 메소드

Removes all breakpoints in an xbox title.
public ClearAllBreakpoints ( ) : void
리턴 void

Connect() 공개 메소드

Connects to an xbox on the network. If multiple consoles are detected this method will attempt to connect to the last connection used. If that connection or information is unavailable this method will fail.
public Connect ( ) : void
리턴 void

Connect() 공개 메소드

Connects to a specified xbox using the box name.
public Connect ( string xbox ) : void
xbox string
리턴 void

ConnectToIP() 공개 메소드

Connects to an xbox using the IP address
public ConnectToIP ( string ip ) : void
ip string
리턴 void

ConnectionCheck() 공개 메소드

Checks the connection status between xbox and pc. This function only checks what YeloDebug believes to be the current connection status. For a true status check you will need to ping the xbox regularly.
public ConnectionCheck ( ) : void
리턴 void

Continue() 공개 메소드

Resumes all xbox title threads.
public Continue ( ) : void
리턴 void

ContinueAllThreads() 공개 메소드

Resumes the execution of all xbox threads that have been stopped.
public ContinueAllThreads ( ) : void
리턴 void

ContinueThread() 공개 메소드

Resumes the execution of an xbox thread that has been stopped.
public ContinueThread ( uint thread ) : void
thread uint Thread ID.
리턴 void

CreateDirectory() 공개 메소드

Creates a directory on the xbox.
public CreateDirectory ( string name ) : void
name string Directory name.
리턴 void

CreateFile() 공개 메소드

Creates a file on the xbox.
public CreateFile ( string fileName, FileMode createDisposition ) : void
fileName string File to create.
createDisposition FileMode Creation options.
리턴 void

CyclePower() 공개 메소드

Shuts down the xbox console and then turns it on again.
public CyclePower ( ) : void
리턴 void

DeleteDirectory() 공개 메소드

Deletes a directory on the xbox.
public DeleteDirectory ( string name ) : void
name string Directory name.
리턴 void

DeleteFile() 공개 메소드

Deletes a file on the xbox.
public DeleteFile ( string fileName ) : void
fileName string File to delete.
리턴 void

DisableDVDEjectReset() 공개 메소드

Disables reset on DVD tray eject.
public DisableDVDEjectReset ( ) : void
리턴 void

Disconnect() 공개 메소드

Disconnects from the xbox.
public Disconnect ( ) : void
리턴 void

DumpMemory() 공개 메소드

A complete dump of xbox memory.
public DumpMemory ( ) : byte[]
리턴 byte[]

EjectTray() 공개 메소드

Ejects xbox tray.
public EjectTray ( ) : void
리턴 void

EnableDVDEjectReset() 공개 메소드

Enables reset on DVD tray eject.
public EnableDVDEjectReset ( ) : void
리턴 void

FileExists() 공개 메소드

Determines if the given file exists.
public FileExists ( string fileName ) : bool
fileName string
리턴 bool

FlushSocketBuffer() 공개 메소드

Clear everything from the receive buffer. Call this before you send anything to the xbox to help keep the channel in sync.
public FlushSocketBuffer ( ) : void
리턴 void

FlushSocketBuffer() 공개 메소드

Clear a specified amount from the receive buffer. If amount in buffer is less than requested size, everything will be cleared.
public FlushSocketBuffer ( int size ) : void
size int Size to flush
리턴 void

FreeAllMemory() 공개 메소드

Frees all memory associated with the current allocation table.
public FreeAllMemory ( ) : uint
리턴 uint

FreeDebugMemory() 공개 메소드

Frees debug memory on the xbox.
public FreeDebugMemory ( uint address ) : uint
address uint Memory address.
리턴 uint

FreeMemory() 공개 메소드

Frees xbox memory.
public FreeMemory ( uint address ) : uint
address uint
리턴 uint

FreePhysicalMemory() 공개 메소드

Frees physical memory on the xbox.
public FreePhysicalMemory ( uint address ) : uint
address uint Memory address.
리턴 uint

FreeSystemMemory() 공개 메소드

Frees system memory on the xbox.
public FreeSystemMemory ( uint address ) : uint
address uint Memory address.
리턴 uint

FreeVirtualMemory() 공개 메소드

Frees virtual memory on the xbox.
public FreeVirtualMemory ( uint address ) : uint
address uint Memory address.
리턴 uint

GetASCIIString() 공개 메소드

Retrieves a null-terminated ascii string from xbox memory. Maximum length of 512 characters.
public GetASCIIString ( uint address ) : string
address uint Memory location.
리턴 string

GetByte() 공개 메소드

Retrieves byte from xbox memory.
public GetByte ( uint address ) : byte
address uint Memory location.
리턴 byte

GetDirectoryList() 공개 메소드

Retrieves files that belong to a given directory.
public GetDirectoryList ( string name ) : List
name string Directory name.
리턴 List

GetDouble() 공개 메소드

Retrieves Double from xbox memory.
public GetDouble ( uint address ) : Double
address uint Memory location.
리턴 Double

GetDriveFreeSpace() 공개 메소드

Retrieves xbox drive freespace.
public GetDriveFreeSpace ( Drive drive ) : ulong
drive Drive Drive name.
리턴 ulong

GetDriveSize() 공개 메소드

Retrieves xbox drive size.
public GetDriveSize ( Drive drive ) : ulong
drive Drive Drive name.
리턴 ulong

GetFileAccessCount() 공개 메소드

Gets the current file access count.
public GetFileAccessCount ( ) : int
리턴 int

GetFileAttributes() 공개 메소드

Retrieves file attributes.
public GetFileAttributes ( string fileName ) : FileAttributes
fileName string File name.
리턴 FileAttributes

GetFileCacheSize() 공개 메소드

Retrieves the file cache size associated with the current title.
public GetFileCacheSize ( ) : uint
리턴 uint

GetFileInformation() 공개 메소드

Retrieves file information.
public GetFileInformation ( string fileName ) : FileInformation
fileName string File name.
리턴 FileInformation

GetFileSize() 공개 메소드

Retrieves file size.
public GetFileSize ( string fileName ) : uint
fileName string File name.
리턴 uint

GetInt16() 공개 메소드

Retrieves Int16 from xbox memory.
public GetInt16 ( uint address ) : Int16
address uint Memory location.
리턴 System.Int16

GetInt32() 공개 메소드

Retrieves Int32 from xbox memory.
public GetInt32 ( uint address ) : Int32
address uint Memory location.
리턴 System.Int32

GetInt64() 공개 메소드

Retrieves Int64 from xbox memory.
public GetInt64 ( uint address ) : System.Int64
address uint Memory location.
리턴 System.Int64

GetMemory() 공개 메소드

Retrieves data from xbox memory.
public GetMemory ( uint address, uint length ) : byte[]
address uint Memory location.
length uint Length of data to receive.
리턴 byte[]

GetMemory() 공개 메소드

Retrieves an object from xbox memory.
public GetMemory ( uint address, TypeCode dataType ) : object
address uint Memory location.
dataType TypeCode Object type.
리턴 object

GetMemoryChecksum() 공개 메소드

Calculates the checksum of a block of memory on the xbox.
public GetMemoryChecksum ( int address, int length ) : uint
address int Memory address on the Xbox console of the first byte of memory in the block. This address must be aligned on an 8-byte boundary, and it cannot point to code.
length int Number of bytes on which to perform the checksum. This value must be a multiple of 8.
리턴 uint

GetPartitions() 공개 메소드

Gets a list of partitions on the xbox hard drive.
public GetPartitions ( ) : List
리턴 List

GetSingle() 공개 메소드

Retrieves Single from xbox memory.
public GetSingle ( uint address ) : System.Single
address uint Memory location.
리턴 System.Single

GetString() 공개 메소드

Retrieves a string from xbox memory. Will automatically detect ascii or unicode strings of size greater than 1 char and retrieve as ascii. Maximum string size of 512 characters.
public GetString ( uint address ) : string
address uint
리턴 string

GetString() 공개 메소드

Retrieves a string of specified length from xbox memory.
public GetString ( uint address, uint length ) : string
address uint
length uint
리턴 string

GetThreadStopInfo() 공개 메소드

If the specified thread is stopped this will return information about the circumstances that forced the thread to stop.
public GetThreadStopInfo ( uint thread ) : string
thread uint
리턴 string

GetTrayState() 공개 메소드

public GetTrayState ( ) : TrayState
리턴 TrayState

GetUInt16() 공개 메소드

Retrieves UInt16 from xbox memory.
public GetUInt16 ( uint address ) : UInt16
address uint Memory location.
리턴 System.UInt16

GetUInt32() 공개 메소드

Retrieves UInt32 from xbox memory.
public GetUInt32 ( uint address ) : UInt32
address uint Memory location.
리턴 System.UInt32

GetUInt64() 공개 메소드

Retrieves UInt64 from xbox memory.
public GetUInt64 ( uint address ) : System.UInt64
address uint Memory location.
리턴 System.UInt64

GetUnicodeString() 공개 메소드

Retrieves a null-terminated unicode string from xbox memory. Maximum length of 512 characters.
public GetUnicodeString ( uint address ) : string
address uint Memory location.
리턴 string

GetVideoFlags() 공개 메소드

Gets the xbox video flags.
public GetVideoFlags ( ) : VideoFlags
리턴 VideoFlags

GetVideoStandard() 공개 메소드

Gets the xbox video standard.
public GetVideoStandard ( ) : VideoStandard
리턴 VideoStandard

HaltThread() 공개 메소드

Sends a request to the xbox that the specified thread break as soon as possible.
public HaltThread ( uint thread ) : void
thread uint ID of the thread to be halted. Send 0 as the thread ID to have the debugging subsystem select a thread to break into.
리턴 void

InitializeControllerHook() 공개 메소드

Hooks into the XInputGetState procedure on your xbox, and hijacks controller input.
public InitializeControllerHook ( ) : void
리턴 void

IsGamepadHooked() 공개 메소드

Detects whether or not we have already hooked into XInputGetState().
public IsGamepadHooked ( ) : bool
리턴 bool

IsThreadStopped() 공개 메소드

Determines whether the specified thread is stopped.
public IsThreadStopped ( uint thread ) : bool
thread uint
리턴 bool

IsValidAddress() 공개 메소드

Determines whether or not the specified address exists in xbox memory.
public IsValidAddress ( uint address ) : bool
address uint
리턴 bool

IsValidAddressRange() 공개 메소드

Checks for a valid address range.
public IsValidAddressRange ( uint address, int size ) : bool
address uint
size int
리턴 bool

LaunchTitle() 공개 메소드

Launches the specified xbox title and attempts to establish a new connection with that title.
public LaunchTitle ( string path ) : void
path string
리턴 void

LoadTray() 공개 메소드

Loads xbox tray.
public LoadTray ( ) : void
리턴 void

ManuallyInitializeControllerHook() 공개 메소드

This is to be used if YeloDebug cannot automatically detect the XInputGetState function address. Then you will need to specify your own if you wish to hook into the controllers. This function has not been tested since I have not found a game which doesn't use the standard XInputGetState function.
public ManuallyInitializeControllerHook ( uint xinputAddress ) : void
xinputAddress uint
리턴 void

MountDevice() 공개 메소드

Mounts the specified device to the specified drive letter.
public MountDevice ( Device device, Drive drive ) : void
device Device Device name
drive Drive Drive letter
리턴 void

OverrideControllers() 공개 메소드

Specifies if the xbox should override controller input and start listening for pc input.
public OverrideControllers ( bool enabled ) : void
enabled bool
리턴 void

Pause() 공개 메소드

Suspends all xbox title threads.
public Pause ( ) : void
리턴 void

Ping() 공개 메소드

Retrieves xbox connection status. Average execution time of 2200 executions per second, or one every half millisecond.
public Ping ( ) : bool
리턴 bool

Ping() 공개 메소드

Retrieves xbox connection status. Average execution time of 2200 executions per second, or one every half millisecond.
public Ping ( int waitTime ) : bool
waitTime int Time to wait for a response
리턴 bool

QueryXboxConnections() 공개 메소드

Returns a list containing all consoles detected on the network.
public QueryXboxConnections ( ) : List
리턴 List

RawFramebufferDump() 공개 메소드

Use this if the Screenshot function doesnt dump properly and you wish to add a new format. Framebuffer will be in a swizzled format.
public RawFramebufferDump ( int width, int height, int pixelSizeInBytes ) : byte[]
width int
height int
pixelSizeInBytes int
리턴 byte[]

ReadEEPROM() 공개 메소드

Reads the xbox EEPROM.
public ReadEEPROM ( ) : byte[]
리턴 byte[]

Reboot() 공개 메소드

Performs a warm reboot on the xbox.
public Reboot ( ) : void
리턴 void

Reboot() 공개 메소드

Reboots the xbox with the specified BootFlag.
public Reboot ( BootFlag flag ) : void
flag BootFlag
리턴 void

ReceiveBinaryData() 공개 메소드

Receives all available binary data sent from the xbox.
public ReceiveBinaryData ( ) : byte[]
리턴 byte[]

ReceiveBinaryData() 공개 메소드

Receives binary data of specified size sent from the xbox.
public ReceiveBinaryData ( int size ) : byte[]
size int
리턴 byte[]

ReceiveBinaryData() 공개 메소드

Receives binary data of specified size sent from the xbox.
public ReceiveBinaryData ( byte &data ) : void
data byte
리턴 void

ReceiveFile() 공개 메소드

Receives a file from the xbox.
public ReceiveFile ( string localName, string remoteName ) : void
localName string PC file name.
remoteName string Xbox file name.
리턴 void

ReceiveMultilineResponse() 공개 메소드

Receives multiple lines of text from the xbox.
public ReceiveMultilineResponse ( ) : string
리턴 string

ReceiveNotification() 공개 메소드

Receives a notification if one is present.
public ReceiveNotification ( ) : bool
리턴 bool

ReceiveNotifications() 공개 메소드

Receives any notifications that may be present.
public ReceiveNotifications ( ) : void
리턴 void

ReceiveSocketLine() 공개 메소드

Receives a line of text from the xbox.
public ReceiveSocketLine ( ) : string
리턴 string

ReceiveStatusResponse() 공개 메소드

Waits for a status response to be received from the xbox.
public ReceiveStatusResponse ( ) : StatusResponse
리턴 StatusResponse

Reconnect() 공개 메소드

Re-establishes a connection with the currently selected xbox console.
public Reconnect ( ) : void
리턴 void

Reconnect() 공개 메소드

Attempts to re-establish a connection with the currently selected xbox console.
public Reconnect ( int timeout ) : void
timeout int
리턴 void

RegisterNotificationSession() 공개 메소드

Registers a notification session on the specified port.
public RegisterNotificationSession ( int port ) : void
port int
리턴 void

RemoveBreakPoint() 공개 메소드

Removes a breakpoint in an xbox title.
public RemoveBreakPoint ( uint address ) : void
address uint Address where you would like to remove a breakpoint.
리턴 void

RenameFile() 공개 메소드

Renames or moves a file on the xbox.
public RenameFile ( string oldFileName, string newFileName ) : void
oldFileName string Old file name.
newFileName string New file name.
리턴 void

Reset() 공개 메소드

Resets the xbox console.
public Reset ( ) : void
리턴 void

RestoreDefaultLEDState() 공개 메소드

Restores the xbox LED to its default state.
public RestoreDefaultLEDState ( ) : void
리턴 void

ResumeThread() 공개 메소드

Resumes a given xbox thread.
public ResumeThread ( uint thread ) : void
thread uint ID of the thread to resume.
리턴 void

Screenshot() 공개 메소드

Takes a screenshot of the xbox display.
public Screenshot ( ) : System.Image
리턴 System.Image

SendBinaryData() 공개 메소드

Sends binary data to the xbox.
public SendBinaryData ( byte data ) : void
data byte
리턴 void

SendBinaryData() 공개 메소드

Sends binary data of specified length to the xbox.
public SendBinaryData ( byte data, int length ) : void
data byte
length int
리턴 void

SendCommand() 공개 메소드

Sends a command to the xbox.
public SendCommand ( string command ) : StatusResponse
command string Command to be sent
리턴 StatusResponse

SendFile() 공개 메소드

Sends a file to the xbox.
public SendFile ( string localName, string remoteName ) : void
localName string PC file name.
remoteName string Xbox file name.
리턴 void

SetBreakPoint() 공개 메소드

Sets a breakpoint in an xbox title.
public SetBreakPoint ( uint address ) : void
address uint Address where you would like to set a breakpoint.
리턴 void

SetBreakPoint() 공개 메소드

Sets a hardware breakpoint that suspends title execution when a particular section of memory is referenced.
public SetBreakPoint ( uint address, uint size, BreakpointType type ) : void
address uint Address of the memory to watch.
size uint The size, in bytes, of the memory to be watched. /// The only allowable values for this parameter are 1, 2, and 4.
type BreakpointType Type of access to watch for.
리턴 void

SetFileAttributes() 공개 메소드

Sets file attributes.
public SetFileAttributes ( string fileName, FileAttributes attributes ) : void
fileName string File name.
attributes FileAttributes
리턴 void

SetFileCacheSize() 공개 메소드

Allows us to borrow extra memory from the file cache :)
public SetFileCacheSize ( uint size ) : bool
size uint Page count.
리턴 bool

SetFileInformation() 공개 메소드

Modifies file creation information. If you wish to specify a new file size, use SetFileSize instead.
public SetFileInformation ( string fileName, FileInformation info ) : void
fileName string File name.
info FileInformation File information.
리턴 void

SetFileSize() 공개 메소드

Sets the size of a specified file on the xbox. This method will not zero out any extra bytes that may have been created.
public SetFileSize ( string fileName, int size ) : void
fileName string
size int
리턴 void

SetGamepadState() 공개 메소드

Sends gamepad input to a specified controller port. A controller must be plugged into the port for this to work. You are also responsible for the polling frequency.
public SetGamepadState ( uint port, InputState input ) : void
port uint Controller port. [0-3]
input InputState Gamepad input.
리턴 void

SetLEDState() 공개 메소드

Sets the xbox LED state.
public SetLEDState ( LEDState state1, LEDState state2, LEDState state3, LEDState state4 ) : void
state1 LEDState First LED state.
state2 LEDState Second LED state.
state3 LEDState Third LED state.
state4 LEDState Fourth LED state.
리턴 void

SetMemory() 공개 메소드

Writes object(s) to a specified xbox memory location.
public SetMemory ( uint address ) : void
address uint Xbox memory location.
리턴 void

Shutdown() 공개 메소드

Shuts down the xbox console.
public Shutdown ( ) : void
리턴 void

StopOn() 공개 메소드

Some debugging events require title execution to be suspended. But there are some debugging events where thread suspension is an option. For these events, you can elect to have the debugging subsystem suspend title execution by calling this function.
public StopOn ( StopOnFlags flags ) : void
flags StopOnFlags
리턴 void

StreamTest() 공개 메소드

Benchmark utility function best when ran with xdk dash. Lower memory situations will yeild lower speeds.
public StreamTest ( ) : string
리턴 string

SuspendThread() 공개 메소드

Suspends a given xbox thread.
public SuspendThread ( uint thread ) : void
thread uint ID of the thread to suspend.
리턴 void

SynchronizeTime() 공개 메소드

Synchronizes the xbox system time with the computer's current time.
public SynchronizeTime ( ) : void
리턴 void

UnMountDevice() 공개 메소드

Unmounts the specified drive.
public UnMountDevice ( Drive drive ) : void
drive Drive Drive letter.
리턴 void

Wait() 공개 메소드

Waits for data to be received. During execution this method will enter a spin-wait loop and appear to use 100% cpu when in fact it is just a suspended thread. This is much more efficient than waiting a millisecond since most commands take fractions of a millisecond. It will either resume after the condition is met or throw a timeout exception.
public Wait ( WaitType type ) : void
type WaitType Wait type
리턴 void

Wait() 공개 메소드

Waits for a specified amount of data to be received. Use with file IO.
public Wait ( int targetLength ) : void
targetLength int Amount of data to wait for
리턴 void

Xbox() 공개 메소드

Xbox connection.
public Xbox ( ) : System
리턴 System

getTitleInformation() 공개 메소드

public getTitleInformation ( ) : void
리턴 void