It Takes Two
Оценок: 72
Multi Monitor Setup w/ Autohotkey
От jonnysonny
My way of running It Takes Two any size you like over multiple monitors
2
   
Наградить
В избранное
В избранном
Удалить
Downloading Autohotkey/Script
You COULD use my precompiled Script[drive.google.com]
If you like running executables from strangers on the interwebz. i don't ¯\_(ツ)_/¯
You probably prefer installing Autohotkey[www.autohotkey.com]and running the code on your own.
EITHER WAY - make sure to run the code as administrator or it wont work.
Code
Skip to "Running it" if you are running the precompiled script

Save this as "ItTakesTwo.ahk"
#ifwinactive ahk_exe ItTakesTwo.exe ;WinMove, WinTitle, WinText, X, Y , Width, Height, ExcludeTitle, ExcludeText F11::WinMove, A,, 0, 0 , 3840, 1080 F10::WinMove, A,, 0, 0 , 1920, 1080 F6::WinMove, A,, 0, 0, A_ScreenWidth, A_ScreenHeight F7::WinMove, A,, 0, 0, (A_ScreenWidth*2), A_ScreenHeight

the F6 / F7 hotkeys should work for everyone having two monitors with the same resolution.
F10 / F11 serve as a demonstration for editing the code.
Editing Code
This shouldnt be needed. You can probably just skip to "Running it"

The syntax is actually not that complicated: WinMove, WinTitle, WinText, X, Y , Width, Height
All you need to know, is your screens native resolution, Width and Height, and adapt accordingly.

e.g.:
  • 1 Full HD monitor is 1920 pixels wide and 1080 pixels high.
  • 2 Full HD monitors are 3840 pixels wide and 1080 pixels high.
  • For stretching the current window over both monitors with F11, this is the code:
    F11:: WinMove, A, , 0, 0, 3840, 1080
  • For going back to only using the first monitor, this is the code:
    F10:: WinMove, A, , 0, 0, 1920, 1080

Here[www.autohotkey.com] you can read more about the winmove command.
Running it
Run the script as administrator and tab into game.
 
 
Use F7 for playing on two monitors:


Use F6 for playing on one monitor again:
 

Not working?
  • Make sure you are running the script
    as administrator!



  • Ingame set Options ➡ Display ➡ Window Mode to "Borderless Windowed", which is the default setting.



If you are still having trouble, feel free to ask. Otherwise; have fun with this wonderful game!
Комментариев: 13
Im Pat 16 дек. 2023 г. в 14:47 
So i found out if you're having the problem with it only showing may's pov there's a couple things i did to fix it. I MADE SURE to put my game in full screen windowed mode, and then I went in my COMPUTER SETTINGS and went to DISPLAY and moved my primary monitor to the right side of my secondary, AND TO SWITCH WITCH MONITOR HAS MAY'S POV i just switched witch monitor i have set to my primary BUT MAKE SURE PRIMARY IS ON THE RIGHT SIDE
Mami 10 дек. 2023 г. в 2:37 
Also having issues, only see May's perspective on my right monitor, can't see Cody on my left one, any solutions to this?
DR1FT3RTV 6 ноя. 2023 г. в 18:17 
i just use my NVIDIA control panel and link my two monitors for a wide screen display and run the game that way much easier only problem cut scenes will show on the middle of the screens so thats the only downside
Dan Flash 19 сен. 2023 г. в 22:32 
"I press windows key+shift+left arrow while on the menu to move the game onto my left monitor. Then I could toggle with F6/F7"


I'm having the only-May's-perspective problem and this did not help. any other tips?
Gish 2 июл. 2023 г. в 16:48 
jonnysonny, that's a great idea! If you play multiplayer online, this code below will let you use F8 and F9 to switch between Cody and May. I put the If's within each key, so it will continue to work after restarting the game (It looks for the game window with each F Key).

F6::
If WinExist("ahk_exe ItTakesTwo.exe")
WinMove, A,, 0, 0, A_ScreenWidth, A_ScreenHeight
Return

F7::
If WinExist("ahk_exe ItTakesTwo.exe")
WinMove, A,, 0, 0, (A_ScreenWidth*2), A_ScreenHeight
Return

F8::
If WinExist("ahk_exe ItTakesTwo.exe")
WinMove, A,, -A_ScreenWidth, 0, (A_ScreenWidth*2), A_ScreenHeight
Return

F9::
If WinExist("ahk_exe ItTakesTwo.exe")
WinMove, A,, 0, 0, (A_ScreenWidth*2), A_ScreenHeight
Return
Zilbo Mumberthrax 22 янв. 2023 г. в 3:31 
I'm not sure how to configure. My left Monitor is 2560x1440, my right 1920x1080. Simply run the left one in ugly upscale?
TrendYEisteee 2 дек. 2022 г. в 9:32 
Thanks Samsung for PIP and PBP mode.
Ido 7 окт. 2022 г. в 14:49 
really cool, just a shame that I can't switch monitors easily since I play Cody and I end up playing on my shitty 2nd monitor instead of my 144hz main one
宣BB 25 авг. 2022 г. в 2:53 
6
Groinattack 26 июн. 2022 г. в 5:04 
For anyone that has the same problem as Daveimus below,..
I press windows key+shift+left arrow while on the menu to move the game onto my left monitor. Then I could toggle with F6/F7