Skip to content

Commit

Permalink
Celeste64: use .NET 9 Preview 1 for ARM64 build
Browse files Browse the repository at this point in the history
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.
  • Loading branch information
theofficialgman committed Feb 22, 2024
1 parent 0245ee0 commit e57ca73
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
File renamed without changes.
6 changes: 3 additions & 3 deletions apps/Celeste64/install
Original file line number Diff line number Diff line change
Expand Up @@ -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"
Expand All @@ -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"
Expand Down

0 comments on commit e57ca73

Please sign in to comment.