You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
- Start comet (right now you need latest build from git)
16
+
-`HEROIC_APP_NAME` environment variable allows comet to load metadata for given app and give context to overlay itself. (this is required for welcome popup and in-game invites)
- galaxy.exe - main executable of galaxy-helper. It should be located together with its `libgalaxyunixlib.dll.so`. The exe doesn't need to be in your current directory - just ensure to provide full path to its location.
33
34
- game.exe - normal command you'd run to start the game.
34
35
36
+
## Doing this in Heroic (LINUX)
37
+
Until overlay support ships in Heroic itself its still possible to add injection code.
38
+
You need to create custom wrapper script that will modify the launch command to include path to `galaxy.exe` before game executable itself. Make sure the executable is in location that is accessible from within umu container.
39
+
40
+
```bash
41
+
#!/bin/bash
42
+
43
+
# Static path to insert
44
+
INSERT_PATH="/path/to/galaxy.exe"
45
+
46
+
NEW_ARGS=()
47
+
PREV_MATCHED=false
48
+
49
+
forargin"$@";do
50
+
if [[ "$PREV_MATCHED"==true ]];then
51
+
NEW_ARGS+=("$INSERT_PATH")
52
+
PREV_MATCHED=false
53
+
fi
54
+
NEW_ARGS+=("$arg")
55
+
if [[ "$arg"==*"umu-run"||"$arg"==*"umu-run.py" ]];then
56
+
PREV_MATCHED=true
57
+
fi
58
+
done
59
+
60
+
# If the last argument was umu-run or umu-run.py, add the path at the end
0 commit comments