Skip to content

Commit f4bf72b

Browse files
author
bodong
committed
update docs.
1 parent 7d6b532 commit f4bf72b

File tree

1 file changed

+12
-12
lines changed

1 file changed

+12
-12
lines changed

README.md

+12-12
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@ This version supports both x86 and x64. The generated C++ project also supports
77
C#版本的AHeadLib,解决了之前的很多爱好者提供的C++版本的不稳定、不兼容x64、选择文件卡死等各种问题。
88
此版本同时支持x86和x64,生成的C++项目也同时支持对x86和x64的dll的伪装,选择对应的编译配置即可。
99

10-
# Overview
10+
# Overview 概览
1111
This project is based on .NET Framework 4.7.2 and DevExpress v22.1.4. If you want to use it, you can directly download the compressed package below [Release](https://github.com/bodong1987/AHeadLib.Net/releases). To compile you need to install DevExpress.
1212

1313
---
@@ -21,7 +21,7 @@ This project is based on .NET Framework 4.7.2 and DevExpress v22.1.4. If you wan
2121

2222
**注意,这个工具只支持导出纯C的接口,一些C++符号之类的复杂符号是不支持导出的。所以新的dll存在缺少必要符号的可能性。如果你的dll是一些只有纯C API的dll,诸如winmm.dll,那可以随意使用,不会有问题的。**
2323

24-
# How to Use
24+
# How to Use 如何使用
2525
Open the tool and select the dll you want to disguise in the first line.
2626
The second line selects a directory. Then click Generate, it will generate a complete Visual Studio 2022 C++ project for you. If nothing unexpected happens, open the corresponding sln and you can compile it.
2727
If you want to obtain other versions of the project, you can refer to the corresponding configuration and create a new project, or you can directly modify the vcxproj file to achieve your goal.
@@ -32,14 +32,14 @@ If you want to obtain other versions of the project, you can refer to the corres
3232
第二行选择一个目录。然后点击Generate,它会为你生成一个完整的Visual Studio 2022 C++项目。如果不出意外,打开对应的sln就可以编译了。
3333
如果你希望获取其它版本的项目,可以参考对应的配置,新建一个项目,也可以直接修改vcxproj文件达到目的。
3434

35-
# Change the code
36-
Open the `UserImplementations.cpp` file. There are two user-defined methods. You can customize the original dll file path and append your own custom code in these two methods.
35+
# Custom Process 自定义处理
36+
Open the `UserImplementations.cpp` file. There are some user-defined methods where you can customize the original dll file path, decide whether to execute Patch code, and append additional custom code.
3737

3838
---
3939

40-
打开`UserImplementations.cpp`文件,这里有两个用户自定义方法,你可以在这两个方法中定制原始dll文件路径,以及追加自己的自定义代码
40+
打开`UserImplementations.cpp`文件,这里有一些用户自定义方法,你可以在这些方法中定制原始dll文件路径、决定是否执行Patch代码、以及追加额外的自定义代码
4141

42-
# Patch template
42+
# Patch template 补丁模板
4343
The tool provides a very simple Patch framework, which will search for segments according to certain rules when the hijacking dll is loaded, and dynamically replace the bytes that meet the requirements with the bytes you provide. There are two methods. One is to directly compile the `${LIB_NAME}_patch.txt` file in the Resource directory and configure it according to the rules inside;
4444
the other is to create a new `${LIB_NAME}.patchconfig` file and place it with the hijacked dll. Together, configuration strategies and resources are the same.
4545
for example:
@@ -54,9 +54,9 @@ Configuration rules :
5454
;
5555
; use ; start a comment line
5656
;library : dll name with .dll extension or 0, 0 is the main module
57-
;segenemnt : segment name, eg: .text|.data
58-
;signature : hex byte value sequence, splitted by space
59-
;newBytes : hex byte value sequence, splitted by space
57+
;segment : segment name, eg: .text|.data
58+
;signature : hex byte value sequence, split by space
59+
;newBytes : hex byte value sequence, split by space
6060
6161
; for example:
6262
;library : 0
@@ -87,9 +87,9 @@ Configuration rules :
8787
;
8888
; use ; start a comment line
8989
;library : dll name with .dll extension or 0, 0 is the main module
90-
;segenemnt : segment name, eg: .text|.data
91-
;signature : hex byte value sequence, splitted by space
92-
;newBytes : hex byte value sequence, splitted by space
90+
;segment : segment name, eg: .text|.data
91+
;signature : hex byte value sequence, split by space
92+
;newBytes : hex byte value sequence, split by space
9393
9494
; for example:
9595
;library : 0

0 commit comments

Comments
 (0)