@eveshipfit/sde

中文文档
14.3693310.0发布于 2026/11/12SEE LICENSE IN LICENSE零依赖构建来源已验证近 30 天下载 5883

A patched EVE Online SDE, as flatbuffers, for EVEShipFit's dogma-engine

原始使用文档
文档目录9 节
  1. Prerequisite
  2. Usage
  3. Editing
  4. Output
  5. npm
  6. Python
  7. Releasing
  8. Patches
  9. License

SDE Patched

npm PyPI CI

Discord

A patched EVE Online SDE to work better with EVEShipFit's dogma-engine.

The main goal is to produce a small data-file, with everything included for dogma-engine to calculate fit statistics.

Prerequisite

  • Go 1.27 or later
  • flatc

Usage

go run ./cmd/sde-patched download        # fetch the latest SDE into sde/
go run ./cmd/sde-patched build           # write dist/sde.dat, dist/names.dat and dist/texts.dat
go run ./cmd/sde-patched compare old/    # tell whether dist/ differs from old/, ignoring the SDE build
go run ./cmd/sde-patched patches         # list all patches
go run ./cmd/sde-patched ids             # give an ID to anything added without one
go run ./cmd/sde-patched explain alignTime
go run ./cmd/sde-patched explain --type "Rifter"
go run ./cmd/sde-patched serve           # edit the patches in a browser

build downloads the SDE when there is none yet, and uses the one on disk otherwise. Use --build <number> to pin a version, --server singularity to use the SDE of the test server, and --major <number> to stamp the major version of the release into sde.dat.

Editing

The patches are best edited via the web-editor (via serve). It allows for full customization of all existing and new attributes.

This editor is fully vibe-coded, and it is very likely no human actually understands how it works. It is also not meant as "production-ready" software, but much more as "an easier way to digest patches".

Output

build writes three flatbuffers, described in specs/:

  • dist/sde.dat holds the types, dogma, groups, categories, buffs and mutaplasmids, with English names only. It is all a dogma-engine needs.
  • dist/names.dat maps a name in any of the eight languages EVE supports back to a type ID. Only an EFT-fit importer needs it, and only ever to search.
  • dist/texts.dat holds text only a user interface shows, like the tooltips of attributes and the bonuses of ships, in English. A dogma-engine never needs it.

npm

npm install @eveshipfit/sde

@eveshipfit/sde ships all three files and the schemas, under dist/ and specs/.

Python

pip install eveshipfit-sde

eveshipfit-sde ships all three files and the schemas, and the paths to them.

from eveshipfit_sde import build_number, names_path, sde_path, specs_path, texts_path

dogma.load_sde_from_file(sde_path())

build_number() reads the SDE build straight off the version.

Releasing

Every day at 12:00 UTC, main is built against the latest SDE. When the result differs from the latest release, the SDE build number and release date aside, a new release is made and published on npm and PyPI. A change to the patches is released this way too.

To preview the SDE of Singularity, run the Release workflow by hand with server set to singularity. It is published on npm only, under the singularity tag.

Patches

The SDE describes what the EVE client needs, not what a fitting tool needs. Align time, for example, is not an attribute; the client works it out. Patches add the missing attributes and effects, so a dogma-engine can work them out instead.

License

All EVE Online data belongs to CCP, and is subject to their license agreement. Everything EVEShip.fit-specific is MIT.

版本与发布记录

@eveshipfit/sde 共发布 56 个版本,首次发布于 2026/09/13;过去 12 个月发布了 56 个版本。最新版本附带 npm provenance 构建来源证明,可追溯到公开的 CI 构建记录。

版本发布日期距今
14.3693310.0latest2026/11/121 天前
14.3687575.02026/11/112 天前
14.3682781.02026/11/103 天前
14.3678022.0-singularity.92singularity2026/11/086 天前
14.3667080.02026/11/0310 天前
14.3665151.02026/11/0211 天前

关于 @eveshipfit/sde 的常见问题

@eveshipfit/sde 是什么?

A patched EVE Online SDE, as flatbuffers, for EVEShipFit's dogma-engine

如何安装 @eveshipfit/sde?

在项目目录运行 npm install @eveshipfit/sde,或使用 pnpm add / yarn add / bun add。

@eveshipfit/sde 支持 TypeScript 吗?

该包的 package.json 没有声明类型入口。需要类型提示时,可以在 npm 上查找社区维护的 @types/eveshipfit__sde 是否存在。

@eveshipfit/sde 可以商用吗?

@eveshipfit/sde 使用 SEE LICENSE IN LICENSE 许可。许可条款写在包内的独立文件中,请阅读该文件确认可否商用。以上为概括,不构成法律意见,请以许可原文为准。

@eveshipfit/sde 的下载量有多少?

根据 npm 官方下载统计,@eveshipfit/sde 在 2026/10/14 – 2026/11/12 这 30 天内被下载 5,883 次,日均约 196 次。下载量会把 CI 构建、镜像同步和作为其他包依赖的安装一并计入,适合横向比较热度,不能直接等同于使用人数。

@eveshipfit/sde 还在维护吗?

最新版本 14.3693310.0 发布于 2026/11/12(1 天前);至今共发布 56 个版本,其中过去 12 个月发布了 56 个;首次发布于 2026/09/13。发布频率只是参考信号:功能稳定的工具可能很少需要更新,建议结合源码仓库的 issue 和提交记录判断。