Jump to content

Recommended Posts

  • Active+ Member
This is the hidden content, please

 


While revising the old code in the project, I noticed the DXTCImage.cpp file and the .DDS files loaded within it. Upon examining where this file was used, I found it was only used in the GrpImageTexture.cpp file. Instead of using the outdated and complex DXTCImage structure, which is used exclusively by this file, I found it more appropriate to use the DirectXTex library. DirectXTex is a library designed for DX11/DX12 and is capable of doing many times more than the DXTCImage file. It does not have direct support for DirectX8/9, so we will use a small converter in the code. I've included many formats that can be used in Metin2 in this converter; if you get a syserr error, it means you need to update this code.

Please follow the steps below carefully. In case of any problems, revert the changes or use the #ifdef statement. Following this update, the DXTCImage.cpp and DXTCImage.h files will no longer be used.

This is the hidden content, please

  • Metin2 Dev 46
  • Good 4
  • muscle 1
  • Love 1
  • Love 17
  • Replies 0
  • Created
  • Last Reply

Top Posters In This Topic

Popular Days

Don't use any images from : imgur, turkmmop, freakgamers, inforge, hizliresim... Or your content will be deleted without notice...
Use : https://metin2.download/media/add/

Please use https://metin2.download/ when uploading files smaller than 100MB, otherwise the approval will take longer due to manual upload.

Please sign in to comment

You will be able to leave a comment after signing in



Sign In Now
×
×
  • 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.