Comments (7)
Is this using the project without any changes whatsoever, or do you have some of your own changes in place?
The 2nd error looks to be a problem while loading an image into a sprite - does it work when you do not have a sprite being used?
The project is working with the DirectX 9 SDK samples. Does it work for any of your games? If so this would indicate that the issue is game specific.
from direct3dhook.
Also for the 2nd one, try without ticking "Draw Overlay" and see if you get a difference.
from direct3dhook.
The software I build is totally from the pure code cloned from this github repo. And I tested all the games using it. After your reply I go again and tested all my four DirectX9 games.
First of all Call Of Duty 4 Modern Warfare = All types of screenshots works fine if injected without overlay. If draw overlay is ticked then the error : WINT_DIRECTX_INIT_BODY occurs. And in-game no text overlay comes when taking screenshots. A text overlay saying : Screenshot Captured... should always come when taking screenshot as far as we know. Maybe that is not coming because of the Draw overlay not ticked?
Second Game is Need For Speed Most Wanted = Works fine without the draw overlay. If I use draw overlay it crashes with the same error stated above. Here also every screenshot methods works fine without the texture data not resulting in correct image data for png and pixeldata format problem. Will post details on that issue. Also no Screenshot Captured... text overlay shows up.
Third Game is Counter Strike Source (hl2) = Screenshots all works fine using draw overlay remain ticked and also unticked. No error occurs. But in both Draw Overlay tick and untick cases the Screenshot Captured... text overlay didn't show up when taking screenshot or Load Test. Also the pnd and pixeldata issue occurs here. Will comment some details about it on that issue.
Fourth Game FIFA 11 = Screenshots all works fine without drawing overlay. If draw overlay remains ticked then the game crashes when taking screenshot. Without draw overlay every screenshot method is fine. Here is also the png and pixeldata problem occurs. But during png or pixeldata shots no output image actually shows up. The image of the picturebox is totally blank as if no screenshot has been taken. Only with those two formats. Other formats works fine. Here also no screenshot Captured... text overlay shows up.
As far as I thought the Draw Overlay is the sprite being drawn thats why tested these games without the overlay and with the overlay.
I tested it with Watch Dogs which is DirectX11 Game using Draw Overlay and without Draw Overlay and everything works fine there without the PNG and pixeldata where pixeldata gives no screenshot at all. (Blank)
Please try to solve this problem as soon as possible.
Thanks in advance....
from direct3dhook.
Just so you know, it will be a week or more before I can look at this.
from direct3dhook.
Ok no problem...take your time...Actually I have taken delay permission grant for my project from our team. Actually it is worth time you divide the project into two different parts. One for the overlys and other is for the capture part as you told me before. And also implement the SharedMemory system into this project for the fast transaction other than the IPC. And as you have said there are lot of things need to be improved. Just focus on those with separate projects as this will also help you to handle things easily. And also try to add full overlay support and full capture support for all the DirectX versions. Also try to include DirectX8 and DirectX12 if possible. Better you start it with separating the projects first and then work on the projects little as I know you got a very busy schedule this month.
Thanks in advance...
from direct3dhook.
A fix for this is almost ready.
from direct3dhook.
Thanks man :) totally dependent on you...
from direct3dhook.
Related Issues (20)
- Attempt to update image element every frame in d3d11? HOT 4
- Memory leak in hooked application HOT 7
- Question: Interactive UI Overlay HOT 2
- Strange exception HOT 1
- Failed injection in League of Legends HOT 9
- Error in InitialiseHook: System.Runtime.InteropServices.SEHException (0x80004005): External component has thrown an exception. HOT 1
- can I use this for simulate dirext input for games?
- Сhange of path *.dll
- cann't inject wow,error code:93913088 HOT 1
- Screenshot background window HOT 3
- Black screen when capturing from multiple clients HOT 8
- Captures Complete but Do Not Display, Overlay Does Not Display
- Region settings not correct. HOT 1
- Memory leak on screenshot HOT 5
- Memory leak on image draw HOT 2
- I need some help HOT 31
- Memory leak after unreasonable ammount of DrawOverlayInGame calls and large ImageElement HOT 7
- When creating an ImageElement with the "Bitmap bitmap" override, DXHookD3D11 throws an exception HOT 1
- What is CaptureInterface.StartRecording()? HOT 1
- Memory leakage HOT 2
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from direct3dhook.