Homepage Forums RetroPie Project New to RetroPie? Start Here! Jedi Outcast… almost there…

Viewing 8 posts - 1 through 8 (of 8 total)
  • Author
  • #110925

    So I read that Raspian users are able to run Jedi Outcast as decent speeds, which I found out about on Youtube, and in this link:


    Naturally I got excited and added it to my Emulationstation menu. Though as fate would have it I got an “error glimp init invalid gl driver” message which means I need to launch this from “X” (according to the forums in the link.)

    So what I am wondering is if there is a way to launch just enough of X to get the game going, and then when the game closes, so does X?




    Has anyone else had a crack at this yet? Surely if we can do Minecraft and Chromium which seem to need X, then we should be able to do this too right?

    Not sure why it’s X dependent in the first place but…


    Thanks for the tip about JK2 running on the Pi!!! I loved that game. Considering the fact that ‘Quake III Arena’ runs amazingly perfect on the Pi 1 it wouldn’t surprise me if JK2 runs smooth as well. JK2 is based on the same engine as QIII.

    Anyway, I’ve got RetroPie installed via a script on top of Raspbian. So I can re-install the lightweight desktop, which I uninstalled, to test this. But I can’t find proper instructions on how to run JK2 on Linux and X.

    The reason that it won’t run without X is probably that it needs OpenGL for the 3D engine. What amazes me it how they’ve gotten QIII te work without an X environment! developed that? I don’t think the RetroPie guys did that…

    A shell script to start X, JK2 and to return to Emulationstation when you’re done playing JK2 shouldn’t be too hard to do I think. But using the executable that one made to play JK2 in an X environment can’t be used without X. I should be compiled the same way that they compiled the QIII executable. QIII did not have software rendering as an option anymore like QII had. So you need GL.


    When I clear off my plate a little bit, I’ll see what I can do.


    Tried to run the Linux executable of JK2 on my Linux PC. The game started but the graphics were all garbled. Ninety percent of the textures didn’t load. I saw only black, apart from the sky. So I’m curious how it’ll run on the Pi. Do we have to compile a version for each Pi model because they differ in platform?

    Sure hope this wil work. I love seeing how smooth Quake III runs on the Pi but I have no fun in playing it alone (against the computer). JK2 is a masterful single player game based on the same engine. I loved throwing stormtroopers around with the force push and force grip! It was tons of fun!


    I’ve ran it under Raspian with flying colors.


    Managed to run it on Raspbian! My Pi runs Raspbian and I installed RetroPie on it via the script. These are my personal HowTo notes on Jedi Outcast and QJoypad:

    | A. Summary |
    This is a tutorial on how to play Star Wars Jedi Knight II – Jedi Outcast on the Raspberry Pi model B. It needs Rasbian and some incarnation of X (like the default LXDE desktop). In short one needs to:
    – download the Pi executable
    – install some packages on the Pi
    – create a folder on the Pi w/ the original game files
    – update to version 1.04 of the game (!)
    – config the Pi for sound to work in JK2

    | B. Install |
    1. Create a folder called, for instance, “JK2” on the Pi in your home dir.
    2. Copy the game files from the dir called “base” to it (from the CD-ROM or your Windows instalation). They are the files: assets0.pk3 and assets1.pk3.
    3. Update the game to version 1.04. If you do not do this then the game will NOT run. You need to download the executable “JKIIUp104.exe” (see ref. [3]). This can only be run if you’ve got the game installed in Windows or Wine.
    4. The 1.04 update will create two extra files you in the “base” dir on your hard disk (c:/program files/LucasArts/Star Wars JK II Jedi Outcast/GameDate/base/) called: assets2.pk3 and assets5.pk3. You need them!
    5. Download the executable and the library for the Pi from:


    Extract the library and the executable to the dir “JK2”. Overwrite or rename the Windows ececutable.

    6. Create the file:


    Put the following contents in it:

    seta s_UseOpenAL “1”

    You need this to get sound.

    7. Start an X session (if you aren’t in X already) by typing on the command line:


    8. Open a terminal cd to the JK2 dir and type:


    9. The game should start now, with sound an all. If it doesn’t surf to ref. [1] follow all its instructions (install the openal packages and libs etc.) and pray it does work now.

    | C. Use of controller |
    JK2 does not support the use of a joystick or game controller in Linux (i.e. on the Pi). Use a little program called “qjoypad” to let your controller emulate the mouse and keyboard. See separate ‘Tips and Hints’ file for usage of QJoypad.

    | D. References |
    [1] Website of the port to Linux:

    [2] For the Raspberry Pi:

    [3] Update to ver. 1.04 of JK2:

    [4] Forum w/ the Pi executable and some info:

    And to map mouse and keyboard to your controller w/ QJoypad:

    It’s old, runs in the system tray (which isn’t there anymore in modern Linux desktops), very vague to configure and isn’t maintained anymore. Especially since the documentation on its website isn’t all that great. But it does the job and is still in the standard repo’s.

    |A. General |
    1. Install: sudo apt-get install qjoypad

    2. To run type: qjoypad. Click “add” and add a new profile for your gamepad. I called mine “Thrustmaster”. Click on “update” to save your config.

    3. An icon should appear in the system tray. If it doesn’t one can run the program w/ the option “–notray”.

    4. Make sure your controller is recognized by Linux by installing the package “joystick” and run on the command line:

    jstest /dev/input/js0

    5. Click on the sys. tray icon. It’s dialog screen should pop up.

    6. A lot of ‘axis’ and ‘button’ setting buttons are shown. My Thrustmaster controller, for instance, has 6 axis. That’s because each of the three directional pads or sticks has two axis: X and Y (i.e. up/down is an axis and left/right is an axis).

    | B. The mouse |
    1. I want my right analog stick to act as the mouse (i.e. free look in an FPS). My right analog stick has two axis: axis 3 and 4 (i.e. up/down and left/right). Click on the button in QJoypad’s dialog called “Axis 3”. A new dialog window should pop up.

    2. In this dialog click on the word “keyboard” and change it into “mouse (horizontal)”. Move the analog stick from left to right a few times and notice that the indicators react to the movement of your stick!

    3. You might set some additional recommend settings. For instance: tick “gradient”, set “speed” from 100 to 10, set the gradient to “lineair” etc. Click “okay”.

    4. Click “Update” to save your config.

    | C. The keyboard |
    1. I want the D-pad of my controller to act like strafe and walk. In my favourite FPS (Jedi Outcast) these are standard mapped to W,S,A,D. The D-pad of my Thrustmaster controller is called “xis 5 and 6” in QJoypad

    2. Click on “Axis 5”. Check if the D-pad actually IS axis 5 & 6 by moving the D-pad around. The indicators on the left and right should red.

    3. Click the left button that says “[no key]”. Press the letter key “A”. Now the left side of the D-pad is mapped to the letter A, which is ‘strafe to the left’ in my favorite game.

    4. Do this for all buttons on your controller.

    | D. Test it all |
    1. Open a terminal window (or a text editor).

    2. Press some buttons and axis on your game controller. The letters that you mapped to your D-pad should appear (i.e. w,s, a and d) and the mouse pointer should move when you move the right analog stick.

    Is it possible for the people that do not run RetroPie to install LXDE from the command line?

Viewing 8 posts - 1 through 8 (of 8 total)
  • The forum ‘New to RetroPie? Start Here!’ is closed to new topics and replies.