Compatibility with RuneLite! Can we make this happen?

  • NitexKnight
  • Topic Author
More
3 years 2 months ago #1 by NitexKnight Compatibility with RuneLite! Can we make this happen? was created by NitexKnight
RuneLite is a third party client for osrs that uses openGL but for some reason doesn't detect ReShade at all. OSBuddy, another client also using openGL works fine. RuneLite claims that this must be a problem on ReShade's end and not theirs.

One example of this is the following preset: sfx.thelazy.net/games/preset/8853/

A user attempting to use it in RuneLite: www.reddit.com/r/2007scape/comments/ca3v...shade_with_runelite/

RuneLite's response to the incompatibility issue: github.com/runelite/runelite/issues/9305

So my questions:
Why doesn't ReShade work with Runelite? And how can we get it to work? Let's make this happen!

Please Log in or Create an account to join the conversation.

  • crosire
More
3 years 2 months ago - 3 years 2 months ago #2 by crosire Replied by crosire on topic Compatibility with RuneLite! Can we make this happen?
1) RuneLite is a Java app, and because of this DLLs are loaded using absolut paths. This means it loads both d3d9.dll and opengl32.dll directly from system32 and bypasses any sideloading wrappers like ReShade. There is absolutly nothing ReShade can do about it. So the only way to make ReShade load is to inject it with a third-party injector.
2) RuneLite uses Java.AWT for its UI and rendering. AWT renders with D3D9. So while it may render the game with OpenGL, it displays it with D3D9, which means to ReShade it is D3D9.
3) ReShade expects an application to behave like a game to work. This means the app has to redraw the screen every frame. But AWT being an UI framework, it sometimes decides to not redraw the screen for a frame or two. This causes ReShade to render over itself and looks like flickering.

There are no bugs in ReShade here. The app simply has some fundamental issues that make it incompatible.
Last edit: 3 years 2 months ago by crosire.

Please Log in or Create an account to join the conversation.

We use cookies

We use cookies on our website. Some of them are essential for the operation of the site, while others help us to improve this site and the user experience (tracking cookies). You can decide for yourself whether you want to allow cookies or not. Please note that if you reject them, you may not be able to use all the functionalities of the site.