Commit graph

194 commits

Author SHA1 Message Date
Leon Styhre 834f8bf1d6 Log output is now flushed before game launch. 2022-07-07 18:15:35 +02:00
Leon Styhre f4e3875952 (Windows) Fixed an issue where the emulator binary path would sometimes not get escaped correctly in es_log.txt on game launch.
Also fixed some other path escape inconsistencies.
2022-07-01 16:42:21 +02:00
Leon Styhre edc804c3b0 (macOS) Fixed an issue where launching alias files would not suspend ES-DE. 2022-06-18 16:19:47 +02:00
Leon Styhre 94a8ef8791 Fixed two issues were thumbnails and game images were not displayed for the Detailed and Video view styles respectively.
Also removed support for the thumbnail game media type and fixed an issue where the logo and logotext were displayed at the same time in the gamelist view.
2022-06-03 19:56:30 +02:00
Leon Styhre 079f1bc102 (Windows) Fixed a compiler error. 2022-05-31 23:07:24 +02:00
Leon Styhre 7fac3b4a36 Added an %ENABLESHORTCUTS% variable to support launching of .desktop files on Unix and apps and aliases on macOS. 2022-05-31 22:25:36 +02:00
Leon Styhre eb47511bbc Some code cleanup in FileData.cpp 2022-05-21 14:48:29 +02:00
Leon Styhre bfba994d07 Added an %INJECT% variable for injecting launch arguments from game config files. 2022-05-21 11:43:17 +02:00
Leon Styhre e8e7465935 Added a %GAMEDIR% variable that expands to the game directory.
Also fixed an issue where the %BASENAME% variable would not work with directories interpreted as files.
2022-05-19 23:36:12 +02:00
Leon Styhre 9ee56da021 Added experimental support for folder flattening. 2022-05-18 19:47:51 +02:00
Leon Styhre 41357ce7f5 Fixed an issue where the game-end event was triggered immediately if running in the background. 2022-05-16 22:34:51 +02:00
Leon Styhre 46790fc1cb Added a new %GAMEDIR% variable to be used in conjunction with the %STARTDIR% variable. 2022-05-13 19:18:38 +02:00
Leon Styhre 0758d799ba (Windows) Added an %ESCAPESPECIALS% variable that escapes some special characters. 2022-05-08 14:25:27 +02:00
Leon Styhre f4c9586eeb Fixed multiple game launching issues. 2022-05-02 17:25:10 +02:00
Leon Styhre 6caf4d193b Added support for a %STARTDIR% es_systems.xml variable. 2022-04-30 20:43:29 +02:00
Leon Styhre b79f6588a4 Added support for using the %ROMPATH% variable in the es_systems.xml command tag. 2022-04-28 19:40:43 +02:00
Leon Styhre c63f34cdad (Linux) The 'flatpak-spawn --host' command is no longer included in the log output on game launch. 2022-04-26 21:30:36 +02:00
Leon Styhre 5d1e9cce7d Added a sandbox breakout on game launch if running as Flatpak. 2022-04-24 11:19:42 +02:00
Leon Styhre da4462c5a6 Made it possible to directly launch files inside directories that are interpreted as files. 2022-04-22 21:01:58 +02:00
Leon Styhre 963834afec Renamed 'launch file' to 'folder link'. 2022-04-12 18:35:57 +02:00
Leon Styhre 45af7441e9 Added support for launching game files inside folders without having to enter the folder. 2022-04-11 23:28:18 +02:00
Leon Styhre f0c35d8509 Refactored the rendering code into proper classes. 2022-03-14 19:51:48 +01:00
Leon Styhre a6b1a8844d Made the emulator wildcard support work on Windows. 2022-02-21 19:14:41 +01:00
Leon Styhre da802aec61 Added emulator filename wildcard support for es_systems.xml and es_find_rules.xml 2022-02-21 17:23:23 +01:00
Leon Styhre d0b773a8ce The emulator name is now displayed if it's not found during game launch. 2022-02-20 21:28:23 +01:00
Leon Styhre c4843b3b1d (Windows) Fixed a compile error. 2022-02-20 18:49:35 +01:00
Leon Styhre c4eb1b8b97 Greatly simplified the video controls code.
Also fixed a cosmetic issue with carousel fade transitions.
2022-02-19 17:04:23 +01:00
Leon Styhre 4f019c3775 Added support for defining multiple imageType entries.
Also made some improvements to GameSelectorComponent and related logic.
2022-02-14 19:32:07 +01:00
Leon Styhre cc8123f5a6 Added a GameSelectorComponent for displaying game media in SystemView. 2022-02-13 20:03:34 +01:00
Leon Styhre a443f86235 Removed a huge amount of unnecessary Window* function arguments. 2022-01-19 18:01:54 +01:00
Leon Styhre e6c36e88c5 Moved UIModeController.cpp from the es-app/views directory to es-app 2022-01-17 21:53:23 +01:00
Leon Styhre 0c8efee8ad General refactoring and code cleanup. 2022-01-16 18:18:28 +01:00
Leon Styhre 8a6652552f Set the clang-format option SpaceBeforeCpp11BracedList to true. 2022-01-16 12:09:55 +01:00
Leon Styhre 92f5284bf3 Added support for scraping fan art images.
Also added scraping of box back covers when using TheGamesDB.
2022-01-15 13:16:23 +01:00
Leon Styhre 65702b6689 Added the ability to set a sortname specifically for custom collections. 2022-01-15 11:50:51 +01:00
Leon Styhre b4e08ba92b Renamed Platform to utils/PlatformUtil 2022-01-10 18:56:04 +01:00
Leon Styhre 2d149c5161 Moved all Platform functions to the utility namespace. 2022-01-10 18:43:17 +01:00
Leon Styhre b16ea29088 Added theme support and proper application integration for LottieComponent. 2022-01-09 13:43:42 +01:00
Leon Styhre 254b00a3d8 Large refactoring to improve thread safety and improve singleton pattern usage. 2022-01-04 21:21:26 +01:00
Leon Styhre 0a72780b59 Fixed two small typos. 2022-01-02 21:02:43 +01:00
Leon Styhre 361a93fd37 (Windows) Added support for appending strings to the winregistryvalue find rule. 2021-12-24 12:26:34 +01:00
Leon Styhre 96bbd25e79 Added support for prefixing the es_systems.xml %EMULATOR_% variable with a command.
Also added trimming of leading and trailing whitespace characters from the launch command.
2021-12-16 18:05:36 +01:00
Leon Styhre 045e56ae3f (Windows) Changed the fullscreen mode to SDL_WINDOW_BORDERLESS.
Also removed the 'AMD and Intel GPU game launch workaround' menu option.
2021-12-09 18:53:22 +01:00
Leon Styhre 50a8edecf3 Added the system name and full system name as arguments to the game-start and game-end custom events. 2021-12-05 11:28:09 +01:00
Leon Styhre 36dd70b476 Fixed an issue where text scrolling would get disabled upon failed game launches. 2021-12-02 20:42:49 +01:00
Leon Styhre 7c07c0d5cf Added a 'winregistryvalue' find rule and a %RUNINBACKGROUND% variable. 2021-11-22 20:03:05 +01:00
Leon Styhre 445b914379 Completely refactored MameNames. 2021-11-17 21:32:40 +01:00
Leon Styhre dd0f36f82b Changed most increment and decrement operators from postfix to prefix for es-app. 2021-11-17 17:35:34 +01:00
Leon Styhre b742951dc0 Removed some unnecessary includes of AudioManager.h 2021-11-15 20:52:36 +01:00
Leon Styhre 3e12fcb420 General refactoring and minor optimizations throughout the codebase. 2021-11-09 22:40:08 +01:00