From 6db3e912cd14c0a4201ec6f0b89c860df23a29f8 Mon Sep 17 00:00:00 2001 From: Fireblade <3+fireblade@noreply.neolegacy.dev> Date: Wed, 8 Jul 2026 20:29:27 -0400 Subject: [PATCH] chore: restore .gitignore --- .gitignore | 4 ++++ Minecraft.Client/StringTable.cpp | 20 +++----------------- 2 files changed, 7 insertions(+), 17 deletions(-) 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(); } }