From e57ca737478e8189a967878707c971d38fa01ae5 Mon Sep 17 00:00:00 2001 From: theofficialgman <28281419+theofficialgman@users.noreply.github.com> Date: Thu, 22 Feb 2024 18:17:41 -0500 Subject: [PATCH] Celeste64: use .NET 9 Preview 1 for ARM64 build avoids needing to disable all ARM64 SIMD optimizations to avoid bugs. this improves performance and will be reverted when .NET 8.0.3 release is made in less than a month and a new upstream build is made. --- .../updates/{Celeste64.sh => Celeste64.sh.disabled} | 0 apps/Celeste64/install | 6 +++--- 2 files changed, 3 insertions(+), 3 deletions(-) rename .github/workflows/updates/{Celeste64.sh => Celeste64.sh.disabled} (100%) diff --git a/.github/workflows/updates/Celeste64.sh b/.github/workflows/updates/Celeste64.sh.disabled similarity index 100% rename from .github/workflows/updates/Celeste64.sh rename to .github/workflows/updates/Celeste64.sh.disabled diff --git a/apps/Celeste64/install b/apps/Celeste64/install index 13d8fa81f0..726a4a1b62 100755 --- a/apps/Celeste64/install +++ b/apps/Celeste64/install @@ -17,13 +17,13 @@ if ! command -v glxinfo >/dev/null ;then install_packages mesa-utils || exit 1 fi # detect if script is running on a system with OpenGL lower than 3.3 -env_variables="DOTNET_EnableArm64AdvSimd=0" +env_variables="" if [ $(version $(glxinfo -B | sed -n "s/^OpenGL version string://p" | awk '{ print $1 }')) -lt $(version "3.3.0") ]; then # detect if GLSL 3.30 or higher is available when overwriting to GL 3.3 if [ $(version $(MESA_GL_VERSION_OVERRIDE=3.3 glxinfo -B | sed -n "s/^OpenGL shading language version string://p" | awk '{ print $1 }')) -lt $(version "3.30") ]; then error "User error: Celeste64 can only run on hardware with GLSL 3.30 or newer support. This corresponds to a Raspberry Pi 4 or 5." fi - env_variables="DOTNET_EnableArm64AdvSimd=0 MESA_GL_VERSION_OVERRIDE=3.3" + env_variables="MESA_GL_VERSION_OVERRIDE=3.3" fi cd /tmp || error "Could not move to /tmp folder" @@ -34,7 +34,7 @@ version="1.1.1" if [ $arch == 32 ];then filename="https://github.com/ExOK/Celeste64/releases/download/v$version/Celeste64-v$version-Linux-arm.zip" elif [ $arch == 64 ];then - filename="https://github.com/ExOK/Celeste64/releases/download/v$version/Celeste64-v$version-Linux-arm64.zip" + filename="https://github.com/theofficialgman/Celeste64/releases/download/test4/Celeste64-test4-Linux-arm64.zip" fi status "Downloading the game"