Expand description
Running several Roblox clients at once.
On Windows, the bundled audited helper closes Robloxโs singleton handles. On macOS, Robloxโs
single-instance semaphore name is removed and the player is started directly, because Launch
Services refuses a second instance of a bundle with LSMultipleInstancesProhibited. The
semaphore was identified by multi-roblox-macos
and rororo-mac.
Constantsยง
- CREATE_
NO_ ๐WINDOW - Process creation flag that keeps console helpers from opening a window.
- PLAYER_
EXECUTABLE ๐ - The player executable inside
Roblox.app. - ROBLOX_
SINGLETON ๐ - The named event
RobloxPlayerBeta.execreates to refuse a second client.
Staticsยง
- SINGLETON_
HANDLE ๐ - The handle of the mutex holding the Roblox singleton name, or 0.
Functionsยง
- Close
Handle ๐ โ - Create
MutexW ๐ โ - clear_
new_ roblox_ instances - Lets the next Roblox client open alongside running ones.
- close_
singleton_ ๐handles - Runs the helper on Roblox processes not yet in
cleared. - find_
roblox_ ๐player - Returns the first installed Roblox player under the given application folders.
- hold_
name ๐ - Creates a mutex under
nameand returns its handle. ReturnsNonewhen the name is already taken by an object of another type, such as an event. - open_
new_ roblox_ instance - Starts a new Roblox client for a join URI alongside any running clients.
- release_
roblox_ singleton - Releases the Roblox singleton name, so Roblox allows one client again. Does nothing when the name isnโt held or outside Windows.