Repository navigation
OpenNighthawk 2026-11-07
An unofficial, fan-made recompilation of F-117A Nighthawk Stealth Fighter 2.0 (MicroProse, 1991) for Windows. You must own the original game (GOG or Steam). This release contains source code only: no game files, no generated code, no prebuilt game program. Setup builds the game on your own PC from your own copy.
Install
- Install F-117A from GOG or Steam if you have not.
- Download
OpenNighthawk-setup-20261107.zip, extract it to a normal folder and double-clicksetup.cmd. 64-bit Windows, internet access, about 1.5 GB free while it builds, about 5 to 15 minutes (4 minutes 30 seconds on the author's PC). - Answer the wizard's questions (install folder, shortcuts, optional sound and picture settings), or press Enter for the defaults. It downloads its own Python, CMake, Ninja, shader compiler and the Zig compiler, checking pinned SHA-256 values, so nothing needs to be installed first. It finds your game, checks its files and never writes to it.
- Start the game from the shortcut or the Start menu. Press the ` key for settings.
To uninstall: Windows Settings, Apps, OpenNighthawk, or uninstall.cmd in the install folder. Your pilots are kept unless you say otherwise.
Windows SmartScreen or an antivirus may warn about the new program the first time it runs. Setup checks every download; if something is quarantined, setup stops with a message.
What it is
The original's machine code is translated into C and compiled natively, and its routines are being replaced by named, explained C that is checked to behave identically to the original, instruction by instruction. With fixes off it plays exactly like the DOS original; 33 switchable bug fixes are on by default (--fixes original turns them off). See the README for the full list and for how parity is checked.
Highlights
- Remastered view: the 3D world redrawn by this project's own renderer, up to 4K, widescreen, with far scenery, lights and buildings drawn to the screen edges and far past the original's reach (Draw distance), and smooth motion between the game's steps.
- Model detail (Full by default in Remastered): every building and object in its most detailed version, so lights no longer pop in as you approach.
- GPU composition on by default in Remastered with a Direct3D 12 GPU; its pictures equal the CPU compositor's exactly, checked pixel by pixel. At 4K with the farthest draw distance and full model detail, about 60 frames a second on the author's PC (RTX 3060).
- Screenshots: Tab saves a PNG named
OpenNighthawk date time.pngin your Pictures folder, in OpenNighthawk (change it in Settings, Folders), with an on-screen message. - Recorded flights replay faithfully, including flights flown with Roland music and AdLib effects together.
- Sound: AdLib, the PC speaker, Roland MT-32 through Munt with your own ROMs, or the Macintosh version's recordings from your own copy.
- Setup wizard and uninstaller, settings kept across updates.
Checked
On the author's PC (Windows 10, RTX 3060, recorded runway flight), build of 7 November 2026:
- 901 of 901 picture checksums identical against the reference at three draw distances, on both the CPU and GPU compositors, and on both the Visual Studio and the Zig build.
- Live GPU-versus-CPU picture check: 0 differing pixels over the whole flight at three draw distances.
- End-of-run machine state identical to the original-parity reference on every build.
- Host acceptance suite 12 of 12.
Not yet verified (be aware)
- Setup has been run on one development PC and in a fresh standard account on it; not on a second PC or one with no Visual Studio or Python installed anywhere.
- Performance on other GPUs is untested; 4K at the farthest draw distance may dip below 60 frames a second.
Download
OpenNighthawk-setup-20261107.zip
SHA-256 1a887035dddafeab4df28e223b837c19d5786793646e06bc899deee992089aa7
Built from commit 5b1c655a771a35a88731991bc5fff9bc7e8cdfa8.