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?

You are viewing a single thread.
View all comments View context
1 point

https://github.com/tModLoader/tModLoader/releases/tag/v2023.06.25.29

Direct link for comparison.

Files show:

start.tmodloader.sh tmodloader.dll, which is loaded with dotnet

LaunchUtils, which the start.sh script enters and runs ScriptCaller.sh.

exec dotnet tmodloader.dll is part of that and works if I do it via normal terminal.

My issue is that running any of that does not work when running it as a Non Steam Game, Desktop or Game Mode, running standalone is fine, but I have no idea how to fix that to launch it in Steam.

permalink
report
parent
reply
1 point
*

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?

permalink
report
parent
reply
1 point

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,

permalink
report
parent
reply

Linux Crack Tips

!linuxcracksupport@lemmy.world

Create post

Welcome to Linux Crack Tips!

The place to share and discuss everything about the intersection of Linux, Gaming and Piracy.

This is the official replacement for r/LinuxCrackSupport, which was abandoned by the original mod team!

Community rules:

  • Be friendly, not offensive.
  • No copyright infringement or illegal content.
  • No NSFW content.
  • Modmail is not tech support.
  • No low-effort posts.
  • No off-topic posts.

Important links:

Related communities

Community stats

  • 62

    Monthly active users

  • 56

    Posts

  • 196

    Comments