I got Tmodloader working fine on my desktop without issues using the GOG Linux Native version, but trying the same on my Steam Deck has proven tricky, I try adding it as a non steam game via the .sh commands [start-tmodloader.sh], but nothing happens when I launch it, in either desktop or game mode, not much luck adding Lutris as a Non Steam Game either. Is there any commands I need to check for that?

  • MattyXarope@lemmy.worldM
    link
    fedilink
    English
    arrow-up
    1
    ·
    edit-2
    1 year ago

    What’s the code in “start.tmodloader.sh”? When you run it in the console does it give any errors?

    Have you tried:

    WINEDLLOVERRIDES="tmodloader=n,b" %command%

    as a launch command in Steam or as an environmental dll override in Lutris?

    • Arnal8120@lemmy.worldOP
      link
      fedilink
      English
      arrow-up
      1
      ·
      1 year ago

      For start.tmodloader:

      "#!/usr/bin/env bash cd “$(dirname “$0”)”

      chmod a+x ./LaunchUtils/ScriptCaller.sh

      forward our parent process id to the child in case ScriptCaller needs to kill the parent to break free of steam’s process lifetime tracker (reaper)

      PPID=$PPID ./LaunchUtils/ScriptCaller.sh “$@” &

      ScriptCaller.sh itself is way longer, but pointing it to that on Steam is the same result.

      It works fine when I launch standalone, no errors in the terminal or anything, but trying to launch it as a non steam game within Steam just does nothing. This is also for the native Linux version of Terraria, so not WINE,