FujiAPI / Fuji

Celeste 64 Mod Loader
30 stars 10 forks source link

Not detecting a certain type of .NET Linux installation #96

Open Fern-Leaves opened 1 month ago

Fern-Leaves commented 1 month ago

Please confirm the following

What were you doing?

I was trying to install fuji on my steam deck, I got the Linux x64 version, the installation tutorial told me I need to install .NET and to follow Microsoft's tutorial for doing that on Linux, I tried the installation script method, fuji still says .NET isn't installed, I tried installing it with pacman (not recommended on steam deck as pacman installed packages will be cleared with updates to steamos), fuji still says .NET isn't installed

Your logs

there are no logs to speak of as this issues comes before Fuji even opens but I can provide exactly what it says when I tell Fuji to "run in konsole", and yes I have tried what it tells me to do but that link just leads me back around to the link Fuji tells me about on how to install .NET on Linux, which I have followed:

---------------------------------------------------------------
You must install or update .NET to run this application.

App: /home/deck/Documents/Celeste64-Fuji-linux-x64-0.7.0/Celeste64-Fuji
Architecture: x64
Framework: 'Microsoft.NETCore.App', version '8.0.0' (x64)
.NET location: /usr/share/dotnet

The following frameworks were found:
  7.0.5 at [/usr/share/dotnet/shared/Microsoft.NETCore.App]

Learn about framework resolution:
https://aka.ms/dotnet/app-launch-failed

To install missing framework, download:
https://aka.ms/dotnet-core-applaunch?framework=Microsoft.NETCore.App&framework_version=8.0.0&arch=x64&rid=steamos.3.5.19-x64
Wartori54 commented 1 month ago

You need .net 8 or higher, it seems like you installed .net 7. dotnet-runtime on the arch repos will do the trick.

axiand commented 1 month ago

I'm going to assume this is resolved now with Wartori's comment. If it isn't, feel free to reopen.

Fern-Leaves commented 1 month ago

I literally did install dotnet through pacman with the dotnet-runtime thing, and it will say there it is the version I need, fuji just doesn't detect it.

Wartori54 commented 1 month ago

Really make sure that the version installed is .NET 8.x.x, you can verify so with dotnet --list-runtimes and also verify that it is on the standard location (/usr/share/dotnet/shared/). Verify that DOTNET_ROOT is not set when you are running the app as well. And if pacman does not want to install the correct version (maybe because of steam deck shenanigans) try the "official standalone installation", documented here.

kees- commented 1 month ago

Platform: MacOS 12.7.2 .NET version: 8.0.104 Fuji version: 0.7.0

$ dotnet --info ``` .NET SDK: Version: 8.0.104 Commit: 034f91fcc0 Workload version: 8.0.100-manifests.cd97f1c9 Runtime Environment: OS Name: Mac OS X OS Version: 12.7 OS Platform: Darwin RID: osx-x64 Base Path: /usr/local/Cellar/dotnet/8.0.4/libexec/sdk/8.0.104/ .NET workloads installed: Workload version: 8.0.100-manifests.cd97f1c9 There are no installed workloads to display. Host: Version: 8.0.4 Architecture: x64 Commit: 2d7eea2529 .NET SDKs installed: 8.0.104 [/usr/local/Cellar/dotnet/8.0.4/libexec/sdk] .NET runtimes installed: Microsoft.AspNetCore.App 8.0.4 [/usr/local/Cellar/dotnet/8.0.4/libexec/shared/Microsoft.AspNetCore.App] Microsoft.NETCore.App 8.0.4 [/usr/local/Cellar/dotnet/8.0.4/libexec/shared/Microsoft.NETCore.App] Other architectures found: None Environment variables: DOTNET_ROOT [/usr/local/Cellar/dotnet/8.0.4/libexec] global.json file: Not found ```
$ ./Celeste64-Fuji ``` You must install .NET to run this application. App: /Users/kees/Workstation/Celeste/Celeste64-Fuji-osx-x64-0.7.0/Celeste64-Fuji Architecture: x64 App host version: 8.0.6 .NET location: Not found Learn more: https://aka.ms/dotnet/app-launch-failed Download the .NET runtime: https://aka.ms/dotnet-core-applaunch?missing_runtime=true&arch=x64&rid=osx-x64&os=osx.12&apphost_version=8.0.6 ```

iirc that I found a solution to this, I don't remember it right now and am not at my main computer

Wartori54 commented 1 month ago

Your issue here is that the mac apphost targets 8.0.6, and 8.0.4 is installed instead, leading to no match. Maybe the fuji team could downgrade the runtime requeriments in order to not be as high (maybe target base 8.0.0 instead).