From a0831cc5538d6a1f6c7550559eee854617764828 Mon Sep 17 00:00:00 2001 From: Michael Ensslin Date: Fri, 29 Nov 2019 18:06:28 +0100 Subject: [PATCH] Add tl;dr and licensing information --- COPYING.md | 14 ++++++++++++++ README.md | 17 +++++++++++++++++ 2 files changed, 31 insertions(+) create mode 100644 COPYING.md diff --git a/COPYING.md b/COPYING.md new file mode 100644 index 0000000..988798e --- /dev/null +++ b/COPYING.md @@ -0,0 +1,14 @@ +The Microsoft Detours Library (including its examples) is released under the MIT license, and we follow suit. + +- Copyright (c) Microsoft Corporation +- Copyright (c) SFT Technologies + +Legal blurb: + +``` +Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal in the Software without restriction, including without limitation the rights to use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of the Software, and to permit persons to whom the Software is furnished to do so, subject to the following conditions: + +The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software. + +THE SOFTWARE IS PROVIDED AS IS, WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. +``` diff --git a/README.md b/README.md index 04a6965..e51cd63 100644 --- a/README.md +++ b/README.md @@ -1,5 +1,16 @@ # Age of Empires II scrollbug fix +## TL;DR + +- Download `age2_x1_fixed.tar` from the [Releases page](https://github.com/SFTtech/sftscrollbugfixer/releases) +- Unpack it into your `age2_x1` folder +- From now on launch the game with `age2_x1_fixed.exe` instead of `age2_x1.exe` +- No patching of the game binary is required +- Black magic now removes all of the suffering +- ????? +- PROFIT +- If you want to use the fix with a different version of the game, just modify the `.ini` file accordingly. + ## What is the scrollbug? Sometimes when you tab out of the game, after tabbing back in the game will be stuck in a state where it is constantly scrolling in some direction. @@ -86,3 +97,9 @@ When launched, `dll_inject.exe` will - wait until the exe file has finished If you use the pre-compiled and pre-configured `age2_x1_fixed.exe`, `age2_x1_fixed.ini`, `fix_scrollbug32.dll` you can just place them in the `age2_x1` folder and launch `age2_x1_fixed.exe` instead of `age2_x1.exe`. + +## Credits + +Thanks to **Sulix** who posted an analysis of the bug on the [Steam Forum](https://steamcommunity.com/app/221380/discussions/2/622954302095447538/#c154645539343670235). + +Thanks to Microsoft Research for the Detours library and the excellent accompanying samples. `dll_inject.cpp` was derived directly from the `withdll` example, and `fix_scrollbug.cpp` was derived by modifying one of the other examples.