mirror of
https://github.com/RetroDECK/ES-DE.git
synced 2024-11-24 15:15:38 +00:00
Changed the application name from EmulationStation Desktop Edition to ES-DE
This commit is contained in:
parent
873ec7ee20
commit
361bf832e1
|
@ -1,6 +1,6 @@
|
||||||
# SPDX-License-Identifier: MIT
|
# SPDX-License-Identifier: MIT
|
||||||
#
|
#
|
||||||
# EmulationStation Desktop Edition
|
# ES-DE
|
||||||
# .clang-format
|
# .clang-format
|
||||||
#
|
#
|
||||||
# Style configuration file for automatic C++ and Java code formatting using clang-format.
|
# Style configuration file for automatic C++ and Java code formatting using clang-format.
|
||||||
|
|
36
.gitignore
vendored
36
.gitignore
vendored
|
@ -18,18 +18,18 @@
|
||||||
*.d
|
*.d
|
||||||
|
|
||||||
# Compiled executable
|
# Compiled executable
|
||||||
emulationstation
|
/es-de
|
||||||
EmulationStation
|
/ES-DE
|
||||||
EmulationStation.exe
|
/ES-DE.exe
|
||||||
es-pdf-convert
|
/es-pdf-convert
|
||||||
es-pdf-convert.exe
|
/es-pdf-convert.exe
|
||||||
|
|
||||||
# Emscripten build
|
# Emscripten build
|
||||||
emulationstation.data
|
es-de.data
|
||||||
emulationstation.html
|
es-de.html
|
||||||
emulationstation.js
|
es-de.js
|
||||||
emulationstation.wasm
|
es-de.wasm
|
||||||
emulationstation.worker.js
|
es-de.worker.js
|
||||||
/index.html
|
/index.html
|
||||||
/ROMs
|
/ROMs
|
||||||
|
|
||||||
|
@ -42,7 +42,7 @@ AppDir
|
||||||
*.AppImage
|
*.AppImage
|
||||||
|
|
||||||
# Core dumps
|
# Core dumps
|
||||||
emulationstation.core
|
es-de.core
|
||||||
|
|
||||||
# Profiling data
|
# Profiling data
|
||||||
callgrind.out.*
|
callgrind.out.*
|
||||||
|
@ -64,21 +64,21 @@ CMakeFiles
|
||||||
cmake_install.cmake
|
cmake_install.cmake
|
||||||
Makefile
|
Makefile
|
||||||
install_manifest.txt
|
install_manifest.txt
|
||||||
EmulationStation.exe.manifest
|
ES-DE.exe.manifest
|
||||||
|
|
||||||
# CPack
|
# CPack
|
||||||
_CPack_Packages
|
_CPack_Packages
|
||||||
emulationstation-de*.deb
|
es-de*.deb
|
||||||
emulationstation-de*.rpm
|
es-de*.rpm
|
||||||
EmulationStation-DE*.dmg
|
ES-DE*.dmg
|
||||||
EmulationStation-DE*.exe
|
ES-DE*.exe
|
||||||
|
|
||||||
# macOS
|
# macOS
|
||||||
.DS_Store
|
.DS_Store
|
||||||
|
|
||||||
# MSVC
|
# MSVC
|
||||||
EmulationStation.ilk
|
ES-DE.ilk
|
||||||
EmulationStation.pdb
|
ES-DE.pdb
|
||||||
es-pdf-convert.ilk
|
es-pdf-convert.ilk
|
||||||
es-pdf-convert.pdb
|
es-pdf-convert.pdb
|
||||||
lunasvg.exp
|
lunasvg.exp
|
||||||
|
|
|
@ -11,12 +11,12 @@
|
||||||
cmake_minimum_required(VERSION 3.13)
|
cmake_minimum_required(VERSION 3.13)
|
||||||
if(APPLE)
|
if(APPLE)
|
||||||
# Set this to the minimum supported macOS version, and also update
|
# Set this to the minimum supported macOS version, and also update
|
||||||
# es-app/assets/EmulationStation-DE_Info.plist accordingly.
|
# es-app/assets/ES-DE_Info.plist accordingly.
|
||||||
set(CMAKE_OSX_DEPLOYMENT_TARGET 10.15 CACHE STRING "macOS deployment target")
|
set(CMAKE_OSX_DEPLOYMENT_TARGET 10.15 CACHE STRING "macOS deployment target")
|
||||||
# This optional variable is used for code signing the DMG installer.
|
# This optional variable is used for code signing the DMG installer.
|
||||||
set(MACOS_CODESIGN_IDENTITY "" CACHE STRING "macOS code signing certificate identity")
|
set(MACOS_CODESIGN_IDENTITY "" CACHE STRING "macOS code signing certificate identity")
|
||||||
endif()
|
endif()
|
||||||
project(emulationstation-de)
|
project(es-de)
|
||||||
|
|
||||||
# Application version, update this when making a new release.
|
# Application version, update this when making a new release.
|
||||||
set(ES_VERSION 3.0.0-alpha)
|
set(ES_VERSION 3.0.0-alpha)
|
||||||
|
@ -157,12 +157,12 @@ endif()
|
||||||
if(CMAKE_CXX_COMPILER_ID MATCHES Clang)
|
if(CMAKE_CXX_COMPILER_ID MATCHES Clang)
|
||||||
message("-- Compiler is Clang/LLVM")
|
message("-- Compiler is Clang/LLVM")
|
||||||
if(CMAKE_CXX_COMPILER_VERSION VERSION_LESS 5.0.0)
|
if(CMAKE_CXX_COMPILER_VERSION VERSION_LESS 5.0.0)
|
||||||
message(SEND_ERROR "You need at least Clang 5.0.0 to compile EmulationStation-DE")
|
message(SEND_ERROR "You need at least Clang 5.0.0 to compile ES-DE")
|
||||||
endif()
|
endif()
|
||||||
elseif(CMAKE_CXX_COMPILER_ID MATCHES GNU)
|
elseif(CMAKE_CXX_COMPILER_ID MATCHES GNU)
|
||||||
message("-- Compiler is GNU/GCC")
|
message("-- Compiler is GNU/GCC")
|
||||||
if(CMAKE_CXX_COMPILER_VERSION VERSION_LESS 7.1)
|
if(CMAKE_CXX_COMPILER_VERSION VERSION_LESS 7.1)
|
||||||
message(SEND_ERROR "You need at least GCC 7.1 to compile EmulationStation-DE")
|
message(SEND_ERROR "You need at least GCC 7.1 to compile ES-DE")
|
||||||
endif()
|
endif()
|
||||||
if(WIN32)
|
if(WIN32)
|
||||||
set(CMAKE_CXX_FLAGS "-mwindows ${CMAKE_CXX_FLAGS}")
|
set(CMAKE_CXX_FLAGS "-mwindows ${CMAKE_CXX_FLAGS}")
|
||||||
|
@ -229,8 +229,8 @@ if(EMSCRIPTEN)
|
||||||
set(CMAKE_CXX_FLAGS "${CMAKE_CXX_FLAGS} -s USE_SDL=2 -pthread")
|
set(CMAKE_CXX_FLAGS "${CMAKE_CXX_FLAGS} -s USE_SDL=2 -pthread")
|
||||||
set(CMAKE_EXE_LINKER_FLAGS "${CMAKE_EXE_LINKER_FLAGS} -s INITIAL_MEMORY=33554432 -s ALLOW_MEMORY_GROWTH=1 -s WASM=1 -s ASSERTIONS=1 -s EXIT_RUNTIME=1 -s USE_SDL=2 \
|
set(CMAKE_EXE_LINKER_FLAGS "${CMAKE_EXE_LINKER_FLAGS} -s INITIAL_MEMORY=33554432 -s ALLOW_MEMORY_GROWTH=1 -s WASM=1 -s ASSERTIONS=1 -s EXIT_RUNTIME=1 -s USE_SDL=2 \
|
||||||
-pthread -s PTHREAD_POOL_SIZE=4 -s DEMANGLE_SUPPORT=1 -s USE_WEBGL2=1 -s FULL_ES3=1 -s ERROR_ON_UNDEFINED_SYMBOLS=1 -s ASYNCIFY \
|
-pthread -s PTHREAD_POOL_SIZE=4 -s DEMANGLE_SUPPORT=1 -s USE_WEBGL2=1 -s FULL_ES3=1 -s ERROR_ON_UNDEFINED_SYMBOLS=1 -s ASYNCIFY \
|
||||||
--preload-file ${PROJECT_SOURCE_DIR}/resources@/home/web_user/.emulationstation/resources/ \
|
--preload-file ${PROJECT_SOURCE_DIR}/resources@/home/web_user/ES-DE/resources/ \
|
||||||
--preload-file ${PROJECT_SOURCE_DIR}/themes/slate-es-de@/home/web_user/.emulationstation/themes/slate-es-de/ \
|
--preload-file ${PROJECT_SOURCE_DIR}/themes/slate-es-de@/home/web_user/ES-DE/themes/slate-es-de/ \
|
||||||
--preload-file ${PROJECT_SOURCE_DIR}/ROMs@/home/web_user/ROMs/")
|
--preload-file ${PROJECT_SOURCE_DIR}/ROMs@/home/web_user/ROMs/")
|
||||||
endif()
|
endif()
|
||||||
|
|
||||||
|
@ -636,7 +636,7 @@ endif()
|
||||||
if(APPLE)
|
if(APPLE)
|
||||||
# See es-app/CMakeLists.txt for an explation for why an extra "Resources" directory
|
# See es-app/CMakeLists.txt for an explation for why an extra "Resources" directory
|
||||||
# has been added to the install prefix.
|
# has been added to the install prefix.
|
||||||
set(CMAKE_INSTALL_PREFIX "/Applications/EmulationStation Desktop Edition.app/Contents/Resources")
|
set(CMAKE_INSTALL_PREFIX "/Applications/ES-DE.app/Contents/Resources")
|
||||||
|
|
||||||
# Set the same rpath links for the install executable as for the build executable.
|
# Set the same rpath links for the install executable as for the build executable.
|
||||||
set(CMAKE_INSTALL_RPATH_USE_LINK_PATH TRUE)
|
set(CMAKE_INSTALL_RPATH_USE_LINK_PATH TRUE)
|
||||||
|
|
|
@ -7,12 +7,12 @@
|
||||||
# Also contains the application packaging configuration.
|
# Also contains the application packaging configuration.
|
||||||
#
|
#
|
||||||
|
|
||||||
project(emulationstation-de)
|
project(es-de)
|
||||||
|
|
||||||
set(ES_HEADERS
|
set(ES_HEADERS
|
||||||
${CMAKE_CURRENT_SOURCE_DIR}/src/ApplicationUpdater.h
|
${CMAKE_CURRENT_SOURCE_DIR}/src/ApplicationUpdater.h
|
||||||
|
${CMAKE_CURRENT_SOURCE_DIR}/src/ApplicationVersion.h
|
||||||
${CMAKE_CURRENT_SOURCE_DIR}/src/CollectionSystemsManager.h
|
${CMAKE_CURRENT_SOURCE_DIR}/src/CollectionSystemsManager.h
|
||||||
${CMAKE_CURRENT_SOURCE_DIR}/src/EmulationStation.h
|
|
||||||
${CMAKE_CURRENT_SOURCE_DIR}/src/FileData.h
|
${CMAKE_CURRENT_SOURCE_DIR}/src/FileData.h
|
||||||
${CMAKE_CURRENT_SOURCE_DIR}/src/FileFilterIndex.h
|
${CMAKE_CURRENT_SOURCE_DIR}/src/FileFilterIndex.h
|
||||||
${CMAKE_CURRENT_SOURCE_DIR}/src/FileSorts.h
|
${CMAKE_CURRENT_SOURCE_DIR}/src/FileSorts.h
|
||||||
|
@ -112,7 +112,7 @@ set(ES_SOURCES
|
||||||
)
|
)
|
||||||
|
|
||||||
if(WIN32)
|
if(WIN32)
|
||||||
LIST(APPEND ES_SOURCES ${CMAKE_CURRENT_SOURCE_DIR}/assets/EmulationStation.rc)
|
LIST(APPEND ES_SOURCES ${CMAKE_CURRENT_SOURCE_DIR}/assets/ES-DE.rc)
|
||||||
endif()
|
endif()
|
||||||
|
|
||||||
#---------------------------------------------------------------------------------------------------
|
#---------------------------------------------------------------------------------------------------
|
||||||
|
@ -121,31 +121,31 @@ endif()
|
||||||
# Define target.
|
# Define target.
|
||||||
if(APPLE)
|
if(APPLE)
|
||||||
include_directories(${COMMON_INCLUDE_DIRS} ${CMAKE_CURRENT_SOURCE_DIR}/src)
|
include_directories(${COMMON_INCLUDE_DIRS} ${CMAKE_CURRENT_SOURCE_DIR}/src)
|
||||||
add_executable(EmulationStation ${ES_SOURCES} ${ES_HEADERS})
|
add_executable(ES-DE ${ES_SOURCES} ${ES_HEADERS})
|
||||||
target_link_libraries(EmulationStation ${COMMON_LIBRARIES} es-core)
|
target_link_libraries(ES-DE ${COMMON_LIBRARIES} es-core)
|
||||||
set_target_properties(EmulationStation PROPERTIES INSTALL_RPATH_USE_LINK_PATH TRUE)
|
set_target_properties(ES-DE PROPERTIES INSTALL_RPATH_USE_LINK_PATH TRUE)
|
||||||
if(CMAKE_CXX_COMPILER_VERSION GREATER_EQUAL 15.0.0)
|
if(CMAKE_CXX_COMPILER_VERSION GREATER_EQUAL 15.0.0)
|
||||||
target_link_options(EmulationStation PRIVATE LINKER:-no_warn_duplicate_libraries)
|
target_link_options(ES-DE PRIVATE LINKER:-no_warn_duplicate_libraries)
|
||||||
endif()
|
endif()
|
||||||
elseif(WIN32)
|
elseif(WIN32)
|
||||||
include_directories(${COMMON_INCLUDE_DIRS} ${CMAKE_CURRENT_SOURCE_DIR}/src)
|
include_directories(${COMMON_INCLUDE_DIRS} ${CMAKE_CURRENT_SOURCE_DIR}/src)
|
||||||
add_executable(EmulationStation WIN32 ${ES_SOURCES} ${ES_HEADERS})
|
add_executable(ES-DE WIN32 ${ES_SOURCES} ${ES_HEADERS})
|
||||||
target_link_libraries(EmulationStation ${COMMON_LIBRARIES} es-core)
|
target_link_libraries(ES-DE ${COMMON_LIBRARIES} es-core)
|
||||||
set_target_properties(EmulationStation PROPERTIES INSTALL_RPATH_USE_LINK_PATH TRUE)
|
set_target_properties(ES-DE PROPERTIES INSTALL_RPATH_USE_LINK_PATH TRUE)
|
||||||
elseif(ANDROID)
|
elseif(ANDROID)
|
||||||
include_directories(${COMMON_INCLUDE_DIRS} ${CMAKE_CURRENT_SOURCE_DIR}/src)
|
include_directories(${COMMON_INCLUDE_DIRS} ${CMAKE_CURRENT_SOURCE_DIR}/src)
|
||||||
add_library(main MODULE ${ES_SOURCES} ${ES_HEADERS})
|
add_library(main MODULE ${ES_SOURCES} ${ES_HEADERS})
|
||||||
target_link_libraries(main PRIVATE ${COMMON_LIBRARIES} ${CMAKE_DL_LIBS} es-core es-pdf-convert)
|
target_link_libraries(main PRIVATE ${COMMON_LIBRARIES} ${CMAKE_DL_LIBS} es-core es-pdf-convert)
|
||||||
else()
|
else()
|
||||||
include_directories(${COMMON_INCLUDE_DIRS} ${CMAKE_CURRENT_SOURCE_DIR}/src)
|
include_directories(${COMMON_INCLUDE_DIRS} ${CMAKE_CURRENT_SOURCE_DIR}/src)
|
||||||
add_executable(emulationstation ${ES_SOURCES} ${ES_HEADERS})
|
add_executable(es-de ${ES_SOURCES} ${ES_HEADERS})
|
||||||
target_link_libraries(emulationstation ${COMMON_LIBRARIES} ${CMAKE_DL_LIBS} es-core)
|
target_link_libraries(es-de ${COMMON_LIBRARIES} ${CMAKE_DL_LIBS} es-core)
|
||||||
set_target_properties(emulationstation PROPERTIES INSTALL_RPATH_USE_LINK_PATH TRUE)
|
set_target_properties(es-de PROPERTIES INSTALL_RPATH_USE_LINK_PATH TRUE)
|
||||||
endif()
|
endif()
|
||||||
|
|
||||||
# Setup for installation and package generation.
|
# Setup for installation and package generation.
|
||||||
if(WIN32)
|
if(WIN32)
|
||||||
install(TARGETS EmulationStation RUNTIME DESTINATION .)
|
install(TARGETS ES-DE RUNTIME DESTINATION .)
|
||||||
install(TARGETS es-pdf-convert RUNTIME DESTINATION es-pdf-converter)
|
install(TARGETS es-pdf-convert RUNTIME DESTINATION es-pdf-converter)
|
||||||
if(CMAKE_CXX_COMPILER_ID MATCHES MSVC)
|
if(CMAKE_CXX_COMPILER_ID MATCHES MSVC)
|
||||||
set(CMAKE_INSTALL_SYSTEM_RUNTIME_DESTINATION .)
|
set(CMAKE_INSTALL_SYSTEM_RUNTIME_DESTINATION .)
|
||||||
|
@ -278,10 +278,10 @@ elseif(APPLE)
|
||||||
# So an extra 'Resources' directory was added to the CMAKE_INSTALL_PREFIX variable as well
|
# So an extra 'Resources' directory was added to the CMAKE_INSTALL_PREFIX variable as well
|
||||||
# to compensate for this. It's a bad solution to the problem and there must surely be a
|
# to compensate for this. It's a bad solution to the problem and there must surely be a
|
||||||
# better way to fix this.
|
# better way to fix this.
|
||||||
install(TARGETS EmulationStation RUNTIME DESTINATION ../MacOS)
|
install(TARGETS ES-DE RUNTIME DESTINATION ../MacOS)
|
||||||
install(TARGETS es-pdf-convert RUNTIME DESTINATION ../MacOS)
|
install(TARGETS es-pdf-convert RUNTIME DESTINATION ../MacOS)
|
||||||
install(FILES ${CMAKE_CURRENT_SOURCE_DIR}/assets/EmulationStation-DE.icns DESTINATION ../Resources)
|
install(FILES ${CMAKE_CURRENT_SOURCE_DIR}/assets/ES-DE.icns DESTINATION ../Resources)
|
||||||
install(FILES ${CMAKE_CURRENT_SOURCE_DIR}/assets/EmulationStation-DE_Info.plist DESTINATION .. RENAME Info.plist)
|
install(FILES ${CMAKE_CURRENT_SOURCE_DIR}/assets/ES-DE_Info.plist DESTINATION .. RENAME Info.plist)
|
||||||
|
|
||||||
set(APPLE_DYLIB_PERMISSIONS OWNER_WRITE OWNER_READ OWNER_EXECUTE
|
set(APPLE_DYLIB_PERMISSIONS OWNER_WRITE OWNER_READ OWNER_EXECUTE
|
||||||
GROUP_READ GROUP_EXECUTE
|
GROUP_READ GROUP_EXECUTE
|
||||||
|
@ -330,33 +330,33 @@ elseif(APPLE)
|
||||||
install(DIRECTORY ${CMAKE_SOURCE_DIR}/themes/slate-es-de DESTINATION ../Resources/themes)
|
install(DIRECTORY ${CMAKE_SOURCE_DIR}/themes/slate-es-de DESTINATION ../Resources/themes)
|
||||||
install(DIRECTORY ${CMAKE_SOURCE_DIR}/licenses DESTINATION ../Resources)
|
install(DIRECTORY ${CMAKE_SOURCE_DIR}/licenses DESTINATION ../Resources)
|
||||||
elseif(NOT ANDROID)
|
elseif(NOT ANDROID)
|
||||||
install(TARGETS emulationstation RUNTIME DESTINATION ${CMAKE_INSTALL_PREFIX}/bin)
|
install(TARGETS es-de RUNTIME DESTINATION ${CMAKE_INSTALL_PREFIX}/bin)
|
||||||
install(TARGETS es-pdf-convert RUNTIME DESTINATION ${CMAKE_INSTALL_PREFIX}/bin)
|
install(TARGETS es-pdf-convert RUNTIME DESTINATION ${CMAKE_INSTALL_PREFIX}/bin)
|
||||||
if(CMAKE_SYSTEM_NAME MATCHES Linux)
|
if(CMAKE_SYSTEM_NAME MATCHES Linux)
|
||||||
install(FILES ${CMAKE_CURRENT_SOURCE_DIR}/assets/emulationstation.6.gz
|
install(FILES ${CMAKE_CURRENT_SOURCE_DIR}/assets/es-de.6.gz
|
||||||
DESTINATION ${CMAKE_INSTALL_PREFIX}/share/man/man6)
|
DESTINATION ${CMAKE_INSTALL_PREFIX}/share/man/man6)
|
||||||
else()
|
else()
|
||||||
install(FILES ${CMAKE_CURRENT_SOURCE_DIR}/assets/emulationstation.6.gz
|
install(FILES ${CMAKE_CURRENT_SOURCE_DIR}/assets/es-de.6.gz
|
||||||
DESTINATION ${CMAKE_INSTALL_PREFIX}/man/man6)
|
DESTINATION ${CMAKE_INSTALL_PREFIX}/man/man6)
|
||||||
endif()
|
endif()
|
||||||
install(FILES ${CMAKE_SOURCE_DIR}/LICENSE
|
install(FILES ${CMAKE_SOURCE_DIR}/LICENSE
|
||||||
DESTINATION ${CMAKE_INSTALL_PREFIX}/share/emulationstation)
|
DESTINATION ${CMAKE_INSTALL_PREFIX}/share/es-de)
|
||||||
install(FILES ${CMAKE_CURRENT_SOURCE_DIR}/assets/org.es_de.emulationstation-de.desktop
|
install(FILES ${CMAKE_CURRENT_SOURCE_DIR}/assets/org.es_de.frontend.desktop
|
||||||
DESTINATION ${CMAKE_INSTALL_PREFIX}/share/applications)
|
DESTINATION ${CMAKE_INSTALL_PREFIX}/share/applications)
|
||||||
install(FILES ${CMAKE_CURRENT_SOURCE_DIR}/assets/org.es_de.emulationstation-de.svg
|
install(FILES ${CMAKE_CURRENT_SOURCE_DIR}/assets/org.es_de.frontend.svg
|
||||||
DESTINATION ${CMAKE_INSTALL_PREFIX}/share/pixmaps)
|
DESTINATION ${CMAKE_INSTALL_PREFIX}/share/pixmaps)
|
||||||
install(FILES ${CMAKE_CURRENT_SOURCE_DIR}/assets/org.es_de.emulationstation-de.svg
|
install(FILES ${CMAKE_CURRENT_SOURCE_DIR}/assets/org.es_de.frontend.svg
|
||||||
DESTINATION ${CMAKE_INSTALL_PREFIX}/share/icons/hicolor/scalable/apps)
|
DESTINATION ${CMAKE_INSTALL_PREFIX}/share/icons/hicolor/scalable/apps)
|
||||||
install(FILES ${CMAKE_CURRENT_SOURCE_DIR}/assets/org.es_de.emulationstation-de.appdata.xml
|
install(FILES ${CMAKE_CURRENT_SOURCE_DIR}/assets/org.es_de.frontend.appdata.xml
|
||||||
DESTINATION ${CMAKE_INSTALL_PREFIX}/share/metainfo)
|
DESTINATION ${CMAKE_INSTALL_PREFIX}/share/metainfo)
|
||||||
install(DIRECTORY ${CMAKE_SOURCE_DIR}/licenses
|
install(DIRECTORY ${CMAKE_SOURCE_DIR}/licenses
|
||||||
DESTINATION ${CMAKE_INSTALL_PREFIX}/share/emulationstation)
|
DESTINATION ${CMAKE_INSTALL_PREFIX}/share/es-de)
|
||||||
install(DIRECTORY ${CMAKE_SOURCE_DIR}/themes/modern-es-de
|
install(DIRECTORY ${CMAKE_SOURCE_DIR}/themes/modern-es-de
|
||||||
DESTINATION ${CMAKE_INSTALL_PREFIX}/share/emulationstation/themes)
|
DESTINATION ${CMAKE_INSTALL_PREFIX}/share/es-de/themes)
|
||||||
install(DIRECTORY ${CMAKE_SOURCE_DIR}/themes/slate-es-de
|
install(DIRECTORY ${CMAKE_SOURCE_DIR}/themes/slate-es-de
|
||||||
DESTINATION ${CMAKE_INSTALL_PREFIX}/share/emulationstation/themes)
|
DESTINATION ${CMAKE_INSTALL_PREFIX}/share/es-de/themes)
|
||||||
install(DIRECTORY ${CMAKE_SOURCE_DIR}/resources
|
install(DIRECTORY ${CMAKE_SOURCE_DIR}/resources
|
||||||
DESTINATION ${CMAKE_INSTALL_PREFIX}/share/emulationstation)
|
DESTINATION ${CMAKE_INSTALL_PREFIX}/share/es-de)
|
||||||
endif()
|
endif()
|
||||||
|
|
||||||
include(InstallRequiredSystemLibraries)
|
include(InstallRequiredSystemLibraries)
|
||||||
|
@ -364,17 +364,17 @@ include(InstallRequiredSystemLibraries)
|
||||||
#---------------------------------------------------------------------------------------------------
|
#---------------------------------------------------------------------------------------------------
|
||||||
# General CPack settings.
|
# General CPack settings.
|
||||||
|
|
||||||
set(CPACK_PACKAGE_NAME emulationstation-de)
|
set(CPACK_PACKAGE_NAME es-de)
|
||||||
set(CPACK_PACKAGE_DESCRIPTION_SUMMARY "Emulator frontend")
|
set(CPACK_PACKAGE_DESCRIPTION_SUMMARY "Emulator frontend")
|
||||||
set(CPACK_PACKAGE_DESCRIPTION "EmulationStation Desktop Edition (ES-DE) is a frontend for browsing and launching games from your multi-platform game collection.")
|
set(CPACK_PACKAGE_DESCRIPTION "ES-DE (EmulationStation Desktop Edition) is a frontend for browsing and launching games from your multi-platform game collection.")
|
||||||
set(CPACK_PACKAGE_VERSION ${ES_VERSION})
|
set(CPACK_PACKAGE_VERSION ${ES_VERSION})
|
||||||
|
|
||||||
if(APPLE)
|
if(APPLE)
|
||||||
# Shorter line length license file to be able to fit inside the drag-and-drop installer window without introducing extra line breaks.
|
# Shorter line length license file to be able to fit inside the drag-and-drop installer window without introducing extra line breaks.
|
||||||
set(CPACK_RESOURCE_FILE_LICENSE ${CMAKE_CURRENT_SOURCE_DIR}/assets/EmulationStation-DE_LICENSE_macOS)
|
set(CPACK_RESOURCE_FILE_LICENSE ${CMAKE_CURRENT_SOURCE_DIR}/assets/ES-DE_LICENSE_macOS)
|
||||||
elseif(WIN32)
|
elseif(WIN32)
|
||||||
# The installer window looks a bit different on Windows so a specific file for this OS is required.
|
# The installer window looks a bit different on Windows so a specific file for this OS is required.
|
||||||
set(CPACK_RESOURCE_FILE_LICENSE ${CMAKE_CURRENT_SOURCE_DIR}/assets/EmulationStation-DE_LICENSE_Windows)
|
set(CPACK_RESOURCE_FILE_LICENSE ${CMAKE_CURRENT_SOURCE_DIR}/assets/ES-DE_LICENSE_Windows)
|
||||||
else()
|
else()
|
||||||
set(CPACK_RESOURCE_FILE_LICENSE ${CMAKE_SOURCE_DIR}/LICENSE)
|
set(CPACK_RESOURCE_FILE_LICENSE ${CMAKE_SOURCE_DIR}/LICENSE)
|
||||||
endif()
|
endif()
|
||||||
|
@ -390,40 +390,40 @@ endif()
|
||||||
# Settings per operating system and generator type.
|
# Settings per operating system and generator type.
|
||||||
if(APPLE)
|
if(APPLE)
|
||||||
set(CPACK_GENERATOR Bundle)
|
set(CPACK_GENERATOR Bundle)
|
||||||
set(CPACK_PACKAGE_FILE_NAME EmulationStation-DE-${CPACK_PACKAGE_VERSION}-${CPU_ARCHITECTURE})
|
set(CPACK_PACKAGE_FILE_NAME ES-DE_${CPACK_PACKAGE_VERSION}-${CPU_ARCHITECTURE})
|
||||||
set(CPACK_DMG_VOLUME_NAME "EmulationStation Desktop Edition ${CPACK_PACKAGE_VERSION}")
|
set(CPACK_DMG_VOLUME_NAME "ES-DE ${CPACK_PACKAGE_VERSION}")
|
||||||
set(CPACK_PACKAGE_ICON ${CMAKE_CURRENT_SOURCE_DIR}/assets/EmulationStation-DE.icns)
|
set(CPACK_PACKAGE_ICON ${CMAKE_CURRENT_SOURCE_DIR}/assets/ES-DE.icns)
|
||||||
set(CPACK_DMG_DS_STORE ${CMAKE_CURRENT_SOURCE_DIR}/assets/EmulationStation-DE_DS_Store)
|
set(CPACK_DMG_DS_STORE ${CMAKE_CURRENT_SOURCE_DIR}/assets/ES-DE_DS_Store)
|
||||||
set(CPACK_BUNDLE_NAME "EmulationStation Desktop Edition")
|
set(CPACK_BUNDLE_NAME "ES-DE")
|
||||||
set(CPACK_BUNDLE_ICON ${CMAKE_CURRENT_SOURCE_DIR}/assets/EmulationStation-DE.icns)
|
set(CPACK_BUNDLE_ICON ${CMAKE_CURRENT_SOURCE_DIR}/assets/ES-DE.icns)
|
||||||
set(CPACK_BUNDLE_PLIST ${CMAKE_CURRENT_SOURCE_DIR}/assets/EmulationStation-DE_Info.plist)
|
set(CPACK_BUNDLE_PLIST ${CMAKE_CURRENT_SOURCE_DIR}/assets/ES-DE_Info.plist)
|
||||||
if(MACOS_CODESIGN_IDENTITY)
|
if(MACOS_CODESIGN_IDENTITY)
|
||||||
set(CPACK_BUNDLE_APPLE_CERT_APP "Developer ID Application: ${MACOS_CODESIGN_IDENTITY}")
|
set(CPACK_BUNDLE_APPLE_CERT_APP "Developer ID Application: ${MACOS_CODESIGN_IDENTITY}")
|
||||||
set(CPACK_BUNDLE_APPLE_CODESIGN_PARAMETER "--deep --force --options runtime")
|
set(CPACK_BUNDLE_APPLE_CODESIGN_PARAMETER "--deep --force --options runtime")
|
||||||
endif()
|
endif()
|
||||||
elseif(WIN32)
|
elseif(WIN32)
|
||||||
set(CPACK_GENERATOR NSIS)
|
set(CPACK_GENERATOR NSIS)
|
||||||
set(CPACK_PACKAGE_FILE_NAME EmulationStation-DE-${CPACK_PACKAGE_VERSION}-${CPU_ARCHITECTURE})
|
set(CPACK_PACKAGE_FILE_NAME ES-DE_${CPACK_PACKAGE_VERSION}-${CPU_ARCHITECTURE})
|
||||||
set(CPACK_PACKAGE_INSTALL_DIRECTORY EmulationStation-DE)
|
set(CPACK_PACKAGE_INSTALL_DIRECTORY ES-DE)
|
||||||
set(CPACK_PACKAGE_EXECUTABLES EmulationStation EmulationStation)
|
set(CPACK_PACKAGE_EXECUTABLES ES-DE ES-DE)
|
||||||
set(CPACK_NSIS_INSTALL_ROOT ${PROGRAMFILES64})
|
set(CPACK_NSIS_INSTALL_ROOT ${PROGRAMFILES64})
|
||||||
set(CPACK_NSIS_EXECUTABLES_DIRECTORY .)
|
set(CPACK_NSIS_EXECUTABLES_DIRECTORY .)
|
||||||
set(CPACK_NSIS_MUI_ICON ${CMAKE_CURRENT_SOURCE_DIR}/assets/EmulationStation.ico)
|
set(CPACK_NSIS_MUI_ICON ${CMAKE_CURRENT_SOURCE_DIR}/assets/ES-DE.ico)
|
||||||
set(CPACK_NSIS_ENABLE_UNINSTALL_BEFORE_INSTALL ON)
|
set(CPACK_NSIS_ENABLE_UNINSTALL_BEFORE_INSTALL ON)
|
||||||
set(CPACK_NSIS_DISPLAY_NAME "EmulationStation Desktop Edition ${CPACK_PACKAGE_VERSION}")
|
set(CPACK_NSIS_DISPLAY_NAME "ES-DE ${CPACK_PACKAGE_VERSION}")
|
||||||
set(CPACK_NSIS_PACKAGE_NAME "EmulationStation Desktop Edition")
|
set(CPACK_NSIS_PACKAGE_NAME "ES-DE")
|
||||||
set(CPACK_NSIS_INSTALLED_ICON_NAME EmulationStation.exe)
|
set(CPACK_NSIS_INSTALLED_ICON_NAME ES-DE.exe)
|
||||||
set(CPACK_NSIS_WELCOME_TITLE "EmulationStation Desktop Edition Installer")
|
set(CPACK_NSIS_WELCOME_TITLE "ES-DE Installer")
|
||||||
set(CPACK_NSIS_FINISH_TITLE "EmulationStation Desktop Edition Installation Completed")
|
set(CPACK_NSIS_FINISH_TITLE "ES-DE Installation Completed")
|
||||||
set(CPACK_NSIS_MANIFEST_DPI_AWARE ON)
|
set(CPACK_NSIS_MANIFEST_DPI_AWARE ON)
|
||||||
set(CPACK_NSIS_MENU_LINKS "https://es-de.org" "ES-DE Website" "https://es-de.org" "Please Donate")
|
set(CPACK_NSIS_MENU_LINKS "https://es-de.org" "ES-DE Website" "https://es-de.org" "Please Donate")
|
||||||
else()
|
else()
|
||||||
set(CPACK_PACKAGE_INSTALL_DIRECTORY emulationstation_${CMAKE_PACKAGE_VERSION})
|
set(CPACK_PACKAGE_INSTALL_DIRECTORY es-de_${CMAKE_PACKAGE_VERSION})
|
||||||
set(CPACK_PACKAGE_EXECUTABLES emulationstation emulationstation)
|
set(CPACK_PACKAGE_EXECUTABLES es-de es-de)
|
||||||
if(LINUX_CPACK_GENERATOR MATCHES DEB)
|
if(LINUX_CPACK_GENERATOR MATCHES DEB)
|
||||||
set(CPACK_GENERATOR DEB)
|
set(CPACK_GENERATOR DEB)
|
||||||
endif()
|
endif()
|
||||||
set(CPACK_DEBIAN_FILE_NAME emulationstation-de-${CPACK_PACKAGE_VERSION}-${CPU_ARCHITECTURE}.deb)
|
set(CPACK_DEBIAN_FILE_NAME es-de_${CPACK_PACKAGE_VERSION}-${CPU_ARCHITECTURE}.deb)
|
||||||
set(CPACK_DEBIAN_PACKAGE_MAINTAINER "Leon Styhre <info@es-de.org>")
|
set(CPACK_DEBIAN_PACKAGE_MAINTAINER "Leon Styhre <info@es-de.org>")
|
||||||
set(CPACK_DEBIAN_PACKAGE_HOMEPAGE https://es-de.org)
|
set(CPACK_DEBIAN_PACKAGE_HOMEPAGE https://es-de.org)
|
||||||
set(CPACK_DEBIAN_PACKAGE_SECTION games)
|
set(CPACK_DEBIAN_PACKAGE_SECTION games)
|
||||||
|
@ -432,7 +432,7 @@ else()
|
||||||
if(LINUX_CPACK_GENERATOR MATCHES RPM)
|
if(LINUX_CPACK_GENERATOR MATCHES RPM)
|
||||||
set(CPACK_GENERATOR RPM)
|
set(CPACK_GENERATOR RPM)
|
||||||
endif()
|
endif()
|
||||||
set(CPACK_RPM_FILE_NAME emulationstation-de-${CPACK_PACKAGE_VERSION}-${CPU_ARCHITECTURE}.rpm)
|
set(CPACK_RPM_FILE_NAME es-de_${CPACK_PACKAGE_VERSION}-${CPU_ARCHITECTURE}.rpm)
|
||||||
set(CPACK_RPM_PACKAGE_DESCRIPTION ${CPACK_PACKAGE_DESCRIPTION})
|
set(CPACK_RPM_PACKAGE_DESCRIPTION ${CPACK_PACKAGE_DESCRIPTION})
|
||||||
set(CPACK_RPM_PACKAGE_LICENSE MIT)
|
set(CPACK_RPM_PACKAGE_LICENSE MIT)
|
||||||
list(APPEND CPACK_RPM_EXCLUDE_FROM_AUTO_FILELIST_ADDITION ${CMAKE_INSTALL_PREFIX})
|
list(APPEND CPACK_RPM_EXCLUDE_FROM_AUTO_FILELIST_ADDITION ${CMAKE_INSTALL_PREFIX})
|
||||||
|
|
Before Width: | Height: | Size: 291 KiB After Width: | Height: | Size: 291 KiB |
|
@ -1,4 +1,4 @@
|
||||||
#include "EmulationStation.h"
|
#include "ApplicationVersion.h"
|
||||||
|
|
||||||
#include "windows.h"
|
#include "windows.h"
|
||||||
|
|
||||||
|
@ -21,13 +21,13 @@ BEGIN
|
||||||
BEGIN
|
BEGIN
|
||||||
VALUE "Comments", "\0"
|
VALUE "Comments", "\0"
|
||||||
VALUE "CompanyName", "es-de.org\0"
|
VALUE "CompanyName", "es-de.org\0"
|
||||||
VALUE "FileDescription", "EmulationStation\0"
|
VALUE "FileDescription", "ES-DE\0"
|
||||||
VALUE "FileVersion", RESOURCE_VERSION_STRING
|
VALUE "FileVersion", RESOURCE_VERSION_STRING
|
||||||
VALUE "InternalName", "emulationstation.exe\0"
|
VALUE "InternalName", "ES-DE.exe\0"
|
||||||
VALUE "LegalCopyright", "Copyright (c) 2020-2023 Leon Styhre\0"
|
VALUE "LegalCopyright", "Copyright (c) 2020-2024 Leon Styhre\0"
|
||||||
VALUE "LegalTrademarks", "\0"
|
VALUE "LegalTrademarks", "\0"
|
||||||
VALUE "OriginalFilename", "emulationstation.exe\0"
|
VALUE "OriginalFilename", "ES-DE.exe\0"
|
||||||
VALUE "ProductName", "EmulationStation\0"
|
VALUE "ProductName", "ES-DE\0"
|
||||||
VALUE "ProductVersion", PROGRAM_VERSION_STRING
|
VALUE "ProductVersion", PROGRAM_VERSION_STRING
|
||||||
END
|
END
|
||||||
END
|
END
|
||||||
|
@ -37,4 +37,4 @@ BEGIN
|
||||||
END
|
END
|
||||||
END
|
END
|
||||||
|
|
||||||
IDI_ES_LOGO ICON DISCARDABLE "EmulationStation.ico"
|
IDI_ES_LOGO ICON DISCARDABLE "ES-DE.ico"
|
|
@ -3,19 +3,19 @@
|
||||||
<plist version="1.0">
|
<plist version="1.0">
|
||||||
<dict>
|
<dict>
|
||||||
<key>CFBundleIdentifier</key>
|
<key>CFBundleIdentifier</key>
|
||||||
<string>org.es-de.EmulationStation</string>
|
<string>org.es-de.Frontend</string>
|
||||||
<key>CFBundleDevelopmentRegion</key>
|
<key>CFBundleDevelopmentRegion</key>
|
||||||
<string>English</string>
|
<string>English</string>
|
||||||
<key>CFBundleDisplayName</key>
|
<key>CFBundleDisplayName</key>
|
||||||
<string>EmulationStation Desktop Edition</string>
|
<string>ES-DE</string>
|
||||||
<key>CFBundleExecutable</key>
|
<key>CFBundleExecutable</key>
|
||||||
<string>EmulationStation</string>
|
<string>ES-DE</string>
|
||||||
<key>CFBundleGetInfoString</key>
|
<key>CFBundleGetInfoString</key>
|
||||||
<string>EmulationStation Desktop Edition 3.0.0</string>
|
<string>ES-DE 3.0.0</string>
|
||||||
<key>CFBundleIconFile</key>
|
<key>CFBundleIconFile</key>
|
||||||
<string>EmulationStation-DE.icns</string>
|
<string>ES-DE.icns</string>
|
||||||
<key>CFBundleName</key>
|
<key>CFBundleName</key>
|
||||||
<string>EmulationStation Desktop Edition</string>
|
<string>ES-DE</string>
|
||||||
<key>CFBundlePackageType</key>
|
<key>CFBundlePackageType</key>
|
||||||
<string>APPL</string>
|
<string>APPL</string>
|
||||||
<key>CFBundleSignature</key>
|
<key>CFBundleSignature</key>
|
||||||
|
@ -37,9 +37,9 @@
|
||||||
<key>NSPrincipalClass</key>
|
<key>NSPrincipalClass</key>
|
||||||
<string>NSApplication</string>
|
<string>NSApplication</string>
|
||||||
<key>NSMainNibFile</key>
|
<key>NSMainNibFile</key>
|
||||||
<string>EmulationStation</string>
|
<string>ES-DE</string>
|
||||||
<key>NSHumanReadableCopyright</key>
|
<key>NSHumanReadableCopyright</key>
|
||||||
<string>Copyright (c) 2020-2023 Leon Styhre
|
<string>Copyright (c) 2020-2024 Leon Styhre
|
||||||
Copyright (c) 2014 Alec Lofquist
|
Copyright (c) 2014 Alec Lofquist
|
||||||
Licensed under the MIT license</string>
|
Licensed under the MIT license</string>
|
||||||
</dict>
|
</dict>
|
|
@ -1,4 +1,4 @@
|
||||||
Copyright (c) 2020-2023 Leon Styhre
|
Copyright (c) 2020-2024 Leon Styhre
|
||||||
Copyright (c) 2014 Alec Lofquist
|
Copyright (c) 2014 Alec Lofquist
|
||||||
|
|
||||||
Permission is hereby granted, free of charge, to any person obtaining a copy
|
Permission is hereby granted, free of charge, to any person obtaining a copy
|
|
@ -1,4 +1,4 @@
|
||||||
Copyright (c) 2020-2023 Leon Styhre
|
Copyright (c) 2020-2024 Leon Styhre
|
||||||
Copyright (c) 2014 Alec Lofquist
|
Copyright (c) 2014 Alec Lofquist
|
||||||
|
|
||||||
Permission is hereby granted, free of charge, to any person
|
Permission is hereby granted, free of charge, to any person
|
|
@ -1,4 +1,4 @@
|
||||||
EmulationStation Desktop Edition (ES-DE) - Portable installation on Windows
|
ES-DE (EmulationStation Desktop Edition) - Portable installation on Windows
|
||||||
---------------------------------------------------------------------------
|
---------------------------------------------------------------------------
|
||||||
|
|
||||||
ES-DE release:
|
ES-DE release:
|
||||||
|
@ -15,18 +15,18 @@ New installation:
|
||||||
1) The ROMs_ALL directory contains all the systems that ES-DE supports, but to decrease application startup time only copy the folders you need to the ROMs directory
|
1) The ROMs_ALL directory contains all the systems that ES-DE supports, but to decrease application startup time only copy the folders you need to the ROMs directory
|
||||||
2) Place your games into their respective folders in the ROMs directory tree
|
2) Place your games into their respective folders in the ROMs directory tree
|
||||||
3) Place your emulators inside the Emulators directory
|
3) Place your emulators inside the Emulators directory
|
||||||
4) Start ES-DE using EmulationStation.exe and enjoy some retrogaming!
|
4) Start ES-DE using ES-DE.exe and enjoy some retrogaming!
|
||||||
|
|
||||||
Upgrading from an older release:
|
Upgrading from an older release:
|
||||||
1) Rename your old EmulationStation-DE directory, for example to EmulationStation-DE_OLD
|
1) Rename your old ES-DE directory, for example to ES-DE_OLD
|
||||||
2) Move your games from EmulationStation-DE_OLD\ROMs\ to EmulationStation-DE\ROMs\
|
2) Move your games from ES-DE_OLD\ROMs\ to ES-DE\ROMs\
|
||||||
3) Move your emulators from EmulationStation-DE_OLD\Emulators\ to EmulationStation-DE\Emulators\
|
3) Move your emulators from ES-DE_OLD\Emulators\ to ES-DE\Emulators\
|
||||||
4) Move the contents of EmulationStation-DE_OLD\.emulationstation\ to EmulationStation-DE\.emulationstation\
|
4) Move the contents of ES-DE_OLD\ES-DE\ to ES-DE\ES-DE\
|
||||||
This last step includes your settings, custom collections, custom systems, scraped/downloaded media, gamelist.xml files, scripts and themes
|
This last step includes your settings, custom collections, custom systems, scraped/downloaded media, gamelist.xml files, scripts and themes
|
||||||
5) Update your themes using the theme downloader to get support for all the latest systems and features
|
5) Update your themes using the theme downloader to get support for all the latest systems and features
|
||||||
|
|
||||||
In case of issues, check .emulationstation\es_log.txt for clues as to what went wrong.
|
In case of issues, check ES-DE\es_log.txt for clues as to what went wrong.
|
||||||
Enabling the "Debug mode" setting in the "Other settings" menu or starting EmulationStation.exe with the --debug flag will provide additional details.
|
Enabling the "Debug mode" setting in the "Other settings" menu or starting ES-DE.exe with the --debug flag will provide additional details.
|
||||||
|
|
||||||
Refer to the FAQ and user guide for more detailed instructions and documentation:
|
Refer to the FAQ and user guide for more detailed instructions and documentation:
|
||||||
https://gitlab.com/es-de/emulationstation-de/-/blob/master/FAQ.md
|
https://gitlab.com/es-de/emulationstation-de/-/blob/master/FAQ.md
|
||||||
|
|
Binary file not shown.
BIN
es-app/assets/es-de.6.gz
Normal file
BIN
es-app/assets/es-de.6.gz
Normal file
Binary file not shown.
|
@ -1,13 +1,13 @@
|
||||||
<?xml version="1.0" encoding="UTF-8"?>
|
<?xml version="1.0" encoding="UTF-8"?>
|
||||||
<component type="desktop-application">
|
<component type="desktop-application">
|
||||||
<id>org.es_de.emulationstation-de</id>
|
<id>org.es_de.frontend</id>
|
||||||
<name>EmulationStation Desktop Edition</name>
|
<name>ES-DE</name>
|
||||||
<summary>Emulator frontend</summary>
|
<summary>Emulator frontend</summary>
|
||||||
<description>
|
<description>
|
||||||
<p>EmulationStation Desktop Edition (ES-DE) is a frontend for browsing and
|
<p>ES-DE (EmulationStation Desktop Edition) is a frontend for browsing and
|
||||||
launching games from your multi-platform game collection.</p>
|
launching games from your multi-platform game collection.</p>
|
||||||
</description>
|
</description>
|
||||||
<launchable type="desktop-id">org.es_de.emulationstation-de.desktop</launchable>
|
<launchable type="desktop-id">org.es_de.frontend.desktop</launchable>
|
||||||
<categories>
|
<categories>
|
||||||
<category>Game</category>
|
<category>Game</category>
|
||||||
<category>Emulator</category>
|
<category>Emulator</category>
|
|
@ -1,12 +1,12 @@
|
||||||
[Desktop Entry]
|
[Desktop Entry]
|
||||||
Version=1.0
|
Version=1.0
|
||||||
Exec=emulationstation
|
Exec=es-de
|
||||||
Icon=org.es_de.emulationstation-de
|
Icon=org.es_de.frontend
|
||||||
Terminal=false
|
Terminal=false
|
||||||
Type=Application
|
Type=Application
|
||||||
StartupNotify=true
|
StartupNotify=true
|
||||||
Hidden=false
|
Hidden=false
|
||||||
Categories=Game;Emulator;
|
Categories=Game;Emulator;
|
||||||
Name=EmulationStation Desktop Edition
|
Name=ES-DE
|
||||||
GenericName=Emulator Frontend
|
GenericName=Emulator Frontend
|
||||||
Keywords=emulator;emulation;front-end;frontend;
|
Keywords=emulator;emulation;front-end;frontend;
|
Before Width: | Height: | Size: 9.1 KiB After Width: | Height: | Size: 9.1 KiB |
|
@ -1,16 +1,16 @@
|
||||||
# SPDX-License-Identifier: MIT
|
# SPDX-License-Identifier: MIT
|
||||||
#
|
#
|
||||||
# EmulationStation Desktop Edition
|
# ES-DE
|
||||||
# org.es_de.emulationstation-de.yml
|
# org.es_de.frontend.yml
|
||||||
#
|
#
|
||||||
# Flatpak manifest file for use with flatpak-builder.
|
# Flatpak manifest file for use with flatpak-builder.
|
||||||
#
|
#
|
||||||
|
|
||||||
app-id: org.es_de.emulationstation-de
|
app-id: org.es_de.frontend-de
|
||||||
sdk: org.freedesktop.Sdk
|
sdk: org.freedesktop.Sdk
|
||||||
runtime: org.freedesktop.Platform
|
runtime: org.freedesktop.Platform
|
||||||
runtime-version: '21.08'
|
runtime-version: '21.08'
|
||||||
command: emulationstation
|
command: es-de
|
||||||
finish-args:
|
finish-args:
|
||||||
- --share=ipc
|
- --share=ipc
|
||||||
- --socket=x11
|
- --socket=x11
|
|
@ -9,7 +9,7 @@
|
||||||
|
|
||||||
#include "ApplicationUpdater.h"
|
#include "ApplicationUpdater.h"
|
||||||
|
|
||||||
#include "EmulationStation.h"
|
#include "ApplicationVersion.h"
|
||||||
#include "Log.h"
|
#include "Log.h"
|
||||||
#include "Settings.h"
|
#include "Settings.h"
|
||||||
#include "resources/ResourceManager.h"
|
#include "resources/ResourceManager.h"
|
||||||
|
|
|
@ -1,12 +1,11 @@
|
||||||
// SPDX-License-Identifier: MIT
|
// SPDX-License-Identifier: MIT
|
||||||
//
|
//
|
||||||
// EmulationStation.h
|
// ES-DE
|
||||||
//
|
// ApplicationVersion.h
|
||||||
// Version and build information.
|
|
||||||
//
|
//
|
||||||
|
|
||||||
#ifndef ES_APP_EMULATION_STATION_H
|
#ifndef ES_APP_APPLICATION_VERSION_H
|
||||||
#define ES_APP_EMULATION_STATION_H
|
#define ES_APP_APPLICATION_VERSION_H
|
||||||
|
|
||||||
// These numbers and strings need to be manually updated for a new version.
|
// These numbers and strings need to be manually updated for a new version.
|
||||||
// Do this version number update as the very last commit for the new release version.
|
// Do this version number update as the very last commit for the new release version.
|
||||||
|
@ -23,4 +22,4 @@
|
||||||
#define RESOURCE_VERSION_STRING "3,0,0\0"
|
#define RESOURCE_VERSION_STRING "3,0,0\0"
|
||||||
#define RESOURCE_VERSION PROGRAM_VERSION_MAJOR, PROGRAM_VERSION_MINOR, PROGRAM_VERSION_MAINTENANCE
|
#define RESOURCE_VERSION PROGRAM_VERSION_MAJOR, PROGRAM_VERSION_MINOR, PROGRAM_VERSION_MAINTENANCE
|
||||||
|
|
||||||
#endif // ES_APP_EMULATION_STATION_H
|
#endif // ES_APP_APPLICATION_VERSION_H
|
|
@ -1,6 +1,6 @@
|
||||||
// SPDX-License-Identifier: MIT
|
// SPDX-License-Identifier: MIT
|
||||||
//
|
//
|
||||||
// EmulationStation Desktop Edition
|
// ES-DE
|
||||||
// GuiApplicationUpdater.cpp
|
// GuiApplicationUpdater.cpp
|
||||||
//
|
//
|
||||||
// Installs application updates.
|
// Installs application updates.
|
||||||
|
@ -9,7 +9,7 @@
|
||||||
|
|
||||||
#include "guis/GuiApplicationUpdater.h"
|
#include "guis/GuiApplicationUpdater.h"
|
||||||
|
|
||||||
#include "EmulationStation.h"
|
#include "ApplicationVersion.h"
|
||||||
#include "guis/GuiTextEditKeyboardPopup.h"
|
#include "guis/GuiTextEditKeyboardPopup.h"
|
||||||
#include "guis/GuiTextEditPopup.h"
|
#include "guis/GuiTextEditPopup.h"
|
||||||
#include "utils/PlatformUtil.h"
|
#include "utils/PlatformUtil.h"
|
||||||
|
|
|
@ -1,6 +1,6 @@
|
||||||
// SPDX-License-Identifier: MIT
|
// SPDX-License-Identifier: MIT
|
||||||
//
|
//
|
||||||
// EmulationStation Desktop Edition
|
// ES-DE
|
||||||
// GuiApplicationUpdater.h
|
// GuiApplicationUpdater.h
|
||||||
//
|
//
|
||||||
// Installs application updates.
|
// Installs application updates.
|
||||||
|
|
|
@ -14,8 +14,8 @@
|
||||||
#include <winsock2.h>
|
#include <winsock2.h>
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
|
#include "ApplicationVersion.h"
|
||||||
#include "CollectionSystemsManager.h"
|
#include "CollectionSystemsManager.h"
|
||||||
#include "EmulationStation.h"
|
|
||||||
#include "FileFilterIndex.h"
|
#include "FileFilterIndex.h"
|
||||||
#include "FileSorts.h"
|
#include "FileSorts.h"
|
||||||
#include "Scripting.h"
|
#include "Scripting.h"
|
||||||
|
@ -73,12 +73,12 @@ GuiMenu::GuiMenu()
|
||||||
if (!Settings::getInstance()->getBool("ForceKiosk") &&
|
if (!Settings::getInstance()->getBool("ForceKiosk") &&
|
||||||
Settings::getInstance()->getString("UIMode") != "kiosk") {
|
Settings::getInstance()->getString("UIMode") != "kiosk") {
|
||||||
#if defined(__APPLE__)
|
#if defined(__APPLE__)
|
||||||
addEntry("QUIT EMULATIONSTATION", mMenuColorPrimary, false, [this] { openQuitMenu(); });
|
addEntry("QUIT ES-DE", mMenuColorPrimary, false, [this] { openQuitMenu(); });
|
||||||
#else
|
#else
|
||||||
if (Settings::getInstance()->getBool("ShowQuitMenu"))
|
if (Settings::getInstance()->getBool("ShowQuitMenu"))
|
||||||
addEntry("QUIT", mMenuColorPrimary, true, [this] { openQuitMenu(); });
|
addEntry("QUIT", mMenuColorPrimary, true, [this] { openQuitMenu(); });
|
||||||
else
|
else
|
||||||
addEntry("QUIT EMULATIONSTATION", mMenuColorPrimary, false, [this] { openQuitMenu(); });
|
addEntry("QUIT ES-DE", mMenuColorPrimary, false, [this] { openQuitMenu(); });
|
||||||
#endif
|
#endif
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@ -1789,8 +1789,8 @@ void GuiMenu::openQuitMenu()
|
||||||
},
|
},
|
||||||
"NO", nullptr));
|
"NO", nullptr));
|
||||||
});
|
});
|
||||||
auto quitText = std::make_shared<TextComponent>(
|
auto quitText = std::make_shared<TextComponent>("QUIT ES-DE", Font::get(FONT_SIZE_MEDIUM),
|
||||||
"QUIT EMULATIONSTATION", Font::get(FONT_SIZE_MEDIUM), mMenuColorPrimary);
|
mMenuColorPrimary);
|
||||||
quitText->setSelectable(true);
|
quitText->setSelectable(true);
|
||||||
row.addElement(quitText, true);
|
row.addElement(quitText, true);
|
||||||
s->addRow(row);
|
s->addRow(row);
|
||||||
|
@ -1840,10 +1840,10 @@ void GuiMenu::addVersionInfo()
|
||||||
mVersion.setColor(mMenuColorTertiary);
|
mVersion.setColor(mMenuColorTertiary);
|
||||||
|
|
||||||
#if defined(IS_PRERELEASE)
|
#if defined(IS_PRERELEASE)
|
||||||
mVersion.setText("EMULATIONSTATION-DE V" + Utils::String::toUpper(PROGRAM_VERSION_STRING) +
|
mVersion.setText("ES-DE V" + Utils::String::toUpper(PROGRAM_VERSION_STRING) + " (Built " +
|
||||||
" (Built " + __DATE__ + ")");
|
__DATE__ + ")");
|
||||||
#else
|
#else
|
||||||
mVersion.setText("EMULATIONSTATION-DE V" + Utils::String::toUpper(PROGRAM_VERSION_STRING));
|
mVersion.setText("ES-DE V" + Utils::String::toUpper(PROGRAM_VERSION_STRING));
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
mVersion.setHorizontalAlignment(ALIGN_CENTER);
|
mVersion.setHorizontalAlignment(ALIGN_CENTER);
|
||||||
|
|
|
@ -8,7 +8,7 @@
|
||||||
|
|
||||||
#include "guis/GuiThemeDownloader.h"
|
#include "guis/GuiThemeDownloader.h"
|
||||||
|
|
||||||
#include "EmulationStation.h"
|
#include "ApplicationVersion.h"
|
||||||
#include "ThemeData.h"
|
#include "ThemeData.h"
|
||||||
#include "components/MenuComponent.h"
|
#include "components/MenuComponent.h"
|
||||||
#include "resources/ResourceManager.h"
|
#include "resources/ResourceManager.h"
|
||||||
|
|
|
@ -13,9 +13,9 @@
|
||||||
//
|
//
|
||||||
|
|
||||||
#include "ApplicationUpdater.h"
|
#include "ApplicationUpdater.h"
|
||||||
|
#include "ApplicationVersion.h"
|
||||||
#include "AudioManager.h"
|
#include "AudioManager.h"
|
||||||
#include "CollectionSystemsManager.h"
|
#include "CollectionSystemsManager.h"
|
||||||
#include "EmulationStation.h"
|
|
||||||
#include "InputManager.h"
|
#include "InputManager.h"
|
||||||
#include "Log.h"
|
#include "Log.h"
|
||||||
#include "MameNames.h"
|
#include "MameNames.h"
|
||||||
|
@ -385,15 +385,15 @@ bool parseArguments(const std::vector<std::string>& arguments)
|
||||||
Log::setReportingLevel(LogDebug);
|
Log::setReportingLevel(LogDebug);
|
||||||
}
|
}
|
||||||
else if (arguments[i] == "--version" || arguments[i] == "-v") {
|
else if (arguments[i] == "--version" || arguments[i] == "-v") {
|
||||||
std::cout << "EmulationStation Desktop Edition v" << PROGRAM_VERSION_STRING << " (r"
|
std::cout << "ES-DE v" << PROGRAM_VERSION_STRING << " (r"
|
||||||
<< PROGRAM_RELEASE_NUMBER << ")\n";
|
<< PROGRAM_RELEASE_NUMBER << ")\n";
|
||||||
return false;
|
return false;
|
||||||
}
|
}
|
||||||
else if (arguments[i] == "--help" || arguments[i] == "-h") {
|
else if (arguments[i] == "--help" || arguments[i] == "-h") {
|
||||||
std::cout <<
|
std::cout <<
|
||||||
// clang-format off
|
// clang-format off
|
||||||
"Usage: emulationstation [options]\n"
|
"Usage: es-de [options]\n"
|
||||||
"EmulationStation Desktop Edition, Emulator Frontend\n\n"
|
"ES-DE (EmulationStation Desktop Edition), Emulator Frontend\n\n"
|
||||||
"Options:\n"
|
"Options:\n"
|
||||||
" --display [1 to 4] Display/monitor to use\n"
|
" --display [1 to 4] Display/monitor to use\n"
|
||||||
" --resolution [width] [height] Application resolution\n"
|
" --resolution [width] [height] Application resolution\n"
|
||||||
|
@ -428,7 +428,7 @@ bool parseArguments(const std::vector<std::string>& arguments)
|
||||||
else {
|
else {
|
||||||
const std::string argUnknown {arguments[i]};
|
const std::string argUnknown {arguments[i]};
|
||||||
std::cout << "Unknown option '" << argUnknown << "'.\n";
|
std::cout << "Unknown option '" << argUnknown << "'.\n";
|
||||||
std::cout << "Try 'emulationstation --help' for more information.\n";
|
std::cout << "Try 'es-de --help' for more information.\n";
|
||||||
return false;
|
return false;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
@ -540,7 +540,7 @@ int main(int argc, char* argv[])
|
||||||
// macOS which forces a restore of the previous window state. The problem is that this
|
// macOS which forces a restore of the previous window state. The problem is that this
|
||||||
// removes the splash screen on startup and it may have other adverse effects as well.
|
// removes the splash screen on startup and it may have other adverse effects as well.
|
||||||
std::string saveStateDir {Utils::FileSystem::expandHomePath(
|
std::string saveStateDir {Utils::FileSystem::expandHomePath(
|
||||||
"~/Library/Saved Application State/org.es-de.EmulationStation.savedState")};
|
"~/Library/Saved Application State/org.es-de.Frontend.savedState")};
|
||||||
// Deletion of the state files should normally not be required as there shouldn't be any
|
// Deletion of the state files should normally not be required as there shouldn't be any
|
||||||
// files to begin with. But maybe the files can still be created for unknown reasons
|
// files to begin with. But maybe the files can still be created for unknown reasons
|
||||||
// as macOS really really loves to restore windows. Let's therefore include this deletion
|
// as macOS really really loves to restore windows. Let's therefore include this deletion
|
||||||
|
@ -623,7 +623,7 @@ int main(int argc, char* argv[])
|
||||||
// Start the logger.
|
// Start the logger.
|
||||||
Log::init();
|
Log::init();
|
||||||
Log::open();
|
Log::open();
|
||||||
LOG(LogInfo) << "EmulationStation Desktop Edition v" << PROGRAM_VERSION_STRING << " (r"
|
LOG(LogInfo) << "ES-DE v" << PROGRAM_VERSION_STRING << " (r"
|
||||||
<< PROGRAM_RELEASE_NUMBER << "), built " << PROGRAM_BUILT_STRING;
|
<< PROGRAM_RELEASE_NUMBER << "), built " << PROGRAM_BUILT_STRING;
|
||||||
if (portableMode) {
|
if (portableMode) {
|
||||||
LOG(LogInfo) << "Running in portable mode";
|
LOG(LogInfo) << "Running in portable mode";
|
||||||
|
@ -639,7 +639,7 @@ int main(int argc, char* argv[])
|
||||||
if (createSystemDirectories) {
|
if (createSystemDirectories) {
|
||||||
if (!SystemData::createSystemDirectories() && !Settings::getInstance()->getBool("Debug"))
|
if (!SystemData::createSystemDirectories() && !Settings::getInstance()->getBool("Debug"))
|
||||||
std::cout << "System directories successfully created" << std::endl;
|
std::cout << "System directories successfully created" << std::endl;
|
||||||
LOG(LogInfo) << "EmulationStation cleanly shutting down";
|
LOG(LogInfo) << "ES-DE cleanly shutting down";
|
||||||
#if defined(_WIN64)
|
#if defined(_WIN64)
|
||||||
FreeConsole();
|
FreeConsole();
|
||||||
#endif
|
#endif
|
||||||
|
@ -1042,7 +1042,7 @@ int main(int argc, char* argv[])
|
||||||
|
|
||||||
Utils::Platform::processQuitMode();
|
Utils::Platform::processQuitMode();
|
||||||
|
|
||||||
LOG(LogInfo) << "EmulationStation cleanly shutting down";
|
LOG(LogInfo) << "ES-DE cleanly shutting down";
|
||||||
|
|
||||||
#if defined(_WIN64)
|
#if defined(_WIN64)
|
||||||
FreeConsole();
|
FreeConsole();
|
||||||
|
|
|
@ -1,6 +1,6 @@
|
||||||
// SPDX-License-Identifier: MIT
|
// SPDX-License-Identifier: MIT
|
||||||
//
|
//
|
||||||
// EmulationStation Desktop Edition
|
// ES-DE
|
||||||
// ScreenScraper.cpp
|
// ScreenScraper.cpp
|
||||||
//
|
//
|
||||||
// Functions specifically for scraping from screenscraper.fr
|
// Functions specifically for scraping from screenscraper.fr
|
||||||
|
|
|
@ -1,6 +1,6 @@
|
||||||
// SPDX-License-Identifier: MIT
|
// SPDX-License-Identifier: MIT
|
||||||
//
|
//
|
||||||
// EmulationStation Desktop Edition
|
// ES-DE
|
||||||
// ScreenScraper.h
|
// ScreenScraper.h
|
||||||
//
|
//
|
||||||
// Functions specifically for scraping from screenscraper.fr
|
// Functions specifically for scraping from screenscraper.fr
|
||||||
|
@ -10,7 +10,7 @@
|
||||||
#ifndef ES_APP_SCRAPERS_SCREEN_SCRAPER_H
|
#ifndef ES_APP_SCRAPERS_SCREEN_SCRAPER_H
|
||||||
#define ES_APP_SCRAPERS_SCREEN_SCRAPER_H
|
#define ES_APP_SCRAPERS_SCREEN_SCRAPER_H
|
||||||
|
|
||||||
#include "EmulationStation.h"
|
#include "ApplicationVersion.h"
|
||||||
#include "scrapers/Scraper.h"
|
#include "scrapers/Scraper.h"
|
||||||
|
|
||||||
namespace pugi
|
namespace pugi
|
||||||
|
|
|
@ -1,6 +1,6 @@
|
||||||
// SPDX-License-Identifier: MIT
|
// SPDX-License-Identifier: MIT
|
||||||
//
|
//
|
||||||
// EmulationStation Desktop Edition
|
// ES-DE
|
||||||
// ViewController.cpp
|
// ViewController.cpp
|
||||||
//
|
//
|
||||||
// Handles overall system navigation including animations and transitions.
|
// Handles overall system navigation including animations and transitions.
|
||||||
|
@ -140,7 +140,7 @@ void ViewController::setMenuColors()
|
||||||
void ViewController::legacyAppDataDialog()
|
void ViewController::legacyAppDataDialog()
|
||||||
{
|
{
|
||||||
const std::string upgradeMessage {
|
const std::string upgradeMessage {
|
||||||
"IN ES-DE 3.0 THE APPLICATION DATA DIRECTORY HAS CHANGED FROM \".emulationstation\" to "
|
"AS OF ES-DE 3.0 THE APPLICATION DATA DIRECTORY HAS CHANGED FROM \".emulationstation\" to "
|
||||||
"\"ES-DE\"\nPLEASE RENAME YOUR CURRENT DATA DIRECTORY:\n" +
|
"\"ES-DE\"\nPLEASE RENAME YOUR CURRENT DATA DIRECTORY:\n" +
|
||||||
Utils::FileSystem::getAppDataDirectory().string() + "\nTO THE FOLLOWING:\n" +
|
Utils::FileSystem::getAppDataDirectory().string() + "\nTO THE FOLLOWING:\n" +
|
||||||
Utils::FileSystem::getAppDataDirectory().parent_path().append("ES-DE").string()};
|
Utils::FileSystem::getAppDataDirectory().parent_path().append("ES-DE").string()};
|
||||||
|
|
|
@ -1,6 +1,6 @@
|
||||||
// SPDX-License-Identifier: MIT
|
// SPDX-License-Identifier: MIT
|
||||||
//
|
//
|
||||||
// EmulationStation Desktop Edition
|
// ES-DE
|
||||||
// ViewController.h
|
// ViewController.h
|
||||||
//
|
//
|
||||||
// Handles overall system navigation including animations and transitions.
|
// Handles overall system navigation including animations and transitions.
|
||||||
|
|
|
@ -1,6 +1,6 @@
|
||||||
// SPDX-License-Identifier: MIT
|
// SPDX-License-Identifier: MIT
|
||||||
//
|
//
|
||||||
// EmulationStation Desktop Edition
|
// ES-DE
|
||||||
// Renderer.cpp
|
// Renderer.cpp
|
||||||
//
|
//
|
||||||
// Generic rendering functions.
|
// Generic rendering functions.
|
||||||
|
@ -221,8 +221,7 @@ bool Renderer::createWindow()
|
||||||
windowFlags = SDL_WINDOW_OPENGL;
|
windowFlags = SDL_WINDOW_OPENGL;
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
if ((mSDLWindow =
|
if ((mSDLWindow = SDL_CreateWindow("ES-DE", SDL_WINDOWPOS_UNDEFINED_DISPLAY(displayIndex),
|
||||||
SDL_CreateWindow("EmulationStation", SDL_WINDOWPOS_UNDEFINED_DISPLAY(displayIndex),
|
|
||||||
SDL_WINDOWPOS_UNDEFINED_DISPLAY(displayIndex), mWindowWidth,
|
SDL_WINDOWPOS_UNDEFINED_DISPLAY(displayIndex), mWindowWidth,
|
||||||
mWindowHeight, windowFlags)) == nullptr) {
|
mWindowHeight, windowFlags)) == nullptr) {
|
||||||
LOG(LogError) << "Couldn't create SDL window. " << SDL_GetError();
|
LOG(LogError) << "Couldn't create SDL window. " << SDL_GetError();
|
||||||
|
@ -250,7 +249,7 @@ bool Renderer::createWindow()
|
||||||
<< std::to_string(displayMode.w * scaleFactor) << "x"
|
<< std::to_string(displayMode.w * scaleFactor) << "x"
|
||||||
<< std::to_string(displayMode.h * scaleFactor) << ")";
|
<< std::to_string(displayMode.h * scaleFactor) << ")";
|
||||||
LOG(LogInfo) << "Display refresh rate: " << std::to_string(displayMode.refresh_rate) << " Hz";
|
LOG(LogInfo) << "Display refresh rate: " << std::to_string(displayMode.refresh_rate) << " Hz";
|
||||||
LOG(LogInfo) << "EmulationStation resolution: " << std::to_string(sScreenWidth) << "x"
|
LOG(LogInfo) << "Application resolution: " << std::to_string(sScreenWidth) << "x"
|
||||||
<< std::to_string(sScreenHeight) << " (physical resolution "
|
<< std::to_string(sScreenHeight) << " (physical resolution "
|
||||||
<< std::to_string(sScreenWidth * scaleFactor) << "x"
|
<< std::to_string(sScreenWidth * scaleFactor) << "x"
|
||||||
<< std::to_string(sScreenHeight * scaleFactor) << ")";
|
<< std::to_string(sScreenHeight * scaleFactor) << ")";
|
||||||
|
@ -268,7 +267,7 @@ bool Renderer::createWindow()
|
||||||
LOG(LogInfo) << "Display resolution: " << std::to_string(displayMode.w) << "x"
|
LOG(LogInfo) << "Display resolution: " << std::to_string(displayMode.w) << "x"
|
||||||
<< std::to_string(displayMode.h);
|
<< std::to_string(displayMode.h);
|
||||||
LOG(LogInfo) << "Display refresh rate: " << std::to_string(displayMode.refresh_rate) << " Hz";
|
LOG(LogInfo) << "Display refresh rate: " << std::to_string(displayMode.refresh_rate) << " Hz";
|
||||||
LOG(LogInfo) << "EmulationStation resolution: " << std::to_string(sScreenWidth) << "x"
|
LOG(LogInfo) << "Application resolution: " << std::to_string(sScreenWidth) << "x"
|
||||||
<< std::to_string(sScreenHeight);
|
<< std::to_string(sScreenHeight);
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
|
|
|
@ -1,6 +1,6 @@
|
||||||
// SPDX-License-Identifier: MIT
|
// SPDX-License-Identifier: MIT
|
||||||
//
|
//
|
||||||
// EmulationStation Desktop Edition
|
// ES-DE
|
||||||
// Renderer.h
|
// Renderer.h
|
||||||
//
|
//
|
||||||
// Generic rendering functions.
|
// Generic rendering functions.
|
||||||
|
|
|
@ -241,14 +241,14 @@ bool RendererOpenGL::createContext()
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
#if defined(USE_OPENGLES)
|
#if defined(USE_OPENGLES)
|
||||||
LOG(LogInfo) << "EmulationStation renderer: OpenGL ES " << mMajorGLVersion << "."
|
LOG(LogInfo) << "Application renderer: OpenGL ES " << mMajorGLVersion << "."
|
||||||
<< mMinorGLVersion;
|
<< mMinorGLVersion;
|
||||||
#else
|
#else
|
||||||
#if defined(_WIN64)
|
#if defined(_WIN64)
|
||||||
LOG(LogInfo) << "EmulationStation renderer: OpenGL " << mMajorGLVersion << "."
|
LOG(LogInfo) << "Application renderer: OpenGL " << mMajorGLVersion << "."
|
||||||
<< mMinorGLVersion << " with GLEW";
|
<< mMinorGLVersion << " with GLEW";
|
||||||
#else
|
#else
|
||||||
LOG(LogInfo) << "EmulationStation renderer: OpenGL " << mMajorGLVersion << "."
|
LOG(LogInfo) << "Application renderer: OpenGL " << mMajorGLVersion << "."
|
||||||
<< mMinorGLVersion;
|
<< mMinorGLVersion;
|
||||||
#endif
|
#endif
|
||||||
#endif
|
#endif
|
||||||
|
|
|
@ -64,7 +64,7 @@ std::string ResourceManager::getResourcePath(const std::string& path, bool termi
|
||||||
return testExePath;
|
return testExePath;
|
||||||
}
|
}
|
||||||
// For missing resources, log an error and terminate the application. This should
|
// For missing resources, log an error and terminate the application. This should
|
||||||
// indicate that we have a broken EmulationStation installation. If the argument
|
// indicate that we have a broken ES-DE installation. If the argument
|
||||||
// terminateOnFailure is set to false though, then skip this step.
|
// terminateOnFailure is set to false though, then skip this step.
|
||||||
else {
|
else {
|
||||||
#endif
|
#endif
|
||||||
|
@ -80,7 +80,7 @@ std::string ResourceManager::getResourcePath(const std::string& path, bool termi
|
||||||
#if !defined(__ANDROID__)
|
#if !defined(__ANDROID__)
|
||||||
LOG(LogError) << testExePath;
|
LOG(LogError) << testExePath;
|
||||||
#endif
|
#endif
|
||||||
LOG(LogError) << "Has EmulationStation been properly installed?";
|
LOG(LogError) << "Has ES-DE been properly installed?";
|
||||||
Utils::Platform::emergencyShutdown();
|
Utils::Platform::emergencyShutdown();
|
||||||
}
|
}
|
||||||
else {
|
else {
|
||||||
|
|
|
@ -470,7 +470,7 @@ namespace Utils
|
||||||
#if defined(__ANDROID__)
|
#if defined(__ANDROID__)
|
||||||
return AndroidVariables::sInternalDataDirectory;
|
return AndroidVariables::sInternalDataDirectory;
|
||||||
#elif defined(__unix__)
|
#elif defined(__unix__)
|
||||||
return std::filesystem::path {installPrefix}.append("share").append("emulationstation");
|
return std::filesystem::path {installPrefix}.append("share").append("es-de");
|
||||||
#else
|
#else
|
||||||
return std::filesystem::path {};
|
return std::filesystem::path {};
|
||||||
#endif
|
#endif
|
||||||
|
|
|
@ -48,7 +48,7 @@ int APIENTRY wWinMain(HINSTANCE hInstance, HINSTANCE hPrevInstance, LPWSTR lpCmd
|
||||||
validArguments = false;
|
validArguments = false;
|
||||||
|
|
||||||
if (!validArguments) {
|
if (!validArguments) {
|
||||||
std::cout << "This binary is only intended to be executed by EmulationStation.exe (ES-DE)"
|
std::cout << "This binary is only intended to be executed by ES-DE.exe"
|
||||||
<< std::endl;
|
<< std::endl;
|
||||||
exit(-1);
|
exit(-1);
|
||||||
}
|
}
|
||||||
|
@ -79,9 +79,9 @@ int main(int argc, char* argv[])
|
||||||
|
|
||||||
if (!validArguments) {
|
if (!validArguments) {
|
||||||
#if defined(__APPLE__)
|
#if defined(__APPLE__)
|
||||||
std::cout << "This binary is only intended to be executed by EmulationStation (ES-DE)"
|
std::cout << "This binary is only intended to be executed by ES-DE"
|
||||||
#else
|
#else
|
||||||
std::cout << "This binary is only intended to be executed by emulationstation (ES-DE)"
|
std::cout << "This binary is only intended to be executed by es-de"
|
||||||
#endif
|
#endif
|
||||||
<< std::endl;
|
<< std::endl;
|
||||||
exit(-1);
|
exit(-1);
|
||||||
|
|
2
external/CMakeLists.txt
vendored
2
external/CMakeLists.txt
vendored
|
@ -1,6 +1,6 @@
|
||||||
# SPDX-License-Identifier: MIT
|
# SPDX-License-Identifier: MIT
|
||||||
#
|
#
|
||||||
# EmulationStation Desktop Edition
|
# ES-DE
|
||||||
# CMakeLists.txt (external)
|
# CMakeLists.txt (external)
|
||||||
#
|
#
|
||||||
# CMake configuration for bundled dependencies built in-tree.
|
# CMake configuration for bundled dependencies built in-tree.
|
||||||
|
|
|
@ -1,6 +1,6 @@
|
||||||
:: SPDX-License-Identifier: MIT
|
:: SPDX-License-Identifier: MIT
|
||||||
::
|
::
|
||||||
:: EmulationStation Desktop Edition
|
:: ES-DE
|
||||||
:: Windows_dependencies_build_MSVC.bat
|
:: Windows_dependencies_build_MSVC.bat
|
||||||
::
|
::
|
||||||
:: Builds the external dependencies in-tree using MSVC.
|
:: Builds the external dependencies in-tree using MSVC.
|
||||||
|
|
|
@ -1,7 +1,7 @@
|
||||||
#!/bin/sh
|
#!/bin/sh
|
||||||
# SPDX-License-Identifier: MIT
|
# SPDX-License-Identifier: MIT
|
||||||
#
|
#
|
||||||
# EmulationStation Desktop Edition
|
# ES-DE
|
||||||
# Windows_dependencies_build_MinGW.sh
|
# Windows_dependencies_build_MinGW.sh
|
||||||
#
|
#
|
||||||
# Builds the external dependencies in-tree.
|
# Builds the external dependencies in-tree.
|
||||||
|
|
|
@ -1,6 +1,6 @@
|
||||||
:: SPDX-License-Identifier: MIT
|
:: SPDX-License-Identifier: MIT
|
||||||
::
|
::
|
||||||
:: EmulationStation Desktop Edition
|
:: ES-DE
|
||||||
:: Windows_dependencies_setup_MSVC.bat
|
:: Windows_dependencies_setup_MSVC.bat
|
||||||
::
|
::
|
||||||
:: Downloads and prepares the external dependencies for building in-tree using MSVC.
|
:: Downloads and prepares the external dependencies for building in-tree using MSVC.
|
||||||
|
|
|
@ -1,7 +1,7 @@
|
||||||
#!/bin/sh
|
#!/bin/sh
|
||||||
# SPDX-License-Identifier: MIT
|
# SPDX-License-Identifier: MIT
|
||||||
#
|
#
|
||||||
# EmulationStation Desktop Edition
|
# ES-DE
|
||||||
# Windows_dependencies_setup_MinGW.sh
|
# Windows_dependencies_setup_MinGW.sh
|
||||||
#
|
#
|
||||||
# Downloads and prepares the external dependencies for building in-tree.
|
# Downloads and prepares the external dependencies for building in-tree.
|
||||||
|
|
|
@ -1,7 +1,7 @@
|
||||||
#!/usr/bin/bash
|
#!/usr/bin/bash
|
||||||
# SPDX-License-Identifier: MIT
|
# SPDX-License-Identifier: MIT
|
||||||
#
|
#
|
||||||
# EmulationStation Desktop Edition
|
# ES-DE
|
||||||
# create_AppImage.sh
|
# create_AppImage.sh
|
||||||
#
|
#
|
||||||
# Runs the complete process of building a Linux AppImage.
|
# Runs the complete process of building a Linux AppImage.
|
||||||
|
@ -72,22 +72,18 @@ make clean
|
||||||
make -j${JOBS}
|
make -j${JOBS}
|
||||||
make install DESTDIR=AppDir
|
make install DESTDIR=AppDir
|
||||||
cd AppDir
|
cd AppDir
|
||||||
ln -s usr/bin/emulationstation AppRun
|
ln -s usr/bin/es-de AppRun
|
||||||
ln -s usr/share/pixmaps/emulationstation.svg .
|
ln -s usr/share/pixmaps/es-de.svg .
|
||||||
ln -s usr/share/applications/org.es_de.emulationstation-de.desktop .
|
ln -s usr/share/applications/org.es_de.frontend.desktop .
|
||||||
ln -s emulationstation.svg .DirIcon
|
ln -s es-de.svg .DirIcon
|
||||||
cd usr/bin
|
cd usr/bin
|
||||||
ln -s ../share/emulationstation/resources .
|
ln -s ../share/es-de/resources .
|
||||||
ln -s ../share/emulationstation/themes .
|
ln -s ../share/es-de/themes .
|
||||||
cd ../../..
|
cd ../../..
|
||||||
|
|
||||||
./linuxdeploy-x86_64.AppImage -l /lib/x86_64-linux-gnu/libOpenGL.so.0 -l /lib/x86_64-linux-gnu/libGLdispatch.so.0 -l /lib/x86_64-linux-gnu/libgio-2.0.so.0 --appdir AppDir
|
./linuxdeploy-x86_64.AppImage -l /lib/x86_64-linux-gnu/libOpenGL.so.0 -l /lib/x86_64-linux-gnu/libGLdispatch.so.0 -l /lib/x86_64-linux-gnu/libgio-2.0.so.0 --appdir AppDir
|
||||||
cp external/SDL/build/${SDL_SHARED_LIBRARY} AppDir/usr/lib/libSDL2-2.0.so.0
|
cp external/SDL/build/${SDL_SHARED_LIBRARY} AppDir/usr/lib/libSDL2-2.0.so.0
|
||||||
./appimagetool-x86_64.AppImage AppDir
|
./appimagetool-x86_64.AppImage AppDir
|
||||||
|
|
||||||
#VERSION=$(grep PROGRAM_VERSION_STRING es-app/src/EmulationStation.h | cut -f3 -d" " | sed s/\"//g)
|
mv ES-DE-x86_64.AppImage ES-DE_x64.AppImage
|
||||||
#mv EmulationStation_Desktop_Edition-x86_64.AppImage EmulationStation-DE-${VERSION}-x64.AppImage
|
echo -e "\nCreated AppImage ES-DE_x64.AppImage"
|
||||||
#echo -e "\nCreated AppImage EmulationStation-DE-${VERSION}-x64.AppImage"
|
|
||||||
|
|
||||||
mv EmulationStation_Desktop_Edition-x86_64.AppImage EmulationStation-DE-x64.AppImage
|
|
||||||
echo -e "\nCreated AppImage EmulationStation-DE-x64.AppImage"
|
|
||||||
|
|
|
@ -1,7 +1,7 @@
|
||||||
#!/usr/bin/bash
|
#!/usr/bin/bash
|
||||||
# SPDX-License-Identifier: MIT
|
# SPDX-License-Identifier: MIT
|
||||||
#
|
#
|
||||||
# EmulationStation Desktop Edition
|
# ES-DE
|
||||||
# create_AppImage_SteamDeck.sh
|
# create_AppImage_SteamDeck.sh
|
||||||
#
|
#
|
||||||
# Runs the complete process of building a Linux AppImage specific to the Valve Steam Deck.
|
# Runs the complete process of building a Linux AppImage specific to the Valve Steam Deck.
|
||||||
|
@ -72,18 +72,18 @@ make clean
|
||||||
make -j${JOBS}
|
make -j${JOBS}
|
||||||
make install DESTDIR=AppDir
|
make install DESTDIR=AppDir
|
||||||
cd AppDir
|
cd AppDir
|
||||||
ln -s usr/bin/emulationstation AppRun
|
ln -s usr/bin/es-de AppRun
|
||||||
ln -s usr/share/pixmaps/emulationstation.svg .
|
ln -s usr/share/pixmaps/es-de.svg .
|
||||||
ln -s usr/share/applications/org.es_de.emulationstation-de.desktop .
|
ln -s usr/share/applications/org.es_de.frontend.desktop .
|
||||||
ln -s emulationstation.svg .DirIcon
|
ln -s es-de.svg .DirIcon
|
||||||
cd usr/bin
|
cd usr/bin
|
||||||
ln -s ../share/emulationstation/resources .
|
ln -s ../share/es-de/resources .
|
||||||
ln -s ../share/emulationstation/themes .
|
ln -s ../share/es-de/themes .
|
||||||
cd ../../..
|
cd ../../..
|
||||||
|
|
||||||
./linuxdeploy-x86_64.AppImage -l /lib/x86_64-linux-gnu/libOpenGL.so.0 -l /lib/x86_64-linux-gnu/libGLdispatch.so.0 -l /lib/x86_64-linux-gnu/libgio-2.0.so.0 --appdir AppDir
|
./linuxdeploy-x86_64.AppImage -l /lib/x86_64-linux-gnu/libOpenGL.so.0 -l /lib/x86_64-linux-gnu/libGLdispatch.so.0 -l /lib/x86_64-linux-gnu/libgio-2.0.so.0 --appdir AppDir
|
||||||
cp external/SDL/build/${SDL_SHARED_LIBRARY} AppDir/usr/lib/libSDL2-2.0.so.0
|
cp external/SDL/build/${SDL_SHARED_LIBRARY} AppDir/usr/lib/libSDL2-2.0.so.0
|
||||||
./appimagetool-x86_64.AppImage AppDir
|
./appimagetool-x86_64.AppImage AppDir
|
||||||
|
|
||||||
mv EmulationStation_Desktop_Edition-x86_64.AppImage EmulationStation-DE-x64_SteamDeck.AppImage
|
mv ES-DE-x86_64.AppImage ES-DE_x64_SteamDeck.AppImage
|
||||||
echo -e "\nCreated AppImage EmulationStation-DE-x64_SteamDeck.AppImage"
|
echo -e "\nCreated AppImage ES-DE_x64_SteamDeck.AppImage"
|
||||||
|
|
|
@ -1,7 +1,7 @@
|
||||||
#!/usr/bin/bash
|
#!/usr/bin/bash
|
||||||
# SPDX-License-Identifier: MIT
|
# SPDX-License-Identifier: MIT
|
||||||
#
|
#
|
||||||
# EmulationStation Desktop Edition
|
# ES-DE
|
||||||
# create_dummy_game_files.sh
|
# create_dummy_game_files.sh
|
||||||
#
|
#
|
||||||
# This script generates dummy files for each system in the ROM directory and is intended
|
# This script generates dummy files for each system in the ROM directory and is intended
|
||||||
|
|
|
@ -1,7 +1,7 @@
|
||||||
#!/usr/bin/bash
|
#!/usr/bin/bash
|
||||||
# SPDX-License-Identifier: MIT
|
# SPDX-License-Identifier: MIT
|
||||||
#
|
#
|
||||||
# EmulationStation Desktop Edition
|
# ES-DE
|
||||||
# generate_man_page.sh
|
# generate_man_page.sh
|
||||||
#
|
#
|
||||||
# Generates the Unix manual page.
|
# Generates the Unix manual page.
|
||||||
|
@ -18,25 +18,25 @@ if [ ! -f ../es-app/CMakeLists.txt ]; then
|
||||||
exit
|
exit
|
||||||
fi
|
fi
|
||||||
|
|
||||||
ESBINARY=../emulationstation
|
ESBINARY=../es-de
|
||||||
|
|
||||||
TEMPFILE_INPUT=tempfile_input_$(date +%H%M%S)
|
TEMPFILE_INPUT=tempfile_input_$(date +%H%M%S)
|
||||||
TEMPFILE_OUTPUT=tempfile_output_$(date +%H%M%S)
|
TEMPFILE_OUTPUT=tempfile_output_$(date +%H%M%S)
|
||||||
TARGET_FILENAME=emulationstation.6
|
TARGET_FILENAME=es-de.6
|
||||||
|
|
||||||
MAN_INCLUDE="
|
MAN_INCLUDE="
|
||||||
[NAME]
|
[NAME]
|
||||||
emulationstation - EmulationStation Desktop Edition
|
es-de - ES-DE (EmulationStation Desktop Edition)
|
||||||
|
|
||||||
[DESCRIPTION]
|
[DESCRIPTION]
|
||||||
EmulationStation Desktop Edition (ES-DE) is a frontend for browsing and launching games from your multi-platform game collection.
|
ES-DE is a frontend for browsing and launching games from your multi-platform game collection.
|
||||||
|
|
||||||
[AUTHOR]
|
[AUTHOR]
|
||||||
Leon Styhre (Desktop Edition) <https://es-de.org/>
|
Leon Styhre <https://es-de.org/>
|
||||||
|
|
||||||
RetroPie community (RetroPie fork)
|
RetroPie community (RetroPie EmulationStation fork)
|
||||||
|
|
||||||
Alec Lofquist (original version)
|
Alec Lofquist (original EmulationStation)
|
||||||
|
|
||||||
[SEE ALSO]
|
[SEE ALSO]
|
||||||
Full documentation available at: <https://gitlab.com/es-de/emulationstation-de/>
|
Full documentation available at: <https://gitlab.com/es-de/emulationstation-de/>
|
||||||
|
@ -48,13 +48,13 @@ help2man --section 6 --no-info --include $TEMPFILE_INPUT $ESBINARY > $TEMPFILE_O
|
||||||
|
|
||||||
# Manual string replacements, these may need to be modified if changes are made to the
|
# Manual string replacements, these may need to be modified if changes are made to the
|
||||||
# command line --help output.
|
# command line --help output.
|
||||||
cat $TEMPFILE_OUTPUT | sed s/"EmulationStation Desktop Edition, Emulator Frontend"/""/g | \
|
cat $TEMPFILE_OUTPUT | sed s/"ES\\\-DE (EmulationStation Desktop Edition), Emulator Frontend"/""/g | \
|
||||||
sed s/"Set to at least"/".br\nSet to at least"/ > $TARGET_FILENAME
|
sed s/"Set to at least"/".br\nSet to at least"/ > $TARGET_FILENAME
|
||||||
|
|
||||||
gzip -9 $TARGET_FILENAME
|
gzip -9 $TARGET_FILENAME
|
||||||
mv ${TARGET_FILENAME}.gz ../es-app/assets/
|
mv ${TARGET_FILENAME}.gz ../es-app/assets/
|
||||||
|
|
||||||
echo "The man page was generated and saved to ../es-app/assets/emulationstation.6.gz"
|
echo "The man page was generated and saved to ../es-app/assets/es-de.6.gz"
|
||||||
|
|
||||||
rm $TEMPFILE_INPUT
|
rm $TEMPFILE_INPUT
|
||||||
rm $TEMPFILE_OUTPUT
|
rm $TEMPFILE_OUTPUT
|
||||||
|
|
|
@ -1,7 +1,7 @@
|
||||||
#!/bin/sh
|
#!/bin/sh
|
||||||
# SPDX-License-Identifier: MIT
|
# SPDX-License-Identifier: MIT
|
||||||
#
|
#
|
||||||
# EmulationStation Desktop Edition
|
# ES-DE
|
||||||
# macOS_dependencies_build.sh
|
# macOS_dependencies_build.sh
|
||||||
#
|
#
|
||||||
# Builds the external dependencies in-tree.
|
# Builds the external dependencies in-tree.
|
||||||
|
|
|
@ -1,7 +1,7 @@
|
||||||
#!/bin/sh
|
#!/bin/sh
|
||||||
# SPDX-License-Identifier: MIT
|
# SPDX-License-Identifier: MIT
|
||||||
#
|
#
|
||||||
# EmulationStation Desktop Edition
|
# ES-DE
|
||||||
# macOS_dependencies_setup.sh
|
# macOS_dependencies_setup.sh
|
||||||
#
|
#
|
||||||
# Downloads and prepares the external dependencies for building in-tree.
|
# Downloads and prepares the external dependencies for building in-tree.
|
||||||
|
|
|
@ -1,7 +1,7 @@
|
||||||
#!/usr/bin/bash
|
#!/usr/bin/bash
|
||||||
# SPDX-License-Identifier: MIT
|
# SPDX-License-Identifier: MIT
|
||||||
#
|
#
|
||||||
# EmulationStation Desktop Edition
|
# ES-DE
|
||||||
# mame_create_index_files.sh
|
# mame_create_index_files.sh
|
||||||
#
|
#
|
||||||
# As input, this script takes the MAME driver information XML file from the official
|
# As input, this script takes the MAME driver information XML file from the official
|
||||||
|
|
|
@ -1,7 +1,7 @@
|
||||||
#!/usr/bin/bash
|
#!/usr/bin/bash
|
||||||
# SPDX-License-Identifier: MIT
|
# SPDX-License-Identifier: MIT
|
||||||
#
|
#
|
||||||
# EmulationStation Desktop Edition
|
# ES-DE
|
||||||
# mame_merge_index_files.sh
|
# mame_merge_index_files.sh
|
||||||
#
|
#
|
||||||
# This script merges older ROM index files with newly generated ones.
|
# This script merges older ROM index files with newly generated ones.
|
||||||
|
|
|
@ -1,7 +1,7 @@
|
||||||
#!/usr/bin/bash
|
#!/usr/bin/bash
|
||||||
# SPDX-License-Identifier: MIT
|
# SPDX-License-Identifier: MIT
|
||||||
#
|
#
|
||||||
# EmulationStation Desktop Edition
|
# ES-DE
|
||||||
# reformat_codebase.sh
|
# reformat_codebase.sh
|
||||||
#
|
#
|
||||||
# Automatically reformats the codebase using clang-format.
|
# Automatically reformats the codebase using clang-format.
|
||||||
|
|
|
@ -1,10 +1,10 @@
|
||||||
#!/usr/bin/bash
|
#!/usr/bin/bash
|
||||||
# SPDX-License-Identifier: MIT
|
# SPDX-License-Identifier: MIT
|
||||||
#
|
#
|
||||||
# EmulationStation Desktop Edition
|
# ES-DE
|
||||||
# update_version_string.sh
|
# update_version_string.sh
|
||||||
#
|
#
|
||||||
# Updates the version string for EmulationStation Desktop Edition.
|
# Updates the version string for ES-DE.
|
||||||
# This script takes as arguments the major, minor and patch numbers as well as an optional
|
# This script takes as arguments the major, minor and patch numbers as well as an optional
|
||||||
# alphanumeric suffix and updates all the necessary files to indicate a new software version.
|
# alphanumeric suffix and updates all the necessary files to indicate a new software version.
|
||||||
# The script has to be run from within the tools directory.
|
# The script has to be run from within the tools directory.
|
||||||
|
@ -14,8 +14,8 @@
|
||||||
#
|
#
|
||||||
# The following files are updated by this script:
|
# The following files are updated by this script:
|
||||||
# es-app/CMakeLists.txt
|
# es-app/CMakeLists.txt
|
||||||
# es-app/src/EmulationStation.h
|
# es-app/src/ApplicationVersion.h
|
||||||
# es-app/assets/EmulationStation-DE_Info.plist
|
# es-app/assets/ES-DE.plist
|
||||||
# es-app/assets/Windows_Portable_README.txt
|
# es-app/assets/Windows_Portable_README.txt
|
||||||
#
|
#
|
||||||
# This script is only intended to be used on Linux systems.
|
# This script is only intended to be used on Linux systems.
|
||||||
|
@ -50,9 +50,9 @@ NEWSTRING="set(ES_VERSION ${1}.${2}.${3}${SUFFIX})"
|
||||||
cat $MODIFYFILE | sed s/"${MODIFYSTRING}"/"${NEWSTRING}"/ > $TEMPFILE
|
cat $MODIFYFILE | sed s/"${MODIFYSTRING}"/"${NEWSTRING}"/ > $TEMPFILE
|
||||||
mv $TEMPFILE $MODIFYFILE
|
mv $TEMPFILE $MODIFYFILE
|
||||||
|
|
||||||
##### EmulationStation.h
|
##### ApplicationVersion.h
|
||||||
|
|
||||||
MODIFYFILE=../es-app/src/EmulationStation.h
|
MODIFYFILE=../es-app/src/ApplicationVersion.h
|
||||||
|
|
||||||
MODIFYSTRING=$(grep "PROGRAM_VERSION_MAJOR " $MODIFYFILE)
|
MODIFYSTRING=$(grep "PROGRAM_VERSION_MAJOR " $MODIFYFILE)
|
||||||
NEWSTRING="#define PROGRAM_VERSION_MAJOR ${1}"
|
NEWSTRING="#define PROGRAM_VERSION_MAJOR ${1}"
|
||||||
|
@ -94,13 +94,13 @@ NEWSTRING=$(grep "PROGRAM_RELEASE_NUMBER" $MODIFYFILE | sed "s/$OLDRELEASE/$NEWR
|
||||||
cat $MODIFYFILE | sed s/"${MODIFYSTRING}"/"${NEWSTRING}"/ > $TEMPFILE
|
cat $MODIFYFILE | sed s/"${MODIFYSTRING}"/"${NEWSTRING}"/ > $TEMPFILE
|
||||||
mv $TEMPFILE $MODIFYFILE
|
mv $TEMPFILE $MODIFYFILE
|
||||||
|
|
||||||
##### EmulationStation-DE_Info.plist
|
##### ES-DE_Info.plist
|
||||||
|
|
||||||
MODIFYFILE=../es-app/assets/EmulationStation-DE_Info.plist
|
MODIFYFILE=../es-app/assets/ES-DE_Info.plist
|
||||||
MODIFYSTRING=$(grep "<string>EmulationStation Desktop Edition " $MODIFYFILE)
|
MODIFYSTRING=$(grep "<string>ES-DE " $MODIFYFILE)
|
||||||
OLDVERSION=$(echo $MODIFYSTRING | cut -f4 -d" " | sed s/".........$"//)
|
OLDVERSION=$(echo $MODIFYSTRING | cut -f4 -d" " | sed s/".........$"//)
|
||||||
MODIFYSTRING=$(echo $MODIFYSTRING | sed s/".........$"//)
|
MODIFYSTRING=$(echo $MODIFYSTRING | sed s/".........$"//)
|
||||||
NEWSTRING="<string>EmulationStation Desktop Edition ${1}.${2}.${3}"
|
NEWSTRING="<string>ES-DE ${1}.${2}.${3}"
|
||||||
|
|
||||||
cat $MODIFYFILE | sed s/"${MODIFYSTRING}"/"${NEWSTRING}"/ > $TEMPFILE
|
cat $MODIFYFILE | sed s/"${MODIFYSTRING}"/"${NEWSTRING}"/ > $TEMPFILE
|
||||||
mv $TEMPFILE $MODIFYFILE
|
mv $TEMPFILE $MODIFYFILE
|
||||||
|
|
Loading…
Reference in a new issue