Jedi Knight: Dark Forces II Engine Reimplementation
A new engine written from scratch that loads the original game's data files.
Links, repository & detailsAbout
OpenJKDF2 is a function-by-function reimplementation of Jedi Knight: Dark Forces II (DF2) in C, with 64-bit ports to Windows 7+, macOS 10.15+ and Linux. Its files are organized as closely to the original game as possible. It includes no original game assets, and a valid copy of the game is required; the README recommends the GOG version.
How it differs from the original
DirectX dependencies are replaced with SDL2 and OpenAL, and it runs on more platforms: ARM64 Android, Nintendo DSi, Dreamcast, and WebAssembly in a browser. Two features, load and save configuration under Setup > Controls > Options and plus/minus screen resizing, are not implemented yet.
Getting started
On Linux, paths and filenames may be case-sensitive. A WebAssembly demo is available to try before buying.
Known issues & limitations
- Loading and saving configuration in Setup > Controls > Options are not implemented yet.
- With SDL2, using plus or minus to resize the screen does not work; the resolution auto-resizes to the window size.
- V3D GLES has trouble with palettes on Linux.
What you need to run it
Features
- It supports playing the original soundtrack from Ogg Vorbis files.
Summarised from the project's README.
Status & roadmap
- 2694 of 3169 functions are reimplemented, 56.758% by weight, or 95.857% by weight excluding the rasterizer.
Additional notes
- Soundtrack
- Original soundtrack playback from Ogg Vorbis files works with the GOG and Steam versions; dumping it from disks is planned.
FAQ
- What is Jedi Knight: Dark Forces II Engine Reimplementation?
- Jedi Knight: Dark Forces II Engine Reimplementation is an open-source engine reimplementation of Star Wars Jedi Knight: Dark Forces II. A new engine written from scratch that loads the original game's data files. The original game ran on Windows, macOS, Linux, Android, Dreamcast and Other.
- Do I need the original game files to run Jedi Knight: Dark Forces II Engine Reimplementation?
- Yes. The project does not include the original game's assets, so you need your own copy.


