Skip to content

Commit

Permalink
Add tl;dr and licensing information
Browse files Browse the repository at this point in the history
  • Loading branch information
mic-e committed Nov 29, 2019
1 parent b4185fc commit a0831cc
Show file tree
Hide file tree
Showing 2 changed files with 31 additions and 0 deletions.
14 changes: 14 additions & 0 deletions COPYING.md
Original file line number Diff line number Diff line change
@@ -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.
```
17 changes: 17 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
@@ -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.
Expand Down Expand Up @@ -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.

0 comments on commit a0831cc

Please sign in to comment.