Jump to content

DirectX9 Wrapper for laptop's dedicated gpu


Recommended Posts

  • VIP

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:

https://download.calliope2international.com/directx9wrapper.rar

 

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: https://github.com/crosire/d3d8to9

  • Love 15
Link to post
  • 2 weeks later...
  • VIP
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 post
  • VIP
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 post
  • VIP
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 post

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.

Guest
Reply to this topic...

×   Pasted as rich text.   Restore formatting

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.



×
×
  • Create New...

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.