# hearthstone-deck-format：解析《炉石传说》套牌字符串格式

> hearthstone-deck-format 记录《炉石传说》套牌字符串的编码结构。它把 base64 解码后的示例拆为文件头、英雄、单张卡、双张卡和尾部字段，并解释卡牌 ID 的 varint 编码。作者吸收了 HearthSim 算法的修正，仓库也附有 Python 格式及解析文件。

- 类型：案例
- 目标：游戏
- 类别：独立重建案例
- 关联：独立重建项目
- 来源复核于：2026-11-07
- 收录于：2026-11-09
- 原始资源：<https://github.com/lamperi/hearthstone-deck-format>
- 一手来源：<https://github.com/lamperi/hearthstone-deck-format/blob/d66aa4bfeaf653bb8037733fa21f0391c55e8b63/README.md>
- 目录页面：<https://awesomerea.org/zh/resources/hearthstone-deck-format-case/>
- 记录 JSON：<https://awesomerea.org/resources/hearthstone-deck-format-case/record.json>
- 英文版：[English](https://awesomerea.org/resources/hearthstone-deck-format-case/index.md)

## 使用条件与局限

- **署名：**格式说明吸收了 HearthSim 算法的修正。
- **许可：**许可证为 Apache-2.0。

## 一手来源

1. <https://github.com/lamperi/hearthstone-deck-format/blob/d66aa4bfeaf653bb8037733fa21f0391c55e8b63/README.md>

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

- [Hey You, Pikachu!：N64 反汇编](https://awesomerea.org/zh/resources/hey-you-pikachu-disassembly-case/index.md) · 案例
- [Hitman 5 Server：重建《Absolution》和《Sniper Challenge》服务](https://awesomerea.org/zh/resources/hitman-5-server-case/index.md) · 案例
- [Hong Kong 97：SNES 游戏反汇编](https://awesomerea.org/zh/resources/hong-kong-97-disassembly-case/index.md) · 案例
- [Igor：解释运行 Objetivo Uikokahonia 原版可执行文件](https://awesomerea.org/zh/resources/igor-uikokahonia-case/index.md) · 案例
- [《声名狼藉：次子》原生 PC 移植](https://awesomerea.org/zh/resources/infamous-second-son-pc-port-case/index.md) · 案例
- [inFAMOUS: First Light：通过 PS4 兼容运行时移植到 Windows](https://awesomerea.org/zh/resources/infamous-first-light-pc-edition-case/index.md) · 案例

## 关于此条目

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