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
| Member | Description | Available through |
|---|---|---|
| closed | Ignores the current attachment until the process closes. | |
| findMemoryRange | Searches mapped memory ranges cooperatively. | |
| follow | Follows a pointer path. | |
| loadedModule | Returns a module only when it is already loaded. | |
| mainModule | Waits for the main executable module. | |
| memoryRanges | Collects a snapshot of the process's mapped memory ranges. | |
| module | Waits for a process module. | |
| name | Returns the configured process name that matched during attachment. | |
| path | Returns the executable's host-provided filesystem path. | |
| read | Reads a fixed-layout value from process memory. | |
| readRelative32 | Resolves a 32-bit relative address. | |
| readUtf16Le | Reads a bounded NUL-terminated UTF-16LE string. | |
| readUtf8 | Reads a bounded NUL-terminated UTF-8 string. | |
| scan | Scans a process-memory range. | |
| scanMemory | Scans every readable mapped memory range in the process. | |
| scanMemoryAny | Scans for the first of several signatures across process memory. |