|
mouser
|
 |
« on: February 18, 2012, 07:33:59 PM » |
|
If anyone wants to try the new screenshot captor addon for capturing DirectX full screen images, I have uploaded it here: You will need to install the new screenshot captor release, and then the addon. The addon will also make you install the SlimDx runtimes, and you will have to reboot your pc after the install. Then you can set a hotkey for DirectX full screen capture (may default to Ctrl+Alt+Shift+X).
How well does it work? Well.. It's a bit hit or miss at this point -- and I have to warn you that there is a fairly good chance it will crash your directX application when invoked. If your directx game has its own way to take screenshots, that will without a doubt be a better solution than trying to use SC to take them. So this is only for people who really like testing stuff early. But I would like to hear reports of whether it works for you.
Thanks to Justin S, who's code powers this addon. See this thread for a more discussion of the issues involved: http://www.donationcoder....m/index.php?topic=29890.0
|
|
|
|
« Last Edit: February 20, 2012, 08:13:05 AM by mouser »
|
Logged
|
|
|
|
|
mouser
|
 |
« Reply #1 on: February 20, 2012, 08:11:45 AM » |
|
No brave souls with DirectX games to capture want to give this a try?
|
|
|
|
|
Logged
|
|
|
|
|
y0himba
|
 |
« Reply #2 on: February 20, 2012, 10:27:55 AM » |
|
I am able to get captures of "The Ball" and "Counterstrike:Source" but not Crysis2 or Skyrim. Rapid shots crashed Counterstirke. I pressed the key about 2 time a second. 
|
|
|
|
|
Logged
|
|
|
|
|
|
y0himba
|
 |
« Reply #3 on: February 20, 2012, 10:30:16 AM » |
|
|
|
|
|
|
Logged
|
|
|
|
|
spazzarama
|
 |
« Reply #4 on: February 20, 2012, 08:27:43 PM » |
|
I am able to get captures of "The Ball" and "Counterstrike:Source" but not Crysis2 or Skyrim. Rapid shots crashed Counterstirke. I pressed the key about 2 time a second. (see attachment in previous post)I think because it is running a command line to do the inject and copy multiple screenshots are likely to be a bit buggy in the same app. Mouser - it is probably worth investigating the reverse p/invoke method so you can communicate to the .NET assemblies directly. This can be done in C++ .NET using some attributes, or via a custom build process with C# (decompile to MSIL, edit, recompile -> also known as creative roundtripping).
|
|
|
|
« Last Edit: February 20, 2012, 08:45:49 PM by spazzarama »
|
Logged
|
|
|
|
|
mouser
|
 |
« Reply #5 on: February 20, 2012, 08:38:50 PM » |
|
Interesting.. Well it shouldnt be invoking more than one at a time, so I'm not sure why it would make a difference how rapidly you *try* to capture from the directx window -- it should only be doing one attempt at a time.
However it's possible that the code to unhook is not being given enough time to do its thing before the commandline tool exits?
Also, given my testing which shows that success is a bit random -- it may not have to do with trying to do lots of captures in a row -- and more to do with simply an X% probability of failing to capture on any given request?
|
|
|
|
|
Logged
|
|
|
|
|
spazzarama
|
 |
« Reply #6 on: February 20, 2012, 09:03:18 PM » |
|
Interesting.. Well it shouldnt be invoking more than one at a time, so I'm not sure why it would make a difference how rapidly you *try* to capture from the directx window -- it should only be doing one attempt at a time.
However it's possible that the code to unhook is not being given enough time to do its thing before the commandline tool exits?
Also, given my testing which shows that success is a bit random -- it may not have to do with trying to do lots of captures in a row -- and more to do with simply an X% probability of failing to capture on any given request?
Yeah I don't know how reliably EasyHook cleans up the hooks after itself... I haven't experienced any issues with a percentage of injections failing - generally once it works on my system I'm good to go. Btw - I will give your screenshot application a try soon, just haven't had time 
|
|
|
|
|
Logged
|
|
|
|
|
spazzarama
|
 |
« Reply #7 on: February 21, 2012, 06:09:00 AM » |
|
Worked for Battlefield 3 and World of Tanks (both D3D 10 I think) Didn't work for Global Agenda (I think it is D3D10), AV in presenthook (something to do with that game it would seem)  
|
|
|
|
|
Logged
|
|
|
|
|
BoomWav
|
 |
« Reply #8 on: March 12, 2012, 02:36:55 PM » |
|
I was looking for that. Sad that it doesn't seem to work properly. I'll just take the screenshot using Steam or FRAPS and then I'll upload them using ZUploader. I'd still be awesome if I could do all this without additional efforts! I wonder how FRAPS' doing it.
|
|
|
|
|
Logged
|
|
|
|
|
spazzarama
|
 |
« Reply #9 on: April 11, 2012, 12:11:44 AM » |
|
The Direct3DHook code is now hosted on GitHub : https://github.com/spazzarama/Direct3DHookStill have to make some changes for you mouser - I have released an alpha of the EasyHook library that has the required changes to continue with the GAC'less injection process. Time is of course a little short so it's taking me a little longer that I would like to get around to it all  Cheers, J If anyone wants to try the new screenshot captor addon for capturing DirectX full screen images, I have uploaded it here: You will need to install the new screenshot captor release, and then the addon. The addon will also make you install the SlimDx runtimes, and you will have to reboot your pc after the install. Then you can set a hotkey for DirectX full screen capture (may default to Ctrl+Alt+Shift+X).
How well does it work? Well.. It's a bit hit or miss at this point -- and I have to warn you that there is a fairly good chance it will crash your directX application when invoked. If your directx game has its own way to take screenshots, that will without a doubt be a better solution than trying to use SC to take them. So this is only for people who really like testing stuff early. But I would like to hear reports of whether it works for you.
Thanks to Justin S, who's code powers this addon. See this thread for a more discussion of the issues involved: http://www.donationcoder....m/index.php?topic=29890.0
|
|
|
|
|
Logged
|
|
|
|
|
damek125
|
 |
« Reply #10 on: September 20, 2012, 01:51:09 PM » |
|
I just checked the addon on Trackmania game, works flawlessly 
|
|
|
|
|
Logged
|
|
|
|
|
mouser
|
 |
« Reply #11 on: February 17, 2013, 06:04:47 PM » |
|
Does anyone want to try a new version of the directx capture addon?
|
|
|
|
|
Logged
|
|
|
|
|
NOS
|
 |
« Reply #12 on: March 19, 2013, 10:17:01 PM » |
|
Does anyone want to try a new version of the directx capture addon?
Yes please since the older link is not working for me. Thanks again
|
|
|
|
|
Logged
|
|
|
|
|
furynick
|
 |
« Reply #13 on: March 25, 2013, 01:35:17 AM » |
|
Does anyone want to try a new version of the directx capture addon?
Interested too, thanks.
|
|
|
|
|
Logged
|
|
|
|
|
Matt714
|
 |
« Reply #14 on: April 05, 2013, 12:18:40 PM » |
|
Also interested.
|
|
|
|
|
Logged
|
|
|
|
|
mouser
|
 |
« Reply #15 on: April 06, 2013, 12:53:23 PM » |
|
We're just waiting for Justin to update his directX code, and then i'll release a new version.
|
|
|
|
|
Logged
|
|
|
|
|
IainB
|
 |
« Reply #16 on: June 15, 2013, 05:42:07 PM » |
|
Add me to the list for this, please. Ta. (Tag: scdxcap.exe)
|
|
|
|
|
Logged
|
|
|
|
|