In pull requests this issue described with screenshots.
In any not english game language mod make item names as "???"
And colors instead of color itself start to show as "y4c" before item name.
It causes by different code pages when game is not english.
All colors must be set like this to work properly:
On Item.cpp must be added next to right colors on any language:
for (DWORD i = 0; i < wcslen(name); i++)
{
if ((name[i] >= 0xFF || name[i] == 0x79) && name[i + 1] == L'c')
{
name[i] = L'\377';
};
}
To fix "???" in item names in Constants.h for russian:
define CODE_PAGE 1251
I think it must be the way to set CODE_PAGE as system code page...
In pull requests this issue described with screenshots. In any not english game language mod make item names as "???" And colors instead of color itself start to show as "y4c" before item name. It causes by different code pages when game is not english. All colors must be set like this to work properly:
define COLOR_REPLACEMENTS \
On Item.cpp must be added next to right colors on any language: for (DWORD i = 0; i < wcslen(name); i++) { if ((name[i] >= 0xFF || name[i] == 0x79) && name[i + 1] == L'c') { name[i] = L'\377'; }; } To fix "???" in item names in Constants.h for russian:
define CODE_PAGE 1251
I think it must be the way to set CODE_PAGE as system code page...