SplitScript reference / Process

Process

type

Process

Accesses the attached game process.

Process operations discover modules, read memory, follow pointers, and scan signatures. Inside selectProcess, this same value refers to the temporary same-name candidate being inspected. Returning true promotes that candidate; returning false or propagating an error detaches it before provider setup.

Examples

Read the matched process identity

let executableName = process.name()

Capabilities

MemberDescriptionAvailable through
MemoryReaderReads typed values and bounded strings from an address space.

Methods

MemberDescriptionAvailable through
readReads one fixed-layout value from this address space.Available through MemoryReader
readUtf16LeReads a bounded NUL-terminated little-endian UTF-16 string.Available through MemoryReader
readUtf8Reads a bounded NUL-terminated UTF-8 string.Available through MemoryReader
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.
scanScans a process-memory range.
scanMemoryScans every readable mapped memory range in the process.
scanMemoryAnyScans for the first of several signatures across process memory.
scanOnceScans one complete pass over a process-memory range.