I cannot get the game to even launch in the beginning with the this error showing up
(11:18:16) [INFO]: Winetricks packages: vcrun2022(11:18:16) [INFO]: EOS Overlay: Enabled(11:18:19) [INFO]: Launching Arknights: Endfield: HEROIC_APP_NAME=bcd55b0d87c245dd867f5b1bd496f1df HEROIC_APP_RUNNER=legendary GAMEID=umu-0 HEROIC_APP_SOURCE=epic STORE=egs STEAM_COMPAT_INSTALL_PATH=/home/user/Games/Heroic/ArknightsEndfieldgowoU LD_PRELOAD= LEGENDARY_WRAPPER_EXE=C:\windows\command\EpicGamesLauncher.exe STEAM_COMPAT_CLIENT_INSTALL_PATH=/home/user/.steam/steam WINEPREFIX="/home/user/Games/Heroic/Prefixes/default/Arknights Endfield" STEAM_COMPAT_DATA_PATH="/home/user/Games/Heroic/Prefixes/default/Arknights Endfield" PROTONPATH=/home/user/.config/heroic/tools/proton/dwproton-10.0-15 WINE_FULLSCREEN_FSR=0 PROTON_ENABLE_NVAPI=1 DXVK_NVAPI_ALLOW_OTHER_DRIVERS=1 PROTON_EAC_RUNTIME=/home/user/.config/heroic/tools/runtimes/eac_runtime PROTON_BATTLEYE_RUNTIME=/home/user/.config/heroic/tools/runtimes/battleye_runtime STEAM_COMPAT_APP_ID=0 SteamAppId=0 SteamGameId=heroic-ArknightsEndfieldgowoU PROTON_LOG_DIR=/home/user WINEDEBUG=+fixme DXVK_LOG_LEVEL=info VKD3D_DEBUG=fixme LEGENDARY_CONFIG_PATH=/home/user/.config/heroic/legendaryConfig/legendary /tmp/.mount_heroicDQNYsp/resources/app.asar.unpacked/build/bin/x64/linux/legendary launch bcd55b0d87c245dd867f5b1bd496f1df --no-wine --wrapper "/home/user/.config/heroic/tools/runtimes/umu/umu_run.py" --language en (11:18:19) [INFO]: Game Output:[cli] INFO: Logging in...[Core] INFO: Trying to re-use existing login session...[cli] INFO: Checking for updates...[Core] INFO: Getting authentication token...[cli] INFO: Launching bcd55b0d87c245dd867f5b1bd496f1df...Could not find platform independent libraries <prefix>Could not find platform dependent libraries <exec_prefix>Fatal Python error: Failed to import encodings modulePython runtime state: core initializedModuleNotFoundError: No module named 'encodings'Current thread 0x00007f516ba02bc0 [python3] (most recent call first): <no Python frame>============= End of log =============
(11:18:16) [INFO]: Winetricks packages: vcrun2022(11:18:16) [INFO]: EOS Overlay: Enabled(11:18:19) [INFO]: Launching Arknights: Endfield: HEROIC_APP_NAME=bcd55b0d87c245dd867f5b1bd496f1df HEROIC_APP_RUNNER=legendary GAMEID=umu-0 HEROIC_APP_SOURCE=epic STORE=egs STEAM_COMPAT_INSTALL_PATH=/home/user/Games/Heroic/ArknightsEndfieldgowoU LD_PRELOAD= LEGENDARY_WRAPPER_EXE=C:\windows\command\EpicGamesLauncher.exe STEAM_COMPAT_CLIENT_INSTALL_PATH=/home/user/.steam/steam WINEPREFIX="/home/user/Games/Heroic/Prefixes/default/Arknights Endfield" STEAM_COMPAT_DATA_PATH="/home/user/Games/Heroic/Prefixes/default/Arknights Endfield" PROTONPATH=/home/user/.config/heroic/tools/proton/dwproton-10.0-15 WINE_FULLSCREEN_FSR=0 PROTON_ENABLE_NVAPI=1 DXVK_NVAPI_ALLOW_OTHER_DRIVERS=1 PROTON_EAC_RUNTIME=/home/user/.config/heroic/tools/runtimes/eac_runtime PROTON_BATTLEYE_RUNTIME=/home/user/.config/heroic/tools/runtimes/battleye_runtime STEAM_COMPAT_APP_ID=0 SteamAppId=0 SteamGameId=heroic-ArknightsEndfieldgowoU PROTON_LOG_DIR=/home/user WINEDEBUG=+fixme DXVK_LOG_LEVEL=info VKD3D_DEBUG=fixme LEGENDARY_CONFIG_PATH=/home/user/.config/heroic/legendaryConfig/legendary /tmp/.mount_heroicDQNYsp/resources/app.asar.unpacked/build/bin/x64/linux/legendary launch bcd55b0d87c245dd867f5b1bd496f1df --no-wine --wrapper "/home/user/.config/heroic/tools/runtimes/umu/umu_run.py" --language en (11:18:19) [INFO]: Game Output:[cli] INFO: Logging in...[Core] INFO: Trying to re-use existing login session...[cli] INFO: Checking for updates...[Core] INFO: Getting authentication token...[cli] INFO: Launching bcd55b0d87c245dd867f5b1bd496f1df...Could not find platform independent libraries <prefix>Could not find platform dependent libraries <exec_prefix>Fatal Python error: Failed to import encodings modulePython runtime state: core initializedModuleNotFoundError: No module named 'encodings'Current thread 0x00007f516ba02bc0 [python3] (most recent call first): <no Python frame>============= End of log =============
Solution
Right, figured. We need to change how we distribute our Python helper applications, seems PyInstaller is no longer reliable. I don't have time to look into that right now though For now, could you use the Flatpak version of Heroic instead?