-
Автор темы
- #1
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:
if anyone finds out how to probably call create_device from there gets a cookie from his grandma.
Пожалуйста, авторизуйтесь для просмотра ссылки.
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,
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.
download:
Пожалуйста, авторизуйтесь для просмотра ссылки.
Пожалуйста, авторизуйтесь для просмотра ссылки.
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:
- get_programdata_path(path, L"obs-studio-hook\\");
- SHGetFolderPathW(NULL, CSIDL_COMMON_APPDATA, NULL, \
- SHGFP_TYPE_CURRENT, path);
- CSIDL_WINDOWS 0x24
<3. Good Night Guys |