-
-
Notifications
You must be signed in to change notification settings - Fork 99
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Linux build for the Steam release #523
Comments
The stable steam runtime is based on Ubuntu 16.04! And also does not include boost and some other libraries, so they would have to be built and included. I don't think this is insurmountable but the Proton port works well enough and I didn't have time before the summer releases to build for Linux. Plus we were sick of CI/build tooling after Win + Mac. This is on my list to look at for the next release. |
I did a quick test. Building on the sniper runtime SDK works. I install and start the runtime with this command: podman run --rm --init \
-v /home:/home \
-v /etc/passwd:/etc/passwd:ro \
-v /etc/group:/etc/group:ro \
-e HOME="$HOME" \
-h "$(hostname)" \
-v /tmp:/tmp \
-it registry.gitlab.steamos.cloud/steamrt/sniper/sdk:latest \
/bin/bash For whatever reason, to make autoreconf work I have to patch --- a/configure.ac
+++ b/configure.ac
@@ -83,7 +83,7 @@ AC_CHECK_HEADERS([unistd.h pwd.h])
dnl Check for boost functions and libraries.
AX_BOOST_BASE([1.65.0],
,
- [AC_MSG_ERROR([You need Boost 1.65.0 or higher to build Aleph One.])])
+ AC_MSG_ERROR([You need Boost 1.65.0 or higher to build Aleph One.]))
AX_BOOST_SYSTEM
AS_IF([ test "x$BOOST_SYSTEM_LIB" != "x" ],
[ LIBS="$BOOST_SYSTEM_LIB $LIBS" ], Install packages and build: apt update
apt upgrade
apt install autoconf-archive \
libboost-dev libboost-system-dev libboost-filesystem-dev \
libavcodec-dev libavformat-dev libavutil-dev libswscale-dev libswresample-dev
autoreconf -if
CFLAGS='-O2' CXXFLAGS='-O2' LDFLAGS='-s -Wl,--as-needed' \
./configure
make -j4 |
Any libraries you install will not be present once deployed, is part of the issue. Also sniper runtime has to be manually enabled by Valve. I thought I had requested that, but now I can't find any record of doing that. So I will request it again. |
Deploying the extra libraries shouldn't be an issue. I will do more testing, maybe compile ffmpeg too to reduce dependencies. I can also try out the stable runtime. |
Here's a list of commands (not so much of an actual script) to build alephone and ffmpeg in a container: ffmpeg is built against the steamrt libraries and only libboost_filesystem and libboost_system need to be copied from the build environment. A launch script that sets |
For some reason the Proton version is not working for me. It worked the first time, then the second time it had no sound, then the third time it just won't start at all anymore. I changed to Luxtorpeda compatibility tool and the game starts again and the sound works. Luxtorpeda uses the native source port for Linux. |
This is no longer the case:
|
Well that's good news. I wonder if they intended to notify developers haha |
It was mentioned in the regular Steam news feed a couple of weeks ago among several bullet points. |
First of all, it runs well on Proton, so a native build shouldn't have a high priority.
What exactly are the reasons that there is no Linux version available yet? I've read that Steam wants Linux binaries to be compatible with really old runtimes or something? I would like to help.
The text was updated successfully, but these errors were encountered: