| Both sides previous revisionPrevious revisionNext revision | Previous revision |
| games:linux:xonotic [2026/05/04 23:37] – [TODO] Sean Rhone | games:linux:xonotic [2026/05/05 22:45] (current) – Sean Rhone |
|---|
| * [[linux;distros;solus|Solus]] | * [[linux;distros;solus|Solus]] |
| * :!: TODO: Update to mainstream distro | * :!: TODO: Update to mainstream distro |
| * TODO: If it's the same as Windows, ''glx'' is likely better to target than ''sdl'' | |
| |
| ===== Notes ===== | ===== Notes ===== |
| ====== TODO ====== | ====== TODO ====== |
| |
| | * [[linux:distros:opensuse_tumbleweed_gnome|openSUSE Tumbleweed (GNOME)]] |
| * https://gitlab.com/xonotic/xonotic | * https://gitlab.com/xonotic/xonotic |
| * https://gitlab.com/xonotic/xonotic/-/wikis/Repository_Access | * https://gitlab.com/xonotic/xonotic/-/wikis/Repository_Access |
| * https://gitlab.com/xonotic/xonotic/-/commits/master?ref_type=HEADS | * https://gitlab.com/xonotic/xonotic/-/commits/master?ref_type=HEADS |
| | * https://gitlab.com/xonotic/xonotic/-/blob/master/misc/tools/all/zsh_autocompletion/all/_all?ref_type=heads |
| | * https://gitlab.com/xonotic/xonotic/-/blob/master/misc/tools/all/config.subr#L24 (mirrors) |
| | * ''-0'' for AES/multiplayer, ''-1'' no AES support ((:?: Local singleplayer games with Enable AES option checked uses encryption)) ((client doesn't report ''Engine lacks DP_CRYPTO'' with ''libd0_blind_id0'' installed but doesn't use it/doesn't show in-game AES option with ''-1''; TODO: Maybe cvar for AES force-enabled, ''-1'' + ''libd0_blind_id0'', and check server browser -> info -> Encryption used)) |
| | * :!: TODO: Note key file for backup/restore/no-delete (stats/keygen server) |
| |
| sudo zypper install git-core gcc gcc-c++ autoconf automake libtool gmp-devel make sdl2-compat-devel zlib-devel libjpeg8-devel libX11-devel | ===== Initial ===== |
| | |
| | sudo zypper install git-core gcc16 gcc16-c++ autoconf automake libtool gmp-devel make sdl2-compat-devel zlib-devel libjpeg8-devel libX11-devel |
| |
| cd ~ && mkdir -p ~/'Projects' && rm -Rf ~/'Projects/Xonotic/src' && git clone --branch 'master' --depth '1' --recurse-submodules 'https://gitlab.com/xonotic/xonotic.git' ~/'Projects/Xonotic/src' | cd ~ && mkdir -p ~/'Projects' && rm -Rf ~/'Projects/Xonotic/src' && git clone --branch 'master' --depth '1' --recurse-submodules 'https://gitlab.com/xonotic/xonotic.git' ~/'Projects/Xonotic/src' |
| |
| ~/'Projects/Xonotic/src/all' update -l 'best' | ===== Build/Update ===== |
| |
| ~/'Projects/Xonotic/src/all' clean --reclone | ~/'Projects/Xonotic/src/all' switch 'master' && ~/'Projects/Xonotic/src/all' update -N && ~/'Projects/Xonotic/src/all' clean --reclone |
| |
| ~/'Projects/Xonotic/src/all' compile -c -r -0 'sdl' | ln -s -f '/usr/bin/gcc-16' ~/'.local/bin/cc' && CC='/usr/bin/gcc-16' CXX='/usr/bin/g++-16' ~/'Projects/Xonotic/src/all' compile -c -r -'0' 'sdl' && rm -f ~/'.local/bin/cc' |
| | |
| | ===== Launch ===== |
| | |
| | **** |
| |
| ~/'Projects/Xonotic/src/all' run 'sdl' | ~/'Projects/Xonotic/src/all' run 'sdl' |
| |