Repository navigation
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-20261118.zip, extract it to a normal folder and double-clicksetup.cmd(or install through RecompLauncher). 64-bit Windows, internet access, about 1.5 GB free while it builds, about 5 to 15 minutes. - Answer the wizard's questions, or press Enter for the defaults. 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.
What is new since 13 November
- Fixed: a GOG or Steam copy that has been played was refused as "not the right version". Setup compared the pilot roster (
ROSTER.FIL) and the sound-setup logs byte for byte, but the game rewrites them when you make a pilot or run its SETUP, and the translation reads none of them. They are now reported as player data and never refuse a copy. The program and driver files still must match exactly (a differentVGAME.EXEis still refused). Thanks to the player who reported it. If setup still says the version is wrong, runpy tools\verify_install.py --data "YOUR FOLDER"(or send the setup log) and it will name the file that differs. - RecompLauncher: the launcher manifest ships in the source ZIP, the launcher can build in its install folder, setup progress follows the main build, and launcher backups include each pilot's fix settings.
- Build: a link error on the CI toolchain fixed; the Zig build declares
lround. - Speed work on the 4K pictures, with unchanged results: the far scenery's placements are built on helper threads (
F117_FAR_PAR=0turns it off); the scene pairing and the CPU setup for each picture were reduced and threaded. Results are byte-identical to before in the checks below. A new GPU-rasterised path (F117_HW_RASTER=1) is in the code but off by default and not ready to use: its pictures differ from the exact ones by a pixel here and there, and the owner has not reviewed them. - Other new options, all off by default: Stage 2 and the one-frame pipeline (
F117_STAGE2,F117_PIPELINE) for smoother 4K.
Checked
- The last change to the game program before this release passed the full gate on the author's PC (Windows 10, RTX 3060): all picture checksums identical, matched-routine lockstep and the test suite passing, crash loop 6 of 6. Commits after it change only documents and the setup verifier.
- The verifier change was tested on a scratch copy of a GOG install: a changed
ROSTER.FILis accepted; a changedVGAME.EXEis refused. The ZIP was extracted andsetup.cmdstopped cleanly with a wrong folder.
Not yet verified (be aware)
- The fix for the version message is not confirmed on the reporting player's PC (their report had no log); the cause is read from the code.
- Setup has been run on one development PC and in a fresh account on it; not on a second PC.
- Performance on other GPUs is untested; 4K at the farthest draw distance may dip below 60 frames a second.
Download
OpenNighthawk-setup-20261118.zip
SHA-256 b17d43f1f0be47af16781b14f8d2310d342df71ce0dde2e42d9e4afae1f33855
Built from commit f8e8db801be41b1dcf3f085f8bf6f65de868d69e.