diff --git a/source/CMakeLists.txt b/source/CMakeLists.txt
index 5d16dd292..57bf27251 100644
--- a/source/CMakeLists.txt
+++ b/source/CMakeLists.txt
@@ -1010,6 +1010,7 @@ set (PCH_SOURCES
 	core/rendering/scene/hw_lighting.cpp
 
 	core/r_data/gldefs.cpp
+	core/r_data/r_translate.cpp
 	core/models/modeldata.cpp
 
 	core/console/c_notifybuffer.cpp
diff --git a/source/core/gamecontrol.cpp b/source/core/gamecontrol.cpp
index 9f07ed859..6f9c1792d 100644
--- a/source/core/gamecontrol.cpp
+++ b/source/core/gamecontrol.cpp
@@ -96,6 +96,8 @@ CVAR(Bool, autoloadlights, true, CVAR_ARCHIVE|CVAR_GLOBALCONFIG)
 CVAR(Bool, autoloadbrightmaps, true, CVAR_ARCHIVE | CVAR_GLOBALCONFIG)
 CVAR(Bool, autoloadwidescreen, true, CVAR_ARCHIVE | CVAR_GLOBALCONFIG)
 
+CVAR (Bool, longsavemessages, false, CVAR_ARCHIVE|CVAR_GLOBALCONFIG)
+
 // Note: For the automap label there is a separate option "am_textfont".
 CVARD(Bool, hud_textfont, false, CVAR_ARCHIVE, "Use the regular text font as replacement for the tiny 3x5 font for HUD messages whenever possible")
 
diff --git a/source/core/r_data/r_translate.cpp b/source/core/r_data/r_translate.cpp
new file mode 100644
index 000000000..dc2419852
--- /dev/null
+++ b/source/core/r_data/r_translate.cpp
@@ -0,0 +1,8 @@
+#include "common/engine/palettecontainer.h"
+#include "name.h"
+
+// this is a stub, for now.
+FTranslationID R_FindCustomTranslation(FName name)
+{
+	return INVALID_TRANSLATION;
+}
\ No newline at end of file