How to force fullscreen games to play in windowed mode
I like to play classic computer games from time to time and purchase them most of the time on Good Old Games. While those games run without issues on modern Windows PCs, you sometimes notice that they have been designed for hardware long past its prime time.
The screen resolution for instance may be set to 640x480 or even less, which looks out of place on modern HD monitors. One solution for that particular issue is to run the game in windowed mode.
While some games offer options to play them in window mode right away, others may not and that is were the problems begin.
This guide looks at the various options that you have to run computer games, old or new, in a window instead of full screen.
Alt-Enter
The first thing that you may want to try is hit the Alt-Enter key on your keyboard while the game is running in fullscreen mode. Some games change the mode to window automatically when you use the shortcut, while some won't.
This is the easiest option to try, which is why I have selected it as the first choice in this regard.
Program settings / ini files
Some programs let you change the display mode -- including whether to run them in full screen mode or not -- in the program preferences.
Just open the preferences and go through them one by one to find out if the game you want to run in a window offers that option natively.
To give you an example: Dota 2 has a preference under Video / Audio that you can use to change the display mode from fullscreen to window or borderless window.
Some games ship with .ini files in the game directory that may offer options to change the game resolution and display mode as well.
To find out if that is the case for the game you try to play, open the game's program folder on your system and search for .ini files.
If you do not find any here, chance is that it does not use these files.
Program shortcut
Another option that you have is to add commands to the program shortcut. Right-click on the shortcut on your system and add commands like the following ones to the end of the target field:
- w
- window
- windowmode
Note that you may need elevated privileges to save these information to the file. Not all games support those commands, but some do. There may be other variations such as -f resolution, e.g. -f 1024x768
Game wrappers
Game wrappers may help you run games in a window. They intercept calls and use emulation to provide this and other functionality.
As with all solutions before, they work on some games but not on all of them. Here is a short selection of wrappers for you to try out:
- DirectX OpenGL Wrapper - emulates API calles through OpenGL in order to run DirectX applications on other platforms.
- DxWnd - the most sophisticated program of them all. A boatload of options, and the core purpose of the program is to make DirectX fullscreen games playable in windows.
- Glide - has not been updated since 2005 but may still work with older games.
Virtualization
This is the last resort. If you want to play a DOS game, or a game with a DOS version, DOSBox is your first choice as it ships with all the functionality you need for that.
If not, then you need something different. If you are running Windows 7 Professional, Ultimate or Enterprise, you can make use of Windows XP Mode to run games in a window on your system.
If you do not, you can use virtualization software such as VMware or VirtualBox instead. What they do basically is emulate another operating system on your PC. Since it runs in windowed mode, all games that you install and launch in a virtual environment will also run in that mode.
you can use the: windows + G, command to open windows game bar, there you can screenrecord all games
Tried Using The Short cut on Genshin Impact, Since It won’t let me in the windowed version. Short cut doesn’t work.
Thank you!!!!
Thanks, Thankyou so much for telling the shortcut
Alt + Enter didn’t work at all on any GOG game I tried. None.
i was trying to play battlefield bad company 2 in windowed mode as there wasnt an option in the game settings, ALT+ENTER key works. if anyone wants to play this game, use the ALT+ENTER key method
thank you so much! just adding the -window worked perfectly!
Thank you so much sir! DxWnd is so good! I use DxWnd to try a lot of games they all works! Finally they won’t crash any more! Thank you so much!
Googled this issue regarding Sims 3, and I found an app called Borderless Gaming that solved my problem:
https://github.com/Codeusa/Borderless-Gaming/releases
am in linux T-T
You are my hero`s, i searched so long but did not find anything untill this one…
Best guys ever!!!!!!!!!!!!!!!!!!!!
Bro you are the best. Thanks.
Thank you, Martin! I love my old games, but with today’s multitasking needs, being able to run those “oldies but goodies” in windowed mode is a must. DxWnd worked perfectly, though it took me a moment to figure out how to use it. Wish I had found this article years ago. Thanks again!
DxWnd worked like a charm! Thank you so much!
Alt+Enter always works for me. :)
Hotkey Alt+Enter worked. Thanks a bunch. :)
The Alt+Enter really does work
Appreciated it .. Thanks a lot
It worked man.For call of duty M.w 2
Alt+Enter+Game Configurations to change for 1280×720 prevented me to die during Passing Pineview Forest and Haunted Memories gameplay recording. Thanks! :D
None of these have worked for me on the game god mode, need help! (i may have done things wrong)
Alt-Enter did it. Thanks!
Great! the shortcut one worked great! thanks!
I like how GOG’s version of Settlers 2 was the wrapper example because I’m trying to figure out how to Window Settlers 3.
NOTHING here worked! I want to force Trainz UTC to be windowed. :( I need to screen record the gameplay. My computer doesn’t support screen recording on full screen applications, please help me!
you can use the: windows + G, command to open windows game bar, there you can screenrecord all games
Old thread but anyway.
Virtual machine can do that, it is basicly second computer in youre computer, but it takes a lot of tweaking to work and whole new oem with drivers n stuff.
Another thing if you could buy capture card, and it will record everything you see on youre monitor via hdmi cable to another computer, but they can be pricy…
I am wanting to record some soundtracks from older games, having this no windowed mode issue, frikkin annoying.
I could just leave the record on and launch the game, but then you need to do lots of editing.
This page also has a lot of information on (borderless) windowed mode: http://pcgamingwiki.com/wiki/Glossary:Borderless_fullscreen_windowed
Would be so much better if it wasn’t in wiki format.