File tree Expand file tree Collapse file tree 3 files changed +57
-0
lines changed
Expand file tree Collapse file tree 3 files changed +57
-0
lines changed Original file line number Diff line number Diff line change 1+ # ## Project Specific ###
2+ sources /** * /
3+
4+
15# ## VisualStudioCode ###
26.vscode /*
37! .vscode /settings.json
Original file line number Diff line number Diff line change 1+ #! /bin/bash
2+ set -e
3+
4+ # This script builds the Unreal Tournament 99 server package for Linux.
5+ #
6+ # The `./sources/` directory should contain:
7+ #
8+ # * `ut99server436_goty_bp4_linuxfix.tar.zst`
9+ # This archive should be optimized for linux and contain:
10+ # - ut-server-linux-436.tar.gz
11+ # - bonus-pack1.zip
12+ # - bonus-pack2_(de_pack).zip
13+ # - bonus-pack3_(inoxx_pack).zip
14+ # - bonus-pack4_(happy_holidays).zip
15+ # * `OldUnreal-UTPatch469e-rc9-Linux-x86.tar
16+ # The latest patch for UT99 from OldUnreal (https://github.com/OldUnreal/UnrealTournamentPatches)
17+
18+
19+ #
20+ # check dependencies
21+ #
22+ command -v sha256sum & > /dev/null || { echo " Error: sha256sum is not installed." ; exit 1; }
23+ command -v unzstd & > /dev/null || { echo " Error: unzstd is not installed." ; exit 1; }
24+ command -v tar & > /dev/null || { echo " Error: tar is not installed." ; exit 1; }
25+ command -v xz & > /dev/null && echo " xz is available" || echo " xz is not installed"
26+
27+ #
28+ # Prepare server contents
29+ #
30+ rm -rf ./build
31+ mkdir --parents ./build
32+
33+ tar --use-compress-program=unzstd -xvf ./sources/ut99server436_goty_bp4_linuxfix.tar.zst -C ./build
34+ rm -f ./buildReadme.txt
35+
36+ tar --overwrite -xjvf ./sources/OldUnreal-UTPatch469e-rc9-Linux-x86.tar.bz2 -C ./build
37+
38+ #
39+ # Create
40+ #
41+ rm -f ./ut99-server-469e-linux.tar
42+ find ./build -printf " %P\n" | tar -cf ut99-server-469e-linux.tar --no-recursion -C ./build -T -
43+
44+ rm -f ./ut99-server-469e-linux.tar.xz
45+ xz -zv ./ut99-server-469e-linux.tar
46+
47+ #
48+ # Clean up
49+ #
50+ rm -rf ./build
51+
52+ sha256sum ./ut99-server-469e-linux.tar.xz
Original file line number Diff line number Diff line change 2020 " qemu" ,
2121 " repos" ,
2222 " Skaarj" ,
23+ " unzstd" ,
2324 " utpg" ,
2425 " Warcow"
2526 ]
You can’t perform that action at this time.
0 commit comments