Steam launch options equivalent for Heroic

hello. I m trying to launch a game with heroic, it's a non steam game. it works ok while launching it from steam with this launcher options:
eval $(%command% LauncherTetherPort=$(netstat -ulpn | grep wineserv | awk '{split($4, a , ":"); print a[2]}' ) -NOSPLASH)


So, i'm trying to launch it now using heroic but i can't seem to make it work. i have created a .sh file where I'm doing the following:
#!/bin/bash
echo "[Heroic Pre-Launch] Finding LauncherTetherPort..."
LauncherTetherPort=$(netstat -ulpn | grep wineserv | awk '{split($4, a , ":"); print a[2]}')
echo "[Heroic Pre-Launch] Detected port: $LauncherTetherPort"

# Save to file for debugging if you want
echo $LauncherTetherPort > /tmp/LauncherTetherPort

# Export it so Heroic can pass it along
echo "LAUNCHER_TETHER_PORT=$LauncherTetherPort" > /tmp/heroic_env_vars


Then add this script to heroic under GAME > ADVANCED > SCRIPTS > Script to run before game is launched but I think the connection is not established. I've looked in the logs and I think that script is not being executed
Solution
Your Steam log seems to end right as it got interesting (add
WINEDEBUG=+timestamp
to make it less verbose), but it seems
-USEEOS=0
is also added as a parameter there
Was this page helpful?