From c9aa9a0b03bfab4745327ccfee4dec061230d98a Mon Sep 17 00:00:00 2001 From: Exynox Date: Sun, 10 Mar 2024 10:37:36 +0200 Subject: [PATCH] Removed unused locale information, refactored where needed. Enabled DS system. --- bin/pack/root/localeinfo.py | 2 +- src/UserInterface/Locale.cpp | 76 ++++------ src/UserInterface/Locale.h | 10 +- src/UserInterface/Locale_inc.h | 4 - src/UserInterface/Locale_inc_BR.h | 5 - src/UserInterface/Locale_inc_CA.h | 4 - src/UserInterface/Locale_inc_EU.h | 3 - src/UserInterface/Locale_inc_EU2.h | 11 -- src/UserInterface/Locale_inc_GB.h | 3 - src/UserInterface/Locale_inc_HK.h | 2 - src/UserInterface/Locale_inc_JP.h | 8 - src/UserInterface/Locale_inc_KO.h | 6 - src/UserInterface/Locale_inc_KO_DEV.h | 5 - src/UserInterface/Locale_inc_NEWCIBN.h | 6 - src/UserInterface/Locale_inc_SG.h | 3 - src/UserInterface/Locale_inc_VI.h | 1 - src/UserInterface/Locale_inc_dev.h | 6 - .../PythonNetworkStreamPhaseLogin.cpp | 2 - src/UserInterface/UserInterface.rc | 137 ++++-------------- src/UserInterface/UserInterface.vcxproj | 22 +-- .../UserInterface.vcxproj.filters | 42 ------ src/UserInterface/metin2.ico | Bin 7406 -> 7406 bytes 22 files changed, 70 insertions(+), 288 deletions(-) delete mode 100644 src/UserInterface/Locale_inc.h delete mode 100644 src/UserInterface/Locale_inc_BR.h delete mode 100644 src/UserInterface/Locale_inc_CA.h delete mode 100644 src/UserInterface/Locale_inc_EU.h delete mode 100644 src/UserInterface/Locale_inc_EU2.h delete mode 100644 src/UserInterface/Locale_inc_GB.h delete mode 100644 src/UserInterface/Locale_inc_HK.h delete mode 100644 src/UserInterface/Locale_inc_JP.h delete mode 100644 src/UserInterface/Locale_inc_KO.h delete mode 100644 src/UserInterface/Locale_inc_KO_DEV.h delete mode 100644 src/UserInterface/Locale_inc_NEWCIBN.h delete mode 100644 src/UserInterface/Locale_inc_SG.h delete mode 100644 src/UserInterface/Locale_inc_VI.h delete mode 100644 src/UserInterface/Locale_inc_dev.h diff --git a/bin/pack/root/localeinfo.py b/bin/pack/root/localeinfo.py index f660406f..f6271ecd 100644 --- a/bin/pack/root/localeinfo.py +++ b/bin/pack/root/localeinfo.py @@ -9,7 +9,7 @@ MAP_TREE2 = "MAP_TREE2" BLEND_POTION_NO_TIME = "BLEND_POTION_NO_TIME" BLEND_POTION_NO_INFO = "BLEND_POTION_NO_INFO" -APP_TITLE = "METIN2" +APP_TITLE = "Metin2" GUILD_HEADQUARTER = "Main Building" GUILD_FACILITY = "Facility" diff --git a/src/UserInterface/Locale.cpp b/src/UserInterface/Locale.cpp index b83d0b38..414f546b 100644 --- a/src/UserInterface/Locale.cpp +++ b/src/UserInterface/Locale.cpp @@ -18,12 +18,6 @@ const char* LSS_GLOBAL = "GLOBAL"; static bool IS_CHEONMA = false; -#ifndef LSS_SECURITY_KEY -#define LSS_SECURITY_KEY "testtesttesttest" -#endif - -std::string __SECURITY_KEY_STRING__ = LSS_SECURITY_KEY; - char MULTI_LOCALE_SERVICE[256] = "YMIR"; char MULTI_LOCALE_PATH[256] = "locale/ymir"; char MULTI_LOCALE_NAME[256] = "ymir"; @@ -165,11 +159,6 @@ int LocaleService_GetSkillPower(unsigned level) return INTERNATIONAL_SKILL_POWERS[level]; } -const char* LocaleService_GetSecurityKey() -{ - return __SECURITY_KEY_STRING__.c_str(); -} - // CHEONMA void LocaleService_SetCHEONMA(bool isEnable) { @@ -243,12 +232,6 @@ void LocaleService_ForceSetLocale(const char* name, const char* localePath) { strcpy(MULTI_LOCALE_NAME, name); strcpy(MULTI_LOCALE_PATH, localePath); - - // ±âÁ¸ õ¸¶ ¼­¹ö·Î Á¢¼Ó½Ã¿¡´Â security key º¯°æ (WE ¹öÀü Ŭ¶ó·Î õ¸¶¼­¹ö Á¢¼ÓÇϱâ À§ÇÔ) - if (0 == stricmp(name, "ymir")) - __SECURITY_KEY_STRING__ = "testtesttesttest"; - if (0 == stricmp(name, "we_korea")) - __SECURITY_KEY_STRING__ = "1234abcd5678efgh"; } #if defined(LOCALE_SERVICE_GLOBAL) @@ -257,36 +240,35 @@ struct SLOCALEDATA const char* szServiceName; const char* szLocaleName; WORD wCodePage; - const char* szSecurityKey; } gs_stLocaleData[] = { - { LSS_YMIR, "ymir", 949, "testtesttesttest" }, // Korea - { LSS_EUROPE, "de", 1252, "1234abcd5678efgh" }, // GameForge (Germany) - { LSS_EUROPE, "en", 1252, "1234abcd5678efgh" }, // GameForge (United Kingdom) - { LSS_EUROPE, "us", 1252, "1234abcd5678efgh" }, // GameForge (USA) - { LSS_EUROPE, "es", 1252, "1234abcd5678efgh" }, // GameForge (Spain) - { LSS_EUROPE, "it", 1252, "1234abcd5678efgh" }, // GameForge (Italy) - { LSS_EUROPE, "fr", 1252, "1234abcd5678efgh" }, // GameForge (France) - { LSS_EUROPE, "pt", 1252, "1234abcd5678efgh" }, // GameForge (Portugal) - { LSS_EUROPE, "tr", 1253, "1234abcd5678efgh" }, // GameForge (Greece) - { LSS_EUROPE, "pl", 1250, "1234abcd5678efgh" }, // GameForge (Poland) - { LSS_EUROPE, "tr", 1254, "1234abcd5678efgh" }, // GameForge (Turkey) - { LSS_EUROPE, "dk", 1252, "1234abcd5678efgh" }, // GameForge (Demmark) - { LSS_EUROPE, "ae", 1256, "1234abcd5678efgh" }, // GameForge (United Arab Emirate) - { LSS_EUROPE, "mx", 1252, "1234abcd5678efgh" }, // GameForge (Mexico) - { LSS_EUROPE, "nl", 1252, "1234abcd5678efgh" }, // GameForge (Netherlands) - { LSS_EUROPE, "cz", 1252, "1234abcd5678efgh" }, // GameForge (Czech Republic) - { LSS_EUROPE, "ru", 1251, "1234abcd5678efgh" }, // GameForge (Russian Federation) - { LSS_EUROPE, "hu", 1250, "1234abcd5678efgh" }, // GameForge (Hungary) - { LSS_EUROPE, "ro", 1250, "1234abcd5678efgh" }, // GameForge (Romania) - { LSS_EUROPE, "ca", 1252, "testtesttesttest" }, // Z8Games (Canada) - { LSS_EUROPE, "sg", 1252, "testtesttesttest" }, // TEC (Singapore) - { LSS_JAPAN, "japan", 932, "testtesttesttest" }, // Japan - { LSS_EUROPE, "br", 1252, "testtesttesttest" }, // OnGame (Brazil) - { LSS_HONGKONG, "hongkong", 950, "testtesttesttest" }, // HongKong & Taiwan - { LSS_NEWCIBN, "newcibn", 936, "testtesttesttest" }, // CIBN (Free world) - { LSS_ENGLISH, "english", 949, "testtesttesttest" }, // English (Obsoleted) - { LSS_YMIR, "kr", 949, "testtesttesttest" }, // Korea (Obsoleted) - { NULL, NULL, 0, "testtesttesttest" } + { LSS_YMIR, "ymir", 949 }, // Korea + { LSS_EUROPE, "de", 1252 }, // GameForge (Germany) + { LSS_EUROPE, "en", 1252 }, // GameForge (United Kingdom) + { LSS_EUROPE, "us", 1252 }, // GameForge (USA) + { LSS_EUROPE, "es", 1252 }, // GameForge (Spain) + { LSS_EUROPE, "it", 1252 }, // GameForge (Italy) + { LSS_EUROPE, "fr", 1252 }, // GameForge (France) + { LSS_EUROPE, "pt", 1252 }, // GameForge (Portugal) + { LSS_EUROPE, "tr", 1253 }, // GameForge (Greece) + { LSS_EUROPE, "pl", 1250 }, // GameForge (Poland) + { LSS_EUROPE, "tr", 1254 }, // GameForge (Turkey) + { LSS_EUROPE, "dk", 1252 }, // GameForge (Demmark) + { LSS_EUROPE, "ae", 1256 }, // GameForge (United Arab Emirate) + { LSS_EUROPE, "mx", 1252 }, // GameForge (Mexico) + { LSS_EUROPE, "nl", 1252 }, // GameForge (Netherlands) + { LSS_EUROPE, "cz", 1252 }, // GameForge (Czech Republic) + { LSS_EUROPE, "ru", 1251 }, // GameForge (Russian Federation) + { LSS_EUROPE, "hu", 1250 }, // GameForge (Hungary) + { LSS_EUROPE, "ro", 1250 }, // GameForge (Romania) + { LSS_EUROPE, "ca", 1252 }, // Z8Games (Canada) + { LSS_EUROPE, "sg", 1252 }, // TEC (Singapore) + { LSS_JAPAN, "japan", 932 }, // Japan + { LSS_EUROPE, "br", 1252 }, // OnGame (Brazil) + { LSS_HONGKONG, "hongkong", 950 }, // HongKong & Taiwan + { LSS_NEWCIBN, "newcibn", 936 }, // CIBN (Free world) + { LSS_ENGLISH, "english", 949 }, // English (Obsoleted) + { LSS_YMIR, "kr", 949 }, // Korea (Obsoleted) + { NULL, NULL, 0 } }; const char* LocaleService_GetName() @@ -379,8 +361,6 @@ bool LocaleService_LoadGlobal(HINSTANCE hInstance) strcpy(MULTI_LOCALE_NAME, gs_stLocaleData[gs_iLocale].szLocaleName); sprintf(MULTI_LOCALE_PATH, "locale/%s", gs_stLocaleData[gs_iLocale].szLocaleName); MULTI_LOCALE_CODE = gs_stLocaleData[gs_iLocale].wCodePage; - if(gs_stLocaleData[gs_iLocale].szSecurityKey) - __SECURITY_KEY_STRING__ = gs_stLocaleData[gs_iLocale].szSecurityKey; return true; } #else diff --git a/src/UserInterface/Locale.h b/src/UserInterface/Locale.h index d1630429..63fa7b96 100644 --- a/src/UserInterface/Locale.h +++ b/src/UserInterface/Locale.h @@ -1,6 +1,12 @@ #pragma once -#include "Locale_inc.h" +#define LOCALE_SERVICE_EUROPE + +#define ENABLE_COSTUME_SYSTEM +#define ENABLE_ENERGY_SYSTEM +#define ENABLE_DRAGON_SOUL_SYSTEM +#define ENABLE_NEW_EQUIPMENT_SYSTEM + bool LocaleService_IsYMIR(); bool LocaleService_IsJAPAN(); @@ -9,13 +15,11 @@ bool LocaleService_IsHONGKONG(); bool LocaleService_IsTAIWAN(); bool LocaleService_IsNEWCIBN(); bool LocaleService_IsEUROPE(); -bool LocaleService_IsWorldEdition(); unsigned LocaleService_GetCodePage(); const char* LocaleService_GetName(); const char* LocaleService_GetLocaleName(); const char* LocaleService_GetLocalePath(); -const char* LocaleService_GetSecurityKey(); BOOL LocaleService_IsLeadByte( const char chByte ); int LocaleService_StringCompareCI( LPCSTR szStringLeft, LPCSTR szStringRight, size_t sizeLength ); diff --git a/src/UserInterface/Locale_inc.h b/src/UserInterface/Locale_inc.h deleted file mode 100644 index 50e71431..00000000 --- a/src/UserInterface/Locale_inc.h +++ /dev/null @@ -1,4 +0,0 @@ -#define LOCALE_SERVICE_SINGAPORE // ½Ì°¡Æú -#define ENABLE_COSTUME_SYSTEM -#define ENABLE_ENERGY_SYSTEM -#define ENABLE_NEW_EQUIPMENT_SYSTEM diff --git a/src/UserInterface/Locale_inc_BR.h b/src/UserInterface/Locale_inc_BR.h deleted file mode 100644 index 7ce2bf5c..00000000 --- a/src/UserInterface/Locale_inc_BR.h +++ /dev/null @@ -1,5 +0,0 @@ -#define LOCALE_SERVICE_BRAZIL // ºê¶óÁú - -#define ENABLE_COSTUME_SYSTEM -#define ENABLE_ENERGY_SYSTEM -#define ENABLE_DRAGON_SOUL_SYSTEM \ No newline at end of file diff --git a/src/UserInterface/Locale_inc_CA.h b/src/UserInterface/Locale_inc_CA.h deleted file mode 100644 index e60d4872..00000000 --- a/src/UserInterface/Locale_inc_CA.h +++ /dev/null @@ -1,4 +0,0 @@ -#define LOCALE_SERVICE_CANADA // ij³ª´Ù - -#define ENABLE_COSTUME_SYSTEM -#define ENABLE_ENERGY_SYSTEM diff --git a/src/UserInterface/Locale_inc_EU.h b/src/UserInterface/Locale_inc_EU.h deleted file mode 100644 index 70c2583a..00000000 --- a/src/UserInterface/Locale_inc_EU.h +++ /dev/null @@ -1,3 +0,0 @@ -#define LOCALE_SERVICE_EUROPE // À¯·´ - -#define LSS_SECURITY_KEY "1234abcd5678efgh" diff --git a/src/UserInterface/Locale_inc_EU2.h b/src/UserInterface/Locale_inc_EU2.h deleted file mode 100644 index 5add6e1b..00000000 --- a/src/UserInterface/Locale_inc_EU2.h +++ /dev/null @@ -1,11 +0,0 @@ -#define LOCALE_SERVICE_EUROPE // À¯·´ - -#define LSS_SECURITY_KEY "1234abcd5678efgh" - -#define ENABLE_COSTUME_SYSTEM - -#define ENABLE_ENERGY_SYSTEM - -#define ENABLE_DRAGON_SOUL_SYSTEM -#define ENABLE_NEW_EQUIPMENT_SYSTEM - diff --git a/src/UserInterface/Locale_inc_GB.h b/src/UserInterface/Locale_inc_GB.h deleted file mode 100644 index 85745898..00000000 --- a/src/UserInterface/Locale_inc_GB.h +++ /dev/null @@ -1,3 +0,0 @@ -#define LOCALE_SERVICE_GLOBAL // GLOBAL version - -#define USE_RELATIVE_PATH diff --git a/src/UserInterface/Locale_inc_HK.h b/src/UserInterface/Locale_inc_HK.h deleted file mode 100644 index e1d64b0f..00000000 --- a/src/UserInterface/Locale_inc_HK.h +++ /dev/null @@ -1,2 +0,0 @@ -#define LOCALE_SERVICE_HONGKONG // È«Äá - diff --git a/src/UserInterface/Locale_inc_JP.h b/src/UserInterface/Locale_inc_JP.h deleted file mode 100644 index bdc03217..00000000 --- a/src/UserInterface/Locale_inc_JP.h +++ /dev/null @@ -1,8 +0,0 @@ -#define LOCALE_SERVICE_WE_JAPAN // World Edition(À¯·´ ¹öÁ¯) ¹öÁ¯ÀÇ ÀϺ» -#define LOCALE_SERVICE_EUROPE // À¯·´ - -#define LSS_SECURITY_KEY "1234abcd5678efgh" - -#define ENABLE_COSTUME_SYSTEM -#define ENABLE_ENERGY_SYSTEM -#define USE_OPENID diff --git a/src/UserInterface/Locale_inc_KO.h b/src/UserInterface/Locale_inc_KO.h deleted file mode 100644 index ca7ecee8..00000000 --- a/src/UserInterface/Locale_inc_KO.h +++ /dev/null @@ -1,6 +0,0 @@ -#include "Locale_inc_EU.h" - -#define ENABLE_COSTUME_SYSTEM -#define ENABLE_ENERGY_SYSTEM -#define ENABLE_DRAGON_SOUL_SYSTEM -#define ENABLE_NEW_EQUIPMENT_SYSTEM diff --git a/src/UserInterface/Locale_inc_KO_DEV.h b/src/UserInterface/Locale_inc_KO_DEV.h deleted file mode 100644 index 28fcbc82..00000000 --- a/src/UserInterface/Locale_inc_KO_DEV.h +++ /dev/null @@ -1,5 +0,0 @@ -#define LOCALE_SERVICE_YMIR // Korean - -#define LOCALE_SERVICE_STAGE_DEVELOPMENT - -#define USE_RELATIVE_PATH diff --git a/src/UserInterface/Locale_inc_NEWCIBN.h b/src/UserInterface/Locale_inc_NEWCIBN.h deleted file mode 100644 index 4c20a68e..00000000 --- a/src/UserInterface/Locale_inc_NEWCIBN.h +++ /dev/null @@ -1,6 +0,0 @@ -#define LOCALE_SERVICE_NEWCIBN // Áß±¹ ÀÚÀ¯¼¼°è - -#define ENABLE_COSTUME_SYSTEM -#define ENABLE_ENERGY_SYSTEM -#define ENABLE_DRAGON_SOUL_SYSTEM -#define ENABLE_NEW_EQUIPMENT_SYSTEM \ No newline at end of file diff --git a/src/UserInterface/Locale_inc_SG.h b/src/UserInterface/Locale_inc_SG.h deleted file mode 100644 index 0d59ed9c..00000000 --- a/src/UserInterface/Locale_inc_SG.h +++ /dev/null @@ -1,3 +0,0 @@ -#define LOCALE_SERVICE_SINGAPORE // ½Ì°¡Æú -#define ENABLE_COSTUME_SYSTEM -#define ENABLE_ENERGY_SYSTEM diff --git a/src/UserInterface/Locale_inc_VI.h b/src/UserInterface/Locale_inc_VI.h deleted file mode 100644 index 00489384..00000000 --- a/src/UserInterface/Locale_inc_VI.h +++ /dev/null @@ -1 +0,0 @@ -#define LOCALE_SERVICE_VIETNAM // º£Æ®³² diff --git a/src/UserInterface/Locale_inc_dev.h b/src/UserInterface/Locale_inc_dev.h deleted file mode 100644 index ad2f9612..00000000 --- a/src/UserInterface/Locale_inc_dev.h +++ /dev/null @@ -1,6 +0,0 @@ -#include "Locale_inc_EU.h" - -#define ENABLE_COSTUME_SYSTEM -#define ENABLE_ENERGY_SYSTEM -#define ENABLE_DRAGON_SOUL_SYSTEM -#define ENABLE_NEW_EQUIPMENT_SYSTEM \ No newline at end of file diff --git a/src/UserInterface/PythonNetworkStreamPhaseLogin.cpp b/src/UserInterface/PythonNetworkStreamPhaseLogin.cpp index 7c383d27..d951be11 100644 --- a/src/UserInterface/PythonNetworkStreamPhaseLogin.cpp +++ b/src/UserInterface/PythonNetworkStreamPhaseLogin.cpp @@ -89,8 +89,6 @@ void CPythonNetworkStream::LoginPhase() void CPythonNetworkStream::SetLoginPhase() { - const char* key = LocaleService_GetSecurityKey(); - if ("Login" != m_strPhase) m_phaseLeaveFunc.Run(); diff --git a/src/UserInterface/UserInterface.rc b/src/UserInterface/UserInterface.rc index ef9adfef..f966125d 100644 --- a/src/UserInterface/UserInterface.rc +++ b/src/UserInterface/UserInterface.rc @@ -1,7 +1,6 @@ // Microsoft Visual C++ generated resource script. // #include "resource.h" -#include "version.h" #define APSTUDIO_READONLY_SYMBOLS ///////////////////////////////////////////////////////////////////////////// @@ -14,61 +13,11 @@ #undef APSTUDIO_READONLY_SYMBOLS ///////////////////////////////////////////////////////////////////////////// -// ÀϺ»¾î resources +// English (United States) resources -#if !defined(AFX_RESOURCE_DLL) || defined(AFX_TARG_JPN) -#ifdef _WIN32 -LANGUAGE LANG_JAPANESE, SUBLANG_DEFAULT -#pragma code_page(932) -#endif //_WIN32 - -///////////////////////////////////////////////////////////////////////////// -// -// String Table -// - -STRINGTABLE -BEGIN - IDS_POSSESSIVE_MORPHENE "'s" -END - -#endif // ÀϺ»¾î resources -///////////////////////////////////////////////////////////////////////////// - - -///////////////////////////////////////////////////////////////////////////// -// Áß±¹¾î(Áß±¹) resources - -#if !defined(AFX_RESOURCE_DLL) || defined(AFX_TARG_CHS) -#ifdef _WIN32 -LANGUAGE LANG_CHINESE, SUBLANG_CHINESE_SIMPLIFIED -#pragma code_page(936) -#endif //_WIN32 - -///////////////////////////////////////////////////////////////////////////// -// -// String Table -// - -STRINGTABLE -BEGIN - IDS_POSSESSIVE_MORPHENE "'s" - IDS_WARN_BAD_DRIVER "Ï£ÍûÄúÄܸüÐÂÏÔ¿¨Çý¶¯¡£" - IDS_WARN_NO_TNL "ÄúµÄÏÔ¿¨²»Ö§³Ö3D TnL Ó²¼þ¼ÓËÙ\nÓÎÏ·½«ÎÞ·¨Õý³£ÔËÐС£" -END - -#endif // Áß±¹¾î(Áß±¹) resources -///////////////////////////////////////////////////////////////////////////// - - -///////////////////////////////////////////////////////////////////////////// -// Çѱ¹¾î resources - -#if !defined(AFX_RESOURCE_DLL) || defined(AFX_TARG_KOR) -#ifdef _WIN32 -LANGUAGE LANG_KOREAN, SUBLANG_DEFAULT -#pragma code_page(949) -#endif //_WIN32 +#if !defined(AFX_RESOURCE_DLL) || defined(AFX_TARG_ENU) +LANGUAGE LANG_ENGLISH, SUBLANG_ENGLISH_US +#pragma code_page(1252) ///////////////////////////////////////////////////////////////////////////// // @@ -117,19 +66,20 @@ END // Cursor // -IDC_CURSOR_NORMAL CURSOR "Cursors\\cursor.cur" -IDC_CURSOR_CHAIR CURSOR "Cursors\\cursor_chair.cur" -IDC_CURSOR_DOOR CURSOR "Cursors\\cursor_door.cur" -IDC_CURSOR_NO CURSOR "Cursors\\cursor_no.cur" -IDC_CURSOR_PICK CURSOR "Cursors\\cursor_pick.cur" -IDC_CURSOR_TALK CURSOR "Cursors\\cursor_talk.cur" -IDC_CURSOR_ATTACK CURSOR "Cursors\\cursor_attack.cur" -IDC_CURSOR_BUY CURSOR "cursors\\cursor_buy.cur" -IDC_CURSOR_SELL CURSOR "cursors\\cursor_sell.cur" +IDC_CURSOR_NORMAL CURSOR "Cursors\\cursor.cur" +IDC_CURSOR_CHAIR CURSOR "Cursors\\cursor_chair.cur" +IDC_CURSOR_DOOR CURSOR "Cursors\\cursor_door.cur" +IDC_CURSOR_NO CURSOR "Cursors\\cursor_no.cur" +IDC_CURSOR_PICK CURSOR "Cursors\\cursor_pick.cur" +IDC_CURSOR_TALK CURSOR "Cursors\\cursor_talk.cur" +IDC_CURSOR_ATTACK CURSOR "Cursors\\cursor_attack.cur" +IDC_CURSOR_BUY CURSOR "Cursors\\cursor_buy.cur" +IDC_CURSOR_SELL CURSOR "Cursors\\cursor_sell.cur" IDC_CURSOR_CAMERA_ROTATE CURSOR "Cursors\\cursor_camera_rotate.cur" -IDC_CURSOR_HSIZE CURSOR "Cursors\\cursor_hsize.cur" -IDC_CURSOR_VSIZE CURSOR "Cursors\\cursor_vsize.cur" -IDC_CURSOR_HVSIZE CURSOR "Cursors\\cursor_hvsize.cur" +IDC_CURSOR_HSIZE CURSOR "Cursors\\cursor_hsize.cur" +IDC_CURSOR_VSIZE CURSOR "Cursors\\cursor_vsize.cur" +IDC_CURSOR_HVSIZE CURSOR "Cursors\\cursor_hvsize.cur" + ///////////////////////////////////////////////////////////////////////////// // @@ -137,7 +87,7 @@ IDC_CURSOR_HVSIZE CURSOR "Cursors\\cursor_hvsize.cur" // #ifdef APSTUDIO_INVOKED -GUIDELINES DESIGNINFO +GUIDELINES DESIGNINFO BEGIN IDD_SELECT_LOCALE, DIALOG BEGIN @@ -157,14 +107,15 @@ END // remains consistent on all systems. IDI_METIN2 ICON "metin2.ico" + ///////////////////////////////////////////////////////////////////////////// // // Version // VS_VERSION_INFO VERSIONINFO - FILEVERSION VER_FILE_VERSION - PRODUCTVERSION 1,0,0,1 + FILEVERSION 0,2,0,0 + PRODUCTVERSION 0,2,0,0 FILEFLAGSMASK 0x17L #ifdef _DEBUG FILEFLAGS 0x1L @@ -179,14 +130,14 @@ BEGIN BEGIN BLOCK "080003b5" BEGIN - VALUE "CompanyName", "Ymir Entertainment" - VALUE "FileDescription", "Metin2Client" - VALUE "FileVersion", VER_FILE_VERSION_STR "\0" + VALUE "CompanyName", "The Old Metin2 Project" + VALUE "FileDescription", "The Metin2 Client" + VALUE "FileVersion", "0.2.0.0" VALUE "InternalName", "Metin2Client" - VALUE "LegalCopyright", "Copyright (C) 2011" - VALUE "OriginalFilename", "Metin2Client.exe" + VALUE "LegalCopyright", "Copyright (C) 2024" + VALUE "OriginalFilename", "Metin2.exe" VALUE "ProductName", "Metin2Client" - VALUE "ProductVersion", "1, 0, 0, 1" + VALUE "ProductVersion", "0.2.0.0" END END BLOCK "VarFileInfo" @@ -201,36 +152,7 @@ END // String Table // -STRINGTABLE -BEGIN - IDS_APP_NAME "¸Þƾ2" - IDS_POSSESSIVE_MORPHENE "ÀÇ" - IDS_WARN_BAD_DRIVER "±×·¡ÇÈ µå¶óÀ̹ö¸¦ ¾÷µ¥ÀÌÆ® ÇϽñ⠹ٶø´Ï´Ù." - IDS_WARN_NO_TNL "»ç¿ëÇÏ°í °è½Å ½Ã½ºÅÛÀÇ ±×·¡ÇÈÄ«µå´Â 3D TnL Çϵå¿þ¾î °¡¼ÓÀÌ Áö¿øµÇÁö ¾Ê¾Æ\n°ÔÀÓÀÌ ´À¸®°Ô ½ÇÇàµÇ°Å³ª Á¦´ë·Î ½ÇÇàµÇÁö ¾ÊÀ»¼ö ÀÖ½À´Ï´Ù." - IDS_ERR_CANNOT_READ_FILE "%s ÆÄÀÏÀ» ÀÐÀ» ¼ö ¾ø½À´Ï´Ù." - IDS_ERR_NOT_LATEST_FILE "'%s' ÆÄÀÏÀº ÃֽŹöÀüÀÌ ¾Æ´Õ´Ï´Ù. ·±Ã³¸¦ ´Ù½Ã ½ÇÇàÇØÁÖ¼¼¿ä." - IDS_ERR_MUST_LAUNCH_FROM_PATCHER "Ŭ¶óÀ̾ðÆ®´Â ÆÐó¸¦ »ç¿ëÇؼ­ ½ÇÇàµÇ¾î¾ß ÇÕ´Ï´Ù." -END - -#endif // Çѱ¹¾î resources -///////////////////////////////////////////////////////////////////////////// - - -///////////////////////////////////////////////////////////////////////////// -// ¿µ¾î(¹Ì±¹) resources - -#if !defined(AFX_RESOURCE_DLL) || defined(AFX_TARG_ENU) -#ifdef _WIN32 -LANGUAGE LANG_ENGLISH, SUBLANG_ENGLISH_US -#pragma code_page(1252) -#endif //_WIN32 - -///////////////////////////////////////////////////////////////////////////// -// -// String Table -// - -STRINGTABLE +STRINGTABLE BEGIN IDS_APP_NAME "Metin 2" IDS_POSSESSIVE_MORPHENE "'s" @@ -241,7 +163,7 @@ BEGIN IDS_ERR_MUST_LAUNCH_FROM_PATCHER "Please run patcher." END -#endif // ¿µ¾î(¹Ì±¹) resources +#endif // English (United States) resources ///////////////////////////////////////////////////////////////////////////// @@ -255,3 +177,4 @@ END ///////////////////////////////////////////////////////////////////////////// #endif // not APSTUDIO_INVOKED + diff --git a/src/UserInterface/UserInterface.vcxproj b/src/UserInterface/UserInterface.vcxproj index 801e36e9..84318307 100644 --- a/src/UserInterface/UserInterface.vcxproj +++ b/src/UserInterface/UserInterface.vcxproj @@ -143,7 +143,7 @@ NDEBUG;%(PreprocessorDefinitions) - 0x0412 + 0x0409 NotSet @@ -196,7 +196,7 @@ _DEBUG;%(PreprocessorDefinitions) - 0x0412 + 0x0409 NotSet @@ -241,7 +241,7 @@ NDEBUG;%(PreprocessorDefinitions) - 0x0412 + 0x0409 NotSet @@ -292,7 +292,7 @@ NDEBUG;%(PreprocessorDefinitions) - 0x0412 + 0x0409 NotSet @@ -422,20 +422,6 @@ - - - - - - - - - - - - - - diff --git a/src/UserInterface/UserInterface.vcxproj.filters b/src/UserInterface/UserInterface.vcxproj.filters index f28ff602..1976b3b1 100644 --- a/src/UserInterface/UserInterface.vcxproj.filters +++ b/src/UserInterface/UserInterface.vcxproj.filters @@ -406,48 +406,6 @@ Locale - - Locale - - - Locale - - - Locale - - - Locale - - - Locale - - - Locale - - - Locale - - - Locale - - - Locale - - - Locale - - - Locale - - - Locale - - - Locale - - - Locale - Network diff --git a/src/UserInterface/metin2.ico b/src/UserInterface/metin2.ico index 0c02a0a6863097c52a46ba8fcb14221d98ba5232..1097646e81e39e5dbf71f9da359ffd697c9b4aa7 100644 GIT binary patch literal 7406 zcmeHL&2Hn!5pI&2SRg&5RBLvVqYPz6qJ~y;8WK!x_NI9WpLdTr<_&BhK+buCxdwg- zJJ`d%z@B$}%XNG`3h}iN z;`DS=?hEk~>IQ?h{D(I}{8eg%% zdTbl@*Npwrh^Ap*pbwkZU(m+(*J$T@^nbznuz$_=Z5_&E*c$_Pc?~;wzPiF#uB|P$ zci_Vu9QMHe9>7a?AR(ebW-?30{F?cod_(mxFSBd_ivFEmRv({lsNQI1(0ftG_k&SM zr+|;gN29Gu5CpzfSwywAJ#?;MQFLYtfsgOpa1^vE zqv3Gkk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