- Download the latest Steamworks SDK from
https://partner.steamgames.com/downloads/list and extract it to Steam, s.t.
Steam/sdk/public/steam/
holds the API headers (.h files) - Install Swig and the Java SDK
- Run
make
from the Steam subfolder, you may need to specify the location of the JAVA_SDK, eg.:make JAVA_SDK=/usr/lib/jvm/default
(should hold aninclude
directory) - Copy the
libSteamJavaWrapper.so
andlibSteamJavaWrapper64.so
into the game directory. - Also copy
Steam/sdk/redistributable_bin/linux32/libsteam_api.so
as is andSteam/sdk/redistributable_bin/linux64/libsteam_api.so
aslibsteam_api64.so
into the game directory. - Copy
steam_appid.txt
into the game directory.
- Download LWJGL from http://legacy.lwjgl.org/download.php.html
- Copy
native/linux/lwjgl[64].so
andnative/linux/libopenal[64].so
asliblwjgl[64].so
resp.libOpenAL[64].so
into the game's root directory. - Replace
lib/lwjgl.jar
by the one downloadedjar/liblwjgl.jar
Eventually modify the well-documented script from the "Launcher" subfolder and then just run it:
$ ./Edna.sh
Run java -cp lib/*.jar:data/*.jar -jar Edna.jar
with the options you want, the
script can be used as an example (note: the glob '*
' might not expand,
so you may need to list all the JAR files manually).
There's the decompiled and patched sourcecode for the launchers with a
ready-made solution in the "Launcher" subdirectory.
You will need mono to compile it using, msbuild
.
Then copy the results (.exe files) from both folders' bin/Debug/ subfolder into
the game directory, overwriting the originals
Edit the .desktop files to point to the script or executables and install them
using xdg-desktop-menu install --novendor dot-desktop-file.desktop
.