Skip to content

Latest commit

 

History

History
50 lines (44 loc) · 2.28 KB

File metadata and controls

50 lines (44 loc) · 2.28 KB

WinSplitPlus

Some games can not be launched with multi instance even with killing the game mutex, so it checks for the existed window class name and prevents multi game run.

WinSplitPlus is a window hooks to change the window class, window name and kill the game mutex.

CMD usage:

WinSplitPlus.exe -Player <Num> -WinClass -FindWindow -Mutex <"Mutex Name"> -Width <Num> -Height <Num> -Posx <Num> -Posy <Num> <"Game Path"> <Game arguments>

Example:

WinSplitPlus.exe -Player 1 -WinClass -FindWindow -A -Std -Mutex "GameMutex" -Width 1280 -Height 720 -Posx 100 -Posy 100 "C:\Games\Game.exe" -window

For Batch file example:

@echo off

WinSplitPlus.exe ^
-Player 1 ^
-WinClass ^
-FindWIndow ^
-A ^
-Std ^
-Mutex "GameMutex" ^
-Width 960 ^
-Height 1080 ^
-Posx 0 ^
-Posy 0 ^
"Game.exe" -window

Options:

Argument Description
-Player <Number> Identifier for this game instance
-WinClass Enable Window class hook
-WinName Enable Window Name hook
-FindWindow Enable FindWindow hook (It fixes the audio for some games)
-Mutex <BaseMutexName> The base name for the game's mutex
-Width <Width> The window width
-Height <Height> The window height
-Posx <X> The window X position
-Posy <Y> The window Y position
-A Enable ANSI hooks (for old games)
-W Enable Unicode hooks (for modern games)
-Std Enable Standard hooks (can be combined with -Ex)
-Ex Enable Extended hooks (can be combined with -Std)

Project imported from here by SleepKiller