Aterfax / DCS-World-Dedicated-Server-Docker

Modular DCS World Dedicated Server docker.
GNU General Public License v3.0
43 stars 8 forks source link

Implement support for DCS SimpleRadio Standalone (DCS-SRS) #74

Open Aterfax opened 6 months ago

Aterfax commented 6 months ago

See also:

Also wrt existing override implementation: https://github.com/Aterfax/DCS-World-Dedicated-Server-Docker/blob/5c2b0fa0b61d76487fe4c52cdf9efd2cc60bd79d/docker/src/s6-services/s6-init-winepreqs-oneshot/run#L28-L31

Aterfax commented 6 months ago

A new image aterfax/dcs-world-dedicated-server:dotnet462 is available for those who would like to test DCS SRS early. It should in theory work given http://dcssimpleradio.com/gettingstarted/

SkippTekk commented 3 months ago

Sorry, how would one install it? Not entirely sure but it's working so far! DCS running in docker that is :)

officialyinsane commented 1 month ago

Incidental notes - not a solution for anyone reading and wanting a quick fix.

From the dotnet462 image:

Unfortunately this crashes before rendering. Dump below.

I haven't yet tried dotnet48 or the DLL overrides. Though I have started from latest and used winetricks dotnet48 along with the suggested DLL override - DCS crashed on opening.

In it's current state on my machine, DCS runs perfectly fine, SRS does not.

As time allows, I'll come back to testing this/seeing if I can get it working and share the fix back.


Dump (very likely because I've not applied the known winetricks steps):

Unhandled exception: 0xe0434352 in 64-bit code (0x006fffffc63d47).
Register dump:
 rip:00006fffffc63d47 rsp:00007ffffe1f97d0 rbp:00007ffffe1fe410 eflags:00000202 (   - --  I   - - - )
 rax:00007ffffe1f9830 rbx:0000000000000001 rcx:00007ffffe1f97f0 rdx:0000000000000000
 rsi:00007ffffe1f9938 rdi:0000000000000005  r8:00006ffffd7c0000  r9:00007ffffe1f9958 r10:0000000000000006
 r11:00007ffffe1f9938 r12:0000000000004000 r13:00007df027ccf4a0 r14:00000000e0434352 r15:00007ffffe8614d8
Stack dump:
0x007ffffe1f97d0:  00007ffffe1f97f0 00007df027cd2348
0x007ffffe1f97e0:  fffffffffffffffe 00007df027cd2200
0x007ffffe1f97f0:  00000001e0434352 0000000000000000
0x007ffffe1f9800:  00006fffffc63d47 00006fff00000005
0x007ffffe1f9810:  ffffffff80131604 0000000000000000
0x007ffffe1f9820:  0000000000000000 0000000000000000
0x007ffffe1f9830:  00006ffffd7c0000 00007df027cd2248
0x007ffffe1f9840:  00007df027cd2348 00007ffffe1f9908
0x007ffffe1f9850:  00007ffffe1f98d0 00006fff9e32047d
0x007ffffe1f9860:  00007df027b3d490 00006ffffd960459
0x007ffffe1f9870:  0000000000000000 00007ffffe863340
0x007ffffe1f9880:  00007ffffe1f9a08 0000000000000001
Backtrace:
=>0 0x006fffffc63d47 in kernelbase (+0x13d47) (0x007ffffe1fe410)
  1 0x006ffffd96043a in clr (+0x1a043a) (0x007ffffe1fe410)
  2 0x006ffffd9668d6 in clr (+0x1a68d6) (0x007ffffe1fe410)
  3 0x00064430afcc20 in windowsbase.ni (+0x13cc20) (0x007ffffe1fe410)
  4 0x006ffffd9621ad in clr (+0x1a21ad) (0x007ffffe1f9b80)
  5 0x006ffffd962074 in clr (+0x1a2074) (0x007ffffe1f9d39)
  6 0x006ffffd961f88 in clr (+0x1a1f88) (0x007ffffe1f9d39)
0x006fffffc63d47 kernelbase+0x13d47: add $0xc8, %rsp
Modules:
Module  Address                                 Debug info      Name (105 modules, 9 for wow64 not listed)
PE                400000-          a5a000       Deferred        sr-server
PE             180000000-       180d6f000       Deferred        presentationcore.ni
PE           6442cc20000-     6442e284000       Deferred        presentationframework.ni
PE           644301a0000-     644303e9000       Deferred        system.xaml.ni
PE           644309c0000-     64430eae000       Export          windowsbase.ni
PE           644406e0000-     64440802000       Deferred        system.configuration.ni
PE           64443400000-     64443d82000       Deferred        system.core.ni
PE           64443e00000-     64443e9f000       Deferred        system.net.http.ni
PE           644442c0000-     64444b66000       Deferred        system.xml.ni
PE           64474a80000-     644756c4000       Deferred        system.ni
PE           64478000000-     644794cc000       Deferred        mscorlib.ni
PE          6ffffcb60000-    6ffffcc98000       Deferred        diasymreader
PE-Wine     6ffffcca0000-    6ffffccc2000       Deferred        propsys
PE-Wine     6ffffccd0000-    6ffffce52000       Deferred        windowscodecs
PE-Wine     6ffffce60000-    6ffffce6d000       Deferred        dhcpcsvc
PE-Wine     6ffffce70000-    6ffffce89000       Deferred        jsproxy
PE-Wine     6ffffce90000-    6ffffcecc000       Deferred        winhttp
PE-Wine     6ffffced0000-    6ffffcedf000       Deferred        rasapi32
PE-Wine     6ffffcee0000-    6ffffcef2000       Deferred        imagehlp
PE          6ffffcf00000-    6ffffcf22000       Deferred        mscorsecimpl
PE-Wine     6ffffcf30000-    6ffffcfaf000       Deferred        wininet
PE-Wine     6ffffcfb0000-    6ffffd03f000       Deferred        urlmon
PE-Wine     6ffffd040000-    6ffffd177000       Deferred        comctl32
PE-Wine     6ffffd180000-    6ffffd1a7000       Deferred        wintrust
PE-Wine     6ffffd1b0000-    6ffffd1cf000       Deferred        mpr
PE          6ffffd1d0000-    6ffffd2df000       Deferred        presentationnative_v0400
PE          6ffffd2e0000-    6ffffd50c000       Deferred        wpfgfx_v0400
PE-Wine     6ffffd510000-    6ffffd584000       Deferred        dwrite
PE-Wine     6ffffd590000-    6ffffd661000       Deferred        crypt32
PE-Wine     6ffffd670000-    6ffffd6a2000       Deferred        rsaenh
PE          6ffffd6b0000-    6ffffd7be000       Deferred        clrjit
PE          6ffffd7c0000-    6ffffe1a6000       Export          clr
PE          6ffffe1c0000-    6ffffe25d000       Deferred        mscoreei
PE-Wine     6ffffe260000-    6ffffe2d3000       Deferred        dbghelp
PE-Wine     6ffffe370000-    6ffffe37e000       Deferred        nsi
PE-Wine     6ffffe380000-    6ffffe396000       Deferred        dnsapi
PE-Wine     6ffffe3a0000-    6ffffe3c6000       Deferred        iphlpapi
PE-Wine     6ffffe660000-    6ffffe696000       Deferred        uxtheme
PE-Wine     6ffffe700000-    6ffffe767000       Deferred        winex11
PE-Wine     6ffffe8c0000-    6ffffe8de000       Deferred        imm32
PE-Wine     6ffffe8e0000-    6ffffe8ee000       Deferred        version
PE-Wine     6ffffe8f0000-    6ffffe908000       Deferred        bcrypt
PE-Wine     6ffffe910000-    6ffffea31000       Deferred        oleaut32
PE          6ffffea60000-    6ffffeacf000       Deferred        mscoree
PE          6ffffead0000-    6ffffebc7000       Deferred        msvcr120_clr0400
PE-Wine     6ffffebe0000-    6ffffebf6000       Deferred        shcore
PE-Wine     6ffffec00000-    6ffffec4a000       Deferred        shlwapi
PE-Wine     6ffffecc0000-    6fffff5d1000       Deferred        shell32
PE-Wine     6fffff5e0000-    6fffff65f000       Deferred        rpcrt4
PE-Wine     6fffff660000-    6fffff695000       Deferred        win32u
PE-Wine     6fffff6a0000-    6fffff846000       Deferred        user32
PE-Wine     6fffff850000-    6fffff8d0000       Deferred        gdi32
PE-Wine     6fffff8d0000-    6fffff91a000       Deferred        combase
PE-Wine     6fffff920000-    6fffffa2b000       Deferred        ole32
PE-Wine     6fffffa30000-    6fffffa57000       Deferred        ws2_32
PE-Wine     6fffffa60000-    6fffffb2a000       Deferred        ucrtbase
PE-Wine     6fffffb30000-    6fffffb5a000       Deferred        sechost
PE-Wine     6fffffb60000-    6fffffbfa000       Deferred        msvcrt
PE-Wine     6fffffc00000-    6fffffc41000       Deferred        advapi32
PE-Wine     6fffffc50000-    6fffffedd000       Export          kernelbase
PE-Wine     6fffffee0000-    6ffffff42000       Deferred        kernel32
PE-Wine     6ffffff50000-    6fffffff5000       Deferred        ntdll
ELF         7df026f6a000-    7df026f70000       Deferred        ws2_32.so
ELF         7df026feb000-    7df026ff0000       Deferred        dnsapi.so
ELF         7df027001000-    7df027007000       Deferred        crypt32.so
ELF         7df027029000-    7df027033000       Deferred        libffi.so.8
ELF         7df027033000-    7df02709d000       Deferred        libgmp.so.10
ELF         7df02709d000-    7df0270e3000       Deferred        libhogweed.so.6
ELF         7df0270e3000-    7df02712f000       Deferred        libnettle.so.8
ELF         7df02712f000-    7df027141000       Deferred        libtasn1.so.6
ELF         7df027141000-    7df0272df000       Deferred        libunistring.so.5
ELF         7df0272df000-    7df027310000       Deferred        libidn2.so.0
ELF         7df027310000-    7df02743f000       Deferred        libp11-kit.so.0
ELF         7df02743f000-    7df027614000       Deferred        libgnutls.so.30
ELF         7df027614000-    7df02761f000       Deferred        bcrypt.so
ELF         7df027621000-    7df027627000       Deferred        dwrite.so
ELF         7df027676000-    7df02767e000       Deferred        libxfixes.so.3
ELF         7df02767e000-    7df027689000       Deferred        libxcursor.so.1
ELF         7df02769b000-    7df0276ac000       Deferred        libxi.so.6
ELF         7df0276ac000-    7df0276b1000       Deferred        libxcomposite.so.1
ELF         7df0276b1000-    7df0276bd000       Deferred        libxrandr.so.2
ELF         7df0276bd000-    7df0276c9000       Deferred        libxrender.so.1
ELF         7df0276c9000-    7df0276d0000       Deferred        libxxf86vm.so.1
ELF         7df0276d0000-    7df0276d5000       Deferred        libxinerama.so.1
ELF         7df0276e4000-    7df027800000       Deferred        libx11.so.6
ELF         7df03fa02000-    7df03fa10000       Deferred        libmd.so.0
ELF         7df03fa10000-    7df03fa23000       Deferred        libbsd.so.0
ELF         7df03fa23000-    7df03fa2b000       Deferred        libxdmcp.so.6
ELF         7df03fa2b000-    7df03fa30000       Deferred        libxau.so.6
ELF         7df03fa30000-    7df03fa57000       Deferred        libxcb.so.1
ELF         7df03fa57000-    7df03fa68000       Deferred        libxext.so.6
ELF         7df03fa68000-    7df03fae7000       Deferred        winex11.so
ELF         7df03fc8a000-    7df03fcab000       Deferred        libexpat.so.1
ELF         7df03fcab000-    7df03fce9000       Deferred        libfontconfig.so.1
ELF         7df03fcea000-    7df03fd0d000       Deferred        libbrotlicommon.so.1
ELF         7df03fd0d000-    7df03fd1c000       Deferred        libbrotlidec.so.1
ELF         7df03fd1c000-    7df03fd4b000       Deferred        libpng16.so.16
ELF         7df03fd4b000-    7df03fd5e000       Deferred        libbz2.so.1
ELF         7df03fd5e000-    7df03fd78000       Deferred        libz.so.1
ELF         7df03fd78000-    7df03fe1c000       Deferred        libfreetype.so.6
ELF         7df03fe1c000-    7df03ffa6000       Deferred        win32u.so
ELF         7df0403b1000-    7df0403d5000       Deferred        libgcc_s.so.1
ELF         7df0403d5000-    7df040486000       Export          ntdll.so
ELF         7df040486000-    7df040529000       Deferred        ld-musl-x86_64.so.1
ELF         7df040529000-    7df04052e000       Deferred        <wine-loader>
Threads:
process  tid      prio    name (all IDs are in hex)
00000038 services.exe
    0000003c    0     
    00000040    0     wine_rpcrt4_server
    00000054    0     wine_rpcrt4_io
    0000006c    0     wine_rpcrt4_io
    00000090    0     wine_rpcrt4_io
    000000c4    0     wine_rpcrt4_io
    000000e0    0     
    000000ec    0     wine_rpcrt4_io
    00000234    0     wine_rpcrt4_io
00000044 explorer.exe
    00000048    0     
    0000008c    0     
    000000a8    0     wine_rpcrt4_server
0000004c svchost.exe
    00000050    0     
    0000005c    0     
    00000060    0     wine_sechost_service
00000064 winedevice.exe
    00000068    0     
    00000070    0     
    00000074    0     wine_sechost_service
    00000078    0     
    0000007c    0     
    000000d4    0     
    000000d8    0     
00000084 winedevice.exe
    00000088    0     
    00000094    0     
    00000098    0     wine_sechost_service
    0000009c    0     
    000000a4    0     
    000000bc    0     
    000000c0    0     
000000b4 plugplay.exe
    000000b8    0     
    000000c8    0     
    000000cc    0     wine_sechost_service
    000000d0    0     wine_rpcrt4_server
000000e4 rpcss.exe
    000000e8    0     
    000000f0    0     
    000000f4    0     wine_sechost_service
    000000f8    0     wine_rpcrt4_server
    000000fc    0     wine_rpcrt4_server
    00000100    0     wine_rpcrt4_io
000001b8 winedbg.exe
    000001bc    0     
0000022c mscorsvw.exe
    00000230    0     
    00000238    0     
    0000023c    0     wine_sechost_service
    00000240    0     
000002b0 (D) Z:\config\Downloads\DCS-SimpleRadioStandalone-2.1.0.10\SR-Server.exe
    000002b4    0 <== 
    000002c0    0     
    000002c4    2     
    000002c8    0     
    000002cc    0     
    000002d0    0     
    000002d4    0     
    000002d8    0     
    000002dc    0     
    000002e4    0     
    000002e8    0     
    000002ec    0     
    000002f0    0     
    000002fc    0     
000002b8 conhost.exe
    000002bc    0     
System information:
    Wine build: wine-8.21
    Platform: x86_64 (guest: i386)
    Version: Windows 10
    Host system: Linux
    Host version: 6.8.0-47-generic