Commit graph

153 commits

Author SHA1 Message Date
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
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 93950cf4de Simplified the code for info popups. 2021-10-07 18:31:40 +02:00
Leon Styhre 42cd0c1ad7 Disabled text scrolling when running media player or screensaver or when running in the background. 2021-10-06 17:24:25 +02:00
Leon Styhre ed7843e898 Fixed an issue where brackets were removed from game names in collection system views. 2021-09-23 17:11:49 +02:00
Leon Styhre 0c3a7d7d94 Alternative emulators now work correctly when games are launched from collection systems. 2021-09-23 17:07:27 +02:00
Leon Styhre fad326c3bd Miscellaneous code cleanup. 2021-09-19 19:46:59 +02:00
Leon Styhre 63767347f2 Fixed numerous compiler warnings reported by the -Wall and -Wpedantic flags. 2021-09-19 14:37:10 +02:00
Leon Styhre 0b6d987263 Fixed lots of compiler warnings reported by the -Wall and -Wpedantic flags. 2021-09-18 09:53:26 +02:00
Leon Styhre 1ad55cdcec Two small cosmetic changes related to the alternative emulators logic. 2021-09-05 17:29:51 +02:00
Leon Styhre 5942b2815e Added support for selecting alternative emulators per game.
Also made some changes to the system-wide alternative emulators logic.
2021-09-04 11:21:55 +02:00
Leon Styhre ed9d978bbf Added additional debug logging when launching games using alternative emulators. 2021-08-24 20:45:24 +02:00
Leon Styhre e47958b3fd Minimal code formatting change. 2021-08-24 18:29:46 +02:00
Leon Styhre 5381f38231 Added support for defining and choosing between alternative emulators. 2021-08-22 15:26:38 +02:00
Leon Styhre 7b5d673050 Replaced the internal Vector2i data type and functions with the GLM library equivalent.
Also applied some code formatting changes for braced lists using clang-format.
2021-08-17 18:41:45 +02:00
Leon Styhre c958a94ca6 (Windows) Hiding of console windows during game launches can now be configured via the %HIDEWINDOW% variable. 2021-07-16 17:56:16 +02:00
Leon Styhre 4197ad7f6a (Windows) Fixed a game launching issue when passing parameters using a forward slash. 2021-07-16 17:14:16 +02:00
Leon Styhre af5e32e121 Formatted the es-app source tree using clang-format. 2021-07-07 20:03:42 +02:00
Leon Styhre 369c9cdd0f Added support for using the ROMPATH variable in the staticpath find rule. 2021-07-01 17:55:00 +02:00
Leon Styhre 4dc6355a34 (Windows) Fixed a game launching issue. 2021-06-30 20:04:20 +02:00
Leon Styhre 0b47a90b3e (Windows) Added game launch workaround for an AMD and Intel GPU issue. 2021-06-30 18:08:13 +02:00
Leon Styhre bad7aaf4be Fixed multiple issues with the find rules logic and with launching games.
Also added some more debug logging when launching games.
2021-06-30 17:37:17 +02:00
Leon Styhre c2f1ba0585 Cosmetic fix for a notification when the emulator core is missing. 2021-06-29 22:08:04 +02:00
Leon Styhre 4ba2e67e9f Added support for using the %ESPATH% variable in the media directory setting. 2021-06-29 17:19:47 +02:00
Leon Styhre 4160732ab0 (Windows) Added a find rule to search the Windows Registry for the emulator. 2021-06-26 12:00:09 +02:00
Leon Styhre 36be8019a9 Removed the legacy support for placing game media in the ROM directory. 2021-06-24 21:11:24 +02:00
Leon Styhre 22cbc71ef8 Changed a variable name in FileData that was too similarly named to another variable. 2021-06-23 20:37:18 +02:00
Leon Styhre f25980f43b Fixed an issue where the home directory was not expanded for the staticpath find rule. 2021-06-23 17:49:47 +02:00
Leon Styhre 71f1f6806f Fixed multiple issues with the new emulator find mechanism. 2021-06-20 12:30:14 +02:00
Leon Styhre 183cdddfa0 Implemented a new mechanism for finding emulators and cores. 2021-06-19 14:09:14 +02:00
Leon Styhre fa624f9f2c Changed the logic for the systems configuration file, it now loads from the resources directory.
Also renamed the file from es_systems.cfg to es_systems.xml
2021-06-16 18:54:04 +02:00
Leon Styhre 2adff3643e The screen is now blanked when launching games to eliminate some flickering and other issues. 2021-03-27 13:51:50 +01:00
Leon Styhre ec33d8a612 Added a proper function to check whether to keep running in the background while a game is launched. 2021-03-27 13:49:09 +01:00
Leon Styhre 083e0a12e9 Improved launching of Steam games by keeping ES-DE running in the background. 2021-03-24 20:13:33 +01:00
Leon Styhre 87e6837980 Complete overhaul of VolumeControl with fixes for some related bugs. 2021-03-18 21:55:56 +01:00
Leon Styhre 101c7f888f (Windows) Fixed an issue where a forward slash instead of a backslash was added to the ROM directory. 2021-03-10 19:49:06 +01:00
Leon Styhre 47f5b889d5 Changed some platform enumerators to make them more clear and consistent. 2021-02-07 20:49:52 +01:00
Leon Styhre a300632ab8 Fixed an issue where the gamelist filter index would be incorrectly updated. 2021-02-05 17:01:45 +01:00
Leon Styhre c9c5e53066 Fixed an issue where empty grouped collections would be removed upon startup. 2021-02-04 19:57:13 +01:00
Leon Styhre 7ab7dcc7c6 Added 1-to-1 directory structure matching for game ROMs and media files. 2021-01-31 19:53:55 +01:00
Leon Styhre 079eccc169 Added a check for missing core files when using the %EMUPATH% variable.
Also refactored and simplified the code from the recent commits related to this.
2021-01-11 18:22:24 +01:00
Leon Styhre 267a47fdbd Expanded the usability of the %COREPATH% variable. 2021-01-10 22:55:17 +01:00