a few months ago I looked into this and actually made a loadable module for changing this: ReSolution
. This is a lot better than the hardcoded patches, because:
● Can change resolution to any value using the W2.ini file, no need to patch anything. Together with the windowed mode extension (which I'm going to post soon), it allows the window to be of any size without problems.
● Works flawlessly on open-island maps, no interface shifts
● Respects caverns, automatically applying the screen box for resolutions bigger than 1920x856. This was either impossible with hardcoded patches, losing the open-island consistency, or very heavy, compatibility-breaking and time-wasting to implement.
● Supports open-island resolutions bigger than 6012x2902. If you have a 8K screen, now it won't mean that you have to worry about the game going crazy: the black boxes will be applied here as well.
● Does everything in memory without touching your executable
● Has a version check when starting, so it will currently only work on the GOG and normal 1.05 versions, and will notify you if something went wrong.
There's however another note. All the resolution patches, including the one you posted, changed an extra value they shouldn't be changing. That was the cavern water rise level. When the water rises in a cavern, it eats some of the camera's space, eventually shrinking the screen. However, in Worms 2 the default max shrink value for that is 480 (hence the 640x480 default resolution) and not 768 like in later games. This makes it a problem that when the screen size becomes less than the current size, everything messes up on the screen. The hacks changed this inconsistently: so, at 1024x768 you had 768, at 1600x900 you had 900, etc. This has a consequence: desynchronization in online
My module currently changes it to a consistent value of 856, just like the cavern's max resolution. Currently if you want to play online with someone, they also need to have the module, but you don't worry about the inconsistent screen height anymore. There's additionally an option to disable this and return to 480, but since it messes up the whole game in case of a water rise, and given that GOG doesn't support online play, and also given that people already have enough screen resolution patches around, it's best to keep it enabled. It's not like the cavern water rise happens that often, anyway... Just keep this in mind for online games.
Here you can download the module: worms2d.info/ReSolution
(you'll have to copy the URL to your address bar since it appears I can't post links here yet due to being a new member)
The installation is very simple: all you need to do is to put the files into the root directory of your Worms 2 installation. Settings are in the W2.ini file. By default they're set to zero: this means that the module will autodetect your resolution and save it for later use. You may also change it to whatever your monitor supports. Stay tuned for a windowed mode module!
P.S.: by the way, there's also a better version of the S*natch's patcher that you mentioned. des's patcher fixed the issue you mentioned and added a few other things (I later fixed the fonts used in the app)
Wow, your patch works really well! It's the only patch that runs Worms 2 at a higher resolution and the music still works too. But do you know if you could also make the patch run Worms 2 in a window? Like on Windows 7?