Bohemia Interactive:GitHub 上的《冷战突击》重制版源代码
Bohemia Interactive: Cold War Assault Remastered Source Code on GitHub

原始链接: https://github.com/BohemiaInteractive/CWR

Bohemia Interactive 已将《武装行动:冷战突击》(原名《闪点行动:冷战危机》)的引擎及游戏源代码开源。该代码库现已适配 C++20 标准,并支持 CMake 和 Clang,旨在供社区研究、修改及构建。 本次发布的主要事项如下: * **许可协议:** 源代码采用 GPL-3.0 协议(包含第 7 节附加条款)。但此协议不包含商标权;衍生版本必须更改名称,且不得宣称是 Bohemia Interactive 的官方产品。 * **游戏数据:** 资源文件(模型、纹理、音效等)不包含在代码库中。这些资源仍受《武装行动》共享许可协议(APL-SA)约束,必须通过其他途径(如免费的 Steam 演示版)获取。 * **第三方代码:** 代码库中包含的部分第三方库仍遵循其各自的许可协议。 * **维护状态:** 这是一个只读代码库。Bohemia Interactive 不会接受合并请求(Pull Request)或提供持续更新。鼓励社区通过分支(Fork)代码来进行后续开发及移植。 如需了解完整的技术细节、构建指南及许可条款,请查阅代码库的相关文档。

```Hacker News 最新 | 过往 | 评论 | 提问 | 展示 | 招聘 | 提交 登录 Bohemia Interactive:Cold War Assault 重制版源代码已在 GitHub 开源 (github.com/bohemiainteractive) 4 个积分,由 dewey 发布于 1 小时前 | 隐藏 | 过往 | 收藏 | 1 条评论 帮助 klaussilveira 16 分钟前 [–] Bohemia Interactive 不仅发布了源代码,他们还对其进行了清理,并移植到了 Windows x64 和 Linux x64 平台。这太令人惊叹了。 回复 准则 | 常见问题 | 列表 | API | 安全 | 法律 | 申请加入 YC | 联系 搜索:```
相关文章

原文

This repository holds the engine and game source code (codename Poseidon) behind Arma: Cold War Assault — the game first released in 2001 as Operation Flashpoint: Cold War Crisis. That release launched Bohemia Interactive and began the technology lineage that later grew into Real Virtuality, Arma, and Enfusion. The code has been modernized to C++20, built with CMake and Clang, with cross-platform support for Windows x64 and Linux x64. Bohemia Interactive is releasing it to the community that has kept this game alive for more than two decades — to study it, build on it, fix it, and create from it. Three things are worth keeping separate:

Source code (this repository)

The engine and game executables, licensed under GPL-3.0-or-later with additional terms under Section 7. You may use, study, modify, and redistribute it, provided it stays GPL and you follow those terms.

The name and brand

"ARMA", "Operation Flashpoint", and the logos are not granted. The trademarks stay with their owners ("ARMA" is Bohemia Interactive's). A fork must be renamed and must not present itself as "Arma" or as an official Bohemia Interactive product.

Game data (separate)

Models, textures, sounds, missions, and voices. These are not in this repository and are not GPL; they ship separately under the APL-SA license. A free Demo is available on Steam.

In short: the code is free software, the name is not, and the game data comes separately. This license covers the source code only and grants no rights to the trademarks.

cmake --preset win-x64-clang-rwdi
cmake --build build/win-x64-clang-rwdi

On GNU/Linux, use the matching linux-x64-clang-rwdi preset.

  • Apps - executable targets
  • Engine - engine libraries and Rust Trident tooling
  • Master server tools - Rust service and CLI crates
  • Tests - test source trees; CI currently compiles them only
  • cmake/ - presets, toolchains, vcpkg triplets, and overlay ports
  • docker/ - container support for service and runtime environments
  • packages/ - ignored local game data staging area
  • resources/ - application icon resources
  • thirdparty/ - vendored third-party headers and sources

The source in this repository is licensed under the GNU General Public License v3.0 or later, with additional terms under Section 7 of the GPL. See LICENSE for the full text. This license does not grant you any right to use "ARMA" or any other Bohemia Interactive trademark.

The thirdparty/ directory is excluded from the project's GPL license: it contains vendored third-party code (glad, the RenderDoc API header) under their own respective licenses — see thirdparty/README.md. Dependencies pulled in via vcpkg (vcpkg.json) likewise remain under their own licenses.

"ARMA" is a registered trademark of BOHEMIA INTERACTIVE a.s. "OPERATION FLASHPOINT" is a registered trademark of Electronic Arts Inc. See LICENSE for information concerning trademarks. This credits file is informational and does not constitute any grant and/or waiver of rights.

Game data / assets — Arma Public License Share Alike (APL-SA)

Game data and assets (models, textures, sounds, missions, etc.) are not part of this repository and are not covered by the GPL. They are released separately by Bohemia Interactive under the Arma Public License Share Alike (APL-SA):

Getting game data to run what you build

The compiled binaries need game data to run. You can obtain the free Demo game data on Steam:

The full game data ships with the retail game. Whatever you do with assets is governed by the APL-SA linked above; whatever you do with this source is governed by the GPL with additional terms per Section 7 in LICENSE.

This is a locked repository: pull requests are not accepted here, and this repository will not be continuously updated. Issues are only for bugs in official Bohemia Interactive builds distributed on Steam. For ideas, development builds, ports, and community work, fork the code or join the community continuation. See CONTRIBUTING.md for more information.

联系我们 contact @ memedata.com