Jump to content
×
×
  • Create New...

DirectX9 Wrapper for laptop's dedicated gpu


Recommended Posts

  • Premium

M2 Download Center

Download Here ( Internal )

With this easy change laptop players can now play the game with their dedicated video card instead of the integrated one.

 

In userinterface.cpp add:

 

extern "C" 
{
    __declspec(dllexport) DWORD NvOptimusEnablement = 0x00000001;
    __declspec(dllexport) int AmdPowerXpressRequestHighPerformance = 1;
}

 

In your client add the files from the Download Center from above.

The d3d8.dll from the rar file is not the normal directx8, it is different. It will change some parts of directx8 to act like 9. The laptops will be able to play on dedicated gpu, you can use reshade too and it works well to all players. Of course, the hard, right and professional way is to upgrade your source, but test this for your own fun. It works well and it is tested by hundrets of my players. Most likely there are computers that have a switch between integrated and dedicated, it works the same for them.

 

The source of the dll is: 

Hidden Content

    Give reaction to this post to see the hidden content.

Edited by Speachless
  • Metin2 Dev 53
  • Love 51
  • Love 2
  • Good 19
  • Think 4
  • Confused 1
  • Cry 1
  • Sad 2
  • Angry 1
  • Dislove 1
Link to comment
Share on other sites

  • 2 weeks later...
  • Premium
On 1/7/2021 at 12:39 PM, AlCapone said:

In win7 they will have problems with this DLL. 

ERROR: "api-ms-win-CRT-runtime-l1-1-0.dll" cant be found.

 

Only if they never make a windows update. Would you care for people with windows 7 with 0 updates? 

Windows 7 will install in the first updates the Visual C++ Redistributable 2015

  • Metin2 Dev 1
Link to comment
Share on other sites

11 hours ago, Speachless said:

 

Only if they never make a windows update. Would you care for people with windows 7 with 0 updates? 

Windows 7 will install in the first updates the Visual C++ Redistributable 2015

Nop they need to update. But you know some people still using that shit windows.

Link to comment
Share on other sites

  • Premium
3 hours ago, AlCapone said:

Nop they need to update. But you know some people still using that shit windows.

Yea, but they can play on a clean windows 7 if they just do a simple update. Or they can install visual c++ redistributable 2015 (or maybe newer didn't tested). You can specify this on client download page like i did.

Link to comment
Share on other sites

  • 10 months later...

Hi,

I placed the file into the game directory. The game seems to be runnig on the dGPU but does not show up. Should I contact the developer of the D8 Warpper?

Update: Sorry. The code is mandatory as I realized. Question: Can we add it by reverse engineering?

Thanks.

Edited by RecepBaltas
Link to comment
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now


  • Activity

    1. 0

      Looking for Someone to create the queries etc for armors and weapons

    2. 13

      Official Private Shop Search

    3. 944

      [40250] Reference Serverfile + Client + Src [15 Available Languages]

    4. 79

      GUI Teleport System

    5. 0

      inventory slot marking system cant compile

    6. 8

      Inventory Bug

    7. 63

      Metin2 Dev - Changelogs

  • Recently Browsing

    • No registered users viewing this page.

Important Information

Terms of Use / Privacy Policy / Guidelines / We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.