This is a project aimed at modding Diablo II to support any resolution.
- Enables selecting user-specified resolutions from the Video Options menu.
- Automatically adjusts the positions of inventory and UI elements, using 800x600 as a base for positions.
- Allows limited customization of the UI.
- Supports 1.09D, 1.10, 1.12A, 1.13C, 1.13D, 1.14C, and 1.14D.
- Supports multiple video modes.
- Supports standard GDI mode. Resolutions are unrestricted.
- Supports standard DirectDraw and Direct3D modes, restricted to "standard" resolutions.
- Supports CnC-DDraw wrapper and D2GL DDraw Wrapper. Resolutions are unrestricted.
- Supports Sven's Glide wrapper, nGlide, D2DX, and D2GL Glide Wrapper. Resolutions are unrestricted.
- Compatibility with select modsystems.
The DLL does nothing on its own and must be loaded into the game via external tools. Once loaded, the game will need to be run in order to generate the config file for the first time. Singleplayer resolutions, along with other configuration options can be configured to the preferences of the user.
Multiplayer use is restricted to certain gateways. This cannot be changed easily and prevents unintentional abuse where it is not allowed (i.e. Battle.net). If used in unpermitted environments, the resolution is hardcoded to run with only 640x480 or 800x600. It is also still possible to be detected by anti-cheat systems and be banned for unauthorized modification of the game client, even if the functionality is ineffective. Where it is permitted, the resolutions are preset for the server.
Any server owner that wishes to authorize the usage of SGD2FreeRes on their server should contact Mir Drualga on the SlashDiablo Discord.
Servers that permit SGD2FreeRes:
- Diablo 09: 640x480, 800x600, 856x480, 1068x600
- SlashDiablo: 640x480, 800x600, 856x480, 1068x600
- Resurgence: 640x480, 800x600, 856x480, 1068x600
- Project Diablo 2: 640x480, 800x600, 856x480, 1068x600
- And more...
SGD2FreeRes is coded in C++20. It currently is intended to compile with Visual Studio 2022.
When you submit a pull request, you certify that the code in the pull request is AGPLv3+ compatible. You also certify that you have authorization to submit the pull request with the code changes. You certify that the merging of the pull request with those changes is authorized under the license terms of the AGPLv3+. Finally, you certify that the contribution is licensed under the AGPLv3+.
- /r/SlashDiablo: The community that got me started. The whole reason the project took off.
- PhrozenKeep: Community with plenty of information on Diablo II, modding, and resources.
- bolrog: For providing an extended API to enable interfacing with the D2DX Glide wrapper.
- Jarcho: For adding support for 1.10 and 1.12A.
- Szumigajowy: For supplying the starting point for the tile culling boundary patch.
- Necrolis: All-round code editing genius. Provides good advice.
- bayaraa: For creating D2GL and directly adding support for it.
The project is licensed under the terms of the Affero General Public License, version 3 or higher, with exceptions. Components may be licensed under other terms, so check LICENSE for more details. If you wish to apply for a proprietary license exception, please contact Mir Drualga on the SlashDiablo Discord channel.
Diablo II and Diablo II: Lord of Destruction are registered trademarks of Blizzard Entertainment. This project is not affiliated with Blizzard Entertainment in any way.