Skip to content

Commit

Permalink
Merge pull request #3 from dpteam/update
Browse files Browse the repository at this point in the history
Update Program.cs
  • Loading branch information
DartPower authored Dec 14, 2020
2 parents 3cdd46d + f11d915 commit f6d62d4
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion Cyberpunk2077_SMTPatcher/Program.cs
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@ static void Main(string[] args)
File.Copy(assemblyPath + Path.DirectorySeparatorChar + cp77exe, assemblyPath + Path.DirectorySeparatorChar + cp77exe + ".smt-patcher-bak", false);
Console.WriteLine("Backup created");
byte[] sourceBytes = StringHexToByteArray("753033C9B8010000000FA28BC8C1F908");
byte[] targetBytes = StringHexToByteArray("743033C9B8010000000FA28BC8C1F908");
byte[] targetBytes = StringHexToByteArray("EB3033C9B8010000000FA28BC8C1F908");
BinaryReplace(cp77exe + ".smt-patcher-bak", sourceBytes, cp77exe, targetBytes);
Console.WriteLine("SMT Pattern found and replaced. Cyberpunk 2077 patched successful.");
Console.WriteLine("Press Any Key to Exit.");
Expand Down

0 comments on commit f6d62d4

Please sign in to comment.