diff --git a/engines/unreal-gold-64/assets/README-64.txt b/engines/unreal-gold-64/assets/README-64.txt deleted file mode 100644 index 44d3a6039..000000000 --- a/engines/unreal-gold-64/assets/README-64.txt +++ /dev/null @@ -1,17 +0,0 @@ -Unreal Gold requires a Windows installer to get the necessary Linux binaries. - -This Windows installer has to be downloaded manually, do to the luxtorpeda client not being able to download the files directory. - -To do this, go to https://www.oldunreal.com/phpBB3/viewtopic.php?f=51&t=10395, pick UnrealGoldPatch227j.7z and download it. Then go to the game directory and extract the 7z to the System directory. - -Because of this installer, wine is needed to be installed and the following steps need to be executed manually below: - -Wine is required to be installed on the host system to continue. - -1. Go to the directory where Unreal Gold is installed. There should be a file called UnrealGoldPatch227j.exe inside the System directory -2. Open up a Terminal window in the System directory and run "wine UnrealGoldPatch227j.exe" -3. This should launch the Unreal Gold 227i patch installer. Make sure to pick a language during the installation wizard. -4. When it asks for the Destination Folder, this will be a wine-based path and it need to be entered in manually. The Z:\ drive is where the root file system can be accessed. For example, if the path to the installation is "/run/media/d10sfan/Storage/SteamLibrary/steamapps/common/Unreal Gold/", the wine path would be "Z:\run\media\d10sfan\Storage\SteamLibrary\steamapps\common\Unreal Gold" -5. Make sure to pick the Linux native files in the wizard. -6. Once the installer is complete, click Finish. Do not click Play. -7. Go back to Steam and attempt to play Unreal Gold. diff --git a/engines/unreal-gold-64/assets/run-unreal-64.sh b/engines/unreal-gold-64/assets/run-unreal-64.sh index 839c6b93e..f273b325d 100755 --- a/engines/unreal-gold-64/assets/run-unreal-64.sh +++ b/engines/unreal-gold-64/assets/run-unreal-64.sh @@ -1,16 +1,5 @@ #!/bin/bash -if [ -f "last_error.txt" ]; then - rm last_error.txt -fi - -if [ ! -f ../System64/UnrealLinux.bin ] -then - error_message="Unreal Linux not found. Please see System/README-64.txt for instructions in game directory." - echo "$error_message" > last_error.txt - exit 10 -fi - chmod +x ../System64/UnrealLinux.bin cd ../System64 LD_LIBRARY_PATH="../System/lib:$LD_LIBRARY_PATH" ./UnrealLinux.bin -log diff --git a/engines/unreal-gold/assets/README.txt b/engines/unreal-gold/assets/README.txt deleted file mode 100644 index 44d3a6039..000000000 --- a/engines/unreal-gold/assets/README.txt +++ /dev/null @@ -1,17 +0,0 @@ -Unreal Gold requires a Windows installer to get the necessary Linux binaries. - -This Windows installer has to be downloaded manually, do to the luxtorpeda client not being able to download the files directory. - -To do this, go to https://www.oldunreal.com/phpBB3/viewtopic.php?f=51&t=10395, pick UnrealGoldPatch227j.7z and download it. Then go to the game directory and extract the 7z to the System directory. - -Because of this installer, wine is needed to be installed and the following steps need to be executed manually below: - -Wine is required to be installed on the host system to continue. - -1. Go to the directory where Unreal Gold is installed. There should be a file called UnrealGoldPatch227j.exe inside the System directory -2. Open up a Terminal window in the System directory and run "wine UnrealGoldPatch227j.exe" -3. This should launch the Unreal Gold 227i patch installer. Make sure to pick a language during the installation wizard. -4. When it asks for the Destination Folder, this will be a wine-based path and it need to be entered in manually. The Z:\ drive is where the root file system can be accessed. For example, if the path to the installation is "/run/media/d10sfan/Storage/SteamLibrary/steamapps/common/Unreal Gold/", the wine path would be "Z:\run\media\d10sfan\Storage\SteamLibrary\steamapps\common\Unreal Gold" -5. Make sure to pick the Linux native files in the wizard. -6. Once the installer is complete, click Finish. Do not click Play. -7. Go back to Steam and attempt to play Unreal Gold. diff --git a/engines/unreal-gold/assets/run-unreal.sh b/engines/unreal-gold/assets/run-unreal.sh index 1153bcd55..386e074f7 100755 --- a/engines/unreal-gold/assets/run-unreal.sh +++ b/engines/unreal-gold/assets/run-unreal.sh @@ -1,16 +1,5 @@ #!/bin/bash -if [ -f "last_error.txt" ]; then - rm last_error.txt -fi - -if [ ! -f ../System/UnrealLinux.bin ] -then - error_message="Unreal Linux not found. Please see System/README.txt for instructions in game directory." - echo "$error_message" > last_error.txt - exit 10 -fi - chmod +x ../System/UnrealLinux.bin cd ../System LD_LIBRARY_PATH="../System/lib:$LD_LIBRARY_PATH" ./UnrealLinux.bin -log diff --git a/metadata/packagessniper_v2.json b/metadata/packagessniper_v2.json index 903e1ee42..16623c540 100644 --- a/metadata/packagessniper_v2.json +++ b/metadata/packagessniper_v2.json @@ -5661,6 +5661,11 @@ "url": "https://github.com/luxtorpeda-dev/packages/releases/download/surreal_engine-1/", "file": "surreal_engine-common-1.tar.xz", "cache_by_name": true + }, + { + "name": "unreal-binaries", + "url": "https://github.com/OldUnreal/Unreal-testing/releases/download/v227k_12/", + "file": "OldUnreal-UnrealPatch227k-Linux.tar.bz2" } ], "choices": [ @@ -5668,14 +5673,16 @@ "name": "Unreal Gold (32-bit)", "command": "./run-unreal.sh", "download": [ - "unreal-gold" + "unreal-gold", + "unreal-binaries" ] }, { "name": "Unreal Gold (64-bit)", "command": "./run-unreal-64.sh", "download": [ - "unreal-gold-64" + "unreal-gold-64", + "unreal-binaries" ] }, { @@ -5686,6 +5693,12 @@ ] } ], + "download_config": [ + { + "extract_location": "../", + "download_name": "unreal-binaries" + } + ], "use_original_command_directory": true, "engine_name": "unrealgold", "cloudNotAvailable": true, @@ -10754,8 +10767,8 @@ "internal_engine_name": "ut99" }, { - "engine_link": "https://www.oldunreal.com/phpBB3/viewtopic.php?f=51&t=10395", - "version": "227j", + "engine_link": "https://github.com/OldUnreal/Unreal-testing/releases/tag/v227k_12", + "version": "227k_12", "author": "d10sfan", "author_link": "https://github.com/d10sfan", "license": "Proprietary/Closed Source", @@ -10766,12 +10779,6 @@ }, { "key": "32_bit" - }, - { - "key": "manual_steps" - }, - { - "label": "Requires Oldunreal installer, which requires a manual download and Wine to be installed. System/README.txt should be referred to." } ], "controllerNotSupported": true,