Comprehensive Linux Install Guide (JKA Steam)
Posted: Sat Aug 16, 2014 12:07 pm
So, I don't know how many people here run Linux, but I just spent the better part of the last 2 days scouring the Interwebs trying to get JKA to run. So here's a comprehensive guide to getting it to work from Steam. It's way easier if you're installing from CD, so if you can do that I really recommend it.
IMPORTANT NOTES: I'm running Arch-based Manjaro, so my package manager is pacman. Replace any instance of pacman with your package manager of choice (i.e. apt-get, emerge, etc.). Additionally, if you're running Ubuntu or a Ubuntu derivative (Mint, Xubuntu, etc.) you can probably disregard the driver sections. Speaking of, for any of this to even be remotely applicable, you need to be using non-free/proprietary drivers for your graphics card.
So, now that that's all out of the way, let's dive in. The first thing you're gonna want to do is grab PlayOnLinux.
Now use PlayOnLinux to install Steam, not JKA. Make sure it installs Windows fonts! When it reaches the end of the Steam installation, do not run it. If you do it'll update Steam and then hang on the installing screen, and if you cancel out it'll tell you that Steam failed to install and won't let you run it from PoL. Now run Steam from PlayOnLinux, let it update, and download JKA.
Now to grab drivers. For JKA you'll need lib32-openal (this is the MOST important!), lib32-ncurses, lib32-zlib and lib32-mpg123.
Download the RPMod Windows Installer client and install with Wine into the appropriate directory (it'll be something like ~/PlayOnLinux/steam/drive_c/Program Files/steam/steamapps/common/Jedi\ Academy/).
This is where it forks for AMD users and nVidia users. Make sure you know which brand you're using!
nVidia:
Open your preferred terminal (or make a .sh file) and run:
Finally, run
Go to Libraries, add gameoverlayrenderer.dll and do Edit -> Disable. This will turn off the Steam overlay, which will crash Wine if you press any key on your keyboard. As far as I can tell they're not working too hard on a solution for this.
AMD:
Download this and put it in your GameData directory, then:
Log in to Steam as usual and play JKA!
ETA: If you have performance issues, try:
IMPORTANT NOTES: I'm running Arch-based Manjaro, so my package manager is pacman. Replace any instance of pacman with your package manager of choice (i.e. apt-get, emerge, etc.). Additionally, if you're running Ubuntu or a Ubuntu derivative (Mint, Xubuntu, etc.) you can probably disregard the driver sections. Speaking of, for any of this to even be remotely applicable, you need to be using non-free/proprietary drivers for your graphics card.
So, now that that's all out of the way, let's dive in. The first thing you're gonna want to do is grab PlayOnLinux.
Code: Select all
sudo pacman -S playonlinux
Now to grab drivers. For JKA you'll need lib32-openal (this is the MOST important!), lib32-ncurses, lib32-zlib and lib32-mpg123.
Code: Select all
sudo pacman -S lib32-openal lib32-ncurses lib32-zlib lib32-mpg123
This is where it forks for AMD users and nVidia users. Make sure you know which brand you're using!
nVidia:
Open your preferred terminal (or make a .sh file) and run:
Code: Select all
__GL_ExtensionStringVersion=17700 wine /path/to/JKA/GameData/jamp.exe -no-dwrite +set fs_game rpmod
Code: Select all
winecfg
AMD:
Download this and put it in your GameData directory, then:
Code: Select all
wine /path/to/JKA/GameData/jamp.exe -no-dwrite +set fs_game rpmod
ETA: If you have performance issues, try:
- Single-core mode
Code: Select all
__GL_ExtensionStringVersion=17700 taskset -c wine 0 /path/to/JKA/GameData/jamp.exe -no-dwrite +set fs_game rpmod
- Disable Compiz, KWin, Unity, etc.
- In-game: /m_filter 1
- Disable Catalyst AI in AMD Control Center
- If wine is crashing when you press `, LCTRL, or another special key (not just any key on your keyboard), add
to your .sh file before you start the game, andCode: Select all
setxbkmap -layout us
on the line after you start the game.Code: Select all
setxbkmap -layout {your country ID}
- If you're having bad screen tearing problems, try putting this in your .sh file (before the game startup line):
Or this in your Steam launch options:Code: Select all
export __GL_SYNC_TO_VBLANK=1
Then, disable VSync or you'll have really bad stuttering.Code: Select all
__GL_SYNC_TO_VBLANK=1 %command%