# hookciv6 **Repository Path**: zoo.me/hookciv6 ## Basic Information - **Project Name**: hookciv6 - **Description**: No description available - **Primary Language**: Unknown - **License**: MIT - **Default Branch**: main - **Homepage**: None - **GVP Project**: No ## Statistics - **Stars**: 0 - **Forks**: 1 - **Created**: 2025-08-07 - **Last Updated**: 2025-08-07 ## Categories & Tags **Categories**: Uncategorized **Tags**: None ## README # 文明6 socket hook **根据文明6进程反汇编和抓包得出,如果要针对其他游戏则需要适配** ## 编译方法 获取代码: ``` git clone https://gitee.com/peazomboss/hookciv6.git --recursive git clone git@gitee.com:peazomboss/hookciv6.git --recursive ``` 编译需要CMake,推荐使用[llvm-mingw](https://github.com/mstorsjo/llvm-mingw/releases)工具链来编译, 也可以使用[mingw](https://github.com/niXman/mingw-builds-binaries/releases)工具链。请使用64位的工具链。 配置好工具链后使用如下命令即可: ``` cmake -S . -B build -G "MinGW Makefiles" cmake --build build ``` 编译主要产物是 `hookdll.dll` `injciv6.exe` `civ6remove.exe` ## 使用方法 双击`injciv6.exe`来注入DLL,双击`civ6remove.exe`卸载DLL。 请不要在游戏刚启动及搜索房间的时候注入或卸载,可能会出现问题。