-
Notifications
You must be signed in to change notification settings - Fork 72
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
[FEATURE] An option to prepend a command #530
Comments
parsing commands prepended in the steam launch option is no option, but I consider adding |
Excellent. It's a great tool to easily capture a game window for recording and streaming. It works on Wayland and X11 and is probably the most performant of all methods I've ever used. That would be a great feature. Here's the link to it. |
Thanks for the link. In fact I already started with the implementation yesterday. :) |
I'll be a guinea pig if you need any testing. Just let me know when it's ready to test. |
The above push contains the initial code for using |
heh, just tested it (with Bubble Bobble 4) and it just works :) Maybe a good idea to automatically start obs (directly with |
That's not a bad idea to just do it automatically. I was just going to add that to my 'game-start-script.' If you're going to do that it might be best to also run it like Or maybe it's better to leave that all up to the user? Some people might also want it to start with replay buffer automatically at start. Or go straight to streaming or recording. For instance my personal plan is to start with replay buffer because I'm using it as a more performant version of replaysorcery or nvidia shadowplay. |
Last time I used obs was for "playing PS4" games on my linux desktop using a "Blackmagic Design Intensity Pro 4K". Using obs command line arguments is generally a good idea, but as I do not really want to hardcode them I consider adding proper, standalone obs support with configuration options and just enable that " |
I can definitely test it later this week and write up a wiki for it. As for just letting OBS config decide those things, that's a better idea but I'm not sure it has an option for auto-starting a recording or stream and that could be a problem for some people. For instance if I wanted to just start up OBS with the game and immediately start a replaybuffer or stream then the best option I could have is to either put the command in my game-start-script and deal with two instances of OBS running or close the other instance manually every time which defeats the purpose of automating it all. Perhaps if you do decide to auto-start OBS then make it a separate nested toggle just below |
True, obs autostart should be optional in every case. |
I did a brief test and it worked perfectly first try! 😄 |
Sorry that I haven't been active here lately been busy. Was actually going to suggest vkcapture and try my hand at a PR but guess you guys beat me to it lol.
Not sure about starting obs with EGL automatically this is not needed on Wayland and IDK if it can cause issues there |
wb and thx for testing :) |
the implementation seems to work fine. please ping me when you're read to add a corresponding wiki @Nano-Ocelot and I'll will send you a wiki editor invite. |
Will do. I also had another thought. It's not going to be used as much as |
Oh, I see! Thanks for all your hard work anyway. Maybe one day I can sit down when I have the time to learn how and implement the feature myself. 👍 |
no hurry, but it should be more or less a copy/paste of the |
noticed an issue with the
VS
so the gamescope command always needs to go before |
good find. leaving this issue open, maybe someone is interested to send a fix. |
I wonder if #560 will have any impact on this? |
for some reason it seems to fix it 🤷 checked the start debug logs and it seems steamtinkerlaunch is now adding also as @Nano-Ocelot also wanted OpenGL capture I tried replacing |
Woohoo! Once your PR is merged maybe we can close this issue? I believe prepending should work, the argument order for gamescope seems to be resolved, and the |
yeah agree the original issue was for the ability to add a custom command but that can be done with https://github.com/frostworx/steamtinkerlaunch/wiki/ENV-Variables or by adding it after the @Nano-Ocelot Specificlly wanted https://github.com/nowrep/obs-vkcapture and its OpenGL counterpart which this PR should add. I need to find an OpenGL game to test with but it should just work. (I guess I can use wine3d for this but I feel like i remember seeing a check for when a game is not using proton in the code and then disables obs-vkcapture) @frostworx ? EDIT: yup here https://github.com/frostworx/steamtinkerlaunch/blob/de990bcf54c07780ac275d1d9558c1b45274b8ec/steamtinkerlaunch#L16684 EDIT2: nvm I think what the above does is disable |
I think this can be closed now, like I said above you can add env-variables per game or globaly. You can also add a custom program to the gamescope launch options. and OpenGL and Vulkan gamecapture for OBS should now be working with the PR linked above which has already been merged. |
It would be nice to have the ability to place a command in front of the game command in the same way that you can in steam launch options like,
'examplecommand' %command%
. Specifically what I want to do is run the game like thisobs-vkcapture %command%
to start the game with obs-vkcapture capturing the game window and sending it to OBS. Maybe there already is an option like this but I can't seem to find it and I've been reading through the wiki and experimenting with options for hours.The text was updated successfully, but these errors were encountered: