https://github.com/noodlecollie/nightfire-open
Open source Goldsrc-based mod replicating 007 Nightfire.
https://github.com/noodlecollie/nightfire-open
007 game game-development nightfire
Last synced: 3 months ago
JSON representation
Open source Goldsrc-based mod replicating 007 Nightfire.
- Host: GitHub
- URL: https://github.com/noodlecollie/nightfire-open
- Owner: noodlecollie
- License: other
- Created: 2025-08-07T20:34:44.000Z (11 months ago)
- Default Branch: master
- Last Pushed: 2026-03-11T07:46:03.000Z (3 months ago)
- Last Synced: 2026-03-11T14:13:51.218Z (3 months ago)
- Topics: 007, game, game-development, nightfire
- Language: C++
- Homepage: https://en.wikipedia.org/wiki/James_Bond_007:_Nightfire
- Size: 34.4 MB
- Stars: 10
- Watchers: 4
- Forks: 0
- Open Issues: 1
-
Metadata Files:
- Readme: readme.md
- Copyright: copyright.txt
Awesome Lists containing this project
README
Nightfire Open
==============



Nightfire Open is an open source reboot of [James Bond 007: Nightfire](https://en.wikipedia.org/wiki/James_Bond_007:_Nightfire) as a Half Life mod, which runs on Windows and Linux.
## Downloads
The latest downloads for the game and dedicated server can be found on the [releases page](https://github.com/noodlecollie/nightfire-open/releases), or on the [ModDB page](https://www.moddb.com/games/nightfire-open/downloads). As this repo is a refresh after the game content was moved elsewhere (see [Note Regarding Game Content](#note-regarding-game-content)), releases up to v6 are available only on ModDB.
Note that at present the game is in a relatively minimal playable state, so the experience may not be representative of what is planned for the future.
To run the game:
* Run `bond.exe` on Windows
* Run `bond` on Linux.
## Building
### Note Regarding Game Content
The game's binary content and assets (maps, models, textures, etc.) is hosted in a private repository. This is because something (likely AI crawlers) was hitting the repo very regularly and exhausing all the Git LFS bandwidth. Until those robots can learn to play nice, the content will not be accessible publicly.
If you require access to the game content for development, please get in touch to discuss. Otherwise, the game should be buildable without access to the content, and files from an existing release of the game may be placed manually alongside the build. The `nfopen` directory (which contains file such as `gameinfo.txt`) should be placed in the same directory as the main `bond` executable.
### Build Instructions
[CMake](https://cmake.org/download/) 3.21 or greater is required to build the game. Compilation has been tested with Visual Studio 2022 on Windows, and GCC 11.4 on Ubuntu.
[Vcpkg](https://github.com/microsoft/vcpkg) is used to manage dependencies. On Windows, all dependencies should be catered for already; on Ubuntu, you will need to additionally install the following packages on your system:
``` bash
sudo apt install \
build-essential \
mesa-utils \
libsdl2-dev \
autoconf \
automake \
autoconf-archive \
libtool \
python3-jinja2
```
For a basic debug build of the game client, follow these steps:
``` bash
# Clone the repo to your hard drive and enter the directory.
# Note that without passing --recursive, vcpkg will not function
# properly on Windows. To fix this for an existing clone,
# run git submodule update --init --recursive
git clone --recursive https://github.com/noodlecollie/nightfire-open.git && cd nightfire-open
# Configure and run a build with CMake.
cmake -DCMAKE_INSTALL_PREFIX:STRING=install -S . -B build
cmake --build build --config Debug --target install -j 10
```
The game will be placed in `build/install`. To run on Linux:
``` bash
cd build/install/nightfire-open
./bond
```
To run on Windows:
``` cmd
cd build\install\nightfire-open
bond.exe
```
## About
The primary purpose of this game is to recreate and improve the experience of the PC version of Nightfire, and to provide in the process an open source codebase that will allow for extension and refinement.
Nightfire Open is built with the [Xash3D FWGS](https://github.com/FWGS/xash3d-fwgs) engine, an open source Goldsrc engine re-implementation. This is for a few reasons:
* The codebase is fully open, so can be adapted as required.
* It's smaller and simpler than the Source engine, its closest cousin.
* It's close in principle to the genuine PC Nightfire engine (itself a heavily modified version of GoldSrc).
* Developing on a more limited engine doesn't come with the expectation that the game will be photorealistic. I don't have the time or the energy as a single hobbyist to be working on some sort of HD photorealistic remake.
The original repo used for development was [afterburner-game](https://github.com/noodlecollie/afterburner-game), but the objectives of this repo and the Xash3D repo became quite different, and were not well-aligned. Consequently, it was decided to take a hard fork of the Xash3D engine and migrate everything to this new CMake-based repository instead, for full control over the codebase.
## Credits
Many thanks to:
* Gearbox for the original game.
* The FWGS team for the Xash3D engine and Xash3D version of Half Life SDK.
* Boris Borisovich Godin for the Botrix multiplayer bot plugin for HL2DM, ported to this project by me.
* Developers of STB libraries.
* Developers of rapidjson library.
* Contributors to XeNTaX game reverse-engineering forums.
* ZapSplat.com for various free sound effects.
* Various Nightfire modders over the years whose tools and reverse-engineering have proven invaluable when developing this mod (specifically Tres, 009, Ford, UltimateSniper).
