diff --git a/README.md b/README.md index 831e165..dd01c07 100644 --- a/README.md +++ b/README.md @@ -1,14 +1,17 @@ # OrangeX Client +![Banner1](./doc/banner1.png) +![Banner2](./doc/banner2.png) + +## Language: [中文](./README.md) | [English](./README_EN.md) ## 支持注入的客户端 +目前仅支持注入无混淆的客户端,已测试的客户端如下 -| 客户端 | 说明 | -| ------------ | -------------- | -| MCP 1.8.8 | 基于 MCP 的本地开发环境 | -| Lunar Client | 已适配的第三方客户端 | - +| 客户端 | 说明 | +|--------------------| -------------- | +| MCP 1.8.8 | 基于 MCP 的本地开发环境 | +| Lunar Client 1.8.9 | 已适配的第三方客户端 | --- - ## 如何构建 ### 方式一:直接构建 @@ -47,5 +50,13 @@ * 构建完成后,`out/` 目录下会生成 `Injector.jar` * 使用 `java -jar Injector.jar` 启动注入器 +## 开发 +* 安装 IntelliJ IDEA +* 使用IntelliJ IDEA打开项目 +* 编写代码 +* 右上角启动开发环境客户端 + ![devlaunch](./doc/devlaunch.png) + # 致谢 -* [FontRenderer](https://github.com/Godwhitelight/FontRenderer) - 字体渲染 \ No newline at end of file +* [FontRenderer](https://github.com/Godwhitelight/FontRenderer) - 字体渲染 +* [YMixin](https://github.com/yapeteam/YMixin) - 字节码插桩工具 动态生成可替换的字节码 \ No newline at end of file diff --git a/README_EN.md b/README_EN.md new file mode 100644 index 0000000..a8c9c71 --- /dev/null +++ b/README_EN.md @@ -0,0 +1,75 @@ +# OrangeX Client + +![Banner1](./doc/banner1.png) +![Banner2](./doc/banner2.png) + +## Language: [中文](./README.md) | [English](./README_EN.md) + +## Supported Injectable Clients + +Currently, only non-obfuscated clients are supported. The following clients have been tested: + +| Client | Description | +| ------------------ | ------------------------------------------ | +| MCP 1.8.8 | Local development environment based on MCP | +| Lunar Client 1.8.9 | Adapted third-party client | + +--- + +## How to Build + +### Method 1: Direct Build + +> The project already includes prebuilt dependencies and can be built directly. + +* Run `./gradlew buildInjector` to build the project +* After the build completes, `Injector.jar` will be generated in the `out/` directory +* Launch the injector using `java -jar Injector.jar` + +--- + +### Method 2: Rebuild Dependencies + +> Suitable for cases where you need to compile the underlying dependencies yourself. + +#### Step 1: Download or Build JuiceAgent + +* In the [JuiceAgent](https://github.com/xiaozhou233/JuiceAgent) project, build it according to the documentation or download a precompiled version + +* Obtain the following files: + + * `libagent.dll` + * `libinject.dll` + * `libjuiceloader.dll` + +* Replace the corresponding DLL files in the `natives` directory + +#### Step 2: Download or Build JuiceLoader + +* In the [JuiceLoader](https://github.com/xiaozhou233/JuiceLoader) project, build it according to the documentation or download a precompiled version +* Obtain `JuiceLoader.jar` +* Replace `JuiceLoader.jar` in the `libraries` directory + +#### Step 3: Build OrangeX + +* Run `./gradlew buildInjector` to build the project +* After the build completes, `Injector.jar` will be generated in the `out/` directory +* Launch the injector using `java -jar Injector.jar` + +--- + +## Development + +* Install IntelliJ IDEA +* Open the project with IntelliJ IDEA +* Write code +* Launch the development client using the button in the top-right corner + +![devlaunch](./doc/devlaunch.png) + +--- + +## Acknowledgements + +* [FontRenderer](https://github.com/Godwhitelight/FontRenderer) - Font rendering +* [YMixin](https://github.com/yapeteam/YMixin) - Bytecode instrumentation tool for dynamically generating replaceable bytecode diff --git a/doc/banner1.png b/doc/banner1.png new file mode 100644 index 0000000..52dae12 Binary files /dev/null and b/doc/banner1.png differ diff --git a/doc/banner2.png b/doc/banner2.png new file mode 100644 index 0000000..efce118 Binary files /dev/null and b/doc/banner2.png differ diff --git a/doc/devlaunch.png b/doc/devlaunch.png new file mode 100644 index 0000000..610bf0a Binary files /dev/null and b/doc/devlaunch.png differ