Skip to content

Commit 25b3e99

Browse files
authored
Enhance README with usage examples and options
Added usage instructions and options for WinSplitPlus.
1 parent 85b0dbc commit 25b3e99

1 file changed

Lines changed: 41 additions & 1 deletion

File tree

README.md

Lines changed: 41 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1 +1,41 @@
1-
# WinSplitPlus
1+
# WinSplitPlus
2+
3+
Window Hooks to change the Window Class, Window Name, Kill mutex and Create Window
4+
5+
Usage for CMD:
6+
```CMD
7+
WinSplitPlus.exe -player <Num> -winname -mutex <Mutex Name> -width <Num> -height <Num> -posx <Num> -posy <Num> "<Game Path>" <Game arguments>
8+
```
9+
Example:
10+
```CMD
11+
WinSplitPlus.exe -player 1 -winclass -winname -mutex "Game Mutex" -width 1280 -height 720 -posx 100 -posy 100 "C:\Games\Game.exe" -window
12+
```
13+
14+
For Batch file example:
15+
```batch
16+
@echo off
17+
18+
START WinSplitPlus.exe ^
19+
-Player 1 ^
20+
-winclass ^
21+
-winname ^
22+
-mutex "Mutex Game" ^
23+
-width 960 ^
24+
-height 1080 ^
25+
-posx 0 ^
26+
-posy 0 ^
27+
"C:\Game\Game.exe" -window
28+
```
29+
Options:
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 |
40+
41+
Project imported from [here](https://www.swbfgamers.com/index.php?topic=11251.msg112827#msg112827) by SleepKiller

0 commit comments

Comments
 (0)