zhliau / fika-headless-docker

Docker image to run SPT + Fika client headless, to provide a packaged dedicated client for raid hosting
Other
20 stars 7 forks source link

SPTCustomPlugin FAILED at Launch #12

Closed UnInfamous closed 1 month ago

UnInfamous commented 1 month ago

Was going to post this question to the FIKA Discord, but given that I'm using this Docker stack, and the FIKA docs under Dedicated Client says the following, I thought I would raise it here first:

Make sure that you have a working server and client installed (working means that you have ran it at least once)

Testing out functionality with Docker Compose on desktop/cli before moving it to my server. Everything was done from a fresh image/container build and wiping the server volume each time. Ensured I followed steps 2, 3, and 4 from this repo's readme.

Error populates during launching the game. Couldn't find anything of value in the logs.

Here's my compose file:

services:
  fika:
    image: ghcr.io/zhliau/fika-spt-server-docker:latest
    volumes:
      - .\Volumes\SPT\Server:/opt/server
    ports:
      - 6969:6969
    environment:
      - LISTEN_ALL_NETWORKS=true
  fika_dedicated:
    image: ghcr.io/zhliau/fika-headless-docker:latest
    volumes: 
      - .\Volumes\SPT\Game:/opt/tarkov
    environment:
      # Use service DNS name instead of IP
      - SERVER_URL=fika
      - SERVER_PORT=6969

Error message: Tarkov Dedicated Client - Docker

Expand to see logs: ```docker ┌─────────────────────────────────────────┐ 2024-10-14 16:14:28 docker-fika-1 | │ SPT 3.9.8 │ 2024-10-14 16:14:28 docker-fika-1 | │ https://discord.sp-tarkov.com │ 2024-10-14 16:14:28 docker-fika-1 | │ │ 2024-10-14 16:14:28 docker-fika-1 | │ This work is free of charge │ 2024-10-14 16:14:28 docker-fika-1 | │ If you paid money, you were scammed │ 2024-10-14 16:14:28 docker-fika-1 | │ Commercial use is prohibited │ 2024-10-14 16:14:28 docker-fika-1 | └─────────────────────────────────────────┘ 2024-10-14 16:14:28 docker-fika-1 | ModLoader: loading: 0 server mods... 2024-10-14 16:14:28 docker-fika-1 | Server: executing startup callbacks... 2024-10-14 16:14:28 docker-fika-1 | Importing database... 2024-10-14 16:14:30 docker-fika_dedicated-1 | Fallback handler could not load library Z:/opt/tarkov/EscapeFromTarkov_Data/Mono/data-000000007E840040.dll 2024-10-14 16:14:30 docker-fika_dedicated-1 | Fallback handler could not load library Z:/opt/tarkov/EscapeFromTarkov_Data/Mono/data-00000000667EEBB0.dll 2024-10-14 16:14:30 docker-fika_dedicated-1 | Initialize engine version: 2019.4.39f1 (78d14dfa024b) 2024-10-14 16:14:30 docker-fika_dedicated-1 | [Subsystems] Discovering subsystems at path Z:/opt/tarkov/EscapeFromTarkov_Data/UnitySubsystems 2024-10-14 16:14:30 docker-fika_dedicated-1 | Forcing GfxDevice: Null 2024-10-14 16:14:30 docker-fika_dedicated-1 | GfxDevice: creating device client; threaded=0 2024-10-14 16:14:30 docker-fika_dedicated-1 | NullGfxDevice: 2024-10-14 16:14:30 docker-fika_dedicated-1 | Version: NULL 1.0 [1.0] 2024-10-14 16:14:30 docker-fika_dedicated-1 | Renderer: Null Device 2024-10-14 16:14:30 docker-fika_dedicated-1 | Vendor: Unity Technologies 2024-10-14 16:14:30 docker-fika_dedicated-1 | ALSA lib confmisc.c:855:(parse_card) cannot find card '0' 2024-10-14 16:14:30 docker-fika_dedicated-1 | ALSA lib conf.c:5180:(_snd_config_evaluate) function snd_func_card_inum returned error: No such file or directory 2024-10-14 16:14:30 docker-fika_dedicated-1 | ALSA lib confmisc.c:422:(snd_func_concat) error evaluating strings 2024-10-14 16:14:30 docker-fika_dedicated-1 | ALSA lib conf.c:5180:(_snd_config_evaluate) function snd_func_concat returned error: No such file or directory 2024-10-14 16:14:30 docker-fika_dedicated-1 | ALSA lib confmisc.c:1334:(snd_func_refer) error evaluating name 2024-10-14 16:14:30 docker-fika_dedicated-1 | ALSA lib conf.c:5180:(_snd_config_evaluate) function snd_func_refer returned error: No such file or directory 2024-10-14 16:14:30 docker-fika_dedicated-1 | ALSA lib conf.c:5703:(snd_config_expand) Evaluate error: No such file or directory 2024-10-14 16:14:30 docker-fika_dedicated-1 | ALSA lib pcm.c:2666:(snd_pcm_open_noupdate) Unknown PCM default 2024-10-14 16:14:30 docker-fika_dedicated-1 | ALSA lib confmisc.c:855:(parse_card) cannot find card '0' 2024-10-14 16:14:30 docker-fika_dedicated-1 | ALSA lib conf.c:5180:(_snd_config_evaluate) function snd_func_card_inum returned error: No such file or directory 2024-10-14 16:14:30 docker-fika_dedicated-1 | ALSA lib confmisc.c:422:(snd_func_concat) error evaluating strings 2024-10-14 16:14:30 docker-fika_dedicated-1 | ALSA lib conf.c:5180:(_snd_config_evaluate) function snd_func_concat returned error: No such file or directory 2024-10-14 16:14:30 docker-fika_dedicated-1 | ALSA lib confmisc.c:1334:(snd_func_refer) error evaluating name 2024-10-14 16:14:30 docker-fika_dedicated-1 | ALSA lib conf.c:5180:(_snd_config_evaluate) function snd_func_refer returned error: No such file or directory 2024-10-14 16:14:30 docker-fika_dedicated-1 | ALSA lib conf.c:5703:(snd_config_expand) Evaluate error: No such file or directory 2024-10-14 16:14:30 docker-fika_dedicated-1 | ALSA lib pcm.c:2666:(snd_pcm_open_noupdate) Unknown PCM default 2024-10-14 16:14:30 docker-fika_dedicated-1 | FMOD initialized on nosound output 2024-10-14 16:14:30 docker-fika_dedicated-1 | Begin MonoManager ReloadAssembly 2024-10-14 16:14:31 docker-fika-1 | Database import finished 2024-10-14 16:14:31 docker-fika_dedicated-1 | - Completed reload, in 0.844 seconds 2024-10-14 16:14:32 docker-fika_dedicated-1 | WARNING: Shader Unsupported: 'Hidden/Nature/Terrain/Utilities' - All passes removed 2024-10-14 16:14:32 docker-fika_dedicated-1 | WARNING: Shader Did you use #pragma only_renderers and omit this platform? 2024-10-14 16:14:32 docker-fika_dedicated-1 | Shader 'Effects/Explosions/DistortionFresnel': fallback shader 'Effects/Distortion/Free/CullOff' not found 2024-10-14 16:14:32 docker-fika_dedicated-1 | WARNING: Shader Unsupported: 'Decal/Ultra Deferred Decal Of God 3000' - All passes removed 2024-10-14 16:14:32 docker-fika_dedicated-1 | WARNING: Shader Did you use #pragma only_renderers and omit this platform? 2024-10-14 16:14:32 docker-fika_dedicated-1 | ERROR: Shader Decal/Ultra Deferred Decal Of God 3000 shader is not supported on this GPU (none of subshaders/fallbacks are suitable) 2024-10-14 16:14:32 docker-fika_dedicated-1 | Shader 'TextMeshPro/Distance Field': fallback shader 'TextMeshPro/Mobile/Distance Field' not found 2024-10-14 16:14:32 docker-fika_dedicated-1 | WARNING: Shader Unsupported: 'Custom/Vert Paint SoftCutout Decal' - All passes removed 2024-10-14 16:14:32 docker-fika_dedicated-1 | WARNING: Shader Did you use #pragma only_renderers and omit this platform? 2024-10-14 16:14:32 docker-fika_dedicated-1 | ERROR: Shader Custom/Vert Paint SoftCutout Decal shader is not supported on this GPU (none of subshaders/fallbacks are suitable) 2024-10-14 16:14:32 docker-fika_dedicated-1 | Shader 'p0/Reflective/Bumped Specular Mask': fallback shader 'p0/Reflective/Bumped Specular Mask 2' not found 2024-10-14 16:14:32 docker-fika_dedicated-1 | WARNING: Shader Unsupported: 'Custom/Vert Paint SoftCutout Decal OLD FPS EATER' - All passes removed 2024-10-14 16:14:32 docker-fika_dedicated-1 | WARNING: Shader Did you use #pragma only_renderers and omit this platform? 2024-10-14 16:14:32 docker-fika_dedicated-1 | WARNING: Shader Unsupported: 'Decal/Water Deferred Decal' - All passes removed 2024-10-14 16:14:32 docker-fika_dedicated-1 | WARNING: Shader Did you use #pragma only_renderers and omit this platform? 2024-10-14 16:14:32 docker-fika_dedicated-1 | ERROR: Shader Decal/Water Deferred Decal shader is not supported on this GPU (none of subshaders/fallbacks are suitable) 2024-10-14 16:14:32 docker-fika_dedicated-1 | Microsoft Media Foundation video decoding to texture disabled: graphics device is Null, only Direct3D 11 and Direct3D 12 (only on desktop) are supported for hardware-accelerated video decoding. 2024-10-14 16:14:32 docker-fika_dedicated-1 | UnloadTime: 5.507300 ms 2024-10-14 16:14:33 docker-fika_dedicated-1 | Setting spatial voice limit: 128 2024-10-14 16:14:33 docker-fika_dedicated-1 | (Filename: C:\buildslave\unity\build\Runtime/Export/Debug/Debug.bindings.h Line: 39) 2024-10-14 16:14:33 docker-fika_dedicated-1 | 2024-10-14 16:14:33 docker-fika_dedicated-1 | [Message: BepInEx] BepInEx 5.4.22.0 - EscapeFromTarkov (10/9/2024 6:19:34 PM) 2024-10-14 16:14:33 docker-fika_dedicated-1 | [Info : BepInEx] Running under Unity v0.14.9.3062 2024-10-14 16:14:33 docker-fika_dedicated-1 | [Info : BepInEx] CLR runtime version: 4.0.30319.42000 2024-10-14 16:14:33 docker-fika_dedicated-1 | [Info : BepInEx] Supports SRE: True 2024-10-14 16:14:33 docker-fika_dedicated-1 | [Info : BepInEx] System platform: Bits64, Windows 2024-10-14 16:14:33 docker-fika_dedicated-1 | [Message: BepInEx] Preloader started 2024-10-14 16:14:33 docker-fika_dedicated-1 | [Info : BepInEx] Loaded 1 patcher method from [BepInEx.Preloader 5.4.22.0] 2024-10-14 16:14:33 docker-fika_dedicated-1 | [Info : BepInEx] Loaded 1 patcher method from [spt-prepatch 3.9.8.0] 2024-10-14 16:14:33 docker-fika_dedicated-1 | [Info : BepInEx] 2 patcher plugins loaded 2024-10-14 16:14:33 docker-fika_dedicated-1 | [Info : BepInEx] Patching [UnityEngine.CoreModule] with [BepInEx.Chainloader] 2024-10-14 16:14:33 docker-fika_dedicated-1 | [Info : BepInEx] Patching [Assembly-CSharp] with [SPT.PrePatch.SPTPrePatcher] 2024-10-14 16:14:33 docker-fika_dedicated-1 | [Message: BepInEx] Preloader finished 2024-10-14 16:14:34 docker-fika_dedicated-1 | Fallback handler could not load library Z:/opt/tarkov/EscapeFromTarkov_Data/Mono/data-0000000169E0EFD0.dll 2024-10-14 16:14:34 docker-fika-1 | Started webserver at http://0.0.0.0:6969 2024-10-14 16:14:34 docker-fika-1 | Started websocket at ws://0.0.0.0:6969 2024-10-14 16:14:34 docker-fika-1 | Server is running, do not close while playing SPT, Happy playing!! 2024-10-14 16:23:42 docker-fika-1 | [Client Request] 10.10.166.1 \launcher\profile\login 2024-10-14 16:23:42 docker-fika-1 | [Client Request] 10.10.166.1 \launcher\profile\get 2024-10-14 16:23:42 docker-fika-1 | [Client Request] 10.10.166.1 \launcher\profile\info 2024-10-14 16:23:42 docker-fika-1 | [Client Request] 10.10.166.1 \launcher\server\version 2024-10-14 16:23:42 docker-fika-1 | [Client Request] 10.10.166.1 \launcher\server\version 2024-10-14 16:23:48 docker-fika-1 | [Client Request] 10.10.166.1 \launcher\profile\info 2024-10-14 16:23:48 docker-fika-1 | [Client Request] 10.10.166.1 \launcher\server\version ```

If I stop the stack and only start up the FIKA server container, I get the same error message upon launching the game.

UnInfamous commented 1 month ago

Solved the issue as the INSTALL_FIKA environment was defaulted to false. Setting to true resolved.