OBS GameCapture

Начинающий
Статус
Оффлайн
Регистрация
6 Мар 2019
Сообщения
5
Реакции[?]
2
Поинты[?]
0
OBS GameCapture

Пожалуйста, авторизуйтесь для просмотра ссылки.



not sure if this works for streamlabs obs, someone with that should try to find the dll's in there and see if it works or not.
for OBS Streamlabs, follow the guide at the bottum of this post

kinda pissed that i am forced to use window capture or desktopcapture with obs.

so i fixed it, kinda.
it seems like the way i am currently doing it, is dropping quite some frames due to the native method of obs not working (for some reason dx11 createdevice crashes under trusted launch)



if u want to try do the following:
download both files
win-capture.dll goes into:
C:\Program Files\obs-studio\obs-plugins\64bit\win-capture.dll

graphics-hook32.dll goes into:
C:\Program Files\obs-studio\data\obs-plugins\win-capture\graphics-hook32.dll



how and why this works:
inside win-capture.dll is a function call to "get_programdatapath"
which calls:
where "CSIDL_COMMON_APPDATA" is defined as 0x23
luckily right after that, we find:
i just byte patched 0x23 to 0x24

upon starting obs, it should create a folder inside of the windows folder called obs-studio-hook and move the graphics-hook32.dll (and others) automatically.

the reason why the graphics-hook32.dll is also modified is, cuz for some reason the create_device function from the dxd11 dll crashes the game under trusted launch. i didnt try to follow it since the dll comes with an alternative method, which seems to use some sort of memory capture.

that being said, that method seems to be running like shit.




download:
Пожалуйста, авторизуйтесь для просмотра ссылки.

Пожалуйста, авторизуйтесь для просмотра ссылки.


PS: make sure to backup the files, technically speaking u should be able to use this with any other game just fine.
but as i said, i think it runs like shit (not sure i had 2 vms running playing games, so maybe its just me)



EDIT: ye just double checked, the fps are horrible, 400 with windowcapture, ~100 with this gamecapture shit xD

EDIT1:
uploaded fully functional "normal" game capture dll, this works like it has always worked (fps wise).




for streamlabs follow this:

WORKS WITH VERSION 26.0.2!

Code:
  1. get_programdata_path(path, L"obs-studio-hook\\");
Code:
  1. SHGetFolderPathW(NULL, CSIDL_COMMON_APPDATA, NULL, \
  2. SHGFP_TYPE_CURRENT, path);
Code:
  1. CSIDL_WINDOWS 0x24
if anyone finds out how to probably call create_device from there gets a cookie from his grandma.


<3. Good Night Guys
 
pro master
Пользователь
Статус
Оффлайн
Регистрация
8 Июн 2020
Сообщения
233
Реакции[?]
86
Поинты[?]
5K
0 sense to come here and post uc stuff and wait for reactions, useless
 
По вопросам рекламы/сотрудничества: @kissme_milash
Забаненный
Статус
Оффлайн
Регистрация
19 Май 2019
Сообщения
174
Реакции[?]
34
Поинты[?]
0
Обратите внимание, пользователь заблокирован на форуме. Не рекомендуется проводить сделки.
My God, this is worse than the shit code in the paste of jija08, you can have a normal thread where it is normally described and then the meat is not literate :)
 
Сверху Снизу