Posted June 20, 2018
high rated
2022-12 update: This guide for restoring the vanilla game can be largely considered obsolete, in favour of the OpenJKDF2 project, which reimplements and enhances the game for modern machines.
----------------
These are the steps I have taken for my installation (June 2018). I have not included any remodelling/retexturing mods. Please follow instructions provided with downloads. I have added instructions where necessary.
N.B. I have not yet tested with MotS.
1. Install latest version (GOG.com: v1.01, MotS v1.0)
2. Patch remastered music:
Dark Forces 2 Soundtrack (Vorbis).zip
(by mwnn; via Jedi Knight; Dark Forces 2 - Improved Music and other goodies!, page 1 - Forum - GOG.com)
3. Patch levels (mipmapping removed):
High Detail Mod for Jedi Knight DF2 & MotS.zip
(by Osprey; via High Detail Mod for Jedi Knight DF2 & MotS - PCGamingWiki Community)
4. Install dgVoodoo 2 (Direct3D renderer):
dgVoodoo2_<latest>.zip
(by Dege; via Dege's stuffs)
N.B. If using an AMD card, then textures may not render correctly. In these cases, the issue may be alleviated by setting "Output API" to "Direct3D 12" (v2.7, onwards). Alternatively, one may utilise versions up to dgVoodoo2 v2.54 in "Direct3D 11" mode.
Instructions:
Copy D3DImm.dll, DDraw.dll and dgVoodooCpl.exe to game directory.
Suggested config modifications:
Under "General" tab
* check Inherit Color Profile in full screen mode
Under "DirectX" tab
* set VRAM to 128 MB
* set Filtering to Force anisotropic 16x
* set Antialiasing (MSAA) to 8x
* check Apply Phong shading when possible
* uncheck dgVoodoo Watermark
I found that dgVoodoo 2 performed poorly when the scaling mode was set to stretched. YMMV. You might try adjusting your GPU driver's scaling options, if necessary.
N.B. Ensure "Enable 3d Acceleration" is checked in the display settings. Also, ensure "[HW] Direct3D HAL" is selected in the advanced display settings. Select an appropriate display resolution at 16bpp.
== Optional ==
5. Enable 3D spatial sound:
This will enable 3D sound via Aureal A3D emulation. Best suited to headphones.
_5a. Install Aureal A3D drivers:
A3D-Alchemy-Setup.zip
(by Osprey; via VOGONS • View topic - Unreal A3D?)
Instructions:
1. Run setup; choose "Only extract the files"
2. Copy a3d_nosplash.dll and a3dapi.dll to SysWOW64
3. Rename a3d_nosplash.dll to a3d.dll
_5b. Install DSOAL drivers
True 3D Sound for Headphones (HRTF mod) 1.31a.zip
(by I Drink Lava; via DSOAL - True 3D Sound for Headphones (HRTF mod))
Instructions:
1. Duplicate dsound.dll, rename as a3dsnd.dll
2. Move renamed a3dsnd.dll to SysWOW64
3. Copy dsound.dll, dsoal-aldrv.dll and alsoft.ini to game directory (yes, two distinct copies of dsound.dll are needed)
N.B. Ensure "Enable A3D Sound" is checked in the sound settings.
6. Install keymap by KingSyphilis:
modern by KingSyphilis.ctl
Instructions:
Copy to 'Controls' directory (note: not tested with MotS).
Bindings of interest:
Jump Space
Duck Left Control
Fast Left Shift
Slow Left Alt
Activate E
Lightsaber R
Next Inventory Item V
Prev Inventory Item C
Use Inventory Item Q
Next Weapon H
Prev Weapon G
Next Force Power X
Prev Force Power Z
Use Force Power F
Mouse Z Axis/Wheel unset (see below)
Mouse Button 1 Fire 1
Mouse Button 2 Fire 2
Mouse Button 3 Camera Mode
7. Install Mouse Wheel Bindings:
w̶h̶e̶e̶l̶t̶h̶i̶n̶g̶y̶.̶z̶i̶p̶ mirror
(by Sige; via JK Hub - Addons - JK Mousewheel Support)
For example, if using the above keymap, you might bind up to "H" and down to "G".
8. Install/apply framerate limiter (cap at 30 FPS):
E.g. RTSS Rivatuner Statistics Server or dgVoodoo 2.
Dreadmoth suggests capping at 47 FPS (this is the approximate framerate of first person animations). Though, in my testing, I've found the game engine consistently maintains only ~30 FPS.
Update: I have confirmed through testing that the game only functions correctly at 30 FPS. Any other framerate will negatively impact physics.
9. Update to unofficial patch (Osprey's 2018 pre-patch variant):
Jedi Knight DF2 & MotS Unofficial Patches.zip
(by Osprey; via Jedi Knight DF2 & MotS Pre-patched Unofficial Patches - PCGamingWiki Community)
N.B. This may cause display issues if dgVoodoo 2 is installed; not necessarily recommended.
10. Increase FOV:
TODO. This will be desirable to most as the game is vert− in widescreen resolutions (FOV is hardcoded to 90 degrees horizontal). I modified the patched exe (from step 9) with a hex editor. I diff'ed DarthTrank's exe's as a guide. Ideally, a dynamic, user-friendly solution might be devised.
Please comment with any suggestions!
----------------
These are the steps I have taken for my installation (June 2018). I have not included any remodelling/retexturing mods. Please follow instructions provided with downloads. I have added instructions where necessary.
N.B. I have not yet tested with MotS.
1. Install latest version (GOG.com: v1.01, MotS v1.0)
2. Patch remastered music:
Dark Forces 2 Soundtrack (Vorbis).zip
(by mwnn; via Jedi Knight; Dark Forces 2 - Improved Music and other goodies!, page 1 - Forum - GOG.com)
3. Patch levels (mipmapping removed):
High Detail Mod for Jedi Knight DF2 & MotS.zip
(by Osprey; via High Detail Mod for Jedi Knight DF2 & MotS - PCGamingWiki Community)
4. Install dgVoodoo 2 (Direct3D renderer):
dgVoodoo2_<latest>.zip
(by Dege; via Dege's stuffs)
N.B. If using an AMD card, then textures may not render correctly. In these cases, the issue may be alleviated by setting "Output API" to "Direct3D 12" (v2.7, onwards). Alternatively, one may utilise versions up to dgVoodoo2 v2.54 in "Direct3D 11" mode.
Instructions:
Copy D3DImm.dll, DDraw.dll and dgVoodooCpl.exe to game directory.
Suggested config modifications:
Under "General" tab
* check Inherit Color Profile in full screen mode
Under "DirectX" tab
* set VRAM to 128 MB
* set Filtering to Force anisotropic 16x
* set Antialiasing (MSAA) to 8x
* check Apply Phong shading when possible
* uncheck dgVoodoo Watermark
I found that dgVoodoo 2 performed poorly when the scaling mode was set to stretched. YMMV. You might try adjusting your GPU driver's scaling options, if necessary.
N.B. Ensure "Enable 3d Acceleration" is checked in the display settings. Also, ensure "[HW] Direct3D HAL" is selected in the advanced display settings. Select an appropriate display resolution at 16bpp.
== Optional ==
5. Enable 3D spatial sound:
This will enable 3D sound via Aureal A3D emulation. Best suited to headphones.
_5a. Install Aureal A3D drivers:
A3D-Alchemy-Setup.zip
(by Osprey; via VOGONS • View topic - Unreal A3D?)
Instructions:
1. Run setup; choose "Only extract the files"
2. Copy a3d_nosplash.dll and a3dapi.dll to SysWOW64
3. Rename a3d_nosplash.dll to a3d.dll
_5b. Install DSOAL drivers
True 3D Sound for Headphones (HRTF mod) 1.31a.zip
(by I Drink Lava; via DSOAL - True 3D Sound for Headphones (HRTF mod))
Instructions:
1. Duplicate dsound.dll, rename as a3dsnd.dll
2. Move renamed a3dsnd.dll to SysWOW64
3. Copy dsound.dll, dsoal-aldrv.dll and alsoft.ini to game directory (yes, two distinct copies of dsound.dll are needed)
N.B. Ensure "Enable A3D Sound" is checked in the sound settings.
6. Install keymap by KingSyphilis:
modern by KingSyphilis.ctl
Instructions:
Copy to 'Controls' directory (note: not tested with MotS).
Bindings of interest:
Jump Space
Duck Left Control
Fast Left Shift
Slow Left Alt
Activate E
Lightsaber R
Next Inventory Item V
Prev Inventory Item C
Use Inventory Item Q
Next Weapon H
Prev Weapon G
Next Force Power X
Prev Force Power Z
Use Force Power F
Mouse Z Axis/Wheel unset (see below)
Mouse Button 1 Fire 1
Mouse Button 2 Fire 2
Mouse Button 3 Camera Mode
7. Install Mouse Wheel Bindings:
w̶h̶e̶e̶l̶t̶h̶i̶n̶g̶y̶.̶z̶i̶p̶ mirror
(by Sige; via JK Hub - Addons - JK Mousewheel Support)
For example, if using the above keymap, you might bind up to "H" and down to "G".
8. Install/apply framerate limiter (cap at 30 FPS):
E.g. RTSS Rivatuner Statistics Server or dgVoodoo 2.
Dreadmoth suggests capping at 47 FPS (this is the approximate framerate of first person animations). Though, in my testing, I've found the game engine consistently maintains only ~30 FPS.
Update: I have confirmed through testing that the game only functions correctly at 30 FPS. Any other framerate will negatively impact physics.
9. Update to unofficial patch (Osprey's 2018 pre-patch variant):
Jedi Knight DF2 & MotS Unofficial Patches.zip
(by Osprey; via Jedi Knight DF2 & MotS Pre-patched Unofficial Patches - PCGamingWiki Community)
N.B. This may cause display issues if dgVoodoo 2 is installed; not necessarily recommended.
10. Increase FOV:
TODO. This will be desirable to most as the game is vert− in widescreen resolutions (FOV is hardcoded to 90 degrees horizontal). I modified the patched exe (from step 9) with a hex editor. I diff'ed DarthTrank's exe's as a guide. Ideally, a dynamic, user-friendly solution might be devised.
Please comment with any suggestions!
Post edited February 07, 2023 by KingSyphilis