Dota 2 Farm
A Dota 2 account farm for Windows — controls game windows through Win32, with no injection into the game.
10isolated windows on one machine
~10 mswindow capture
0 GBgame copy in each sandbox
9machine checks in doctor
The task
Run ten isolated game windows on one Windows machine and control them from the outside — through Win32, with no injection into the game process.
What I built
- a separate Sandboxie-Plus sandbox for every account
- background Steam login, game launch and setup
- staged window startup with memory control and a grid layout
- capturing a window even when it's covered by others, and input without stealing focus
- a
doctormachine check: memory, disk, VRAM, network, sleep mode - an emergency stop hotkey
Under the hood
- Steam login checks a window snapshot to make sure the password is fully typed before pressing "Sign in".
- The game isn't copied into sandboxes: the folder is read-only, so the copy inside each sandbox takes 0 GB.
- Windows start with an eye on committed system memory, so there's enough for every window.
stack:PythonWinAPISandboxie-PlusSQLite
The code belongs to the clients, so the case pages only describe the work.