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
| Member | Description | Available through |
|---|---|---|
| MemoryReader | Reads typed values and bounded strings from an address space. |
Methods
| Member | Description | Available through |
|---|---|---|
| read | Reads one fixed-layout value from this address space. | Available through MemoryReader |
| readUtf16Le | Reads a bounded NUL-terminated little-endian UTF-16 string. | Available through MemoryReader |
| readUtf8 | Reads a bounded NUL-terminated UTF-8 string. | Available through MemoryReader |
| 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. | |
| 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. | |
| scanOnce | Scans one complete pass over a process-memory range. |