Bot Metin2 Dev 4881 Posted May 7, 2018 Bot Share Posted May 7, 2018 Hi devs, I just discovered many clients are using old versions of Unicows.dll, DevIL.dll and ILU.dll. It's not as hard to update them and if you are deeply into a client development you appreciate those SDK or PDB. DevIL & ILU (?) Default client is using 16 years old version. Come clean, looks horrible, right? These libraries are open source so you can modify them. Here you can download latest SDK. During those 16 years of development there have been a lot of changes, here is excerpt of them. Changes: DirectX 9 & 10 support New bilinear scaling routine Support for alpha-only formats Better support for ICO, GIF and DDS format Fixed minor bugs with BMP and PNG formats Fixed a lot of issues about DDS format A lot of bug fixes Unicows (?) Well, actually you can delete this library from your client and it won't have any effect on client proper working (Windows Vista and newer). However, you have to keep this library if you want to support compatibility with Windows 95, Windows 98 and Windows Millenium Edition.Here is available package which contains library, it's PDB and license.Sources: http://openil.sourceforge.net/ https://www.microsoft.com/en-us 19 1 1 11 1 24 Link to comment Share on other sites More sharing options...
scrabbyyy 20 Posted June 14, 2018 Share Posted June 14, 2018 Thanks frienddddd Link to comment Share on other sites More sharing options...
Kori 170 Posted July 18, 2018 Share Posted July 18, 2018 @Chyu ^^ when I implement the New files, then I need Source modifications or not? Link to comment Share on other sites More sharing options...
Bot Metin2 Dev 4881 Posted July 18, 2018 Author Bot Share Posted July 18, 2018 On 7/18/2018 at 11:39 PM, Kori said: @Chyu ^^ when I implement the New files, then I need Source modifications or not? Yes, I recommend to update your files in Extern folder. 1 Link to comment Share on other sites More sharing options...
Honorable Member xP3NG3Rx 19679 Posted July 19, 2018 Honorable Member Share Posted July 19, 2018 Only 1 modification is neccessary in the GuildMarkUploader.cpp file in this funcition: CGuildMarkUploader::__Load: ilCopyPixels(0, 0, 0, SGuildMark::WIDTH, SGuildMark::HEIGHT, 1, IL_BGRA, IL_BYTE, (ILvoid*)m_kMark.m_apxBuf); The ILvoid isn't defined anymore in the il.h, so or you define it by yourself like the following way bellow or just change it to void. typedef void ILvoid; 2 Link to comment Share on other sites More sharing options...
alondark 59 Posted August 6, 2018 Share Posted August 6, 2018 is this have any visual change in game ? Link to comment Share on other sites More sharing options...
Premium Galet 510 Posted August 6, 2018 Premium Share Posted August 6, 2018 il y a 58 minutes, alondark a dit : is this have any visual change in game ? No, unless you made the changes by yourself through other libraries, nothing has changed there. Link to comment Share on other sites More sharing options...
ridetpro 116 Posted August 6, 2018 Share Posted August 6, 2018 La 07.05.2018 la 13:08, Chyu ^^ a spus: Hi devs, I just discovered many clients are using old versions of Unicows.dll, DevIL.dll and ILU.dll. It's not as hard to update them and if you are deeply into a client development you appreciate those SDK or PDB. DevIL & ILU (?) Default client is using 16 years old version. Come clean, looks horrible, right? These libraries are open source so you can modify them. Here you can download latest SDK. During those 16 years of development there have been a lot of changes, here is excerpt of them. Changes: DirectX 9 & 10 support New bilinear scaling routine Support for alpha-only formats Better support for ICO, GIF and DDS format Fixed minor bugs with BMP and PNG formats Fixed a lot of issues about DDS format A lot of bug fixes Unicows (?) Well, actually you can delete this library from your client and it won't have any effect on client proper working (Windows Vista and newer). However, you have to keep this library if you want to support compatibility with Windows 95, Windows 98 and Windows Millenium Edition.Here is available package which contains library, it's PDB and license.Sources: http://openil.sourceforge.net/ https://www.microsoft.com/en-us Why people click like to such pointless how-to ? Link to comment Share on other sites More sharing options...
Bot Metin2 Dev 4881 Posted August 7, 2018 Author Bot Share Posted August 7, 2018 On 8/6/2018 at 1:05 PM, ridetpro said: Why people click like to such pointless how-to ? Stay in 2004. 4 Link to comment Share on other sites More sharing options...
Active Member Mind Rapist 188 Posted January 22, 2019 Active Member Share Posted January 22, 2019 Excuse me for bringing up this old topic but how do I add support for Unicows in a source that has nothing about this lib? Link to comment Share on other sites More sharing options...
Management Karbust 4884 Posted October 7, 2021 Management Share Posted October 7, 2021 (edited) So, I just compiled DevIL 1.8.0 and I noticed a bug, and somehow stumbled across this topic. Every time I try to set a guild mark on the backend is always 0: SaveMark: mark id found 0 I can see the icons on the select window, but whatever icon I choose, it always goes as 0 to the server... If I use the default DevIL and set an icon it works correctly, and when I switch to the new version I can see the old icon, but if I change, it sets as white... Any idea? Edited August 17, 2022 by Metin2 Dev Core X - External 2 Internal Link to comment Share on other sites More sharing options...
Active Member Helia01 2134 Posted October 7, 2021 Active Member Share Posted October 7, 2021 (edited) 1 hour ago, Karbust said: So, I just compiled DevIL 1.8.0 and I noticed a bug, and somehow stumbled across this topic. Every time I try to set a guild mark on the backend is always 0: SaveMark: mark id found 0 I can see the icons on the select window, but whatever icon I choose, it always goes as 0 to the server... If I use the default DevIL and set an icon it works correctly, and when I switch to the new version I can see the old icon, but if I change, it sets as white... Any idea? This can happen if you update only the client version DevIL and forget to update the library on the server side. Edited August 17, 2022 by Metin2 Dev Core X - External 2 Internal Link to comment Share on other sites More sharing options...
Management Karbust 4884 Posted October 7, 2021 Management Share Posted October 7, 2021 5 minutes ago, Helia01 said: This can happen if you update only the client version DevIL and forget to update the library on the server side. The client is sending 0 for every icon, the problem is on the client... But anyway, my server is running 1.7.8, I installed it directly from pkg. Link to comment Share on other sites More sharing options...
Recommended Posts