From d0a1992b611ef4f6049576d6a56d2280860dd6d8 Mon Sep 17 00:00:00 2001 From: Mir Drualga Date: Thu, 12 Aug 2021 02:12:27 -0700 Subject: [PATCH 1/4] Disable patch removal code --- .../src/sgd2fml_mod_exports.cc | 2 ++ 1 file changed, 2 insertions(+) diff --git a/SlashGaming-Diablo-II-Free-Resolution/src/sgd2fml_mod_exports.cc b/SlashGaming-Diablo-II-Free-Resolution/src/sgd2fml_mod_exports.cc index ae1b3990..1fa8af0e 100644 --- a/SlashGaming-Diablo-II-Free-Resolution/src/sgd2fml_mod_exports.cc +++ b/SlashGaming-Diablo-II-Free-Resolution/src/sgd2fml_mod_exports.cc @@ -89,7 +89,9 @@ void Sgd2fml_Mod_OnUnloadMpqs() { return; } +#if 0 // Disabled due to Windows 7 error on exit GetPatches().Remove(); +#endif is_loaded = false; } From bc5d417c0a75e953e225f605068c464bd952433b Mon Sep 17 00:00:00 2001 From: Mir Drualga Date: Thu, 12 Aug 2021 02:12:53 -0700 Subject: [PATCH 2/4] Update version resource to 3.0.2.2 --- .../resource/resource.rc | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/SlashGaming-Diablo-II-Free-Resolution/resource/resource.rc b/SlashGaming-Diablo-II-Free-Resolution/resource/resource.rc index b35bdcf8..d018839a 100644 --- a/SlashGaming-Diablo-II-Free-Resolution/resource/resource.rc +++ b/SlashGaming-Diablo-II-Free-Resolution/resource/resource.rc @@ -55,8 +55,8 @@ SLASH_ICON ICON "slashgaming_game_loader.ico" LANGUAGE LANG_ENGLISH, SUBLANG_ENGLISH_US VS_VERSION_INFO VERSIONINFO - FILEVERSION 3,0,2,1 - PRODUCTVERSION 3,0,2,1 + FILEVERSION 3,0,2,2 + PRODUCTVERSION 3,0,2,2 FILEFLAGSMASK 0x3fL // VS_FFI_FILEFLAGSMASK #ifdef _DEBUG FILEFLAGS 0x1L // VS_FF_DEBUG|VS_FF_PRIVATEBUILD|VS_FF_PRERELEASE @@ -71,7 +71,7 @@ VS_VERSION_INFO VERSIONINFO { BLOCK "040904E4" // Lang=US English, CharSet=Windows Multilingual { - VALUE "Build", "2021-06-09\0" + VALUE "Build", "2021-08-12\0" VALUE "Comments", "Licensed under Affero GPL v3+.\0" VALUE "CompanyName", "SlashGaming\0" VALUE "Developer", "Mir Drualga\0" @@ -81,7 +81,7 @@ VS_VERSION_INFO VERSIONINFO VALUE "LegalTrademarks", "All rights reserved.\0" VALUE "PrivateBuild", "\0" VALUE "ProductName", "Diablo II Free Resolution\0" - VALUE "ProductVersion", "3.0.2.1\0" + VALUE "ProductVersion", "3.0.2.2\0" VALUE "SpecialBuild", "\0" VALUE "Support", "reddit.com/r/SlashDiablo\0" } // BLOCK "040904E4" From 957eee365003f12cd6bb427fe278c752a568aa9d Mon Sep 17 00:00:00 2001 From: Mir Drualga Date: Thu, 12 Aug 2021 02:29:57 -0700 Subject: [PATCH 3/4] Add CHANGELOG file --- CHANGELOG.md | 128 +++++++++++++++++++++++++++++++++++++++++++++++++++ 1 file changed, 128 insertions(+) create mode 100644 CHANGELOG.md diff --git a/CHANGELOG.md b/CHANGELOG.md new file mode 100644 index 00000000..55adb423 --- /dev/null +++ b/CHANGELOG.md @@ -0,0 +1,128 @@ +# SGD2FreeRes Changelog + +## SGD2FreeRes 3.0.2.1 (August 12, 2021) +- Fix interface bar background position cut off one pixel at the + bottom. + +SGD2MAPI: +- Fix potential crash associated with game library paths. + +Developer notes: +- MDC uses commit d86ca4fed14f08743c511d6d9fde323d5c66c5c3. +- SGD2MAPI uses commit 7586477cd25d2bfd6a95e62199d885a2ac3543f2. + +## SGD2FreeRes 3.0.2.1 (June 9, 2021) +- Fix resolution reverting to 640x480 on gateway play, caused + by the number of config resolution being less than that on the + gateway. +- Fix a possible cause of D2SE version detection failing due to + improper string zero-termination. + +1.09D Only: +- Fix crash after Act transition cutscene. + +Developer notes: +- MDC uses commit e090165d9ce21534641104915bd0c75efad3dc2e. +- SGD2MAPI uses commit 8616bc941548fdf3541969694788e25c48dd2739. + +## SGD2FreeRes 3.0.2.0 (May 1, 2021) +- Restore support for 1.13D. +- Add support for 1.14C and 1.14D. +- Add support for D2DX Glide wrapper. Special thanks to bolrog for + providing the extended API in D2DX. +- Add 856x480 resolution to all existing gateways. +- Add 1068x600 resolution to D2LOD.NET. +- Fix potential incorrect display of DirectDraw video mode. +- Fix config wiping when JSON is not valid. + - Display a warning and exit if the config is not valid JSON. + +## SGD2FreeRes 3.0.1.1B (March 27, 2021) +- Add D2LOD.NET support. The custom resolution is 1024x768. + +## SGD2FreeRes 3.0.1.1 (March 23, 2021) +- Add ProjectDiablo 2 support. +- Fix version detection bug that prevented D2SE from launching even + with valid values. +- Fix incorrect inventory positions caused by some resolution + configurations. +- Fix transfer of inventory arrangement positions between SP and MP. + +## SGD2FreeRes 3.0.1.0 (March 13, 2021) +- Restore support for 1.13C. +- Support D2SE. Must be loaded using the PlugY.ini config. +- Fix video mode detection always incorrectly detecting DirectDraw + when game video mode is not controlled by command line options. +- Fix default assets mismatch for the right screen's border. +- Fix potential bug that may result in the New Skill button not + appearing correctly. + +1.13C Only: +- Fix the aspect ratio window scaling when the maximize button is + pressed. Previously, the maximize button only scaled for 4:3 aspect + ratio even when the resolution's aspect ratio was different. +- Fix the restore down functionality when the maximize button is + pressed. Previously, the button would prevent re-maximizing the + game window when pressed. + +Known issues: +- In 1.09D, Glide mode will sometimes crash from failed ingame + assertion "nIndex != INVALID_HARDWARE". It is currently unknown how + to consistently replicate the error. +- Glide mode displays incorrectly when the maximize button is pressed. + +## SGD2FreeRes 3.0.0.1 (Feb 26, 2021) +- Support usage of CnC-DDraw as the DDraw wrapper. +- Reduce file size through optimization and the removal of code bloat. +- Fix incompatibility with PlugY. +- Fix improper resolution selection when largest resolution is set, + and 640x480 is excluded in resolution definitions. + +Known issues (since last patch): +- In 1.09D, Glide mode will sometimes crash from failed ingame + assertion "nIndex != INVALID_HARDWARE". It is currently unknown how + to consistently replicate the error. + +## SGD2FreeRes 3.0.0.0 (Dec 12, 2020) +- Rename the project to SGD2FreeRes, as the project can provide more + than just HD. Also sorts out confusion from folks who conflate HD + with higher quality graphics. +- Rewrite from the ground up, replacing D2Template with SGD2MAPI as + its core. +- Supports 1.09D, support for the other version need to be + ported back in at a later time. +- Use JSON format for config file. +- Uncap single player resolution. Resolutions can be added in the + config file. +- Cap multiplayer resolution is depending on the gateway. +- Support usage of nGlide as the Glide wrapper. +- Fix video option selection crash that would occur when Lighting + Quality is selected under certain circumstances. +- Fix Windows 10 error on game exit, when Sven's Glide Wrapper is + present, but the video mode was not Glide. + +## D2HD 2.0.1.1 (Approx. Mar 2018 - Nov 2018) +- Add support for 1.12. +- Fix window resize issue upon game exit. +- Fix crash when using a non-standard resolution in DirectDraw or + Direct3D video mode. + +## D2HD 2.0.1.0 (Approx. Mar 2018 - Nov 2018) +- Set resolution to 1068x600, as Slash wants to maintain consistency + with Resurgence. + +## D2HD 2.0.1.0 Internal Release Candidate (Approx. Mar 2018 - Nov 2018) +- Set resolution to 1344x700, in case Slash wants to go with the + higher resolution. + +## D2HD 2.0.0.1 (Approx. Dec 2017 - Mar 2018) +- Fix resolution reload on first game created. Would lag the game, + especially in Chaos Sanctuary. + +## D2HD 2.0 (Approx. June - July 2017) +- Restore 640x480 resolution. New resolutions are added on top of + existing resolutions. +- (Possibly) added support for 1.13D. + +## D2HD 1.0 (Approx. May 2017) +- Replace 640x480 with 1068x600. +- Only supports 1.13C. From 3327337af8f256608de8ec96a95a15d148e799df Mon Sep 17 00:00:00 2001 From: Mir Drualga Date: Thu, 12 Aug 2021 02:33:15 -0700 Subject: [PATCH 4/4] Fix version in change log --- CHANGELOG.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index 55adb423..4ee77039 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -1,6 +1,6 @@ # SGD2FreeRes Changelog -## SGD2FreeRes 3.0.2.1 (August 12, 2021) +## SGD2FreeRes 3.0.2.2 (August 12, 2021) - Fix interface bar background position cut off one pixel at the bottom.