diff --git a/es-app/src/FileData.cpp b/es-app/src/FileData.cpp
index 1f143c8ac..9e839ad10 100644
--- a/es-app/src/FileData.cpp
+++ b/es-app/src/FileData.cpp
@@ -1879,6 +1879,7 @@ void FileData::launchGame()
                         extraValue =
                             Utils::String::replace(extraValue, "%ROMPATHRAW%", getROMDirectory());
                         extraValue = Utils::String::replace(extraValue, "%ROMRAW%", romRaw);
+                        extraValue = Utils::String::replace(extraValue, "%BASENAME%", baseName);
                         extraValue = Utils::String::replace(extraValue, "//", "/");
 
                         if (variable == "%EXTRA_")