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, generated code, or prebuilt game executable. Setup builds the game on your PC from your own copy.
Install
- Install F-117A from GOG or Steam if you have not.
- Download
OpenNighthawk-setup-20261130.zip, extract it to a normal folder, and double-clicksetup.cmd(or install/update 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. Setup checks the game files and never writes to the original install.
- Start from the shortcut or Start menu. Press the
`key for settings.
To uninstall, use Windows Settings > Apps > OpenNighthawk, or uninstall.cmd in the install folder. Your pilots are kept unless you choose otherwise.
What's new since 2026-11-23
- All owner-approved Remastered visual improvements enabled by default (each can still be turned off with its
=0override):- Screen shake on damage and missile launch (
F117_REMASTER_SHAKE=1). - Exact close-projectile rendering, unoccluded precise yellow weapon box (
inv_depth_scale=128for HUD lines), and animated palette cycling in Stage 2 (F117_STAGE2_HIT_PROJECTILES=1,F117_STAGE2_HIT_PALETTE=1,F117_WIDE_PROJ_EXACT=1,F117_WIDE_BOX_PRECISE=1). - Multi-part model pose completion (
F117_REMASTER_PART_POSE=1, fixing distant animated sub-parts such as radar antennas under Full model detail). - Subpixel precision for flares, smoke puffs, impact blasts, HUD markers (including compact-mode alignment), gun tracers, distant aircraft dots, fractional terrain spans, and true-distance far scenery fade (
F117_WIDE_FX_PRECISE=1,F117_HUD_MARKERS_PRECISE=1,F117_WIDE_TRACER_PRECISE=1,F117_FAR_AIR_FINE=1,F117_SPAN_FINE_INTERP=1,F117_FAR_FADE=1).
- Screen shake on damage and missile launch (
- Seamless mission start (R53): Eliminated the brief initial 4:3 frame flash and speech-stall fallback (
50b4d1e). - Zero-visual-loss 4K/60+ performance optimizations:
- Pre-created 4K wide targets at
VGAME.EXEload, fused hardware replace+present shader (src/present/gpu/replace_hw_tex.hlsl), lazy GPU fences (0.00 msworker GPU wait), early Stage 2 copy slicing, O(1) hi-res buffer pointer swap, per-step rigid-object cache, branchless guard, andF117_PREHUD=autoenabled by default (0.0%frames over 16.7 ms through the SA-N-4 hit in isolated 4K unsynced runs).
- Pre-created 4K wide targets at
- Remastered scenery, pause & fidelity fixes:
- Mountain ridge vs. level-ground depth fix (R48), hangar-door overlap tie-breaking on the hardware path (R49), camera MFD scene separation in Vietnam (R50), cursor-blink freeze while paused (
b807aa3), and complete 7-flight VGA register audit (R58) + far-scenery per-vertex precision check (R62, max error < 0.06 game px across 267.8M vertices).
- Mountain ridge vs. level-ground depth fix (R48), hangar-door overlap tie-breaking on the hardware path (R49), camera MFD scene separation in Vietnam (R50), cursor-blink freeze while paused (
Checked
- The root
recomplauncher.jsoninsideOpenNighthawk-setup-20261130.zipvalidates cleanly against the official RecompLauncher JSON Schema (format: 1,prepare.cmdandsetup.cmdpresent at archive root);tests/test_package_source.py,tests/test_verify_install_roster.py,tests/test_host_acceptance.py, andtests/test_progress.pyall pass. - Full CTest suite: 846/846 passed (including
func_lockstepin 1,533.44 s). - All-route presentation verification (
tools/presentation_check.py --mode rerun --scales 1 --jobs 16): 63/63 routesexact. - Host acceptance (
tools/host_acceptance.py): 12/12 scenarios passed (D:/F117A-Scratch-Files/host-acc-20261130). - Renderer baselines refreshed and verified: 901/901 IDENTICAL checksums in both CPU (
MODE=software) and GPU (MODE=gpu) modes across Near, Far, and Maximum;guards.sh statehash4/4 passed (final hash 600306c77cb04481). - Isolated hidden 4K unsynced throughput with all new defaults enabled (
session-20261110-125342,13.85–14.16 G): steady worker median 6.07 ms / p95 7.53 ms (0.0% > 20.9 ms), SA-N-4 hit median 6.27 ms / max 7.92 ms (0.0% > 16.7 ms,gpu_wait = 0.00 ms). - Visible-display 4K/60 acceptance runs across the 7-flight suite are scheduled separately by the owner.
Download
OpenNighthawk-setup-20261130.zip
SHA-256: 4f47864f69aed8f82226b0fe24b74039eeca2f18f654539b0e4ff45c092542ea
Built from commit 9a9a08af2313799b13790968294287f0a2e6a5b8.