GithubHelp home page GithubHelp logo

Comments (8)

elishacloud avatar elishacloud commented on June 1, 2024

I have seen a similar issue with Port Royale. But that issue happens with or without d3d8to9. It could be an issue with the device creation or how the game handles windows.

For now you could try using dxwrapper. I added a fullscreen feature to that project. It also has d3d8to9 in it. I have attached the latest build: d3d8.zip

from d3d8to9.

MrBlastman avatar MrBlastman commented on June 1, 2024

Thanks!

I tried it though, and the game is still behaving as before. It is almost as if the game or wrapper is defaulting to 320x200 or whatever, as even the reshade overlay is massively zoomed in.

from d3d8to9.

elishacloud avatar elishacloud commented on June 1, 2024

Interesting. I downloaded the game and will need to take a look at what it is doing.

from d3d8to9.

MrBlastman avatar MrBlastman commented on June 1, 2024

Awesome! Thanks.

from d3d8to9.

elishacloud avatar elishacloud commented on June 1, 2024

Try this one: d3d8.zip

This game has a few issues. The first call to BeginScene and EndScene seems to have been done at the wrong time. Also this game causes issues with PIX.

However, the core issue is that Direct3D8 and Direct3D9 handle SetViewport differently. This game calls SetViewport three times for each frame. Direct3D8 handles this correctly, but with Direct3D9 each call to SetViewport changes the viewport and expands the image on screen. This makes it look like the "overlay is massively zoomed in".

I put in a change to only allow it to call SetViewport once per frame. This worked for my tests, but I am not sure if this change will work for all Direct3D9 games or not. If anyone has suggestions here let me know!

from d3d8to9.

elishacloud avatar elishacloud commented on June 1, 2024

The Direct3D9 issue with SetViewport only seems to happen when SetTransform is called using D3DTS_VIEW.

from d3d8to9.

MrBlastman avatar MrBlastman commented on June 1, 2024

Hi,
Still seems to be doing the same thing as before with the new .dll. Perhaps I'm not installing it right? Thanks for all your efforts for this.

Edit:

Nevermind, seems to be working, but the reshade box still thinks it is 320x240 while the game does not. Very curious.

from d3d8to9.

elishacloud avatar elishacloud commented on June 1, 2024

Nevermind, seems to be working, but the reshade box still thinks it is 320x240 while the game does not.

Glad you got it working with this update! I am not quite sure what ReShade is doing. However, Hydorah seems to be running internally at 320x240 and simply projects that 320x240 image onto the screen. That is why everything looks so blocky in the game.

Even if ReShade sees it as 320x240 it should still work with this game now that it is using Direct3D9. If you are having an issue with ReShade you can open an issue here.

from d3d8to9.

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.