# tMock-Server：重建 Terraria 服务器握手流程

> tMock-Server 是用 C++ 重建 Terraria 服务器初始联网流程的未完成项目。它以套接字代码和数据包类处理连接、协议版本、密码交换及玩家槽位分配；README 根据流量分析记录了消息 ID、字段、方向和结构。

- 类型：案例
- 目标：游戏 · 协议
- 类别：独立重建案例
- 关联：独立重建项目
- 来源复核于：2026-11-06
- 收录于：2026-11-06
- 原始资源：<https://github.com/StardustVulpine/tMock-Server>
- 一手来源：<https://github.com/StardustVulpine/tMock-Server/blob/54cbdba0337979fe4d67e4f2e613a6f0d0811345/README.md>
- 目录页面：<https://awesomerea.org/zh/resources/tmock-server-case/>
- 记录 JSON：<https://awesomerea.org/resources/tmock-server-case/record.json>
- 英文版：[English](https://awesomerea.org/resources/tmock-server-case/index.md)

## 使用条件与局限

- **前提条件：**目前需要 GNU/Linux，因为服务器依赖其套接字支持。
- **前提条件：**构建文件指定 CMake 4.1 和 C++26 工具链。
- **局限：**玩家与世界信息处理尚未完成。
- **许可：**采用 GPL-3.0 许可证。

## 一手来源

1. <https://github.com/StardustVulpine/tMock-Server/blob/54cbdba0337979fe4d67e4f2e613a6f0d0811345/README.md>
2. <https://github.com/StardustVulpine/tMock-Server/blob/54cbdba0337979fe4d67e4f2e613a6f0d0811345/CMakeLists.txt>

## 同分区更多条目：游戏

- [东方 Project 重建：贯穿三款游戏的智能体驱动方法](https://awesomerea.org/zh/resources/rea-touhou-reconstruction-method-case/index.md) · 案例
- [《神秘海域：内森·德雷克合集》原生 Windows 移植](https://awesomerea.org/zh/resources/uncharted-collection-pc-port-case/index.md) · 案例
- [Void Client：重建 Starblast.io 游戏客户端](https://awesomerea.org/zh/resources/void-client-case/index.md) · 案例
- [RenderDoc](https://awesomerea.org/zh/resources/renderdoc/index.md) · 工具
- [AssetRipper](https://awesomerea.org/zh/resources/assetripper/index.md) · 工具
- [Cpp2IL](https://awesomerea.org/zh/resources/cpp2il/index.md) · 工具

## 关于此条目

说明已依据一手来源复核。
原创说明采用 MIT 许可；外部项目、论文与素材保留各自的权利和许可。
