Installing Star Wars Jedi Knight II: Jedi Outcast and Star Wars Jedi Knight: Jedi Academy Singleplayer on Linux
The folloging steps will let you play JO and JA singleplayer on Linux using OpenJK. To spice things up the Enhanced Mods are used for both games.
Source: https://github.com/JACoders/OpenJK/issues/179#issuecomment-73047565
- Install prereqireries
sudo apt-get install libjpeg8-dev libpng12-dev zlib1g-dev libsdl2-dev build-essential cmake
- Get the Code
git clone https://github.com/JACoders/OpenJK.git
- (optinal) Get JediKnight Enhanced https://files.jkhub.org/jko/code/singleplayer/JediKnightII_EnhancedAlpha1.zip
-
(optinal) Get JediAcademy Enhanced https://files.jkhub.org/jka/code/sp/JAEnhancedv1.zip
- Edit the main CMakeLists.txt file
- Turn on
BuildJK2SPEngine
,BuildJK2SPGame
andBuildJK2SPRdVanilla
- (optinal) Turn off
BuildMPEngine
,BuildMPRdVanilla
,BuildMPDed
,BuildMPGame
,BuildMPCGame
andBuildMPUI
- Turn on
- Build:
cd openjk/
mkdir build
cd build/
cmake -BuildJK2Support=ON ..
make rdjosp-vanilla_x86_64 jospgamex86_64 openjo_sp.x86_64 openjk_sp.x86_64 jagamex86_64 rdsp-vanilla_x86_64
- Copy JK2 Files in
~/.local/share/openjo
- copy the pk3 file assets and jospgamex86_64.so to
~/.local/share/openjo/base
- copy openjo_sp.x86_64 and rdjosp-vanilla_x86_64.so to
~/.local/share/openjo
- (optinal) copy the content of the JKE Folder from JediKnightII_EnhancedAlpha1.zip to
~/.local/share/openjo/JKE
- copy the pk3 file assets and jospgamex86_64.so to
- Copy JA Files in
~/.local/share/openjk
- copy the pk3 file assets and jagamex86_64.so to
~/.local/share/openjk/base
- copy openjk_sp.x86_64 and rdsp-vanilla_x86_64.so to
~/.local/share/openjk
- (optinal) copy the content of the jaenhanced Folder from JAEnhancedv1.zip to
~/.local/share/openjk/jaenhanced
- copy the pk3 file assets and jagamex86_64.so to
-
(optinal) Edit the config file so that the games uses your Resolution
seta r_mode "-2"
- Run the Game
./openjo_sp.x86_64 +set fs_game jke
./openjk_sp.x86_64 +set fs_game jaenhanced