Welcome Guest.   Make a donation to an author on the site October 25, 2014, 10:42:16 PM  *

Please login or register.
Or did you miss your validation email?


Login with username and password (forgot your password?)
Why not become a lifetime supporting member of the site with a one-time donation of any amount? Your donation entitles you to a ton of additional benefits, including access to exclusive discounts and downloads, the ability to enter monthly free software drawings, and a single non-expiring license key for all of our programs.


You must sign up here before you can post and access some areas of the site. Registration is totally free and confidential.
 
Your Support Funds this Site: View the Supporter Yearbook.
   
   Forum Home   Thread Marks Chat! Downloads Search Login Register  
Pages: [1]   Go Down
  Reply  |  New Topic  |  Print  
Author Topic: Screenshot Captor DirectX Capture Addon - EARLY BUGGY BETA  (Read 7992 times)
mouser
First Author
Administrator
*****
Posts: 33,598



see users location on a map View Profile WWW Read user's biography. Give some DonationCredits to this forum member
« 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
First Author
Administrator
*****
Posts: 33,598



see users location on a map View Profile WWW Read user's biography. Give some DonationCredits to this forum member
« 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
Charter Member
***
Posts: 423



Yar.

see users location on a map View Profile WWW Read user's biography. Give some DonationCredits to this forum member
« 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

My Web Site:  http://www.y0himba.net
y0himba
Charter Member
***
Posts: 423



Yar.

see users location on a map View Profile WWW Read user's biography. Give some DonationCredits to this forum member
« Reply #3 on: February 20, 2012, 10:30:16 AM »

Logged

My Web Site:  http://www.y0himba.net
spazzarama
Honorary Member
**
Posts: 13

see users location on a map View Profile WWW Give some DonationCredits to this forum member
« 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
First Author
Administrator
*****
Posts: 33,598



see users location on a map View Profile WWW Read user's biography. Give some DonationCredits to this forum member
« 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
Honorary Member
**
Posts: 13

see users location on a map View Profile WWW Give some DonationCredits to this forum member
« 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 smiley
Logged
spazzarama
Honorary Member
**
Posts: 13

see users location on a map View Profile WWW Give some DonationCredits to this forum member
« 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
Supporting Member
**
Posts: 3


View Profile Give some DonationCredits to this forum member
« 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
Honorary Member
**
Posts: 13

see users location on a map View Profile WWW Give some DonationCredits to this forum member
« Reply #9 on: April 11, 2012, 12:11:44 AM »

The Direct3DHook code is now hosted on GitHub : https://github.com/spazzarama/Direct3DHook

Still 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 smiley

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
Participant
*
Posts: 1

View Profile Give some DonationCredits to this forum member
« Reply #10 on: September 20, 2012, 01:51:09 PM »

I just checked the addon on Trackmania game, works flawlessly smiley
Logged
mouser
First Author
Administrator
*****
Posts: 33,598



see users location on a map View Profile WWW Read user's biography. Give some DonationCredits to this forum member
« 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
Participant
*
Posts: 1

View Profile Give some DonationCredits to this forum member
« 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
Participant
*
Posts: 1

View Profile Give some DonationCredits to this forum member
« 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
Participant
*
Posts: 1

View Profile Give some DonationCredits to this forum member
« Reply #14 on: April 05, 2013, 12:18:40 PM »

Also interested.
Logged
mouser
First Author
Administrator
*****
Posts: 33,598



see users location on a map View Profile WWW Read user's biography. Give some DonationCredits to this forum member
« 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
Supporting Member
**
Posts: 4,792


Slartibartfarst

see users location on a map View Profile Give some DonationCredits to this forum member
« Reply #16 on: June 15, 2013, 05:42:07 PM »

Add me to the list for this, please. Ta.
(Tag: scdxcap.exe)
Logged
Pages: [1]   Go Up
  Reply  |  New Topic  |  Print  
 
Jump to:  
   Forum Home   Thread Marks Chat! Downloads Search Login Register  

DonationCoder.com | About Us
DonationCoder.com Forum | Powered by SMF
[ Page time: 0.04s | Server load: 0.05 ]