Skip to content

Commit

Permalink
Update
Browse files Browse the repository at this point in the history
  • Loading branch information
oureveryday committed Jan 1, 2024
1 parent 1c36c7a commit a33448a
Show file tree
Hide file tree
Showing 6 changed files with 469 additions and 164 deletions.
28 changes: 26 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -8,8 +8,6 @@ Bypasses Steam API dll integrity/size check by hooking CreateFile API.

## Usage

* Rename original `steam_api(64).dll` to `steam_api(64).org` or `steam_api(64).api.bak` or `steam_api(64)_o.dll` first.

### Method 1

* Use CFF Explorer and add `SteamAPICheckBypass` dll import to game main exe, then put the `SteamAPICheckBypass(x32).dll` dll beside game exe.
Expand All @@ -18,6 +16,32 @@ Bypasses Steam API dll integrity/size check by hooking CreateFile API.

* Put `SteamAPICheckBypass.dll` `version.dll` `libraries.txt` beside game exe.

## Configuration (Optional)

* Create `SteamAPICheckBypass.ini` and write file names you want to replace. Example:

```text
[Replace]
OriginalFileFile=ReplaceFileName
steam_api64.dll=steam_api64.dll.bak
steam_api.dll=steam_api.dll.bak
[AfterFirstTime]
OriginalFileFile=0
steam_api.dll=0
```

* `Replace`: The file name to replace.
* `AfterFirstTime`: Start to replace after the first read of the file.

## Internal Process

1. The Crack will check `useinternallist` in the source code, if it's true, it will use `internalreplaceList`.

2. The Crack will try to parse the ini file and add them into the replace list.

3. If ini file not exist, try find `steam_api(64).dll.bak`, `steam_api(64).org`,`steam_api(64)_o.dll` and add the existed file into replace list.

## Dependencies

* <https://github.com/Xpl0itR/VersionShim>
Expand Down
Binary file modified Release_dlls/SteamAPICheckBypass.dll
Binary file not shown.
Binary file modified Release_dlls/SteamAPICheckBypass_x32.dll
Binary file not shown.
7 changes: 7 additions & 0 deletions SteamAPICheckBypass.EXAMPLE.ini
Original file line number Diff line number Diff line change
@@ -0,0 +1,7 @@
[Replace]
steam_api64.dll=steam_api64.dll.bak
steam_api.dll=steam_api.dll.bak

[AfterFirstTime]
steam_api.dll=0
steam_api.dll=0
Loading

0 comments on commit a33448a

Please sign in to comment.