Community Database for the Altered TCG Cards
收藏资源简介:
该项目旨在通过社区驱动的存储库收集尽可能多的Altered TCG卡牌,避免因频繁API请求导致官方服务器过载。数据集采用JSON格式存储,支持多语言内容,并遵循特定的文件结构和命名规则。
The project aims to compile as many Altered TCG cards as possible through community-driven repositories, thereby avoiding overloading the official server due to frequent API requests. The dataset is stored in JSON format, supports multilingual content, and adheres to specific file structure and naming conventions.
Altered TCG卡片社区数据库概述
目标
- 收集尽可能多的Altered TCG卡片,构建社区驱动的存储库。
- 避免因API请求导致官方服务器过载。
卡片ID格式
卡片标识符结构如下:
ALT_SET_BOOSTER_FACTION_NUM_RARITY_VERSION
ALT: 固定前缀SET: 卡片所属系列(如ALIZE)BOOSTER: 卡包类型(如B)FACTION: 卡片阵营(如LY)NUM: 卡片编号(如31)RARITY: 稀有度(C、U、R等)VERSION: 版本号(如16)
文件结构
文件存储路径模式:
./SET/FACTION/NUM/ID.json
示例
卡片ID:
ALT_ALIZE_B_LY_31_U_16
对应文件路径:
./ALIZE/LY/31/ALT_ALIZE_B_LY_31_U_16.json
翻译
每个卡片JSON文件必须包含顶级键translations,包含以下内容:
- 本地化版本的卡片字典,使用locale代码(如
en-en、fr-fr、de-de等)。 - 每个值应镜像主卡片JSON的结构。
示例结构
json { "id": "ALT_ALIZE_B_LY_31_U_16", "type": "unit", "cost": 3, ... "translations": { "fr-fr": {}, "nl-nl": {} } }
目标
- 按系列/阵营/编号轻松导航和访问。
- 避免文件夹过于拥挤。
- 可扩展且一致的结构。
- 原生支持多语言内容。
- 最小化对Altered服务器的API调用。
示例文件树
. └── ALIZE └── LY └── 31 └── ALT_ALIZE_B_LY_31_U_16.json
贡献
- 可fork此存储库并开始添加卡片。
- 收集足够数量卡片后,可提交pull request。
- 建议在开始前查看社区discord以避免重复工作。




