{
  "added_at": "2026-10-20",
  "additional_evidence_urls": [
    "https://github.com/fredangstadt-lang/LineWarsII-SDL/blob/343bb50942a61e9d7fa1c1314cd1f03f8e7b12ac/CMakeLists.txt",
    "https://github.com/fredangstadt-lang/LineWarsII-SDL/blob/343bb50942a61e9d7fa1c1314cd1f03f8e7b12ac/platform/sdl3/hal_sdl.c",
    "https://github.com/fredangstadt-lang/LineWarsII-SDL/blob/343bb50942a61e9d7fa1c1314cd1f03f8e7b12ac/docs/PORTING_CHECKLIST.md",
    "https://github.com/fredangstadt-lang/LineWarsII-SDL/blob/343bb50942a61e9d7fa1c1314cd1f03f8e7b12ac/LICENSE.md",
    "https://github.com/fredangstadt-lang/LineWarsII-SDL/blob/343bb50942a61e9d7fa1c1314cd1f03f8e7b12ac/NOTICE.md"
  ],
  "category": "reconstruction-cases",
  "description_en": "Provides an SDL3 backend for a portable-C reconstruction of the 1994 DOS game. Its build configuration links the reconstructed engine to video, input and audio adapters; the upstream documents differential gates against original machine code.",
  "description_zh": "为 1994 年 DOS 游戏的可移植 C 重建提供 SDL3 后端。构建配置将重建引擎接到视频、输入与音频适配层，上游记录了对照原始机器码的差分测试关卡。",
  "entry_url": "https://awesomerea.org/resources/linewars-ii-sdl-case/",
  "entry_url_zh": "https://awesomerea.org/zh/resources/linewars-ii-sdl-case/",
  "evidence_url": "https://github.com/fredangstadt-lang/LineWarsII-SDL/blob/343bb50942a61e9d7fa1c1314cd1f03f8e7b12ac/README.md",
  "group": "cases",
  "id": "linewars-ii-sdl-case",
  "json_url": "https://awesomerea.org/resources/linewars-ii-sdl-case/record.json",
  "kind": "case-study",
  "markdown_url": "https://awesomerea.org/resources/linewars-ii-sdl-case/index.md",
  "markdown_url_zh": "https://awesomerea.org/zh/resources/linewars-ii-sdl-case/index.md",
  "name": "LineWars II: a portable SDL3 reconstruction",
  "name_zh": "LineWars II：可移植的 SDL3 重建版",
  "reconstruction_method": "port",
  "record_type": "resource",
  "relationship": "independent-reconstruction",
  "requirements": [
    "Builds target Windows and Linux using C99, CMake 3.16+ and SDL3; the reviewed build notes specify SDL 3.4.12 built with the same compiler as the game. This is a port of the separate LineWarsII-DOS reconstruction.",
    "The reconstructed/ported source uses PolyForm Noncommercial 1.0.0. NOTICE reports original-author Patrick Aalto’s July 16, 2026 permission for freeware distribution of the original game material; it does not grant commercial-use permission. SDL keeps its separate zlib license.",
    "The upstream reports renderer and menu comparisons and captured PCM levels within about 10% of its DOS reference; higher-resolution rendering changes the presentation."
  ],
  "requirements_zh": [
    "使用 C99、CMake 3.16+ 与 SDL3 构建 Windows/Linux 版本；已读构建说明指定 SDL 3.4.12，并要求与游戏使用同一编译器。这是独立 LineWarsII-DOS 重建项目的移植。",
    "重建及移植源码采用 PolyForm Noncommercial 1.0.0。NOTICE 记录原作者 Patrick Aalto 于 2026 年 7 月 16 日允许原游戏材料以免费软件形式分发，但未授予商业使用许可；SDL 保留独立的 zlib 许可。",
    "上游报告了渲染器和菜单比较，以及捕获的 PCM 电平与 DOS 参照相差约 10% 以内；高分辨率渲染改变了表现。"
  ],
  "targets": [
    "binary",
    "game"
  ],
  "url": "https://github.com/fredangstadt-lang/LineWarsII-SDL",
  "verification": "source-reviewed",
  "verified_at": "2026-10-20"
}
