A thin Java wrapper for the Steamworks C++ API.
About
Getting started
Build instructions
Known issues
Showcase
As of Steamworks SDK v1.42, SteamEncryptedAppTicket.loadLibraries() fails because it is unable to load libsdkencryptedappticket.so, even if it’s available and right next to libsteamworks4j-encryptedappticket.so in the library path.
I still don’t understand why this happens, but I found a workaround which needs patchelf to modify the shared library’s soname. This only needs to be done once after setting up or updating the /sdk folder.
With patchelf installed, navigate to /sdk/public/steam/lib/linux64 and run:
patchelf --set-soname libsdkencryptedappticket.so libsdkencryptedappticket.soAfter that, you can copy this library to your resource path, or use Maven to package a version of steamworks4j-server with all libraries included:
mvn [package|install] -Plibs -pl server