Skip to content

Commit

Permalink
Merge pull request #44 from maximilianmaihoefner/master
Browse files Browse the repository at this point in the history
Add PatchInfo for Unity 2019.2 and 2019.4 on macOS and 2019.4 on Linux
  • Loading branch information
aevitas committed Jun 9, 2020
2 parents d7db7fb + c6a1e85 commit 1fbf218
Show file tree
Hide file tree
Showing 2 changed files with 22 additions and 3 deletions.
5 changes: 3 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -44,10 +44,11 @@ Currently, the following OS and Unity version combinations are supported:

| | Windows | MacOS | Linux |
|---------|:------------------:|:------------------:|:------------------:|
| 2020.2a | :x: | :x: | :white_check_mark: |
| 2020.2a | :x: | :white_check_mark: | :white_check_mark: |
| 2020.1b | :white_check_mark: | :white_check_mark: | :white_check_mark: |
| 2019.4 | :x: | :white_check_mark: | :white_check_mark: |
| 2019.3 | :white_check_mark: | :white_check_mark: | :white_check_mark: |
| 2019.2 | :white_check_mark: | :x: | :white_check_mark: |
| 2019.2 | :white_check_mark: | :white_check_mark: | :white_check_mark: |
| 2019.1 | :x: | :white_check_mark: | :white_check_mark: |
| 2018.4 | :white_check_mark: | :white_check_mark: | :white_check_mark: |
| 2018.3 | :white_check_mark: | :x: | :x: |
Expand Down
20 changes: 19 additions & 1 deletion src/Patcher/Patches.cs
Original file line number Diff line number Diff line change
Expand Up @@ -56,17 +56,29 @@ public static class Patches
},
new PatchInfo
{
Version = "2019.1.0f2",
Version = "2019.1",
DarkPattern = new byte[] {0x75, 0x03, 0x41, 0x8b, 0x06, 0x48},
LightPattern = new byte[] {0x74, 0x03, 0x41, 0x8b, 0x06, 0x48}
},
new PatchInfo
{
Version = "2019.2",
DarkPattern = new byte[] {0x75, 0x04, 0x8b, 0x03, 0xeb, 0x02},
LightPattern = new byte[] {0x74, 0x04, 0x8b, 0x03, 0xeb, 0x02}
},
new PatchInfo
{
Version = "2019.3",
DarkPattern = new byte[] {0x85, 0xD5, 0x00, 0x00, 0x00, 0x8B, 0x03},
LightPattern = new byte[] {0x84, 0xD5, 0x00, 0x00, 0x00, 0x8B, 0x03}
},
new PatchInfo
{
Version = "2019.4",
DarkPattern = new byte[] {0x85, 0xD5, 0x00, 0x00, 0x00, 0x8B, 0x03},
LightPattern = new byte[] {0x84, 0xD5, 0x00, 0x00, 0x00, 0x8B, 0x03}
},
new PatchInfo
{
Version = "2020.1",
DarkPattern = new byte[] {0x75, 0x5E, 0x8B, 0x03, 0xEB},
Expand Down Expand Up @@ -107,6 +119,12 @@ public static class Patches
LightPattern = new byte[] {0x74, 0x06, 0x41, 0x8b, 0x04, 0x24, 0xeb, 0x02}
},
new PatchInfo
{
Version = "2019.4",
DarkPattern = new byte[] {0x75, 0x06, 0x41, 0x8b, 0x04, 0x24, 0xeb, 0x02},
LightPattern = new byte[] {0x74, 0x06, 0x41, 0x8b, 0x04, 0x24, 0xeb, 0x02}
},
new PatchInfo
{
Version = "2020.1",
DarkPattern = new byte[] {0x75, 0x05, 0x41, 0x8b, 0x07, 0xeb, 0x02},
Expand Down

0 comments on commit 1fbf218

Please sign in to comment.