diff options
author | Shauren <shauren.trinity@gmail.com> | 2014-11-06 18:01:46 +0100 |
---|---|---|
committer | Shauren <shauren.trinity@gmail.com> | 2014-11-06 18:01:46 +0100 |
commit | 7a18cc2987d5f3593124dfedf4b94c7042f2f42a (patch) | |
tree | f5149d5cb31dbe76020d45de9980b90ed404cff3 /src/tools/connection_patcher/Program.cpp | |
parent | db7c07246a9eff609c711971d6f98413d38be97f (diff) |
Tools/Patcher: Removed "Connection" patch and added rsa modulus patch
Diffstat (limited to 'src/tools/connection_patcher/Program.cpp')
-rw-r--r-- | src/tools/connection_patcher/Program.cpp | 11 |
1 files changed, 6 insertions, 5 deletions
diff --git a/src/tools/connection_patcher/Program.cpp b/src/tools/connection_patcher/Program.cpp index 539c6093d53..9513e2da486 100644 --- a/src/tools/connection_patcher/Program.cpp +++ b/src/tools/connection_patcher/Program.cpp @@ -18,8 +18,10 @@ #include "Helper.hpp" #include "Patcher.hpp" +#include "Patches/Common.hpp" #include "Patches/Mac.hpp" #include "Patches/Windows.hpp" +#include "Patterns/Common.hpp" #include "Patterns/Mac.hpp" #include "Patterns/Windows.hpp" @@ -75,18 +77,17 @@ namespace Connection_Patcher template<typename PATCH, typename PATTERN> void do_patches(Patcher* patcher, boost::filesystem::path output) { + std::cout << "patching Portal\n"; + patcher->Patch(Patches::Common::Portal(), Patterns::Common::Portal()); + std::cout << "patching redirect RSA Modulus\n"; + patcher->Patch(Patches::Common::Modulus(), Patterns::Common::Modulus()); std::cout << "patching BNet\n"; patcher->Patch(PATCH::BNet(), PATTERN::BNet()); - std::cout << "patching Portal\n"; - patcher->Patch(PATCH::Portal(), PATTERN::Portal()); - std::cout << "patching Connect\n"; - patcher->Patch(PATCH::Connect(), PATTERN::Connect()); std::cout << "patching Signature\n"; patcher->Patch(PATCH::Signature(), PATTERN::Signature()); patcher->Finish(output); std::cout << "Patching done.\n"; - } } |