Skip to content

Commit

Permalink
ut99 - Update to v469d
Browse files Browse the repository at this point in the history
  • Loading branch information
d10sfan committed Dec 11, 2023
1 parent c920d43 commit 7965059
Show file tree
Hide file tree
Showing 7 changed files with 57 additions and 57 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@

cd ..

cd linuxdata-469c
cd linuxdata-469d

LD_LIBRARY_PATH="System:$LD_LIBRARY_PATH"

Expand Down
44 changes: 0 additions & 44 deletions engines/ut99/assets/setup-ut99-469c.sh

This file was deleted.

44 changes: 44 additions & 0 deletions engines/ut99/assets/setup-ut99-469d.sh
Original file line number Diff line number Diff line change
@@ -0,0 +1,44 @@
#!/bin/bash

cd ../

create_relative_symlink () {
local -r target=$1
local -r symlink="linuxdata/$target"
mkdir -p "$(dirname "$symlink")"
ln -rsf "$target" "$symlink"
}

find {Web} -type f | while read -r file_name ; do
create_relative_symlink "$file_name"
done

mkdir -p linuxdata-469d/System64
ln -rs System/* linuxdata-469d/System64

mkdir -p linuxdata-469d/Textures
ln -rsf Textures/* linuxdata-469d/Textures

ln -rsf Help linuxdata-469d/Help
ln -rsf Maps linuxdata-469d/Maps
ln -rsf Music linuxdata-469d/Music
ln -rsf Sounds linuxdata-469d/Sounds

rm linuxdata-469d/System64/UnrealTournament.ini

if ! [[ -z "${LUX_STEAM_DECK}" ]]; then
cp System/UnrealTournament-override-469d-steamdeck.ini linuxdata-469d/System64/UnrealTournament.ini
else
cp System/UnrealTournament-override-469d.ini linuxdata-469d/System64/UnrealTournament.ini
fi

cp -rfv linuxdata-469d/System/* linuxdata-469d/System64

ln -rsf linuxdata-469d/System64/de.u linuxdata-469d/System64/De.u
ln -rsf linuxdata-469d/System64/de.int linuxdata-469d/System64/De.int
ln -rsf linuxdata-469d/System64/multimesh.u linuxdata-469d/System64/MultiMesh.u
ln -rsf linuxdata-469d/System64/multimesh.int linuxdata-469d/System64/MultiMesh.int

ln -rsf utbonuspack4/Maps/* linuxdata-469d/Maps
ln -rsf utbonuspack4/System/* linuxdata-469d/System
ln -rsf utbonuspack4/Textures/* linuxdata-469d/Textures
Original file line number Diff line number Diff line change
Expand Up @@ -2,4 +2,4 @@

cd ../ # game tries to start in system directory, so have to get out and back to the normal directory

rm -rf linuxdata-469c
rm -rf linuxdata-469d
22 changes: 11 additions & 11 deletions metadata/packagessniper_v2.json
Original file line number Diff line number Diff line change
Expand Up @@ -4320,8 +4320,8 @@
"download": [
{
"name": "binaries-469c",
"url": "https://github.com/OldUnreal/UnrealTournamentPatches/releases/download/v469c/",
"file": "OldUnreal-UTPatch469c-Linux-amd64.tar.bz2"
"url": "https://github.com/OldUnreal/UnrealTournamentPatches/releases/download/v469d/",
"file": "OldUnreal-UTPatch469d-Linux-amd64.tar.bz2"
},
{
"name": "ut99",
Expand All @@ -4334,16 +4334,16 @@
"file": "utbonuspack4-zip.zip"
}
],
"command": "./run-ut99-469c.sh",
"command": "./run-ut99-469d.sh",
"app_ids_deps": [
1070560
],
"download_config": [
{
"extract_location": "../linuxdata-469c",
"extract_location": "../linuxdata-469d",
"strip_prefix": "",
"setup": true,
"download_name": "binaries-469c"
"download_name": "binaries-469d"
},
{
"setup": true,
Expand All @@ -4352,10 +4352,10 @@
}
],
"setup": {
"complete_path": "../ready-469c-2",
"command": "./setup-ut99-469c.sh",
"uninstall_command": "./uninstall-ut99-469c.sh",
"license_path": "../linuxdata-469c/legal.txt"
"complete_path": "../ready-469d",
"command": "./setup-ut99-469d.sh",
"uninstall_command": "./uninstall-ut99-469d.sh",
"license_path": "../linuxdata-469d/legal.txt"
},
"use_original_command_directory": true,
"engine_name": "ut99",
Expand Down Expand Up @@ -9066,8 +9066,8 @@
"engine_name": "ut2004"
},
{
"engine_link": "https://github.com/OldUnreal/UnrealTournamentPatches/blob/master/ReleaseNotes.md#unreal-tournament-version-469c-release-notes",
"version": "469c",
"engine_link": "https://github.com/OldUnreal/UnrealTournamentPatches/blob/master/ReleaseNotes.md#unreal-tournament-version-469d-release-notes",
"version": "469d",
"author": "d10sfan",
"author_link": "https://github.com/d10sfan",
"license": "Proprietary/Closed Source",
Expand Down

0 comments on commit 7965059

Please sign in to comment.