Counter-Strike 2

Counter-Strike 2

Not enough ratings
Get rid of stretched alt+tab black screen
By Gamefreak
Have multiple monitors? Tired of getting a black screen when you alt+tab from a stretched resolution? Well, I have just the thing for you! This guide will show you how you can run the game in stretched fullscreen windowed to get instant alt+tabbing!
2
2
2
   
Award
Favorite
Favorited
Unfavorite
What is this?
It's a script for users with multiple monitors that automatically switches your main display to your game's stretched resolution before launching the game and then reverts back to your native resolution when you close CS2. Your other monitors will keep their native resolution when this happens.

I took the original CSGO Stretched Launcher for this script from years ago and updated it for CS2: https://old.reddit.com/r/GlobalOffensive/comments/2o51wv/multiple_monitors_and_43_stretched_resolution/
What is the point?
This allows you to play CS2 stretched in fullscreen windowed and easily navigate your other monitors without having to endure a black screen any time you alt+tab!
Steps
1) Download the RAR and extract files: https://drive.google.com/file/d/1U2w0bdqFv78Lb9N3F-BU7BCo3alju4gF/view?usp=sharing


2) Navigate to "CS2 Stretched Launcher\scripts\" and right click "cs2_sl.bat" and edit with notepad.

3) Edit line 2 so it fits your preferred 4:3 stretched resolution. For example, if you play CS2 at 1280x960, line 2 will look like this: QRes.exe /X 1280 /Y 960

4) While still on line 2, set the /R parameter to your monitor's refresh rate. For example, if your monitor is 144hz, line 2 will now look like this when everything is set: QRes.exe /X 1280 /Y 960 /R 144

5) Next, navigate to line 10 (QRes.exe /X 2560 /Y 1440). Change the numbers after /X and /Y to your monitor's native resolution. If you're on 2560x1440, you can leave it as is. If you were on 1920x1080, it's going to look like this: QRes.exe /X 1920 /Y 1080

6) Save the file and you should be good to go!

  • You can right-click the "cs2_sl_hide.vbs" file and select "Create Shortcut". Name it whatever you want, place it wherever you want, and give it whatever icon you want it to have! I've included the CS2 logo ico file to make it easy.

7) Run "cs2_sl_hide.vbs" or the shortcut anytime you want to play CS2. It should change your monitor resolution to the one you want and then launch the game! Enjoy switching between monitors without having to wait for a black screen every time!

Enjoy!
Credits
Credit to Chrisp182 who made the original script (at least according to the readme that it came with).
7 Comments
30 Jan @ 1:48am 
Remember to run the game in "Full Screen Windowed" the first time. After I changed some graphic settings it reverted to "Full Screen" by itself and the script stopped working. Over all amazing for pausing music mid clutch :steamthumbsup:
Frosty 25 Dec, 2024 @ 1:07pm 
good work!
MEGATRON 21 Dec, 2024 @ 1:58pm 
Nice.
󠀡󠀡 12 Oct, 2024 @ 1:11pm 
thank you so much
TheAlbanianDream 14 Sep, 2024 @ 1:05am 
Bro if you would be in front of me i would give you a big kiss <3
Verun 31 May, 2024 @ 1:46pm 
:luv::AviciiPixelHeart:
🎐Li-fi 29 May, 2024 @ 6:40pm 
Best solution so far. Would give an award if I weren't broke.