Nucleus handler tools › Docs › ProtoInput › EasyHookInjectStartup

ProtoInput.EasyHookInjectStartup

Open in the workbench (search, and try it in a handler)

ProtoInput.EasyHookInjectStartup(
  exePath: string | number | boolean,
  commandLine: string | number | boolean,
  processCreationFlags: number,
  dllFolderPath: string | number | boolean,
  environment: number
): number
ProtoInput.EasyHookInjectStartup(
  exePath: string | number | boolean,
  commandLine: string | number | boolean,
  processCreationFlags: number,
  dllFolderPath: string | number | boolean
): number

Starts a game executable suspended and loads Proto Input into it before it runs. Parameters: the exe path, the command line, the process creation flags (Nucleus passes 0) and the folder that holds the Proto Input files. Returns the instance handle (0 on failure); the game stays suspended until ProtoInput.WakeUpProcess.

✎ AI-written, based on Nucleus ProtoInput.cs (EasyHookInjectStartup, JavaScript friendly overload), ProtoInputLoader EasyHookStartup.cpp (RtlCreateSuspendedProcess), Nucleus ProtoInputLauncher.cs (InjectStartup). Not from the official docs. Is it wrong? Tell us

Handler API docs

Is this right? Tell us what's wrong
Stuck, or not sure? Ask other handler authors: Discordr/nucleuscoop