redraskal / obs-replay-folders

Saves replay buffer files to game-specific folders (like ShadowPlay).
https://obsproject.com/forum/resources/replay-buffer-folders.1667/
MIT License
8 stars 2 forks source link

TabTip.exe picked up #4

Open YelovSK opened 1 year ago

YelovSK commented 1 year ago

I don't know if there's a nice solution, but I'll make an issue in case anyone gets the same behaviour. TabTip (virtual keyboard) is getting picked up instead of games. I have a bunch of TabTip executables, most of which are in the C:\Windows folder, but the process that's actually being run is in C:\Program Files\Common Files\microsoft shared\ink\TabTip.exe. Maybe there's a way to detect windows like these, I'm not sure. From user's perspective the difference is that it's invisible, but I don't know if that can be easily checked, I'm not familiar with C and Windows libraries.

redraskal commented 1 year ago

i'll have to look into checking for invisibility. currently, i ignore xbox game bar because the process causes the same problem.

redraskal commented 9 months ago

hey @YelovSK, try this version of detect_game.dll and let me know if the problem is fixed!

detect_game_dll.zip

redraskal commented 9 months ago

replace the detect_game.dll file with the one in that zip file & restart OBS

YelovSK commented 9 months ago

hey @YelovSK, try this version of detect_game.dll and let me know if the problem is fixed!

detect_game_dll.zip

It's still picking up TabTip instead of games.

redraskal commented 9 months ago

what games are you testing? i cannot reproduce this on my end while using TabTip with the new dll

redraskal commented 9 months ago

also, is your game in full screen or in borderless windowed in full screen?

YelovSK commented 9 months ago

I tested The Finals and DotA 2, both in borderless and fullscreen. I manually opened TabTip beforehand because IIRC I somehow had it disabled.

Greatscoot commented 5 months ago

Hey, having the same issue too. Tested with Hollow Knight (Borderless fullscreen), and just on desktop. I have managed to disable Tabtip.exe (cause I don't need it) by renaming the file so it won't open automatically. I used this article as a guide https://www.howtogeek.com/259900/how-to-permanently-disable-the-touch-keyboard-in-windows-8-and-10/

Not ideal, but meh. Doesn't affect my tablet for Osu either with OpenTabletDriver, so whatever.

Mylloon commented 2 months ago

I have the same issue with Honkai Star Rail and VALORANT, even with the dll provided above

Mylloon commented 2 months ago

FYI excluding C:\Program Files\Common Files\microsoft shared works for me

static const char windowsapps[] = "C:\\Program Files\\Common Files\\microsoft shared\\";

// ...in get_running_fullscreen_game_path
result = strncmp(charPath, windowsapps, 47);
if (result == 0) {
  continue;
}

Meanwhile, here is a working fork: https://github.com/Mylloon/obs-replay-folders/releases

redraskal commented 2 months ago

i'll update this