SplitScript reference / Process

Process

type

Process

Accesses the attached game process.

Process operations discover modules, read memory, follow pointers, and scan signatures.

Examples

Read the matched process identity

let executableName = process.name()

Methods

MemberDescriptionAvailable through
closedIgnores the current attachment until the process closes.
findMemoryRangeSearches mapped memory ranges cooperatively.
followFollows a pointer path.
loadedModuleReturns a module only when it is already loaded.
mainModuleWaits for the main executable module.
memoryRangesCollects a snapshot of the process's mapped memory ranges.
moduleWaits for a process module.
nameReturns the configured process name that matched during attachment.
pathReturns the executable's host-provided filesystem path.
readReads a fixed-layout value from process memory.
readRelative32Resolves a 32-bit relative address.
readUtf16LeReads a bounded NUL-terminated UTF-16LE string.
readUtf8Reads a bounded NUL-terminated UTF-8 string.
scanScans a process-memory range.
scanMemoryScans every readable mapped memory range in the process.
scanMemoryAnyScans for the first of several signatures across process memory.