diff --git a/.gitignore b/.gitignore index 4830ca69..1f9a4357 100644 --- a/.gitignore +++ b/.gitignore @@ -440,3 +440,7 @@ result-* # macOS .DS_Store + + +# stop dlcs from prs +Minecraft.Client/Windows64Media/DLC/* diff --git a/Minecraft.Client/StringTable.cpp b/Minecraft.Client/StringTable.cpp index 2b4d0071..9c7c1996 100644 --- a/Minecraft.Client/StringTable.cpp +++ b/Minecraft.Client/StringTable.cpp @@ -470,23 +470,9 @@ LPCWSTR StringTable::getString(const wstring &id) } else { - // fireblade: temporarily hardcoded until someone figures out how to read big endian dlc string tables - if (id == L"IDS_MARIO_NAME") - { - return L"Super Mario World"; - } - else if (id == L"IDS_MARSHRT_NAME") { - return L"Super Mario"; - } - else if (id == L"IDS_MASV_NAME") { - return L"Super Mario Save"; - } - else - { - m_missingKeyFallback = id; - printf("StringTable::getString() - Missing key '%ls'\n", id.c_str()); - return m_missingKeyFallback.c_str(); - } + m_missingKeyFallback = id; + printf("StringTable::getString() - Missing key '%ls'\n", id.c_str()); + return m_missingKeyFallback.c_str(); } }