Forums
March 28, 2024, 05:35 PM

Author Topic: wkReSolution for WWP and Worms 2 - HD resolution, zooming and resizing support  (Read 4410 times)

0 Members and 1 Guest are viewing this topic.

Offline StepS

Hello

ReSolution is a new WormKit module for WWP and Worms 2 to change the in-game screen resolution to any value. Its key features are simplicity (don't need to patch the executable) and automatic detection of island and cavern-type landscapes, and is thus preferred over the hardcoded patches.

ReSolution v0.2 and newer (also known as "ReSolutionDD") add ability to resize (shrink or extend) the game window so that it actually resizes the free screen space available in the game (and doesn't perform bitmap stretching). An additional windowed mode wrapper (wndmode.dll) is needed for this to work: get the windowed bundle.

ReSolution v0.3 and newer add ability to zoom (in and out) the game environment using your mouse wheel or keyboard so that you can either expand the view or look more closely at the objects that you see. Alt+Enter is also introduced in v0.3, giving the ability to switch from and to borderless fullscreen windowed representation. An additional windowed mode wrapper (wndmode.dll) is needed for this to work: get the windowed bundle.

ReSolution v0.4 and newer (also known as "ReSolution HD") add WWP support (1.01 and 1.00) and finally introduce the automatic screen confining technique on waterrise in enclosed environments (removing the old workaround), also fixing the proper letterboxed dimensions in caverns. A new option called UseTouchscreenZoom has also been added, which allows to utilize the touch pinch zoom gesture in order to zoom the game in and out, when Zooming is enabled. The settings file is now ReSolution.ini, fitting both games. Various other internal improvements as well.


Features



  • Can change resolution (and thus, window size) to any value using the ReSolution.ini file
  • In conjunction with windowed mode (only), allows to resize the game window so that it actually resizes the real screen estate of the game.
    • Enable the "Enable" setting from [Resizing] in the ini file to activate this.
    • Enabling the "ProgressiveUpdate" (experimental) setting from [Resizing] will immediately redraw the window as you resize it, making the scenery resize very lively and smoothly.
    • As usual with windowed mode, make sure that the ScreenWidth and ScreenHeight are set to values lower than the screen resolution of your primary monitor. However, v0.3 and later add a new key combination: Alt+Enter, which allows you to switch between these two modes directly in the game. Enable the "AltEnter" setting from [Resizing] in the ini file to activate this.
    • In windowed mode, pressing Ctrl+G will show the cursor and allow you to move it above the game's window, to resize the window.
  • In conjunction with windowed mode (only), allows to zoom the game environment in and out using either mouse wheel or keyboard.
    • Enable the "Enable" setting from [Zooming] in the ini file to activate this.
    • Enabling "UseMouseWheel" will let you zoom the game using your mouse wheel: roll it back and forth. Pressing the middle mouse button will reset your zooming level to the native default.
    • Enabling "UseKeyboardZoom" will let you zoom the game using your Numpad + and - keys. Zooming in this mode will be performed on a frame-by-frame basis, rather than delta like with mouse wheel. Pressing the End button will reset your zooming level to the native default.
    • Enabling "UseTouchscreenZoom" will let you zoom the game using your touchscreen. The pinch gesture will allow to zoom the game in and out.
  • Works flawlessly on open-island maps
  • Adds letterboxing support for resolutions larger than 6012x2902 (on islands) and 1916x854 (in caverns)
  • Does everything in memory without touching your executable
  • Compatible with both Worms 2 and Worms World Party (as of v0.4). Supported versions:
    • Worms 2 - 1.05 (CD/GOG)
    • Worms World Party - 1.00 (Europe)
    • Worms World Party - 1.01 (Europe)

TODO



  • Worms 2: Adjust or provide a way to disable the televisor brackets while watching an instant replay.
  • Chat panel quirks with zooming/resizing (unlikely to be resolved completely)
  • WWP: Fix the crash upon Nuclear Test usage on some systems.
  • WWP: Handling of fallback resolution changes on failures

« Last Edit: October 25, 2019, 02:58 PM by StepS »
Dec 30 2013 23:59:44 <StepS> windowed mode isn't the only thing you need about frontend
Dec 30 2013 23:59:49 <StepS> you need it to be actually bigger
Dec 31 2013 00:00:13 <StepS> it actually is very small on my 15-inch full HD screen
Dec 31 2013 00:00:25 <StepS> while running at 640x480 or stretched mode makes it fuzzy
Dec 31 2013 00:00:44 <StepS> this problem has been around since the Worms Armageddon's release and no one has even tried to beat it
[...]

Offline StepS

Re:
« Reply #1 on: June 10, 2014, 12:37 PM »
A new version has been released: 0.3
  • It's now possible to zoom the game in addition to the previously introduced real-time window resizing feature in windowed mode. Use your mouse wheel or keyboard! See the readme for the details.
  • Alt+Enter combination has been added: in windowed mode, use it to switch between pseudo-fullscreen and window during the game.
  • Various other improvements: see the GitHub page.
Dec 30 2013 23:59:44 <StepS> windowed mode isn't the only thing you need about frontend
Dec 30 2013 23:59:49 <StepS> you need it to be actually bigger
Dec 31 2013 00:00:13 <StepS> it actually is very small on my 15-inch full HD screen
Dec 31 2013 00:00:25 <StepS> while running at 640x480 or stretched mode makes it fuzzy
Dec 31 2013 00:00:44 <StepS> this problem has been around since the Worms Armageddon's release and no one has even tried to beat it
[...]

Offline MeTonaTOR

A new version has been released: 0.3
  • It's now possible to zoom the game in addition to the previously introduced real-time window resizing feature in windowed mode. Use your mouse wheel or keyboard! See the readme for the details.
  • Alt+Enter combination has been added: in windowed mode, use it to switch between pseudo-fullscreen and window during the game.
  • Various other improvements: see the GitHub page.


can you make this zooming for WA too :D ?
<Asbest> alright im too sleepy, i seen too many idiots today. i hope no one will get what i got. have a good night
* Asbest (~Asbest@5b606b87.bfe48da6.6c2d5d00.IP4) Quit (Quit)
<StepS> party
<OutofOrder> ♫♪♫♪ \o/ _o/ \o\  /o/ ♫♪♪♫
<Bamboy> ༼ つ ◕_◕ ༽つ
<StepS> (≧▽≦)
<Bamboy> ᕙ(⇀‸↼‶)ᕗ
<WTF-8> ( . )   ( . )

Offline StepS

can you make this zooming for WA too :D ?
Probably yes, but around the time I implement resizing, since the two are essentially the same things. However I doubt that it will be as smooth as here
Dec 30 2013 23:59:44 <StepS> windowed mode isn't the only thing you need about frontend
Dec 30 2013 23:59:49 <StepS> you need it to be actually bigger
Dec 31 2013 00:00:13 <StepS> it actually is very small on my 15-inch full HD screen
Dec 31 2013 00:00:25 <StepS> while running at 640x480 or stretched mode makes it fuzzy
Dec 31 2013 00:00:44 <StepS> this problem has been around since the Worms Armageddon's release and no one has even tried to beat it
[...]

Worms2 still alive.
Thank you for good work.
I will try it on my old laptop ::)

Offline StepS

ReSolution v0.4.1
« Reply #5 on: October 04, 2014, 05:09 PM »
A new version has been released: 0.4.1.
  • Added WWP support. Supported versions are European 1.01 and 1.00. Zooming/resizing features are supported, but the "ProgressiveUpdate" option is not available at this time.
  • Added UseTouchscreenZoom to zooming. This option allows to utilize the touch pinch zoom gesture in order to zoom the game in and out, when Zooming is enabled.
  • Water rises will now dynamically letterbox the camera (something that was the main issue with caverns), removing the old workaround.
  • The settings file is now ReSolution.ini instead of W2.ini, to fit both games.
  • Fixed the default letterboxed dimensions in a cavern, which could slightly shift interface previously.
  • Various other fixes.
Dec 30 2013 23:59:44 <StepS> windowed mode isn't the only thing you need about frontend
Dec 30 2013 23:59:49 <StepS> you need it to be actually bigger
Dec 31 2013 00:00:13 <StepS> it actually is very small on my 15-inch full HD screen
Dec 31 2013 00:00:25 <StepS> while running at 640x480 or stretched mode makes it fuzzy
Dec 31 2013 00:00:44 <StepS> this problem has been around since the Worms Armageddon's release and no one has even tried to beat it
[...]

Offline avirex

the video you posted says worms2 on the top.. but it sure does look like w:a.. no?


is w2 still alive though?? can anyone be found on the servers these days? last i checked it was very much dead, and inactive.

Offline StepS

the video you posted says worms2 on the top.. but it sure does look like w:a.. no?


is w2 still alive though?? can anyone be found on the servers these days? last i checked it was very much dead, and inactive.
Yes, the video says worms2 because that's what ReSolution was initially made for, until version 0.4 added WWP support. I didn't make another video as it was quite the same. Visually Worms 2 looks different in a number of ways from W:A, for example, no team flags, colored water, and fewer weapons (smaller weapon panel), in inside there are much more differences though (e.g. backflip is a cheat and jumps too high, etc...)
To answer your question, no, Worms 2 is pretty much dead. A gog release could fix it a little bit but they messed up network play support in that game, so the gog version only supports offline. If you want though we could play a match when you'd like to, the servers are still running.
However WWP is still pretty much alive. Players are not sitting on WormNET, they are scattered all across the internet ready to bring their bright memories back. Hundreds of people visit the compatibility thread everyday. They come and download without registering (the old T17 forums required registrations though so there were a lot of empty inactive users). Around 700000 visits were made over the 4 years to the two old T17 forum compatibility fix threads (as you could see here).
The same thing happens to W:A as well, many of the random visitors are new people who have just installed the game. All this, of course, would have much much less effect if no piracy was in place... But the games are kept alive due to all the things.
People also play WA and WWP in Gameranger. Not sure why, and I haven't seen what they do, but some people prefer that for arranging their matches.
Hope this answers your questions.
Dec 30 2013 23:59:44 <StepS> windowed mode isn't the only thing you need about frontend
Dec 30 2013 23:59:49 <StepS> you need it to be actually bigger
Dec 31 2013 00:00:13 <StepS> it actually is very small on my 15-inch full HD screen
Dec 31 2013 00:00:25 <StepS> while running at 640x480 or stretched mode makes it fuzzy
Dec 31 2013 00:00:44 <StepS> this problem has been around since the Worms Armageddon's release and no one has even tried to beat it
[...]

Offline Sir-J

« Last Edit: September 08, 2023, 05:42 AM by Rudolf289 »

Offline StepS

What a great module, thanks a lot, StepS! One thing that bugs me though, screen stutters like crazy (it is also noticeable on the video you posted), is it possible to fix it in the next version? I wish W2 ran more or less as smooth as W:A, because rope is so much better there.

Perhaps 'stutter' is not the right word to describe the problem, but it feels like slideshow for me (5 or so FPS).

Make sure that you install "ReSolution with windowed mode support" and not the regular version.
I will also update links to make this clear for Win8+ users.
Dec 30 2013 23:59:44 <StepS> windowed mode isn't the only thing you need about frontend
Dec 30 2013 23:59:49 <StepS> you need it to be actually bigger
Dec 31 2013 00:00:13 <StepS> it actually is very small on my 15-inch full HD screen
Dec 31 2013 00:00:25 <StepS> while running at 640x480 or stretched mode makes it fuzzy
Dec 31 2013 00:00:44 <StepS> this problem has been around since the Worms Armageddon's release and no one has even tried to beat it
[...]