| Both sides previous revisionPrevious revisionNext revision | Previous revision |
| games:linux:xonotic [2026/05/05 22:39] – [TODO] Sean Rhone | games:linux:xonotic [2026/05/05 22:45] (current) – Sean Rhone |
|---|
| * https://gitlab.com/xonotic/xonotic/-/blob/master/misc/tools/all/config.subr#L24 (mirrors) | * 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)) | * ''-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) |
| | |
| | ===== Initial ===== |
| |
| sudo zypper install git-core gcc16 gcc16-c++ autoconf automake libtool gmp-devel make sdl2-compat-devel zlib-devel libjpeg8-devel libX11-devel | 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' switch 'master' | ===== Build/Update ===== |
| | |
| ~/'Projects/Xonotic/src/all' update -N | |
| |
| ~/'Projects/Xonotic/src/all' clean --reclone | ~/'Projects/Xonotic/src/all' switch 'master' && ~/'Projects/Xonotic/src/all' update -N && ~/'Projects/Xonotic/src/all' clean --reclone |
| |
| ln -s -f '/usr/bin/gcc-16' ~/'.local/bin/cc' | 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' |
| |
| CC='/usr/bin/gcc-16' CXX='/usr/bin/g++-16' ~/'Projects/Xonotic/src/all' compile -c -r -'0' 'sdl' | ===== Launch ===== |
| |
| rm -f ~/'.local/bin/cc' | **** |
| |
| ~/'Projects/Xonotic/src/all' run 'sdl' | ~/'Projects/Xonotic/src/all' run 'sdl' |
| |