AMS2CM, .Net Desktop Runtime

Hi. I'm trying to use Lutris to install Automobilista 2 Content Manager. I was previously using PlayOnLinux, but I read that the app is now considered obsolete. As you can see, I almost have the program running, but the error window states that I need .Net Desktop Runtime version 6.0.27 and asks me if I want to download it. However, after clicking Yes, the computer does not download it. I'm unsure what the error message means--

anthony@anthony-OptiPlex-9010:~/Downloads$ sudo sh dotnet-install.sh --architecture x64 --install-dir /usr/share/dotnet/ --runtime dotnet --version 6.0.27
dotnet-install.sh: 12: set: Illegal option -o pipefail

Microsoft's script; Error screenshot indicates 6.0.27 runtime

I am not sure what you need I am not that technically savvy, but maybe this will help you?

# Install .NET 10 (Preview) in Ubuntu via PPA

Native Linux Alternative:
Mono is a cross platform, open source .NET development framework.
This did not work for me.

2 Likes

Does the winetricks installer for .NET framework not work in this case? If so; perhaps your wine prefix is broken (maybe try creating a new one).

1 Like

I updated wine to version 10, so that's better; as for Winetricks,

I need 6.0.27. The following code is what I get when I navigate to AMS2CMs folder, then open the terminal and type AMS2CM.GUI.exe. I don't know if it means anything--it's quite a lot of code.

Couldn't get first exception for process 0100 Z:\home\anthony\Games\ams2cm\drive_c\Program Files\AMS2CM\AMS2CM.GUI.exe.
No backtrace available
Modules:
Module  Address                                 Debug info      Name (119 modules, 5 for wow64 not listed)
PE-Wine         791f0000-        79807000       Deferred        opengl32
PE             100100000-       10010d000       Deferred        system.runtime.interopservices
PE             100110000-       100150000       Deferred        system.collections
PE             100150000-       10018c000       Deferred        system.collections.concurrent
PE             100190000-       1001a3000       Deferred        system.threading
PE             1001b0000-       1001b6000       Deferred        system.runtime.compilerservices.unsafe
PE             1001c0000-       1001fe000       Deferred        system.private.uri
PE             100200000-       100216000       Deferred        system.objectmodel
PE             100220000-       100225000       Deferred        system.componentmodel
PE             100230000-       1002f4000       Deferred        system.security.cryptography.algorithms
PE             100300000-       100321000       Deferred        system.security.cryptography.primitives
PE             100330000-       1003b2000       Deferred        system.linq
PE             1003c0000-       1003ea000       Deferred        system.memory
PE             1009f0000-       1009f9000       Deferred        system.diagnostics.stacktrace
PE             100a00000-       100b14000       Deferred        system.reflection.metadata
PE             100b20000-       100bc2000       Deferred        system.collections.immutable
PE             140000000-       14006a000       Deferred        ams2cm.gui
PE             180000000-       180a25000       Deferred        system.private.corelib
PE          6ffff6be0000-    6ffff6e1a000       Deferred        microsoft.diasymreader.native.amd64
PE-Wine     6ffff6e30000-    6ffff6f24000       Deferred        d3dcompiler_47
PE-Wine     6ffff6f40000-    6ffff6f68000       Deferred        d3d10core
PE-Wine     6ffff6f80000-    6ffff7461000       Deferred        d2d1
PE-Wine     6ffff7480000-    6ffff8b8a000       Deferred        wined3d
PE-Wine     6ffff8ba0000-    6ffff8d02000       Deferred        dxgi
PE-Wine     6ffff8d20000-    6ffff90a9000       Deferred        d3d11
PE-Wine     6ffff90c0000-    6ffff93f1000       Deferred        dwrite
PE          6ffff9410000-    6ffffa245000       Deferred        microsoft.ui.xaml
PE-Wine     6ffffa260000-    6ffffa28a000       Deferred        rometadata
PE-Wine     6ffffa2a0000-    6ffffa2ca000       Deferred        powrprof
PE-Wine     6ffffa2e0000-    6ffffa33e000       Deferred        wintypes
PE-Wine     6ffffa350000-    6ffffa3fb000       Deferred        xmllite
PE          6ffffa410000-    6ffffa4e7000       Deferred        microsoft.windowsappruntime
PE-Wine     6ffffa500000-    6ffffa520000       Deferred        version
PE-Wine     6ffffa600000-    6ffffa6c7000       Deferred        uxtheme
PE-Wine     6ffffa6e0000-    6ffffa9d9000       Deferred        dbghelp
PE-Wine     6ffffa9f0000-    6ffffaaf6000       Deferred        mscoree
PE          6ffffab10000-    6ffffac72000       Deferred        clrjit
PE          6ffffac90000-    6ffffb18e000       Deferred        coreclr
PE          6ffffb1a0000-    6ffffb204000       Deferred        hostpolicy
PE          6ffffb220000-    6ffffb27f000       Deferred        hostfxr
PE-Wine     6ffffb660000-    6ffffb675000       Deferred        winex11
PE-Wine     6ffffb690000-    6ffffb712000       Deferred        imm32
PE-Wine     6ffffb920000-    6ffffb985000       Deferred        mpr
PE-Wine     6ffffb9a0000-    6ffffb9cf000       Deferred        userenv
PE-Wine     6ffffb9e0000-    6ffffbd64000       Deferred        oleaut32
PE-Wine     6ffffbfc0000-    6ffffbfef000       Deferred        d3d10_1
PE-Wine     6ffffc000000-    6ffffc24a000       Deferred        wininet
PE-Wine     6ffffc260000-    6ffffc501000       Deferred        urlmon
PE-Wine     6ffffc520000-    6ffffc540000       Deferred        dcomp
PE-Wine     6ffffc550000-    6ffffc56c000       Deferred        coremessaging
PE-Wine     6ffffc580000-    6ffffc591000       Deferred        bcp47langs
PE-Wine     6ffffc5b0000-    6ffffc5c1000       Deferred        profapi
PE          6ffffc5e0000-    6ffffc6e0000       Deferred        microsoft.internal.frameworkudk
PE-Wine     6ffffc6f0000-    6ffffc753000       Deferred        bcrypt
PE-Wine     6ffffc770000-    6ffffc7c4000       Deferred        shcore
PE-Wine     6ffffc7e0000-    6ffffc8f9000       Deferred        shlwapi
PE-Wine     6ffffc910000-    6ffffd6ef000       Deferred        shell32
PE-Wine     6ffffd700000-    6ffffd759000       Deferred        coml2
PE-Wine     6ffffd770000-    6ffffda0a000       Deferred        rpcrt4
PE-Wine     6ffffda20000-    6ffffda65000       Deferred        win32u
PE-Wine     6ffffda80000-    6ffffe069000       Deferred        user32
PE-Wine     6ffffe080000-    6ffffe354000       Deferred        gdi32
PE-Wine     6ffffe370000-    6ffffe512000       Deferred        combase
PE-Wine     6ffffe530000-    6ffffe908000       Deferred        ole32
PE-Wine     6ffffe920000-    6ffffe9d3000       Deferred        ws2_32
PE-Wine     6ffffe9f0000-    6ffffee15000       Deferred        ucrtbase
PE-Wine     6ffffee30000-    6ffffeebd000       Deferred        sechost
PE-Wine     6ffffeed0000-    6fffff260000       Deferred        msvcrt
PE-Wine     6fffff270000-    6fffff3a9000       Deferred        advapi32
PE-Wine     6fffff3c0000-    6fffffa25000       Deferred        kernelbase
PE-Wine     6fffffa40000-    6fffffc07000       Deferred        kernel32
PE-Wine     6fffffc20000-    6ffffffe5000       Deferred        ntdll
ELF         7234a97be000-    7234a98f0000       Deferred        opengl32.so
ELF         7234a9f39000-    7234a9fbb000       Deferred        libgmp.so.10
ELF         7234a9fbb000-    7234aa003000       Deferred        libhogweed.so.6
ELF         7234aa003000-    7234aa049000       Deferred        libnettle.so.8
ELF         7234aa049000-    7234aa061000       Deferred        libtasn1.so.6
ELF         7234aa061000-    7234aa20b000       Deferred        libunistring.so.2
ELF         7234aa20b000-    7234aa22c000       Deferred        libidn2.so.0
ELF         7234aa22c000-    7234aa367000       Deferred        libp11-kit.so.0
ELF         7234aa367000-    7234aa552000       Deferred        libgnutls.so.30
ELF         7234aa97a000-    7234aa980000       Deferred        dwrite.so
ELF         7234aa993000-    7234aa99a000       Deferred        ws2_32.so
ELF         7234ab125000-    7234ab131000       Deferred        libxcursor.so.1
ELF         7234ab6c3000-    7234ab6cb000       Deferred        libxfixes.so.3
ELF         7234ab6cb000-    7234ab6df000       Deferred        libxi.so.6
ELF         7234ab6df000-    7234ab6ec000       Deferred        libxrandr.so.2
ELF         7234ab6ec000-    7234ab6f9000       Deferred        libxrender.so.1
ELF         7234ab6f9000-    7234ab711000       Deferred        libbsd.so.0
ELF         7234ab711000-    7234ab73b000       Deferred        libxcb.so.1
ELF         7234ab73b000-    7234ab87b000       Deferred        libx11.so.6
ELF         7234ab87b000-    7234ab890000       Deferred        libxext.so.6
ELF         7234ab890000-    7234ab912000       Deferred        winex11.so
ELF         7234ab912000-    7234ab932000       Deferred        libgcc_s.so.1
ELF         7234ab933000-    7234ab940000       Deferred        libffi.so.8
ELF         7234ab942000-    7234ab950000       Deferred        bcrypt.so
ELF         7234ab979000-    7234ab980000       Deferred        libxxf86vm.so.1
ELF         7234ab98b000-    7234ab990000       Deferred        libxcomposite.so.1
ELF         7234ab9a3000-    7234ab9b0000       Deferred        libmd.so.0
ELF         7234abb33000-    7234abb38000       Deferred        libxinerama.so.1
ELF         7234abb38000-    7234abb40000       Deferred        libxdmcp.so.6
ELF         7234cbc44000-    7234cbc4a000       Deferred        libxau.so.6
ELF         7234cbde7000-    7234cbe18000       Deferred        libexpat.so.1
ELF         7234cbe18000-    7234cbe62000       Deferred        libfontconfig.so.1
ELF         7234cbe62000-    7234cbe85000       Deferred        libbrotlicommon.so.1
ELF         7234cbe85000-    7234cbea1000       Deferred        libz.so.1
ELF         7234cbea1000-    7234cbf69000       Deferred        libfreetype.so.6
ELF         7234cbf69000-    7234cc050000       Deferred        libm.so.6
ELF         7234cc050000-    7234cc200000       Deferred        win32u.so
ELF         7234ccb76000-    7234ccb7f000       Deferred        libuuid.so.1
ELF         7234ccb7f000-    7234ccbba000       Deferred        libpng16.so.16
ELF         7234ccbba000-    7234ccbe5000       Deferred        liblzma.so.5
ELF         7234ccbe5000-    7234ccc00000       Deferred        libunwind.so.8
ELF         7234ccc00000-    7234cce29000       Deferred        libc.so.6
ELF         7234cce2f000-    7234cce3d000       Deferred        libbrotlidec.so.1
ELF         7234cce3d000-    7234ccefd000       Export          ntdll.so
ELF         7234ccf20000-    7234ccf5c000       Deferred        ld-linux-x86-64.so.2
ELF         7234ccf5c000-    7234ccf61000       Deferred        <wine-loader>
PE          7fffffd50000-    7fffffda2000       Deferred        ams2cm.gui
Threads:
process  tid      prio    name (all IDs are in hex)
00000020 start.exe
	00000024    0     
00000038 services.exe
	0000003c    0     
	00000040    0     wine_rpcrt4_server
	0000004c    0     wine_rpcrt4_io
	0000005c    0     wine_rpcrt4_io
	0000007c    0     wine_rpcrt4_io
	00000094    0     wine_rpcrt4_io
	000000b0    0     wine_rpcrt4_io
	000000d8    0     wine_rpcrt4_io
	000000e8    0     
	00000128    0     wine_rpcrt4_io
	00000134    0     wine_rpcrt4_io
00000044 winedevice.exe
	00000048    0     
	00000054    0     
	00000058    0     wine_sechost_service
	00000060    0     
	0000006c    0     
	00000070    0     
	000000a0    0     
	000000a4    0     
00000064 explorer.exe
	00000068    0     
	0000011c    0     
	00000120    0     wine_explorer_display_settings_restorer
	00000124    0     wine_rpcrt4_server
00000074 plugplay.exe
	00000078    0     
	00000080    0     
	00000084    0     wine_sechost_service
	00000088    0     wine_rpcrt4_server
	000000cc    0     wine_rpcrt4_io
0000008c svchost.exe
	00000090    0     
	00000098    0     
	0000009c    0     wine_sechost_service
000000a8 winedevice.exe
	000000ac    0     
	000000b4    0     
	000000b8    0     wine_sechost_service
	000000bc    0     
	000000c0    0     
	000000c4    0     
	000000c8    0     
	000000e0    0     
	000000ec    0     
	000000f0    0     
	000000f4    0     
000000f8 conhost.exe
	000000fc    0     
00000100 (D) Z:\home\anthony\Games\ams2cm\drive_c\Program Files\AMS2CM\AMS2CM.GUI.exe
	00000104    0     
	00000108    0     
	0000010c    0     
	00000110    2     .NET Finalizer
	00000114    0     .NET Tiered Compilation Worker
	00000150    0     wine_threadpool_worker
	00000154    0     wine_threadpool_worker
	00000160    0     wine_threadpool_worker
	00000164    0     wine_threadpool_worker
	00000178    0 <== 
0000012c rpcss.exe
	00000130    0     
	00000138    0     
	0000013c    0     wine_sechost_service
	00000140    0     wine_rpcrt4_server
	00000144    0     wine_rpcrt4_server
	00000148    0     wine_rpcrt4_io
00000170 conhost.exe
	00000174    0     
System information:
    Wine build: wine-10.0
    Platform: x86_64 (guest: i386)
    Version: Windows 10
    Host system: Linux
    Host version: 6.8.0-65-generic

This is the prompt I get if I choose to just drop to the Wine cli.

I like racing sims, so the ability to download all sorts of cars for free is a great thing--the Content Manager is the only thing that's a pain because of Linux. But once it's solved, I can forget about this difficulty, and the computer will work perfectly ( Cairo Dock doesn't work, but I have Latte in place of it).

1 Like

Can't help much there - you can install dotnet6 I guess, and hope for the best. There's a github issue related to Linux support, but it didn't seem to give me much hope for the GUI (the CLI might work): Linux support · Issue #96 · OpenSimTools/AMS2CM · GitHub

4 Likes

Hi. I just wanted to confirm that the CLI commands of the software @stephematician linked did indeed work–the address to the AMS2 Steam install that I had to edit the file config.yaml to point to was interpreted by wine as F:, in place of the Linux just simply labeling it as Seagate External. The error before this step was taken resulted in the terminal reporting that the game couldn't be found. Perfect computer again–everything working great without an install of Windows. :slight_smile:

2 Likes

Hi Anthony,

I have been using AMS2 CM via terminal on cachyos with no problems.

Here are the instructions I followed to be able to use CM on linux without any problems.

winetricks -q dotnetdesktop6

#Download AMSCM from:

wine AMS2CM.msi (Do not forget to install CLI that you have to select in the AMS2CM installer)

#Double check the path on the bellow file, this is the most important:
vim /home/slemke/.wine/drive_c/Program\ Files/AMS2CM/Config.yaml
Path: Z:\home\slemke.steam\steam\steamapps\common\Automobilista 2

Copy mods(do not unpack) to (Create directory if it does not exist):
/home/slemke/.steam/steam/steamapps/common/Automobilista 2/Mods/Enabled

Example:
slemke@simrig:~/.steam/steam/steamapps/common/Automobilista 2/Mods/Enabled> ls
[AMS1]F1 2016 for F-Extreme.rar [AMS2]F1_1990_Season 1.23.rar [AMS2]F1_2012_Season.rar
[AMS2]CART_1995_Season.rar [AMS2]F1_1991_Season 2.01.rar [AMS2]F301_Legends.rar
[AMS2]F1_1967_Season.rar [AMS2]F1_1992_Season 1.01.rar [AMS2]F309_Legends.rar
[AMS2]F1_1969_Season.rar [AMS2]F1_1993_Season 1.017.rar [AMS2]McLaren F1 GTR - Le Mans 97-98.rar
[AMS2]F1_1978_Season 1.34.rar [AMS2]F1_1995_Season 1.28.rar F1 1997 Helmet & Suits Pack 1.1.rar
[AMS2]F1_1986_Season 1.20.rar [AMS2]F1_1997_Season1.1b.7z F1_2024_Skinpack_V2.0.7z
[AMS2]F1_1988_Season 1.56.rar [AMS2]F1_2000_Season 2.06.rar sigma_p1.7z
slemke@simrig:~/.steam/steam/steamapps/common/Automobilista 2/Mods/Enabled>

Run:
wine /home/slemke/.wine/drive_c/Program\ Files/AMS2CM/AMS2CM.exe

I have not been able to succesfully run the GUI on linux but via terminal is just as easy.

Hope this helps someone

4 Likes

Hi, @TouchingCloth and welcome to the Ubuntu MATE Community!

@TouchingCloth That is very helpful for people–mentioning to create the /Mods/Enabled (I had to, so I figure others would also). The drive that Wine interprets where F:\SteamLibrary\steamapps\common\Automobilista 2 is, I had to enter F:, as that was what Wine decided to label my external Seagate for the edit of Config.yaml. Thanks again for the post.

1 Like