Skip to content

Commit

Permalink
Merge pull request #7 from m4l3vich/patch-2
Browse files Browse the repository at this point in the history
Fix typos in documentation and source
  • Loading branch information
DartPower authored Dec 16, 2020
2 parents f1143e1 + 62241df commit 7b9e727
Show file tree
Hide file tree
Showing 2 changed files with 17 additions and 19 deletions.
6 changes: 3 additions & 3 deletions Cyberpunk2077_SMTPatcher/Program.cs
Original file line number Diff line number Diff line change
Expand Up @@ -12,16 +12,16 @@ static void Main(string[] args)
string cp77exe = "Cyberpunk2077.exe";
if (File.Exists(cp77exe + ".smt-patcher-bak"))
{
Console.WriteLine("Backup found. Already patched?");
Console.WriteLine("A backup was found. Already patched?");
Console.ReadKey();
}
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("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.");
Console.WriteLine("SMT Pattern found and replaced. Cyberpunk 2077 patched successfuly.");
Console.WriteLine("Press any key to exit.");
Console.ReadKey();
}

Expand Down
30 changes: 14 additions & 16 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@

<p align="center">

<img src="https://img.shields.io/badge/writed%20by-dartpower-blue.svg" >
<img src="https://img.shields.io/badge/written%20by-dartpower-blue.svg" >

<img src="https://badges.frapsoft.com/os/v1/open-source.svg?v=103" >

Expand All @@ -27,28 +27,26 @@
# Usage

```
1. Download a patcher archive in Releases tab
2. Unpack a file named "Cyberpunk2077_SMTPatcher.exe" into <Cyberpunk 2077 Install Folder>\bin\x64
1. Download the patcher archive from Releases tab
2. Unpack the file named "Cyberpunk2077_SMTPatcher.exe" into <Cyberpunk 2077 Install Folder>\bin\x64
e.g. V:\GoG Games\Cyberpunk 2077\bin\x64
(For GOG Users)
Path examples:
GOG:
D:\GoG Games\Cyberpunk 2077\bin\x64
or for EGS users:
EGS
C:\Program Files\Cyberpunk 2077\bin\x64
or for steam users:
Steam:
C:\Program Files (x86)\Steam\steamapps\common\Cyberpunk 2077\bin\x64
or
D:\SteamLibrary\steamapps\common\Cyberpunk 2077\bin\x64
or for moneyless people
Poor people:
D:\Program Files\R.G. YourCrappyPirateReleaser\Cyberpunk2077\bin\x64
3. Run "Cyberpunk2077_SMTPatcher.exe"
4. Wait when patching is successful
Patcher console window will say "SMT Pattern found and replaced. Cyberpunk 2077 patched successful." and "Press Any Key to Exit"
You may just press any key and this window is closes or close this window.
5. If patching is successful, launch game.
4. Wait until patching is complete
5. If patching was successful, then launch the game.
```

# Uninstall patch
Expand All @@ -63,17 +61,17 @@ P.S. You should check if [viewing hidden files and folders is enabled](https://s

# Troubleshooting & F.A.Q.

* Question: Which version of Cyberpunk 2077 is need to patch?
* Question: Which version of Cyberpunk is required for this patch?

* Answer: Any (where pattern is working): 1.03/1.04 or newer, Steam/GoG/EGS and etc...

* Question: Can't launch patcher!

* Answer: Install .NET Framework 4.8

* Question: Patcher crashing, he is can't found a game exe.
* Question: Patcher crashes, telling that it can't found a game exe.

* Answer: Put file in correctly folder which specified in the documentation!
* Answer: Move the patcher in the correct folder (more info above)

# What's done

Expand Down

0 comments on commit 7b9e727

Please sign in to comment.