From 24e8d176e39f5f23068380bc17f8566ed687d0ac Mon Sep 17 00:00:00 2001 From: Illia Yalovoi Date: Tue, 12 Sep 2023 22:54:25 +0300 Subject: [PATCH] Fixed EU4 Linux --- README.md | 8 ++++---- patch.go | 4 ++-- 2 files changed, 6 insertions(+), 6 deletions(-) diff --git a/README.md b/README.md index 5a9cb86..c71382a 100644 --- a/README.md +++ b/README.md @@ -13,9 +13,9 @@ In other words, yes, it gives you the ability to get achievements with mods enab Conrats, you done! In case you see unsupported version error most likely Paradox broke something and all you can do is wait until i update patch. # Supported games and platforms -| | Windows | Linux | MacOS | -| ---| --- | ---| --- | -| Europa Universalis IV | Yes :heavy_check_mark: | Currently broken :x: | Maybe | -| Hearts of Iron IV | Yes :heavy_check_mark: | Yes :heavy_check_mark: | No :x: | +| | Windows | Linux | MacOS | +|-----------------------|------------------------|------------------------|--------| +| Europa Universalis IV | Yes :heavy_check_mark: | Yes :heavy_check_mark: | Maybe | +| Hearts of Iron IV | Yes :heavy_check_mark: | Yes :heavy_check_mark: | No :x: | MacOS will be supported, if someone provide me executable files for analysis. diff --git a/patch.go b/patch.go index c38bdd3..1c5e99c 100644 --- a/patch.go +++ b/patch.go @@ -66,8 +66,8 @@ func applyPatch(test bool, originalFileName, OS string) error { // EU4 hexExistsEU4Windows := []string{"48", "8D", "0D", "??", "??", "??", "01", "E8", "??", "??", "??", "01", "85", "C0", "0F", "94", "C3", "E8"} hexWantedEU4Windows := []string{"48", "8D", "0D", "??", "??", "??", "01", "E8", "??", "??", "??", "01", "31", "C0", "0F", "94", "C3", "E8"} - hexExistsEU4Linux := []string{"E8", "65", "95", "E5", "FF", "89", "C3", "E8", "38", "08", "EC", "FF", "31", "F6", "85", "DB", "40", "0F", "94", "C6", "48", "89", "C7"} - hexWantedEU4Linux := []string{"E8", "65", "95", "E5", "FF", "89", "C3", "E8", "38", "08", "EC", "FF", "31", "F6", "31", "DB", "40", "0F", "94", "C6", "48", "89", "C7"} + hexExistsEU4Linux := []string{"E8", "??", "??", "E5", "FF", "89", "C3", "E8", "??", "??", "EC", "FF", "31", "F6", "85", "DB", "40", "0F", "94", "C6", "48", "89", "C7"} + hexWantedEU4Linux := []string{"E8", "??", "??", "E5", "FF", "89", "C3", "E8", "??", "??", "EC", "FF", "31", "F6", "31", "DB", "40", "0F", "94", "C6", "48", "89", "C7"} hexExistsEU4Darwin := []string{"E8", "7A", "C5", "76", "01", "89", "C3", "E8", "93", "A6", "EC", "FF", "31", "F6", "85", "DB", "40", "0F", "94", "C6", "48", "89", "C7"} hexWantedEU4Darwin := []string{"E8", "7A", "C5", "76", "01", "89", "C3", "E8", "93", "A6", "EC", "FF", "31", "F6", "31", "DB", "40", "0F", "94", "C6", "48", "89", "C7"} // HOI4