Coder Social home page Coder Social logo

Comments (3)

adolfintel avatar adolfintel commented on August 29, 2024

DLLs like nvoglnt.dll or atioglxx.dll don't have the same exports as opengl32.dll, you can't just rename them. If you put them in the game's folder with their original name, windows will load them just fine (assuming the DLL is recent enough to support your GPU).

from wined3d4win.

MrPepka avatar MrPepka commented on August 29, 2024

Thanks for the answer. So I placed both the d3d9.dll and wined3d.dll files from the WineD3D package into the game folder, as well as the nvoglnt.dll file from NVIDIA graphics drivers into the game folder, but I don't see that the game even tries to load this file. Instead, it loads the opengl32.dll file from the system folder. Does WineD3D even detect OpenGL drivers with a name other than opengl32.dll?

from wined3d4win.

adolfintel avatar adolfintel commented on August 29, 2024

That's not how the loading mechanism works.
The game loads d3d9 (in this case it's wined3d so it loads opengl32.dll), all opengl32.dll does is provide the necessary exports to run OpenGL applications, look up in the registry where the OpenGL implementation from your graphics driver is (nvoglnt.dll), load it, and pass the application calls through to it. It's basically an interface between the game and the driver.

from wined3d4win.

Related Issues (18)

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.