Battlefield 2
TecnologíaPort Nativo C/C++ (Reimplementación de Motor)
Disponible paraWindows, Linux, macOS
Ver proyecto oficialSobre el proyecto
Battlefield 2 es un videojuego de disparos en primera persona, el tercero de la serie Battlefield, desarrollador por EA Digital Illusions CE y distribuido por Electronic Arts. Los jugadores luchan en un moderno campo de batalla usando armamento militar moderno. Cuenta con algunos elementos de estrategia y shooter táctico.
2 versiones de Battlefield 2
Estás viendo: Battlefield 2
Información oficial del proyecto
BreadFlowerDos
A Battlefield 2/2142 "decompilation" project
What is this project
This project is an "effort" to create a free and open source recreation of the Refractor 2? Game engine.
Primarily focused on Battlefield 2 and 2142. This is more of a reimplementation of the engine than a 1:1 decomp.
We will be using modern C++ and re-implementing functionality as we see fit, this isn't going to be a direct port but more of a recreation.
Do not expect any meaningful efforts as I open Ghidra and start on this project once every 6 months or so.
Compiling
Requirements
- CMake 4.0+
- Clang 19+ (or MSVC)
- Clang-Tidy
- Clang-Format
Contribution
You must run clang-tidy and clang-format before each commit, or it will cause build errors.
Linux
From the root directory
find ./src -iname '*.hpp' -o -iname '*.cpp' | clang-format-20 -style=file -i -Werror --files=/dev/stdin
clang-tidy -checks='-*,modernize-concat-nested-namespaces' -fix-errors src/**.hpp -- -Isrc
Windows (TODO)
TODO
