Skip to content
PORTSNATIVE.
HomeCatalog
Web GamesEmulatorsToolsNews
PORTSNATIVE.

A catalog for discovering ports and related projects. We link to official sources and do not host original game files.

ExploreCatalogMy list
InformationAbout usSuggest a portSupportDonationsLegal notice
© 2026 PortsNative
Back to catalog
Battlefield 2
PORTSNATIVE

Battlefield 2

NATIVE PORTFIGHTING / COMBATWINDOWSLINUXMACOSALPHA

Battlefield 2

TechnologyNative C/C++ port (engine reimplementation)

Available forWindows, Linux, macOS

View official project

About the project

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 versions of Battlefield 2

You're viewing: Battlefield 2

Battlefield 2github.com/kiwidoggie/breadflowerdos
Windows
Linux
macOS
Current
Battlefield 2 (2005)github.com/Moxnatiy/OpenBattlefield2
Windows
›

Official project information

Author's original READMEOpen on GitHub ↗

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

View official project
CALIFICACIÓN
—
Loading votes…
Advertisement

PROJECT FILE

Project type
NATIVE PORT
Genre
Fighting / Combat
Status
alpha
Original platform
—
Technology
Native C/C++ port (engine reimplementation)
Version
—
Updated
—

Target platforms 3

Windows
Linux
macOS
View on GitHub
Advertisement