40 Commits

Author SHA1 Message Date
actboy168
5e5b51f752 Stop capture thread in DLL_PROCESS_DETACH 2014-07-26 03:51:34 +08:00
Bl00drav3n
261ee44ad3 Implemented DirectX 8 gamecapture 2014-07-15 16:41:12 +02:00
Bl00drav3n
3b81b7ba84 Implemented DirectDraw gamecapture 2014-07-15 16:40:45 +02:00
jp9000
43d4fbaa6c Game capture: make minor GL imrovements
There's no need to create a dummy context for GL -- always use the
game's context.  The dummy context is completely pointless for GL.
2014-05-21 02:11:56 -07:00
Richard Stanway
9977a22646 Add VS2013 workaround to every project, since they all use static CRT. 2014-04-25 11:28:52 +02:00
jp9000
6efc659541 Woops, minor fix to prevent cross referencing 2014-04-24 23:09:34 -07:00
jp9000
32630b9b3d Revert to old hooks for the time being
Minhooks is breaking for too many people right now, so I'm removing it
until further testing and verification.

This just goes to show, you can test for weeks and still not get
comprehensive feedback.

Also added some light obfuscation of SetWindowsHookEx and
UnhookWindowsHookEx to prevent issues with game capture and A/V.
2014-04-24 23:03:26 -07:00
jp9000
7cca8663a2 Game capture: Add anti-cheat compatibility
- Add an option in game capture to use SetWindowsHookEx instead of
   CreateRemoteThread to inject the library.

 - Add logging of what process game capture is trying to capture.

 - Rename "audio time offset" where it was used to "audio sync offset"

 - Adde logging for audio sync offsets

 - Update version to 0.62b test 1
2014-04-09 00:10:33 -07:00
BtbN
270481f91d Fix some warnings 2014-01-02 17:37:31 +01:00
jp9000
5b53865c26 CoD: ghosts fix for game capture 2013-12-07 12:21:39 -07:00
jp9000
6a35942477 actually, keep that new windowing code in game capture. 2013-08-16 17:38:43 -07:00
jp9000
842bdd140b made a minor fix to prevent window messages from calling the hook stuff too often and causing performance issues 2013-08-16 17:24:17 -07:00
jp9000
0861f628c2 revert recent patch to separate the windowing out into a thread 2013-08-16 17:19:17 -07:00
jp9000
27aa4ef755 put all game capture windowing into a separate thread 2013-08-16 17:00:47 -07:00
jp9000
8c185efc14 fixed bug with window messages not being processed properly in the graphics capture hook 2013-08-03 21:42:04 -07:00
jp9000
168f24d6af reverting a slight bit of code in the main game capture hook thread 2013-07-26 15:32:54 -07:00
jp9000
b815532f22 fix window messaging issues that can occur with game capture and cause some games to lock up (notably the expensive iRacing) 2013-07-25 12:53:29 -07:00
jp9000
f0466ebfe6 fixed a bug with opengl capture where it would cease capturing some games after going fullscreen because their device context handles or window handles change 2013-07-10 19:08:25 -07:00
jp9000
337bc5831b fixed a tiny bug with game capture that would cause the window loop to exit 2013-07-06 11:12:03 -07:00
jp9000
fed5ed0ac0 game capture - minor fix to the last fix - didn't make it properly check for a timeout return value 2013-06-08 07:49:56 -07:00
jp9000
ce8a86b8b9 game capture - made a slight fix that prevents a "stuttering" issue some people were experiencing with certain games 2013-06-08 07:30:20 -07:00
jp9000
4cd83c2c53 game capture - check hook occasionally to make sure it wasn't mysteriously cleared by protections 2013-06-04 02:57:00 -07:00
jp9000
96dc5b84a0 game capture - added yet more logging to d3d10/d3d11/gl 2013-05-01 17:57:43 -07:00
jp9000
b07fe5526d Significantly increased game capture logging data, added a variety of reacquiring fixes, fixed natural selection 2 not acquiring when windowed 2013-05-01 15:51:07 -07:00
jp9000
8776c8c82a Reverted some game capture code 2013-04-17 19:47:19 -07:00
jp9000
044a8b6882 fixed some bugs with game capture 2013-04-15 05:44:29 -07:00
jp9000
c01a3c0281 Fixed bug with game capture not checking to see if OBS is still alive. Might adjust it later if I find a better way 2013-03-21 19:19:16 -07:00
jp9000
ac3fc240e7 fixed hooking issues with D3D 10/10.1/11 games, made it hook by DXGI rather than by the individual APIs
also, added a copy for game capture to prevent render slowdowns
2013-02-28 18:33:49 -07:00
jp9000
6a44eba695 fixed game capture to work regardless of target application bit 2013-02-11 19:26:35 -07:00
jp9000
0fb0ce81f6 fixed issues with game capture not acquiring 2012-12-10 06:29:02 -07:00
jp9000
286704a176 another CTS/DTS fix, fixed network issues, removed send buffer, fixed some graphics capture crashes, fixed win 8 sleep problems 2012-12-04 03:17:34 -07:00
jim
bf71c44e6a fixed some alt-tab issues with graphics capture, also still tweaking frame drop code 2012-11-20 20:53:58 -07:00
jim
7c65f2e5a7 minor tweaks, made d3d9 capture awesome, as well as d3d10.0 capture 2012-11-14 19:58:01 -07:00
Richard Stanway
a79cb2987a Typo fix 2012-11-13 02:22:33 -05:00
jim
3774a5d6f0 test new d3d9 capture code - gl & d3d10.0 additions on the way 2012-11-09 20:50:55 -07:00
jim
ee2d7fe16b graphics capture plugin update 2012-11-08 21:56:18 -07:00
jim
a5f8b3b901 fixed threading, optimized some more things, some other adjustments 2012-10-26 18:06:49 -07:00
jim
d861ffeceb tiny fix for graphics capture 2012-10-20 23:11:35 -07:00
jim
75db90544f updated graphics capture code, other random tweaks 2012-10-20 22:42:35 -07:00
jim
0508629a38 graphics capture initial code 2012-10-18 20:30:14 -07:00