Giter Site home page Giter Site logo

Comments (7)

justinstenning avatar justinstenning commented on July 22, 2024

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.

justinstenning avatar justinstenning commented on July 22, 2024

Also for the 2nd one, try without ticking "Draw Overlay" and see if you get a difference.

from direct3dhook.

 avatar commented on July 22, 2024

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.

justinstenning avatar justinstenning commented on July 22, 2024

Just so you know, it will be a week or more before I can look at this.

from direct3dhook.

 avatar commented on July 22, 2024

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.

justinstenning avatar justinstenning commented on July 22, 2024

A fix for this is almost ready.

from direct3dhook.

 avatar commented on July 22, 2024

Thanks man :) totally dependent on you...

from direct3dhook.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo 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.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.