HGL
plain-purple
vkcapture
how would I use vkcapture on heroic? for steam you have to set parameters for obs to recognize it, and the vkcapture github says it works with games outside of steam .
24 Replies
rival-black•16mo ago
you have to write a wrapper script and tell heroic to use the wrapper
plain-purpleOP•16mo ago
i have no idea how to write scripts, how would one do that?
optimistic-gold•16mo ago
how do you set it in Steam
plain-purpleOP•16mo ago
you set game launch parameters
like obs-gamecapture env OBS_VKCAPTURE=1 %command%
rival-black•16mo ago
you probably need to write a script that calls
and use it as a wrapper
plain-purpleOP•16mo ago
but does that involve knowledge in script writing?
rival-black•16mo ago
i mean writing scripts is pretty simple
that is a script
plain-purpleOP•16mo ago
i see
rival-black•16mo ago
would probably do it
i guess you could set env vars if you had some setting
plain-purpleOP•16mo ago
i just put that in the wrapper argument?
rival-black•16mo ago
you have to put it in a script and mark it executable
plain-purpleOP•16mo ago
okay
rival-black•16mo ago
note the script has to be somewhere in your $PATH, or you have to give the full path to the script to heroic
optimistic-gold•16mo ago
actually you can add those in Heroic settings normally
go to advanced tab and set
obs-gamecapture
as a wrapper and OBS_VKCAPTURE=1
as environment variable
@Allora having script is redundant in this case 😄 you just used a wrapper to call a wrapperrival-black•16mo ago
i didnt know if they wanted some env vars
or other stuff, rather
also makes sense, im always doing other stuff in there so i end up with scripts haha
optimistic-gold•16mo ago
well, scripts are a good solution too 😅
rival-black•16mo ago
you are def right that they can do your way with less effort x_x
plain-purpleOP•16mo ago
Okay thanks a ton
so i tried what you said, and it is throwing an error
An error has occurred! Try to Logout and Login on your Epic account.
[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 f9d6f0530ea140909f8e8a997a7532d7...Traceback (most recent call last):
File "legendary/cli.py", line 3149, in <module>File "legendary/cli.py", line 3064, in mainFile "legendary/cli.py", line 707, in launch_gameFile "subprocess.py", line 951, in initFile "subprocess.py", line 1821, in _execute_childFileNotFoundError: [Errno 2] No such file or directory: '%command%'
[6937]Failed to execute script 'cli' due to unhandled exception!
optimistic-gold•16mo ago
yeah
don't add %command%
like I said just add
obs-gamecapture
into wrapper field
and OBS_CAPTURE=1
into env varsplain-purpleOP•16mo ago
but it needs a name
for the wrapper
what do i name it then
optimistic-gold•16mo ago
obs-gamecapture
optimistic-gold•16mo ago
like this

rival-black•16mo ago
In the env vars: it should be OBS_CAPTURE for the name and 1 for the value
plain-purpleOP•16mo ago
yup works
thanks guys