Anonymous edits have been disabled on the wiki. If you want to contribute please login or create an account.

Difference between revisions of "Star Wars: Jedi Knight II - Jedi Outcast"

From PCGamingWiki, the wiki about fixing PC games
(Undo revision 1046934 by Patrxgt (talk) No reason means an undo.)
Tag: Undo
(Undo revision 1047128 by Expack3 (talk) Reverting revision, because my version is superior to the original one.)
Tag: Undo
Line 597: Line 597:
 
}}
 
}}
  
===Enable full dismemberment===
+
===Enabling full dismemberment===
{{Fixbox|description=Configuration Files|ref=<ref name="Expack3">{{Refcheck|user=Expack3|date=2017-12-13}}</ref>|fix=
+
{{Fixbox|description=Configuration Files|ref={{cn|date=July 2016}}|fix=
:1 Navigate to <code>{{p|game}}\GameData\base</code> and open {{file|jk2config.cfg}} with a text editor.
+
:1. Navigate to <code>{{p|game}}/GameData/base</code>.
:2 Change the following lines to these values.
+
:2. Create a file called {{file|autoexec.cfg}} in the same folder.
 +
:3. Add the following lines.  
 
<pre>
 
<pre>
seta g_saberRealisticCombat "3"
+
seta sv_cheats 1
seta g_dismemberment "3"
+
seta helpusobi 1
seta g_dismemberProbabilities "3"
+
seta g_saberMoreRealistic 2
 +
seta g_dismemberment 3
 +
seta g_dismemberProbabilities 100
 +
seta g_corpseRemovalTime 0
 +
seta broadsword 1
 
</pre>
 
</pre>
:3. Create a file called {{file|autoexec.cfg}} in the same folder.
+
 
:4. Add the following lines.  
+
Alternatively you can add the same lines at the END of <code>jk2config.cfg</code>.
<pre>
+
 
seta g_saberRealisticCombat "1"
+
'''Notes'''
helpusobi "1"
+
{{++}} Works for both single player, as well as multiplayer.
</pre>
+
{{ii}} "broadsword" sets "soft bodies" (rag-doll physics).
{{ii}} For GOG version choose <code>35313557</code> version when installing.
+
<pre>0 (disabled), 1 (enabled), 2 (enabled and skips death animation)</pre>
 +
{{ii}} "g_sabermorerealistic" sets the "sharpness" of the lightsaber.
 +
<pre>0 (normal), 1 (higher damage), 2 (cuts parts off when damage is fatal), 3 (even touching the blade kills instantly)</pre>
 +
{{ii}} For GOG.com version use version <code>35313557</code> when installing the game.
 +
{{ii}} These commands do not work when starting a new game, you must first start a new game and then restart the game continuing your save file in order for this commands to take effect.
 
}}
 
}}
  

Revision as of 21:50, 5 May 2021

Star Wars: Jedi Knight II - Jedi Outcast
Star Wars: Jedi Knight II - Jedi Outcast cover
Developers
Raven Software
Mac OS (Classic) Westlake Interactive
macOS (OS X) Westlake Interactive
Publishers
LucasArts
Activision
Mac OS Aspyr Media
macOS (OS X) Aspyr Media
Disney Interactive Studios
Engines
id Tech 3
Release dates
Windows March 26, 2002
Mac OS (Classic) November 1, 2002
macOS (OS X) November 1, 2002
Reception
Metacritic 89
IGDB 73
Star Wars: Jedi Knight II - Jedi Outcast on HowLongToBeat
Star Wars: Jedi Knight II - Jedi Outcast on IGDB
Star Wars: Jedi Knight II - Jedi Outcast guide on StrategyWiki
Star Wars: Jedi Knight II - Jedi Outcast on MobyGames
Star Wars: Jedi Knight II - Jedi Outcast on Wikipedia

Warnings

The macOS (OS X) version of this game needs a fix to work on macOS Catalina (version 10.15) or later (see API for details).
Star Wars: Jedi Knight
Subseries of Star Wars
Star Wars: Dark Forces 1995
Star Wars: Jedi Knight - Dark Forces II 1997
Star Wars: Jedi Knight - Mysteries of the Sith 1998
Star Wars: Jedi Knight II - Jedi Outcast 2002
Star Wars: Jedi Knight - Jedi Academy 2003
Star Wars: Dark Forces Remaster 2024

Key points

Jedi Outcast's source code was initially released in 2013, however it was quickly pulled off by Raven Software. A mirror of the source code is available.

General information

GOG.com Community Discussions
GOG.com Support Page
Steam Community Discussions

Availability

Source DRM Notes Keys OS
Retail
Disc check (requires the CD/DVD in the drive to play)
Requires CD in disc drive to run Singleplayer.
Windows
Mac OS
macOS (OS X)
Gamesplanet logo.svg
Icon overlay.png
Windows
macOS (OS X)
GOG.com
DRM-free
Windows
Green Man Gaming
Icon overlay.png
Windows
macOS (OS X)
Humble Store
Icon overlay.png
Windows
macOS (OS X)
Mac App Store
Icon overlay.png
macOS (OS X)
Origin
Origin
Included with EA Play.
Windows
Steam
Icon overlay.png
Windows
macOS (OS X)
GamersGate (unavailable)
Icon overlay.png
Windows
macOS (OS X)
The digital releases (excluding the GOG.com version) do not include a manual; digital scans can be downloaded from ReplacementDocs.
A demo is available. See Demo exclusive level for more information.
Linux compatibility is only achieved via the unofficial source port.
A faithful higher quality icon for Windows can be found in the Files section.

Essential improvements

Patches

Windows Patch 1.04

For retail release only. Includes multiplayer bug fixes and corrects balance issues. Digital re-releases are already patched.

OS X Patch 1.04

It is included in the Steam and Mac App Store versions, and is required in order to run the OS X version on modern Macs.

Skip intro videos

Use intro skip

Use the Jedi Outcast intro skip.

Higher quality music and sound effects

Even after selecting "High quality" in Sound Options, music and sound effects play at only half their original quality.
Use console command[1]
  1. Start the console with Shift+~.
  2. Type s_kHz 44 to restore full playback quality.
  3. Type snd_restart to reset the sound engine.

--or--
Add this line to a created file: <path-to-game>\GameData\base\autoexec.cfg:

seta s_kHz "44"

High resolution loading screens

Use HD Loading Screens pack[citation needed]
  1. Download the HD Loading Screens pack.
  2. Extract the file Jedi_Outcast_HD_loading_screens.pk3 and copy it to <path-to-game>\GameData\base\.

Game data

In-game general settings.
In-game general settings.

Configuration file(s) location

System Location
Windows <path-to-game>\GameData\base\*.cfg[Note 1]
Mac OS (Classic)
macOS (OS X)
Steam Play (Linux) <Steam-folder>/steamapps/compatdata/6030/pfx/[Note 2]
jk2config.cfg contains single player settings.
jk2mpconfig.cfg contains multiplayer settings.

Save game data location

System Location
Windows <path-to-game>\GameData\base\saves\[Note 1]
Mac OS (Classic)
macOS (OS X)
Steam Play (Linux) <Steam-folder>/steamapps/compatdata/6030/pfx/[Note 2]

Save game cloud syncing

System Native Notes
GOG Galaxy
Origin
Steam Cloud
1.86 GB available

Video

In-game general video settings.
In-game general video settings.
In-game advanced video settings.
In-game advanced video settings.

Widescreen resolution

Running the game in widescreen resolution[2]
  1. Go to <path-to-game>\GameData\base\.
  2. Create and open autoexec.cfg.
  3. Add seta r_customwidth X where X is width of your desired resolution (e.g. seta r_customwidth 1680).
  4. Add seta r_customheight Y where Y is height of your desired resolution (e.g. seta r_customheight 1050).
  5. Add seta cg_fov Z to set the FOV. For 16:9 screens use a value of 97, and for 16:10 screens use a value of 90.
  6. Add seta r_mode -1 to make the game use custom resolutions.
  7. See the WSGF entry to fix the weapon FOV.

Notes

Running the game in widescreen mode will cause the HUD, menus and aiming crosshair to appear horizontally stretched.
Your arms may occasionally appear to be floating in midair when using the lightsaber or force powers in first-person view.
When widescreen resolution is enabled, there is no screenshot and progress bar during loading. There is solid white screen instead. Company logos at game start are shown in same manner.

Crosshair improvements

Edit configuration files[citation needed]
  1. Go to <path-to-game>\GameData\base.
  2. Create a file called autoexec.cfg.
  3. Add all or some of the following lines, modifying them to suit your preferences:
cg_dynamicCrosshair "0" # Disables auto-aim (the crosshair "jumping" onto enemies)
cg_crosshairSize "12" # Makes crosshair half default size. Lower to 2 for just a dot.
cg_crosshairX "3" # Moves crosshair slightly right to line up with where weapon fire actually hits
cg_crosshairY "5" # Moves crosshair slightly down to line up with where weapon fire actually hits
cg_crosshairIdentifyTarget "0" # Disables crosshair turning red on enemies and green on friendlies
cg_crosshairForceHint "0" # Disables hints to use a force power on the targeted enemy

Notes

Dynamic Crosshair is not auto-aim. In fact, the line on which the guns fire is not parallel to the camera, so shots do not trend towards a fixed point on the screen. Instead, in both 1st and 3rd person modes, the game makes a raycast from the gun, takes the first point where it intersects with an object, and draws the crosshair there. This results in a crosshair which moves on screen and can appear to snap to an object such as an enemy in front of a further away background, but it is not, in fact auto aim. With dynamic crosshair disabled, the static crosshair is inherently inaccurate and any adjustments to its position can only zero it for one weapon at one specific distance.

Disable head bob

The option exists in Setup -> Options -> View Swaying, but is not always functional.
Edit configuration files[citation needed]
  1. Navigate to <path-to-game>\GameData\base and open jk2config.cfg with a text editor.
  2. Change the following lines to these values.
seta cg_runpitch "0"
seta cg_runroll "0"
seta cg_bobup "0"
seta cg_bobpitch "0"
seta cg_bobroll "0"

Make input more reactive in singleplayer

Since the game's built-in server runs at 20 Hz by default, it may exhibit a noticeable delay when pressing keys. This is especially noticeable on high refresh rate displays. To solve this, the server tick rate can be modified to be similar to the client FPS (com_maxfps). For example, if you use com_maxfps 120:
Edit configuration files[citation needed]
  1. Navigate to <path-to-game>\GameData\base and create a file called autoexec.cfg with a text editor. Add the following contents:
// Client packet fetch rate
// Default value is 20. Should match sv_fps for optimal gameplay.
snaps 120
// Server tick rate
// Default value is 20.
sv_fps 120
// Client tick rate
// Default value is 30. 125 is the highest allowed value.
// This value can be safely increased even without touching the server FPS.
cl_maxpackets 120

Note

Increasing the server tick rate may impact gameplay and cause bugs.

Input

In-game key map settings.
In-game key map settings.
In-game mouse/joystick settings.
In-game mouse/joystick settings.

Keyboard and mouse State Notes
Remapping
Mouse acceleration
Both mouse smoothing and acceleration are disabled by default.
Mouse sensitivity
Mouse input in menus
Mouse Y-axis inversion
Controller
Controller support
Reads Joystick axes as buttons. Handy for mapping the Right and Left triggers for different button, but not good for using the right analog stick for looking and aiming due to the engine it uses (Quake 3 engine). Controls for the left analog stick is governed by what is mapped to the arrow keys on the keyboard.
Full controller support
For XInput support, users will need both the Jedi Academy - Outcast mod for Jedi Academy and the OpenJK source port.
Note: OpenJK is in an incomplete state, but is updated regularly.
Controller remapping
Controller sensitivity
Controller Y-axis inversion
Controller types
XInput-compatible controllers
PlayStation controllers
Tracked motion controllers
Generic/other controllers
Additional information
Controller hotplugging
Haptic feedback
Digital movement supported
Simultaneous controller+KB/M
Steam Input
Steam Input API support
Hook input (legacy mode)
Official controller preset(s)
Steam Controller button prompts
Cursor detection

Toggle crouch

Add lines to config[1]
  1. Open <path-to-game>\GameData\base\autoexec.cfg with a text editor.
  2. Add the following lines (change c to whatever you want).
set duck "+movedown; set crouchToggle vstr stand; echo ^3Crouching...^7"
set stand "-movedown; set crouchToggle vstr duck; echo ^2Standing...^7"
set crouchToggle "vstr duck"
bind c "vstr crouchToggle"

Notes

If you wish to omit the game telling you when you're crouching or standing, omit the echo lines.

Audio

In-game audio settings.
In-game audio settings.

Audio feature State Notes
Separate volume controls
Surround sound
Subtitles
Only in cutscenes and alien languages
Closed captions
Mute on focus lost
EAX support
EAX 3 (via OpenAL)[3][4] after an update. See Restore surround sound and EAX.

Restore surround sound and EAX

Rename the OpenAL DLL[5]
  1. Go to the installation folder.
  2. Delete or rename OpenAL32.dll. This will force the game to use OpenAL device as output.
If you want to keep the OpenAL32.dll of the game (which is a DirectSound3D wrapper), you can also use DSOAL (or a similar DirectSound3D wrapper) to restore surround sound and EAX (if supported by the wrapper).
Using OpenAL directly may limit the music sampling rate to 22 kHz, regardless of snd_kHz setting.

Localizations

On GOG Español can be selected, but acts as if English is selected.
Language UI Audio Sub Notes
English
Traditional Chinese
Steam, not GOG
French
German
Italian
Fan translation, download.
Polish
Fan translation, download.
Russian
Fan translation by «ENPY Studio»
Spanish
Retail only. Download here.

Network

Multiplayer types

Type Native Players Notes
LAN play
32
Online play
16 16+ via 56Kbps or faster

Connection types

Type Native Notes
Matchmaking
Peer-to-peer
Dedicated
Dedicated server software is available for Windows and Linux.
Self-hosting
Direct IP
Via New Favorite option in server browser.

Ports

Protocol Port(s) and/or port range(s)
UDP 28060, 28061, 28062, 28070-28081
Universal Plug and Play (UPnP) support status is unknown.

VR support

Issues fixed

Game is too dark or desktop/Steam overlay is too bright

Config edit[6]
  1. Open <path-to-game>\GameData\base\jk2config.cfg
  2. Find seta r_ignorehwgamma "0" line and set it to 1
This will break the in-game Brightness slider. Brightness adjustment can still be made by adjusting the value of seta r_gamma in the same file.
Launch With No Steam Overlay[7]
  1. Make sure Steam is open in the background, otherwise it will try to launch through Steam.
  2. Open <path-to-game>Jedi Outcast\GameData
  3. Launch jk2sp.exe without launching through your Steam Library.
Use Single Monitor[7]
  1. Disconnect all but your main monitor, then launch the game.

Gamma changes permanently after closing the game

Changing the gamma setting in-game can change the gamma on Windows permanently, regardless of in-game settings.
Edit configuration files
  1. Go to <path-to-game>\GameData\base.
  2. Open jk2config.cfg.
  3. Change the following line to this value:
seta r_ext_gamma_control "0"

Crash on launch on Intel integrated graphics

Replace the OpenGL file[1]
  1. Download GLDirect.
  2. Copy gldirect5\bin\release\opengl32.dll to <path-to-game>/GameData.

Mouse Drift

Replace the OpenGL file[citation needed]
  1. Download GLDirect.
  2. Copy gldirect5\bin\release\opengl32.dll to <path-to-game>/GameData.
It can slightly decrease performance.
Disable display scaling[8]
  1. Go to <path-to-game>/GameData.
  2. Open the properties of jk2sp.exe.
  3. Enable "Disable display scaling on high DPI settings" under the compatibility tab.

Frame rate drops on modern machines

This game is not coded/optimized to run on modern graphics cards, resulting in frame rate drops on some modern machines. This fix changes the method used to submit rendering draw calls.[9]
Edit config[10]
  1. Go to the configuration file(s) location.
  2. Open <path-to-game>\GameData\base\*.cfg.
  3. Set seta r_primitives "2".

Other information

API

Technical specs Supported Notes
OpenGL 1.1 A 3Dfx-compatible mode does exist despite no Voodoo cards being officially supported.[citation needed]
ExecutablePPC16-bit 32-bit 64-bit Notes
Windows
A source port is required for 64-bit executables.
Some mods may not work with 64-bit binaries.[11]
macOS (OS X)
Intel support requires a patch, but is 32-bit only.[12] A source port is required for 64-bit.
Some mods may not work with 64-bit binaries.[11]
Linux
A source port is required.
Some mods may not work with 64-bit binaries.[11]
Mac OS (Classic)

Middleware

Middleware Notes
Audio OpenAL, DirectSound3D Type s_UseOpenAL 1 in the console, then restart the game. May limit sampling rate to 22KHz.[citation needed]
Input Immersion Foundation Classes (IFC)

Demo exclusive level

The demo version of the game features a level, "Mission at Alzoc III", that is not included in the main game. This can be played in the full game the without installing it separately.

Play demo level with full game manually[citation needed]
  1. Download the Windows or OS X version of the demo.
  2. Open it with 7-Zip and extract the Disk1\Gamedata\demo folder to your Gamedata folder.
  3. Rename your Gamedata\base folder to something else. This will force the game to load the demo folder, instead.
  4. Start a new game.
Remember to rename your base folder back when you're done playing the level.
Play demo level with full game using batch file[citation needed]
  1. Download JK2 Demo Map for Retail Version.
  2. Place demo.bat in <path-to-game>\GameData. Place demo.pk3 in <path-to-game>\GameData\base.
  3. Run the Batch file to play the demo level.

Enabling full dismemberment

Configuration Files[citation needed]
1. Navigate to <path-to-game>/GameData/base.
2. Create a file called autoexec.cfg in the same folder.
3. Add the following lines.
seta sv_cheats 1
seta helpusobi 1
seta g_saberMoreRealistic 2
seta g_dismemberment 3
seta g_dismemberProbabilities 100
seta g_corpseRemovalTime 0
seta broadsword 1

Alternatively you can add the same lines at the END of jk2config.cfg.

Notes

Works for both single player, as well as multiplayer.
"broadsword" sets "soft bodies" (rag-doll physics).
0 (disabled), 1 (enabled), 2 (enabled and skips death animation)
"g_sabermorerealistic" sets the "sharpness" of the lightsaber.
0 (normal), 1 (higher damage), 2 (cuts parts off when damage is fatal), 3 (even touching the blade kills instantly)
For GOG.com version use version 35313557 when installing the game.
These commands do not work when starting a new game, you must first start a new game and then restart the game continuing your save file in order for this commands to take effect.

Source ports

Name Description
OpenJK
Alternative open-source engine.
Aims to improve stability and availability on other platforms such as OS X and Linux.
OpenJK is in development so bugs should be expected, do not use if official version works.
Jedi Outcast is poorly supported. Single player should be considered heavily work in progress. No support for multiplayer.
Windows
macOS (OS X)
Linux
Jedi Outcast Linux
Unofficial source port from the released source code, native for Linux users.
Supports widescreen resolutions.
Only includes the single player component.
To run at your monitor's native resolution, you must pick the "2048x1536" resolution option.
Linux
Oculus Rift support for Jedi Outcast
Branch of Jedi Outcast Linux focused on adding VR support.
Windows
JK2MV
Fork of OpenJK focused on multiplayer.
Windows
macOS (OS X)
Linux
For Linux, Jedi Outcast Linux is recommended for single-player and JK2MV is recommended for multiplayer.

System requirements

Windows
Minimum Recommended
Operating system (OS) 95 OSR2
GOG: XP, Vista, 7, 8
Processor (CPU) Intel Pentium II 350 MHz
GOG: Intel Pentium 4 1.8 Ghz
AMD Athlon 350 MHz
GOG: AMD Athlon 1.8 GHz
System memory (RAM) 64 MB
128 MB for 2000 and XP
GOG: 2 GB
Hard disk drive (HDD) 620 MB
GOG: 3,5 GB
Video card (GPU) 16 MB
GOG: 128 MB of VRAM
OpenGL 1.1 compatible
DirectX 8.0a
GOG: 9.0b compatible
Sound (audio device) 16-bit soundcard
GOG: Directx 9.0c compatible
macOS (OS X)
Minimum
Operating system (OS) 10.6.8
Processor (CPU) Intel Core Duo 1.8 GHz
System memory (RAM) 512 MB
Hard disk drive (HDD) 665 MB
Video card (GPU) ATI Radeon X1600
Nvidia GeForce 7300
Intel HD 3000
128 MB of VRAM


Notes

  1. 1.0 1.1 When running this game without elevated privileges (Run as administrator option), write operations against a location below %PROGRAMFILES%, %PROGRAMDATA%, or %WINDIR% might be redirected to %LOCALAPPDATA%\VirtualStore on Windows Vista and later (more details).
  2. 2.0 2.1 File/folder structure within this directory reflects the path(s) listed for Windows and/or Steam game data (use Wine regedit to access Windows registry paths). Games with Steam Cloud support may store data in ~/.steam/steam/userdata/<user-id>/6030/ in addition to or instead of this directory. The app ID (6030) may differ in some cases. Treat backslashes as forward slashes. See the glossary page for details.
  3. Setting a cap higher than 85 FPS has a minor effect on physics calculations, e.g. characters jump slightly higher.

References