11# WinSplitPlus
22
3- Window Hooks to change the Window Class, Window Name, Kill mutex and Create Window
3+ 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.
44
5- Usage for CMD:
5+ WinSplitPlus is a window hooks to change the window class, window name and kill the game mutex.
6+
7+ CMD usage:
68``` CMD
7- WinSplitPlus.exe -player <Num> -winclass -winname -mutex <"Mutex Name"> -width <Num> -height <Num> -posx <Num> -posy <Num> <"Game Path"> <Game arguments>
9+ WinSplitPlus.exe -Player <Num> -WinClass -WinName -Mutex <"Mutex Name"> -Width <Num> -Height <Num> -Posx <Num> -Posy <Num> <"Game Path"> <Game arguments>
810```
911Example:
1012``` CMD
11- WinSplitPlus.exe -player 1 -winclass -winname -mutex "Game Mutex" -width 1280 -height 720 -posx 100 -posy 100 "C:\Games\Game.exe" -window
13+ WinSplitPlus.exe -Player 1 -A -WinClass -WinName - Mutex "GameMutex" -Width 1280 -Height 720 -Posx 100 -Posy 100 "C:\Games\Game.exe" -window
1214```
1315
1416For Batch file example:
@@ -17,25 +19,30 @@ For Batch file example:
1719
1820START WinSplitPlus.exe ^
1921-Player 1 ^
20- -winclass ^
21- -winname ^
22- -mutex "Game Mutex" ^
23- -width 960 ^
24- -height 1080 ^
25- -posx 0 ^
26- -posy 0 ^
22+ -A ^
23+ -WinClass ^
24+ -WinName ^
25+ -Mutex "GameMutex" ^
26+ -Width 960 ^
27+ -Height 1080 ^
28+ -Posx 0 ^
29+ -Posy 0 ^
2730"C:\Game\Game.exe" -window
2831```
2932Options:
30- | Argument | Description |
31- | -----------------------------| -----------------------------------|
32- | ` -Player <Number> ` | Identifier for this game instance |
33- | ` -winclass ` | Enable Window class hook |
34- | ` -winname ` | Enable Window Name hook |
35- | ` -mutex <baseMutexName> ` | The base name for the game's mutex|
36- | ` -width <width> ` | The window width |
37- | ` -height <height> ` | The window height |
38- | ` -posx <x> ` | The window X position |
39- | ` -posy <y> ` | The window Y position |
33+ | Argument | Description |
34+ | -----------------------------| -----------------------------------------------|
35+ | ` -Player <Number> ` | Identifier for this game instance |
36+ | ` -WinClass ` | Enable Window class hook |
37+ | ` -WinName ` | Enable Window Name hook |
38+ | ` -Mutex <BaseMutexName> ` | The base name for the game's mutex |
39+ | ` -Width <Width> ` | The window width |
40+ | ` -Height <Height> ` | The window height |
41+ | ` -Posx <X> ` | The window X position |
42+ | ` -Posy <Y> ` | The window Y position |
43+ | ` -A ` | Enable ANSI hooks (Best for old games) |
44+ | ` -W ` | Enable Unicode hooks (Best for modern games) |
45+ | ` -Std ` | Enable Standard hooks |
46+ | ` -Ex ` | Enable Extended hooks |
4047
4148Project imported from [ here] ( https://www.swbfgamers.com/index.php?topic=11251.msg112827#msg112827 ) by SleepKiller
0 commit comments