Commit graph

1744 commits

Author SHA1 Message Date
Leon Styhre 3aadc42c28 Added an es_log.txt entry when the 'Only show ROMs from gamelist.xml files' setting is enabled. 2022-06-29 17:19:28 +02:00
Leon Styhre 08d893b119 Fixed an issue where the IgnoreGamelist setting was saved although it shouldn't.
Also made a change so that passing the --ignore-gamelist command line option now immediately disables the ParseGamelistOnly setting.
2022-06-29 17:17:31 +02:00
Joseph Geumlek f7eeabeee0 Avoid nullptr if Gamelist View uses carousel. 2022-06-26 13:17:44 -07: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 bded2bf31f Added a ScreenScraper option to fallback to additional regions to allow scraping of country-specific games and unofficial releases. 2022-06-16 19:56:41 +02:00
Leon Styhre 4eae72621a Added TheGamesDB support for the oric and ti99 platforms. 2022-06-12 15:41:48 +02:00
Leon Styhre b982ec627a Added ScreenScraper support for the ti99 platform. 2022-06-12 15:40:05 +02:00
Leon Styhre f27de7f860 Added an es_log.txt entry if running in portable mode. 2022-06-12 10:34:17 +02:00
Leon Styhre 65c04bdadb Changed the comment (name) for the pico8 platform. 2022-06-11 19:48:40 +02:00
Leon Styhre 6b24533c0d (Windows) Added support for creating a portable installation in the root of a device, such as E: or F: 2022-06-11 18:59:40 +02:00
Leon Styhre 40bf018aaa Changed theme loading into a populateThemeSets function and created a separate getter function.
Also removed a deprecated theme check in the game directory.
2022-06-11 18:34:53 +02:00
Leon Styhre 0ef6a22248 Removed the 'Enable menu scroll indicators' menu option. 2022-06-10 19:54:29 +02:00
Leon Styhre 9480f125bb Added support for the physicalmedia image type to the image, video and carousel elements. 2022-06-07 17:32:42 +02:00
Leon Styhre 76384d1d34 Added system view support for the 'rating' text metadata type. 2022-06-06 22:44:48 +02:00
Leon Styhre 2e3ac5bf0e Fixed an issue where using a text rating without a rating element in the gamelist view would crash the application. 2022-06-06 22:28:24 +02:00
Leon Styhre 0008e44294 Removed all short enums comments as they're now properly solved by AllowShortEnumsOnASingleLine. 2022-06-05 12:36:55 +02:00
Leon Styhre eb3fb3d953 Added support for placing a noload.txt file in the root of a system/ROM directory to keep it from getting loaded. 2022-06-05 11:52:33 +02:00
Leon Styhre d508a123d2 Fixed a few logoText issues for legacy themes. 2022-06-04 17:31:51 +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 846b0a07ef Fixed an issue with rendering elements above the carousel for legacy theme sets. 2022-06-03 19:34:39 +02:00
Leon Styhre b12d9f4692 Changed the sorting in the Alternative emulators interface to use short system names instead of full system names.
Also increased the window width slightly when displaying long system names.
2022-06-03 18:32:37 +02:00
Leon Styhre 9037f95fd3 Changed to a new API key for TheGamesDB. 2022-06-03 18:23:25 +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 765aaeb2df Changed the default quit shortcut to Alt + F4 and Command + Q.
Also renamed the setting 'Exit button combo' to 'Keyboard quit shortcut' and fixed an issue where the application sometimes quit when exiting an emulator using Alt + F4 while running in the background.
2022-05-31 22:06:47 +02:00
Leon Styhre ab1e51a77c Added TheGamesDB scraper support for the atomiswave and naomi platforms. 2022-05-23 18:50:23 +02:00
Leon Styhre 67023f428b Fixed a minor rounding issue which sometimes led to a slight positioning error for the menu scroll indicators. 2022-05-21 19:59:05 +02:00
Leon Styhre c1fe919e4d Fixed an issue with incorrect scroll indicators in the Alternative Emulators screen. 2022-05-21 19:52:05 +02:00
Leon Styhre eb47511bbc Some code cleanup in FileData.cpp 2022-05-21 14:48:29 +02:00
Leon Styhre c66d2ace27 Fixed a very rare bug where games and folders could get mixed up during gamelist.xml parsing. 2022-05-21 14:25:44 +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 d418c05614 Added scraper support for the platforms arcadia (Emerson Arcadia 2001) and crvision (VTech CreatiVision).
Also removed an unnecessary code comment.
2022-05-19 17:32:12 +02:00
Leon Styhre cc004a45f1 Renamed the --create-systemdirs command line option to --create-system-dirs 2022-05-19 17:24:12 +02:00
Leon Styhre 6a0b1bad5b Added custom event script triggers on application startup, screensaver start and screensaver end. 2022-05-18 23:56:51 +02:00
Leon Styhre 09992b5bee Clarified a code comment about directories interpreted as files. 2022-05-18 23:02:53 +02:00
Leon Styhre fdf63a9ad0 Fixed an issue where the 'quit' custom event would not trigger on application shutdown. 2022-05-18 22:57:03 +02:00
Leon Styhre 5b63ecb828 Removed the last remnants of the PowerSaver. 2022-05-18 21:08:55 +02:00
Leon Styhre 9ee56da021 Added experimental support for folder flattening. 2022-05-18 19:47:51 +02:00
Leon Styhre 43191e4005 Added a --create-systemdirs command line option to generate the game system directories. 2022-05-18 18:32:13 +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 8b106c8d99 Fixed an issue where the screensaver would include all games when in Kid UI mode. 2022-05-16 19:59:34 +02:00
Leon Styhre dc601a483d Enabled screensaver controls when running in Kid UI mode. 2022-05-16 19:55:08 +02:00
Leon Styhre e9dabf7084 Fixed a compiler warning on NetBSD. 2022-05-15 18:58:39 +02:00
Leon Styhre f27ac9d26b Added a new pcwindows platform for scraping PC (Windows) games. 2022-05-14 12:02:24 +02:00
Leon Styhre b2f70971ef Changed the ScreenScraper system ID from pc to moonlight for the steam and epic systems. 2022-05-14 11:01:01 +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 7fb6734feb Added scraper support for the astrocde (Bally Astrocade) system.
Also renamed astrocade to astrocde.
2022-05-12 22:45:52 +02:00
Leon Styhre 7b07ccb44d Fixed an issue where the 'Jump to..' quick selector wouldn't work correctly for multi-byte Unicode characters. 2022-05-09 20:21:39 +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 490868088d (Windows) Fixed an issue where ROM directories could not be created in the root of a device. 2022-05-07 14:11:16 +02:00
Leon Styhre f4c9586eeb Fixed multiple game launching issues. 2022-05-02 17:25:10 +02:00
Leon Styhre 93d74b840c Added a fallback to ScreenScraper's normalized video if no regular video is found. 2022-05-01 09:16:15 +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 dbfab96e03 Added rudimentary on-demand texture loading to CarouselComponent. 2022-04-20 23:00:53 +02:00
Leon Styhre defbbfd13f Removed the setting 'Preload gamelists on startup'. 2022-04-20 22:39:27 +02:00
Leon Styhre 954f1aa4f8 Added the build date to to main menu for alpha and dev builds. 2022-04-19 17:27:04 +02:00
Leon Styhre a112fc035f Changed the variable names in CarouselComponent to use 'item' instead of 'logo'. 2022-04-17 10:40:18 +02:00
Leon Styhre f463766497 Generalized the carousel property names and added support for setting media types for gamelist carousels. 2022-04-16 21:54:58 +02:00
Leon Styhre 7daf69092f Added theme support for controlling the TextListComponent collection indicators. 2022-04-15 21:20:43 +02:00
Leon Styhre 2001a9f639 Added a collection badge to be shown when editing custom collections.
Also changed the default badge lines value from 2 to 3.
2022-04-15 19:27:38 +02:00
Leon Styhre aa4258a31a Removed the 'Use plain ASCII for special gamelist characters' menu option. 2022-04-15 17:13:51 +02:00
Leon Styhre 254e271392 Added theme support for controlling the TextListComponent indicators. 2022-04-15 17:06:33 +02:00
Leon Styhre 30b02456c0 Added a folder badge including support for a folder link overlay. 2022-04-13 16:53:28 +02:00
Leon Styhre 37e2564ff7 Fixed an issue where the slideshow screensaver with a single custom image would hang the application. 2022-04-12 20:47:25 +02:00
Leon Styhre 963834afec Renamed 'launch file' to 'folder link'. 2022-04-12 18:35:57 +02:00
Leon Styhre 4d4ceae6c9 (Windows) Fixed a MinGW compiler warning. 2022-04-12 00:18:51 +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 ea2c4444b0 Added platform and scraper support for PICO-8 game engine. 2022-04-10 12:50:03 +02:00
Leon Styhre 65c940f764 Added missing scraper entries for samcoupe and zx81 for TheGamesDB and zmachine for ScreenScraper. 2022-04-10 12:37:04 +02:00
Leon Styhre 4859f0c980 neogeocd is now scraped specifically as 'Neo Geo CD' instead of the more general 'Neo Geo'. 2022-04-10 12:13:35 +02:00
Leon Styhre b987dd9cff Fixed a row positioning issue in GuiAlternativeEmulators. 2022-04-09 20:18:53 +02:00
Leon Styhre 72ce3d33a8 Some code cleanup. 2022-04-09 16:32:47 +02:00
Leon Styhre 16955e5318 Fixed an issue where the theme sets were not always sorted correctly. 2022-04-09 15:57:37 +02:00
Leon Styhre 21f21c20f5 Added a scraper setting to convert underscores _ to spaces when searching. 2022-04-09 15:14:48 +02:00
Leon Styhre 9802538464 Changed a system loading log entry from warning to debug level. 2022-04-05 17:50:47 +02:00
Leon Styhre aed9c4abe5 Made ScreenScraper searches in automatic mode faster and more accurate. 2022-04-05 17:48:47 +02:00
Leon Styhre 90f3f6cb07 Fixed an issue where the folder metadata fields were not loaded correctly. 2022-04-05 17:21:47 +02:00
Leon Styhre f8bd60ceec Fixed an issue where the game systems were not sorted correctly. 2022-04-04 23:18:10 +02:00
Leon Styhre 4a511f3f4a Fixed an issue where the help system would not update properly during scraping. 2022-04-03 17:32:09 +02:00
Leon Styhre c70d2d6368 Added fallback for high resolution wheel image for ScreenScraper if no regular wheel image was found. 2022-04-01 18:07:21 +02:00
Leon Styhre 7e0df9063c Fixed a crash on startup if no games were found. 2022-03-28 17:47:34 +02:00
Leon Styhre b96f6bc131 Fixed an issue where a default primary component was not set in GamelistView. 2022-03-25 21:50:50 +01:00
Leon Styhre 3a1c9d41ce Fully generalized SystemView and GamelistView and rewrote CarouselComponent into a template class.
Also cleaned up some code and fixed an issue where navigation sounds would not play when using the shoulder buttons.
2022-03-24 23:05:23 +01:00
Leon Styhre 07f151d906 Moved TextListComponent and CarouselComponent from es-core to es-app. 2022-03-19 09:55:05 +01:00
Leon Styhre 6f6f388257 Added RatingComponent support to the system view. 2022-03-18 22:16:53 +01:00
Leon Styhre a115b3f941 Added alignment support and separate dimming of gamelist and system views to the help system. 2022-03-18 20:14:51 +01:00
Leon Styhre 7bdce3f4a3 Reverted the dim value for the screensaver. 2022-03-15 00:09:58 +01:00
Leon Styhre 06a037d8cf Shader flags are now sent as bit masks instead of via discreet values.
Also changed the shader flags to enums.
2022-03-14 22:30:24 +01:00
Leon Styhre f0c35d8509 Refactored the rendering code into proper classes. 2022-03-14 19:51:48 +01:00
Leon Styhre a7db474a64 Unified the OpenGL and OpenGL ES renderers and removed the fixed function pipeline.
Also made some other rendering optimizations and cleaned up some code.
2022-03-13 23:52:32 +01:00
Leon Styhre 32251e0264 Fixed multiple issues with the shader post-processing.
Also removed an unnecessary parameter for the createTexture() function.
2022-03-12 14:22:27 +01:00
Leon Styhre ac6cc41059 Added a command line option to rotate the application screen 180 degrees.
Also fixed a shader post-processing bug when rotating the application screen.
2022-03-12 00:40:03 +01:00
Leon Styhre 755b2c9f50 Changed some render variables to more verbose names.
Also fixed an issue with fade transitions for legacy themes.
2022-03-11 23:51:41 +01:00
Leon Styhre 6ffd4b1740 Multiple improvements to the fade transitions in SystemView. 2022-03-11 23:20:27 +01:00
Leon Styhre 63af859618 Modernized the OpenGL renderer and replaced most fixed function pipeline code with shaders.
Also greatly improved the shader post processing performance and added component dimming support.
2022-03-11 23:17:04 +01:00
Leon Styhre 9867c3d595 Fixed an issue where gamelist scroll fade-in animations would continue to play after opening and closing a menu. 2022-03-06 23:31:32 +01:00
Leon Styhre 9e2c24ef79 Fixed an issue where videos would still play if the video theme configuration was broken. 2022-03-06 22:52:13 +01:00
Leon Styhre 60213003b1 (Windows) Fixed some incomprehensible compiler errors. 2022-03-05 22:12:50 +01:00
Leon Styhre ecdbf6d3d5 Added GIF animation support to SystemView.
Also improved some rendering logic in SystemView.
2022-03-05 21:10:40 +01:00
Leon Styhre 46fd4ce5cc Added GIF animation support to GamelistView. 2022-03-05 21:04:22 +01:00
Leon Styhre fec860f5d3 Merge branch 'master' into new-theme-engine-phase-four 2022-02-27 16:44:59 +01:00
Leon Styhre c96ab29e95 Fixed a few GCC compiler warnings. 2022-02-27 15:23:33 +01:00
Leon Styhre 32349dc9a6 Renamed LottieComponent to LottieAnimComponent. 2022-02-23 21:54:57 +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 b9f5b03005 Changed the version from 1.3.0-alpha to 2.0.0-alpha 2022-02-20 20:00:51 +01:00
Leon Styhre 46eec8ead6 (Windows) Fixed another compile error. 2022-02-20 18:54:38 +01:00
Leon Styhre c4843b3b1d (Windows) Fixed a compile error. 2022-02-20 18:49:35 +01:00
Leon Styhre a97e86a6aa Renamed the menu option to enable or disable audio playback for gamelist videos. 2022-02-20 16:07:27 +01:00
Leon Styhre e92af0548c Added DateTimeComponent support to SystemView. 2022-02-20 15:49:32 +01:00
Leon Styhre 992c39d3a3 Added Lottie animation support to SystemView. 2022-02-19 22:46:52 +01:00
Leon Styhre c06dea5d2d Lottie animations are now paused during view transitions. 2022-02-19 22:44:02 +01:00
Leon Styhre 29514d4db9 Added video support to SystemView. 2022-02-19 21:22:46 +01:00
Leon Styhre 374a66dd76 Removed the 'Play videos immediately' setting. 2022-02-19 17:16:38 +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 ee1a0f7cd3 Added support for using the tilde symbol for ROM path tags in es_systems.xml 2022-02-16 19:32:02 +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 eb3729a5fb Fixed a few crashes related to GameSelectorComponent. 2022-02-13 23:15:43 +01:00
Leon Styhre 57a594225a Added initial game selector support to SystemView. 2022-02-13 22:30:03 +01:00
Leon Styhre 81b819a96a Fixed some incorrect debug log messages in GamelistFileParser. 2022-02-13 20:06:35 +01:00
Leon Styhre afa6221582 Fixed a potential crash in GamelistBase. 2022-02-13 20:05:32 +01:00
Leon Styhre cc8123f5a6 Added a GameSelectorComponent for displaying game media in SystemView. 2022-02-13 20:03:34 +01:00
Leon Styhre 0d799575ca Fixed an issue where the logo text was incorrectly displayed for legacy themes. 2022-02-13 12:39:17 +01:00
Leon Styhre 1bca9e185e Changed to the more specific imageType and systemdata theme properties.
Also made it possible to set the image interpolation method from the theme, and added clamping to the lineSpacing property.
2022-02-13 11:45:06 +01:00
Leon Styhre 8103bef3b8 Fixed a minor animation glitch in the gamelist view.
Also removed the explicit setDisplayRelative() call which made it impossible to override this theme setting.
2022-02-12 17:50:44 +01:00
Leon Styhre 1cba6e202e Disabled the pillarboxes and scanline rendering menu options if using a non-legacy theme set. 2022-02-12 17:47:59 +01:00
Leon Styhre a42d63e567 Code cleanup by moving a lot of casts to the appropriate getter functions. 2022-02-11 23:38:23 +01:00
Leon Styhre 2c2e624160 Changed the opacity data type and functions from unsigned char to float. 2022-02-11 22:10:25 +01:00
Leon Styhre 85cb10d71a Changed some string::compare functions to == operators.
Also removed an unused theme property.
2022-02-11 18:39:16 +01:00
Leon Styhre 28a3beb9ce ScrollableContainer parameters are now themeable. 2022-02-10 20:02:56 +01:00
Leon Styhre bdbc0580d2 Added two more theme system variables. 2022-02-09 23:10:45 +01:00
Leon Styhre 59f9791efe Added new theme system variables for differentiating between collections and non-collection systems. 2022-02-09 23:00:15 +01:00
Leon Styhre b9e9178169 Fixed multiple issues in CarouselComponent. 2022-02-09 18:22:06 +01:00
Leon Styhre 98e265413e Removed some unnecessary legacy gamelist code. 2022-02-09 18:19:01 +01:00
Leon Styhre 027af497d5 Fixed an issue where VideoComponent static images were not fading out correctly in the gamelist view. 2022-02-09 18:16:15 +01:00
Leon Styhre 03f8e020c3 Fixed a reverse scrolling issue in CarouselComponent. 2022-02-09 00:05:06 +01:00
Leon Styhre 69b9b587d6 Added support for text entries to CarouselComponent.
Also fixed some issues with the carousel wheels and removed an unused function in ThemeData.
2022-02-07 21:05:56 +01:00
Leon Styhre 0bd38ba26c Updated SystemView for non-legacy carousel theming. 2022-02-06 20:36:06 +01:00
Leon Styhre 3ceecdc793 Added metadata property support for the SystemView text fields. 2022-02-06 20:13:53 +01:00
Leon Styhre 6d01e85885 Reshuffled some functions in SystemView. 2022-02-06 14:55:48 +01:00
Leon Styhre b5d49e9b43 Migrated the carousel code from SystemView to CarouselComponent. 2022-02-06 14:01:40 +01:00
Leon Styhre d564a234c1 Implemented a better legacy theme detection in GamelistView. 2022-02-06 13:58:50 +01:00
Leon Styhre c530373ddc Improved the integration of the variant and aspect ratio options in the UI Settings menu.
Also reorganized the order of some settings.
2022-02-01 18:06:32 +01:00
Leon Styhre 17d8f8eb5b Fixed a camera animation issue when changing theme variant or aspect ratio. 2022-02-01 00:06:40 +01:00
Leon Styhre d4f572d78d Added preliminary menu options for changing theme variants and aspect ratios. 2022-01-31 23:53:32 +01:00
Leon Styhre d414c3b845 Removed some unnecessary functions in SystemData. 2022-01-30 21:53:22 +01:00
Leon Styhre 872aaf6b48 Preliminary update to SystemView for the new theme engine. 2022-01-30 21:16:03 +01:00
Leon Styhre db05fb3800 Fixed an issue where an extra game image could be shown for legacy themes. 2022-01-30 20:00:49 +01:00
Leon Styhre 3bf46c3fb0 Added support for two new 'scrollFadeIn' and 'defaultImage' properties.
Also fixed some issues with theming ScrollableContainer.
2022-01-30 19:30:38 +01:00
Leon Styhre c35a297d9a Large update to get the new theme engine up and running. 2022-01-29 18:41:22 +01:00
Leon Styhre 0ca2b62edf Some minor code cleanup. 2022-01-29 18:16:30 +01:00
Leon Styhre dc20a9e21b Cleaned up ThemeData a bit. 2022-01-23 20:03:50 +01:00
Leon Styhre 644f79ebec Improved the theme loading error logging.
Also cleaned up the code a bit.
2022-01-23 17:50:51 +01:00
Leon Styhre 098cde5f98 Pointless change to silence a GCC compiler warning. 2022-01-22 21:50:42 +01:00
Leon Styhre 62d5c1e656 Rewrote the gamelist logic for the new theme engine.
Also split out all legacy mode (backward compatibility) functions to a separate header file.
2022-01-22 21:42:43 +01:00
Leon Styhre 7275f020f1 Fixed the gamelist fade-in animation which was too slow. 2022-01-19 19:30:11 +01:00
Leon Styhre a443f86235 Removed a huge amount of unnecessary Window* function arguments. 2022-01-19 18:01:54 +01:00
Leon Styhre 21b167ed9b Added support to the new gamelist classes for changing view styles.
Also removed the deprecated 'grid' view style and corresponding menu option.
2022-01-18 22:04:05 +01:00
Leon Styhre 4e444c369c Made the new gamelist code work correctly for the detailed view style. 2022-01-18 21:09:06 +01:00
Leon Styhre 51578903ff Replaced the legacy gamelist code with rudimentary support for GamelistBase and GamelistView. 2022-01-18 20:42:50 +01:00
Leon Styhre dfeddebc66 Removed a lot of unnecessary combinations of the virtual and override keywords. 2022-01-18 17:40:47 +01:00
Leon Styhre ec0a7ad2f1 Added the preliminary GamelistBase and GamelistView classes. 2022-01-18 17:14:17 +01:00
Leon Styhre 50db59a6f6 Updated the include guards for UIModeController. 2022-01-17 21:59:00 +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 2ebfb45bdf Some minor code cleanup. 2022-01-17 20:47:30 +01:00
Leon Styhre a6be6225d8 Renamed SystemScreensaver to Screensaver. 2022-01-17 18:43:29 +01:00
Leon Styhre acd18bd1f8 Very minor change to the command line --help output. 2022-01-17 18:35:03 +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 e64976d4bc Renamed GuiGameScraper to GuiScraperSingle. 2022-01-16 11:10:32 +01:00
Leon Styhre 5f2f439fc3 Moved the fan art scrape menu option to the bottom and set it as disabled by default. 2022-01-16 10:43:12 +01:00
Leon Styhre 89cf82b88e When multi-scraping and scrolling a long name, the start position would sometimes not reset correctly. 2022-01-15 19:28:41 +01:00
Leon Styhre c2619fd520 Added media type checks for fan art and TheGamesDB box back covers to the multi-scraper. 2022-01-15 18:29:38 +01:00
Leon Styhre d343e785af Fixed an issue with scraping fan art images using ScreenScraper. 2022-01-15 18:14:11 +01:00
Leon Styhre 97e08922a0 Renamed GamelistFileParse to GamelistFileParser and moved it to its own namespace. 2022-01-15 14:12:56 +01:00
Leon Styhre b43c991a9d Renamed Gamelist.cpp/Gamelist.h to GamelistFileParse. 2022-01-15 13:57:08 +01:00
Leon Styhre 7323dd5dfd Renamed some GAME_LIST constants to GAMELIST. 2022-01-15 13:49:14 +01:00
Leon Styhre c7964b7ebc Renamed GameList to Gamelist throughout the codebase. 2022-01-15 13:38:09 +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 a135edb02e Fixed multiple issues with scraping and saving metadata in GuiMetaDataEd. 2022-01-15 13:02:45 +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 6ca4d6b96e Removed an unused constructor parameter for GuiMetaDataEd. 2022-01-14 23:42:52 +01:00
Leon Styhre 3fd060dc4f Fixed an issue where some media files were sometimes not removed when clearing games. 2022-01-14 21:17:00 +01:00
Leon Styhre 1fc3dfda8c Fixed an issue when changing the grouping setting for custom collections. 2022-01-14 17:29:20 +01:00
Leon Styhre cd2ef3d179 Fixed an issue where custom collections could get the wrong sort order after metadata changes. 2022-01-14 17:27:42 +01:00
Leon Styhre 73beeeaeaf Fixed two Emscripten compiler warnings. 2022-01-13 20:07:04 +01:00
Leon Styhre 750ee07351 Improved the structure of main.cpp
Also partially added support for Emscripten.
2022-01-12 21:38:37 +01:00
Leon Styhre a233b96c2a Removed some unnecessary typedefs and replaced the remaining ones with the more modern 'using' keyword.
Also harmonized the names of some user defined types and made some other minor cleanup.
2022-01-11 21:57:00 +01:00
Leon Styhre d45a67eeab (Windows) Fixed a few compiler errors and warnings. 2022-01-10 19:53:23 +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 c3dbdd431c Fixed some potential segfaults on emergency shutdown. 2022-01-10 17:41:08 +01:00
Leon Styhre f80658696c Removed some unnecessary time measurement constants. 2022-01-09 23:50:08 +01:00
Leon Styhre b16ea29088 Added theme support and proper application integration for LottieComponent. 2022-01-09 13:43:42 +01:00
Leon Styhre c62a069448 Fixed an issue where the audio device was accessed after it had been closed. 2022-01-05 00:08:50 +01:00
Leon Styhre f8e201d347 Moved the CollectionSystemsManager cleanup from the destructor to a deinit function. 2022-01-04 23:14:12 +01:00
Leon Styhre 87ace0b8cb Changed some shared_ptr return values to use values instead of references. 2022-01-04 22:36:15 +01:00
Leon Styhre 119dfc90f8 Changed ViewController::get() to ViewController::getInstance() 2022-01-04 21:49:22 +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 2a4e7d22b8 Fixed an issue where the busy indicator would not get displayed during multi-scraping. 2022-01-03 18:44:19 +01:00
Leon Styhre 5bb009e604 Added scraper support for displaying the returned platform if it does not match the game platform. 2022-01-03 18:37:43 +01:00
Leon Styhre 6f35f16470 Added a missing scummvm system entry for the TheGamesDB scraper. 2022-01-03 18:22:41 +01:00
Leon Styhre f36245886f Set the 'Scrape actual folders' option as enabled by default.
Also moved it higher up in the scraper options menu.
2022-01-03 18:20:49 +01:00
Leon Styhre 0a72780b59 Fixed two small typos. 2022-01-02 21:02:43 +01:00
Leon Styhre 6431804ee7 Removed the deprecated VideoVlcComponent. 2022-01-02 13:13:01 +01:00
Leon Styhre 2bb5d0c164 Bumped the version to 1.3.0-alpha 2021-12-29 15:54:26 +01:00
Leon Styhre a3561f4c88 Bumped the version to 1.2.0 2021-12-28 11:27:01 +01:00
Leon Styhre 595786601e Fixed a potential memory leak when enabling the 'All games' collection. 2021-12-27 16:05:58 +01:00
Leon Styhre 44cf76095f Fixed an issue where leading and trailing spaces were not trimmed when defining the ROM directory. 2021-12-26 17:10:30 +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 d199554d86 (macOS) Disabled the startup animations also when starting with a gamelist view. 2021-12-23 12:31:04 +01:00
Leon Styhre 4bbd0bc1af (macOS) Disabled the startup animations as they are not working correctly as of SDL 2.0.18 2021-12-23 11:45:21 +01:00
Leon Styhre c2d3719edf Fixed an issue where stale gamelist entries could get displayed. 2021-12-22 18:53:29 +01:00
Leon Styhre 7a7f29825d Bumped the version to 1.2.0-dev 2021-12-19 19:16:09 +01:00
Leon Styhre 230a4a68dc Bumped the version to 1.2.0-rc 2021-12-19 15:08:09 +01:00
Leon Styhre daf66c4b60 Added proper support for interpreting directories as files. 2021-12-17 20:18:47 +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 a0743e6871 (Windows) Fixed an issue with the winregistryvalue find rule. 2021-12-16 17:36:09 +01:00
Leon Styhre 08bba3cbaf (macOS) Removed the Monterey VSync workaround as Apple has patched its OS. 2021-12-14 17:15:04 +01:00
Leon Styhre 2c421c86e0 Bumped the version to v1.2.0-rc-dev 2021-12-11 12:01:54 +01:00
Leon Styhre 0e9367de9f Bumped the version to 1.2.0-beta3 2021-12-10 16:55:46 +01:00
Leon Styhre 9e86908a47 (Windows) Fixed a window focusing issue when hiding the taskbar. 2021-12-09 20:23:09 +01:00
Leon Styhre 171679efa9 Filter the first 'a' button press after returning from a game when running in background. 2021-12-09 18:56:25 +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 de45f3d298 Fixed an issue where the launch screen would contain text rendering artifacts. 2021-12-08 19:58:50 +01:00
Leon Styhre 80555eb7a3 Moved the System view preloading to the correct location. 2021-12-08 19:57:31 +01:00
Leon Styhre 5019d8c065 Moved the ScreenScraper account toggle to the bottom of the scraper account screen. 2021-12-06 20:21:32 +01:00
Leon Styhre 515577c8f9 (Unix) Changed the fullscreen mode to SDL_WINDOW_FULLSCREEN_DESKTOP.
Also removed the --windowed, --fullscreen-normal and --fullscreen-borderless command line options and menu entry.
2021-12-05 13:51:39 +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 0b79c19883 Bumped the version to 1.2.0-beta3-dev 2021-12-05 11:16:41 +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 42c07ee4c5 Another go at fixing a crash after scraping. 2021-12-02 19:28:10 +01:00
Leon Styhre c75ce3c8b0 Fixed a missed code path for a previous crash fix. 2021-12-02 18:35:02 +01:00
Leon Styhre ae0605b785 Bumped the version to 1.2.0-beta2 2021-12-02 17:59:39 +01:00
Leon Styhre a794c717b6 Fixed an issue where the multi-scraper would sometimes not reload the gamelists. 2021-12-02 17:36:00 +01:00
Leon Styhre 654dc2a546 Fixed a crash that could occur when aborting the single-scraper followed by a re-scrape. 2021-12-02 17:34:30 +01:00
Leon Styhre 6e479dac74 Fixed an issue where the first scraper result row was focused when it shouldn't. 2021-11-27 11:49:56 +01:00
Leon Styhre 775674a77f The 'Custom game collections' menu entry is now grayed out if there are no custom collections. 2021-11-27 00:26:01 +01:00
Leon Styhre 05bcb9b011 Fixed a potential crash when deleting the last custom collection. 2021-11-27 00:08:16 +01:00
Leon Styhre 04453c42ff Removed a blank line that was accidentally added via the last commit. 2021-11-26 23:25:58 +01:00
Leon Styhre 909f96622d Clearing an arcade game name in the metadata editor now sets it to the expanded MAME name. 2021-11-26 23:24:43 +01:00
Leon Styhre 2db8724f4a Fixed a view style change issue that could occur after scraping. 2021-11-26 23:01:10 +01:00
Leon Styhre a4f8fe78e1 Fixed a time zone issue related to the Unix epoch. 2021-11-26 20:55:54 +01:00
Leon Styhre fc540f3e1f Removed the hardcoded 'run in background' setting for Steam games. 2021-11-22 20:19:10 +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 9cbdaefe58 Moved a decrement operator and an increment operator from postfix to prefix. 2021-11-17 18:00:00 +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 4c6bfb8b78 Fixed a few issues reported by UBSan. 2021-11-16 22:03:34 +01:00
Leon Styhre 6bc4a09c9b Multiple thread safety improvements to AudioManager and VideoFFmpegComponent.
Also some general refactoring and re-enabling of some SDL_AudioStream functions.
2021-11-15 22:43:06 +01:00
Leon Styhre b742951dc0 Removed some unnecessary includes of AudioManager.h 2021-11-15 20:52:36 +01:00
Leon Styhre aeae1ba10e Bumped the version to 1.2.0-beta2-dev 2021-11-14 18:23:42 +01:00
Leon Styhre beac6d864b Bumped the version to 1.2.0-beta1 2021-11-14 12:31:31 +01:00
Leon Styhre fa17d8df66 Moved some data and functions from the global to anonymous namespace. 2021-11-13 14:27:26 +01:00
Leon Styhre 1005dfcdb7 (macOS) Added a Monterey VSync bug workaround. 2021-11-12 19:49:24 +01:00
Leon Styhre fd980d7e4a The alternative emulator badges and filters are now disabled if the per-game setting has been disabled. 2021-11-10 22:38:25 +01:00
Leon Styhre 5d3ce8b92e Updated the file header text for MiximageGenerator. 2021-11-09 23:00:16 +01:00
Leon Styhre 3e12fcb420 General refactoring and minor optimizations throughout the codebase. 2021-11-09 22:40:08 +01:00
Leon Styhre c4b574f571 Implemented a proper solution for the carousel logo alignment issue. 2021-11-09 22:13:58 +01:00
Leon Styhre b89df021b1 Fixed multiple single-pixel menu alignment issues at lower resolutions. 2021-11-08 19:02:46 +01:00
Leon Styhre ac4710a18e Added proper support for the Raspberry Pi 4. 2021-11-07 23:54:52 +01:00
Leon Styhre c673f06eb0 Improved the handling of invalid scraper configuration file entries. 2021-11-06 21:21:41 +01:00
Leon Styhre af337124d6 Fixed an issue where an invalid scraper entry in es_settings.xml could lead to a crash. 2021-11-06 21:12:13 +01:00
Leon Styhre 46228c6a9d Fixed an issue where an invalid UIMode entry in es_settings.xml could lead to a crash. 2021-11-06 20:47:30 +01:00
Leon Styhre cdf0227ad4 Fixed a small alignment issue in the scraper GUI and removed an ugly hack. 2021-11-05 20:31:24 +01:00
Leon Styhre ee60dcb88c Fixed a small code formatting issue. 2021-11-05 12:03:16 +01:00
Leon Styhre 9472f607cc Merge branch '652-allow-system-placeholders-to-be-a-combination-of-text-and-image-make-text-and-image-customizable' 2021-11-05 11:47:37 +01:00
Leon Styhre 14c2c68683 Game name filter input is not converted to uppercase any longer.
Also added trimming of leading and ending whitespace characters.
2021-11-05 10:32:24 +01:00
shadash 761b086331 652: cleanup code, theme tags 2021-11-05 10:26:14 +01:00
Leon Styhre 1ed759aa47 Fixed a small code formatting issue. 2021-11-05 10:26:07 +01:00
Sophia Hadash b822aea514 Merge branch 'master' into 652-allow-system-placeholders-to-be-a-combination-of-text-and-image-make-text-and-image-customizable 2021-11-05 09:22:46 +01:00
Leon Styhre 51ade956ed Fixed an issue where reloading the System view could lead to an invalid camera position. 2021-11-04 23:21:12 +01:00
Leon Styhre 99604d3a34 Added the System view loading to the ViewController preload to avoid texture pop-ins. 2021-11-04 21:59:24 +01:00
Leon Styhre b957cfcea6 Improvements to some logo alignment issues in the System view carousel. 2021-11-04 21:33:28 +01:00
Leon Styhre 4970fce113 Changed the description for the Grid view style from 'experimental' to 'deprecated'. 2021-11-04 16:59:14 +01:00
Leon Styhre 1f3e76389c Fixed an issue where the scraper didn't log correctly that a folder was scraped. 2021-11-04 16:45:43 +01:00
Leon Styhre 99c9a1fa28 Minor change to a notification window regarding the miximage offline generator. 2021-11-04 10:07:08 +01:00
Leon Styhre 350fa73e0d Added support for the Google Android (android) system. 2021-11-03 21:19:38 +01:00
Leon Styhre e9bb9d9d9b Added support for the Philips CD-i (cdimono1) system. 2021-11-03 18:51:38 +01:00
Leon Styhre 66bcf8ea13 Added proper scraping support for the vic20 system. 2021-11-03 18:11:41 +01:00
Leon Styhre 488db7b5f7 Small adjustment of the physical image placement on the miximage. 2021-10-31 09:47:05 +01:00
Leon Styhre 7606e9cad6 Added the physical media images to the miximages.
Also added an option to rotate horizontally oriented game boxes and size options for the box and physical media files.
2021-10-30 19:01:58 +02:00
Leon Styhre 5c54e52ecd Improved the detection of invalid ScreenScraper box back covers. 2021-10-30 10:23:55 +02:00
Leon Styhre 063ffd7195 Fixed an issue where the system carousel and info bar would glitch during slide transitions. 2021-10-29 19:48:07 +02:00
Leon Styhre ee0fe9a8d1 Fixed an issue where the system carousel would get the wrong zIndex value. 2021-10-28 22:58:04 +02:00
Leon Styhre d5fa6bc82c Added support for scraping title screens, box back covers and physical media images. 2021-10-28 21:00:23 +02:00
Leon Styhre 56362af7f8 Changed 'controller badge' to 'controller' in the metadata editor and filter GUI. 2021-10-27 20:00:40 +02:00
Leon Styhre 5ca4b85549 Added scraping of controller metadata (arcade systems only). 2021-10-27 19:23:57 +02:00
Leon Styhre facc1d4c0a Fixed an issue where the multi-scraper would not update the filter index. 2021-10-27 19:06:37 +02:00
Sophia Hadash ac84716273 Merge branch 'master' into 653-properly-apply-z-index-in-the-system-view 2021-10-26 21:56:45 +02:00
Sophia Hadash 6dbcb62011 Merge branch 'master' into 652-allow-system-placeholders-to-be-a-combination-of-text-and-image-make-text-and-image-customizable 2021-10-26 21:56:08 +02:00
Leon Styhre 270a2e3857 Added an option to preload gamelists on startup. 2021-10-25 17:56:17 +02:00
Leon Styhre 593cfdbdd7 Fixed multiple issues where menu sizes were not properly initialized. 2021-10-24 14:11:19 +02:00
Leon Styhre 0cf52c2d71 Made it possible to filter the 'Controller badge' metadata field. 2021-10-24 13:05:44 +02:00