Is it possible to run RollerCoaster Tycoon 2 in windowed mode?

No, it's not possible at all to run RollerCoaster Tycoon 2 in windowed mode. The only thing I could think of, while drastic, is running the game in a virtual machine like VirtualBox or just Windows 7's XP mode and thereby 'faking' windowed mode. I'm not sure what that'll do to performance though.


Yes, it is possible.

Windowed Mode Hack

Installation

Get rct2-ddhack2.zip and the Visual C++ 2010 Redistributable Package (x86). I see mirrors on Google if the GitHub link ever gets taken down.

Extract rct2-ddhack2.zip to your install directory. The default for GOG is:

C:\Program Files (x86)\GOGcom\RollerCoaster Tycoon 2 Triple Thrill Pack

Bugs

The developer notes:

When starting the game or changing the resolution in game, after a couple seconds the screen moves to the upper right corner on its own. This only seems to happen that one time though.

Additionally, I find that I have to press the taskbar button for the RCT2 window twice to minimize then re-maximize the window. Otherwise, the graphics are cut off.

Changing your resolution

When you change your resolution while using this hack, the on-screen graphics don't match with what the game thinks you're pressing. Everything is shifted down. Don't worry.

To change the resolution, start any scenario or load any saved game. If it hasn't already, wait until the RCT2 window moves automatically to the upper edge of your screen before doing anything else.

There is a floppy disk icon in the top-left that has an "options" menu item. Select it. From there you can change the resolution. Once you do, the graphics will be shifted and you won't be able to see any of the menu icons along the top of the window. Ignore this and don't press anything. Just wait. Once again, the RCT2 window should move automatically to the upper edge of your screen. When it does, press the [X] button at the top-right of the window to close the game.

If the game closes, you're done. Open RCT2 again and you'll see your new resolution has been saved.

If you waited too long (at least a minute if not more) since you opened the level, the game will helpfully ask if you want to save your progress. Since the graphics are still messed up, it's tough to click on "Don't Save". Simply open the Task Manager (ctrl-shift-esc) and "end" RCT2.exe. When the game starts again it will have your new resolution saved.

Technical Info

A developer named ToadKing made a DLL that intercepts RCT2's DirectDraw calls and puts them into a window.

Virtual Machine

As user56 notes, you can play the game within a virtual machine like VirtualBox. If you don't have a spare Windows license and love doing extra work instead of using ddhack, you could try installing a version of Linux like Ubuntu and also installing WINE. Then you would load RCT2 from WINE within Ubuntu in a VirtualBox window on Windows.


I found this hack in a forum thread that lets you run RollerCoaster Tycoon 2 in Windowed Mode; maybe it will help.