Posted March 22, 2014
high rated
Hello,
I noticed that various people in here were asking for this, so I present you a plugin to enable windowed mode during the gameplay process in Worms 2, as well as a variety of other features:
● Fix bad colors on Vista and 7 for good: this wrapper converts the graphics to render in 32-bit on the outside. This finally eliminates any need for the old color fixes.
● Minimize the game using the Shift+Esc key combination (like in Worms Armageddon), or by switching out with Alt+Tab
● Enable or disable the window border ("Border" in the ini file) and move the window around (you'll need to perform Alt+Tab, then drag the window caption to move it). If the size of the window matches either height and/or width of your desktop resolution, the border will be automatically disabled, imitating fullscreen.
● Improve game performance on Windows 8, 10 and newer (since Windows 8, the old DirectDraw has lost performance in various games due to the new emulation)
● Make the game DPI-aware: this is useful if your system DPI is set to a value other than 100% and 125%. Extremely useful on Windows 8.1+ due to the abolition of the old, Windows XP-styled scaling, and the DPI virtualization enforcement (blurry mess instead of a window).
The core of this is wndmode.dll: a component of the D3Dhook library (from D3Dwindower by menopem), edited by VEG to be usable as an independent DLL. I have then written a companion to load it and solve the issue with bad cursor position (which was leading to freezes) in windowed mode. This was a lot easier here than a similar companion for W:A and WWP, because after Worms 2 they started using a bad menu system that caused a lot of problems. Worms 2 was still fully PC-oriented and thus its menus are windowed and using the proper technology.
You can download the archive here.
The installation is simple: all you need to do is to unpack the archive's contents into the directory where Worms 2 is installed.
Better don't touch any settings except the "Border" and "SizingBorder" in the ini file. Always make sure that you have a backup before experimenting, and that you know what you're doing.
Note: if you applied any "Compatibility options" or fixes before installing windowed mode, please disable them now. The game will not run if some of those are enabled (such as "limited colour mode").
Also it's extremely useful to run this module in combination with another plugin I made: </span>, to change the window size (resolution) to any value. It's described [url=https://www.gog.com/forum/worms_series/worms_2_resolution_change_hackpatch/post3]here.
Basically, change the ScreenWidth and ScreenHeight values in the ReSolution.ini file to whichever ones you need. Some of the files in there may coincide with the ones in this archive: this is normal, it doesn't matter if you choose to replace or skip them.
The more recent versions of ReSolution also allow you to resize and zoom the game window directly during the game! Should be enabled by default. Use the mouse wheel for zooming.
I noticed that various people in here were asking for this, so I present you a plugin to enable windowed mode during the gameplay process in Worms 2, as well as a variety of other features:
● Fix bad colors on Vista and 7 for good: this wrapper converts the graphics to render in 32-bit on the outside. This finally eliminates any need for the old color fixes.
● Minimize the game using the Shift+Esc key combination (like in Worms Armageddon), or by switching out with Alt+Tab
● Enable or disable the window border ("Border" in the ini file) and move the window around (you'll need to perform Alt+Tab, then drag the window caption to move it). If the size of the window matches either height and/or width of your desktop resolution, the border will be automatically disabled, imitating fullscreen.
● Improve game performance on Windows 8, 10 and newer (since Windows 8, the old DirectDraw has lost performance in various games due to the new emulation)
● Make the game DPI-aware: this is useful if your system DPI is set to a value other than 100% and 125%. Extremely useful on Windows 8.1+ due to the abolition of the old, Windows XP-styled scaling, and the DPI virtualization enforcement (blurry mess instead of a window).
The core of this is wndmode.dll: a component of the D3Dhook library (from D3Dwindower by menopem), edited by VEG to be usable as an independent DLL. I have then written a companion to load it and solve the issue with bad cursor position (which was leading to freezes) in windowed mode. This was a lot easier here than a similar companion for W:A and WWP, because after Worms 2 they started using a bad menu system that caused a lot of problems. Worms 2 was still fully PC-oriented and thus its menus are windowed and using the proper technology.
You can download the archive here.
The installation is simple: all you need to do is to unpack the archive's contents into the directory where Worms 2 is installed.
Better don't touch any settings except the "Border" and "SizingBorder" in the ini file. Always make sure that you have a backup before experimenting, and that you know what you're doing.
Note: if you applied any "Compatibility options" or fixes before installing windowed mode, please disable them now. The game will not run if some of those are enabled (such as "limited colour mode").
Also it's extremely useful to run this module in combination with another plugin I made: </span>, to change the window size (resolution) to any value. It's described [url=https://www.gog.com/forum/worms_series/worms_2_resolution_change_hackpatch/post3]here.
Basically, change the ScreenWidth and ScreenHeight values in the ReSolution.ini file to whichever ones you need. Some of the files in there may coincide with the ones in this archive: this is normal, it doesn't matter if you choose to replace or skip them.
The more recent versions of ReSolution also allow you to resize and zoom the game window directly during the game! Should be enabled by default. Use the mouse wheel for zooming.
Post edited January 07, 2017 by StepS_