Nucleus handler tools › Docs › Game.ProtoInput › RenameHandlesHook

Game.ProtoInput.RenameHandlesHook

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

Game.ProtoInput.RenameHandlesHook: boolean

Gives each instance its own copy of the named mutexes, events and semaphores listed in Game.ProtoInput.RenameHandles (and named pipes in Game.ProtoInput.RenameNamedPipes) by adding a random number to any name that contains a listed text, so instances don't detect each other. Only affects names the game creates or opens after Proto Input is injected. Needs Game.ProtoInput.InjectStartup or an InjectRuntime_… option.

✎ AI-written, based on Nucleus ProtoInputLauncher.cs (SetupInstance: InstallHook RenameHandlesHookID, AddHandleToRename, AddNamedPipeToRename); ProtoInputHooks RenameHandlesHook.cpp (updateName, Nt* hooks). Not from the official docs. Is it wrong? Tell us

Category: Proto Input

Game.ProtoInput.RenameHandlesHook = false;

Handler API docs

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