OpenRakis / Cryogenic

An open-source reimplementation of Cryo's DUNE game (WIP)
Apache License 2.0
26 stars 1 forks source link

No music on GNU/Linux #29

Closed leorockway closed 3 months ago

leorockway commented 3 months ago

When I try to run this on GNU/Linux following the README instructions I get this error:

/usr/share/dotnet/sdk/8.0.106/Sdks/Microsoft.NET.Sdk/targets/Microsoft.NET.Sdk.FrameworkReferenceResolution.targets(154,5): error NETSDK1083: The specified RuntimeIdentifier 'linux-ADL220 SBP2227' is not recognized. See https://aka.ms/netsdk1083 for more information. [/home/leo/Cryogenic/src/Cryogenic/Cryogenic.csproj] /usr/share/dotnet/sdk/8.0.106/Sdks/Microsoft.NET.Sdk/targets/Microsoft.NET.Sdk.FrameworkReferenceResolution.targets(154,5): error NETSDK1083: The specified RuntimeIdentifier 'linux-ADL220 SBP2227' is not recognized. See https://aka.ms/netsdk1083 for more information. [/home/leo/Cryogenic/src/Cryogenic/Cryogenic.csproj] /usr/share/dotnet/sdk/8.0.106/Sdks/Microsoft.NET.Sdk/targets/Microsoft.NET.Sdk.FrameworkReferenceResolution.targets(154,5): error NETSDK1083: The specified RuntimeIdentifier 'linux-ADL220 SBP2227' is not recognized. See https://aka.ms/netsdk1083 for more information. [/home/leo/Cryogenic/src/Cryogenic/Cryogenic.csproj] /usr/share/dotnet/sdk/8.0.106/Sdks/Microsoft.NET.Sdk/targets/Microsoft.NET.Sdk.FrameworkReferenceResolution.targets(154,5): error NETSDK1083: The specified RuntimeIdentifier 'linux-ADL220 SBP2227' is not recognized. See https://aka.ms/netsdk1083 for more information. [/home/leo/Cryogenic/src/Cryogenic/Cryogenic.csproj]

The build failed. Fix the build errors and run again`

I'm not sure what would be a correct RuntimeIdentifier.

maximilien-noal commented 3 months ago

Hello,

Thanks for the report. I fixed it:

cd Cryogenic/src/Cryogenic
dotnet publish
bin/Release/net8.0/publish/Cryogenic --Exe C:/path/to/dunecd/DNCDPRG.EXE --UseCodeOverride true -a "ADL220 SBP2227"

For example, on Linux:

cd Cryogenic/src/Cryogenic
dotnet publish
bin/Release/net8.0/publish/Cryogenic --Exe /home/path/to/DNCDPRG.EXE --UseCodeOverride true -a "ADL220 SBP2227"