From 7965059fe178f2b28ad91a905d9c6dc95b8feaad Mon Sep 17 00:00:00 2001 From: d10sfan Date: Mon, 11 Dec 2023 08:43:57 -0600 Subject: [PATCH] ut99 - Update to v469d --- ...ealTournament-override-469d-steamdeck.ini} | 0 ...ini => UnrealTournament-override-469d.ini} | 0 .../{run-ut99-469c.sh => run-ut99-469d.sh} | 2 +- engines/ut99/assets/setup-ut99-469c.sh | 44 ------------------- engines/ut99/assets/setup-ut99-469d.sh | 44 +++++++++++++++++++ ...ll-ut99-469c.sh => uninstall-ut99-469d.sh} | 2 +- metadata/packagessniper_v2.json | 22 +++++----- 7 files changed, 57 insertions(+), 57 deletions(-) rename engines/ut99/assets/{UnrealTournament-override-469c-steamdeck.ini => UnrealTournament-override-469d-steamdeck.ini} (100%) rename engines/ut99/assets/{UnrealTournament-override-469c.ini => UnrealTournament-override-469d.ini} (100%) rename engines/ut99/assets/{run-ut99-469c.sh => run-ut99-469d.sh} (86%) delete mode 100755 engines/ut99/assets/setup-ut99-469c.sh create mode 100755 engines/ut99/assets/setup-ut99-469d.sh rename engines/ut99/assets/{uninstall-ut99-469c.sh => uninstall-ut99-469d.sh} (84%) diff --git a/engines/ut99/assets/UnrealTournament-override-469c-steamdeck.ini b/engines/ut99/assets/UnrealTournament-override-469d-steamdeck.ini similarity index 100% rename from engines/ut99/assets/UnrealTournament-override-469c-steamdeck.ini rename to engines/ut99/assets/UnrealTournament-override-469d-steamdeck.ini diff --git a/engines/ut99/assets/UnrealTournament-override-469c.ini b/engines/ut99/assets/UnrealTournament-override-469d.ini similarity index 100% rename from engines/ut99/assets/UnrealTournament-override-469c.ini rename to engines/ut99/assets/UnrealTournament-override-469d.ini diff --git a/engines/ut99/assets/run-ut99-469c.sh b/engines/ut99/assets/run-ut99-469d.sh similarity index 86% rename from engines/ut99/assets/run-ut99-469c.sh rename to engines/ut99/assets/run-ut99-469d.sh index 5c164b488..3a2b36a72 100755 --- a/engines/ut99/assets/run-ut99-469c.sh +++ b/engines/ut99/assets/run-ut99-469d.sh @@ -2,7 +2,7 @@ cd .. -cd linuxdata-469c +cd linuxdata-469d LD_LIBRARY_PATH="System:$LD_LIBRARY_PATH" diff --git a/engines/ut99/assets/setup-ut99-469c.sh b/engines/ut99/assets/setup-ut99-469c.sh deleted file mode 100755 index 4bcf3adcc..000000000 --- a/engines/ut99/assets/setup-ut99-469c.sh +++ /dev/null @@ -1,44 +0,0 @@ -#!/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-469c/System64 -ln -rs System/* linuxdata-469c/System64 - -mkdir -p linuxdata-469c/Textures -ln -rsf Textures/* linuxdata-469c/Textures - -ln -rsf Help linuxdata-469c/Help -ln -rsf Maps linuxdata-469c/Maps -ln -rsf Music linuxdata-469c/Music -ln -rsf Sounds linuxdata-469c/Sounds - -rm linuxdata-469c/System64/UnrealTournament.ini - -if ! [[ -z "${LUX_STEAM_DECK}" ]]; then - cp System/UnrealTournament-override-469c-steamdeck.ini linuxdata-469c/System64/UnrealTournament.ini -else - cp System/UnrealTournament-override-469c.ini linuxdata-469c/System64/UnrealTournament.ini -fi - -cp -rfv linuxdata-469c/System/* linuxdata-469c/System64 - -ln -rsf linuxdata-469c/System64/de.u linuxdata-469c/System64/De.u -ln -rsf linuxdata-469c/System64/de.int linuxdata-469c/System64/De.int -ln -rsf linuxdata-469c/System64/multimesh.u linuxdata-469c/System64/MultiMesh.u -ln -rsf linuxdata-469c/System64/multimesh.int linuxdata-469c/System64/MultiMesh.int - -ln -rsf utbonuspack4/Maps/* linuxdata-469c/Maps -ln -rsf utbonuspack4/System/* linuxdata-469c/System -ln -rsf utbonuspack4/Textures/* linuxdata-469c/Textures diff --git a/engines/ut99/assets/setup-ut99-469d.sh b/engines/ut99/assets/setup-ut99-469d.sh new file mode 100755 index 000000000..09a73d4ba --- /dev/null +++ b/engines/ut99/assets/setup-ut99-469d.sh @@ -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 diff --git a/engines/ut99/assets/uninstall-ut99-469c.sh b/engines/ut99/assets/uninstall-ut99-469d.sh similarity index 84% rename from engines/ut99/assets/uninstall-ut99-469c.sh rename to engines/ut99/assets/uninstall-ut99-469d.sh index 0179c5432..0f7d2c054 100755 --- a/engines/ut99/assets/uninstall-ut99-469c.sh +++ b/engines/ut99/assets/uninstall-ut99-469d.sh @@ -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 diff --git a/metadata/packagessniper_v2.json b/metadata/packagessniper_v2.json index 282fdc6b9..726457829 100644 --- a/metadata/packagessniper_v2.json +++ b/metadata/packagessniper_v2.json @@ -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", @@ -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, @@ -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", @@ -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",