lunar-sh/gsctool
GitHub: lunar-sh/gsctool
面向《使命召唤:黑色行动1》PC版的轻量级GSC脚本加载与转储工具,支持自定义插件注入和游戏脚本离线分析。
Stars: 13 | Forks: 0
# gsctool
```
________________________ ____ __
/ ___/ __/ ___/_ __/ __ \/ __ \/ /
/ (_ /\ \/ /__ / / / /_/ / /_/ / /__
\___/___/\___/ /_/ \____/\____/____/
```
适用于 `Call Of Duty: Black Ops 1 (T5)` 的 `PC` 版本的简易 `GSC` 脚本加载器和 dumper。
[`https://journal.lunar.sh/2023/gsctool.html`](https://journal.lunar.sh/2023/gsctool.html)
要加载 demo `GSC` 插件,请将 `gsctool` 复制到游戏的根目录。
此 demo 将在单人僵尸模式中生成时给你一把 `raygun`。
* `GSC` dumps 将写入 `gsctool/cache`
# 构建
运行:`git submodule update --init --recursive` 来克隆子模块。
然后使用以下任一方式构建项目:
* 在 `WSL` (`Windows`) 中使用提供的 `Makefile`
* 通过运行 `premake5 vs2022` 使用提供的 [`premake5.lua`](https://premake.github.io/) 脚本来生成 Visual Studio 2022 Project
最后构建并注入生成的 `DLL`。
用于 Makefile 的编译器是 [`tcc`](https://github.com/lunarjournal/tcc) (`Tiny C Compiler`)。

文件:
* `gsctool.h` - `GSC` loader definitions * `gsctool.c` - `core` implementation * `offsets.h` - `T5` function `offsets` # 依赖 * [`cdl86`](https://github.com/lunar-sh/cdl86) - `x86_64` detours library * [`miniz`](https://github.com/lunar-sh/miniz) - `zlib` library # 签名 ``` +---------------------------------------+ | .-. .-. .-. | | / \ / \ / \ + | | \ / \ / \ / | | "_" "_" "_" | | | | _ _ _ _ _ _ ___ ___ _ _ | | | | | | | | \| | /_\ | _ \ / __| || | | | | |_| |_| | .` |/ _ \| /_\__ \ __ | | | |____\___/|_|\_/_/ \_\_|_(_)___/_||_| | | | | | | Lunar RF Labs | | Email: root@lunar.sh | | | | Research Laboratories | | OpenAlias (BTC, XMR): lunar.sh | | Copyright (C) 2022-2024 | +---------------------------------------+ ```
* `gsctool.h` - `GSC` loader definitions * `gsctool.c` - `core` implementation * `offsets.h` - `T5` function `offsets` # 依赖 * [`cdl86`](https://github.com/lunar-sh/cdl86) - `x86_64` detours library * [`miniz`](https://github.com/lunar-sh/miniz) - `zlib` library # 签名 ``` +---------------------------------------+ | .-. .-. .-. | | / \ / \ / \ + | | \ / \ / \ / | | "_" "_" "_" | | | | _ _ _ _ _ _ ___ ___ _ _ | | | | | | | | \| | /_\ | _ \ / __| || | | | | |_| |_| | .` |/ _ \| /_\__ \ __ | | | |____\___/|_|\_/_/ \_\_|_(_)___/_||_| | | | | | | Lunar RF Labs | | Email: root@lunar.sh | | | | Research Laboratories | | OpenAlias (BTC, XMR): lunar.sh | | Copyright (C) 2022-2024 | +---------------------------------------+ ```
标签:DLL注入, 使命召唤, 客户端加密, 注入工具, 流量审计, 游戏Mod, 游戏逆向工程