Commit graph

194 commits

Author SHA1 Message Date
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
Leon Styhre 77978ee83a Fixed multiple issues related to the gamelist sorting options. 2021-01-08 20:30:21 +01:00
Leon Styhre d2d6813a54 Fixed multiple issues with the UI modes. 2021-01-05 10:45:32 +01:00
Leon Styhre 6dfd8e0cfc Renamed the %ROM_RAW% variable to %ROMRAW% 2020-12-26 20:19:04 +01:00
Leon Styhre 327676d7d7 Renamed CollectionSystemManager to CollectionSystemsManager. 2020-12-23 18:06:30 +01:00
Leon Styhre b0b12591e0 (Windows) Added the %COREPATH% variable logic. 2020-12-20 14:30:31 +01:00
Leon Styhre debf072a0e Rewrote some code from C to C++ 2020-12-16 23:59:00 +01:00
Leon Styhre 024e073e86 Added support for %COREPATH% variable and reverted to a single Unix es_systems.cfg template file. 2020-12-15 18:42:38 +01:00
Leon Styhre e5fcb51f57 Added support for multiple search results for ScreenScraper.
Also fixed some other scraping issues and added some additional scraper logging.
2020-11-14 15:30:49 +01:00
Leon Styhre 0bb8737211 Made the game counter more logical. 2020-11-10 18:48:16 +01:00
Leon Styhre 3aa10177cf Fixed multiple issues with hidden games. 2020-11-08 18:33:28 +01:00
Leon Styhre 1a6bec2e3b Overhaul of settings code. 2020-11-05 18:18:11 +01:00
Leon Styhre a2d05d0bd1 Simplified the detection of folders in gamelists. 2020-10-31 11:32:18 +01:00
Leon Styhre 005952addf Rewrote and moved the quick selector letter index generation. 2020-10-30 18:34:05 +01:00
Leon Styhre f753fef1c5 Added a discrete game counting function. 2020-10-30 12:53:35 +01:00
Leon Styhre 2dc8b85aee Fixed a game counting issue for grouped custom collections. 2020-10-30 11:49:51 +01:00
Leon Styhre d01be2ecba Small refactoring of CollectionSystemManager. 2020-10-25 19:42:25 +01:00
Leon Styhre e51c7ddf8c Made filters applicable per custom collection (if grouped). 2020-10-25 18:55:01 +01:00
Leon Styhre 127d900212 Changed to case insensitive sorting of the custom collections. 2020-10-22 21:23:16 +02:00
Leon Styhre 1a0b2f8bb7 Multiple improvements to the handling of custom collections.
Also improved the random game and random system functions.
2020-10-21 21:56:31 +02:00
Leon Styhre d7372df031 Greatly simplified the handling of hidden games. 2020-10-18 19:14:34 +02:00
Leon Styhre da37e2c11a Implemented proper memory cleanup when deleting FileData objects.
This fixes a memory leak which was most prominent during application shutdown.
2020-10-17 17:35:50 +02:00
Leon Styhre 1c831249da Moved game counting to the sort function and improved the custom collection handling. 2020-09-21 18:13:27 +02:00
Leon Styhre e56fdf3df6 Improved handling and sorting of folders. 2020-09-20 20:25:32 +02:00
Leon Styhre d4e614c0c1 Added jump to folder to the quick selector and improved the folder sorting. 2020-09-20 12:17:38 +02:00
Leon Styhre 14e2ede448 Moved a sorting function to the proper location inside the correct class. 2020-09-17 22:18:13 +02:00
Leon Styhre d4f5b2d20d Text scrolling now stops when launching a game and when the screensaver starts.
Also did some additional code cleanup.
2020-09-17 22:00:07 +02:00
Leon Styhre 541f7202d8 Added copying of macOS systems template upon application startup. 2020-08-19 22:17:32 +02:00
Leon Styhre 6dd1078e09 Added temporary game launch notification popup. 2020-08-15 15:41:11 +02:00
Leon Styhre 3ca9f5478a Fixed an issue where detection of folder-only views was not working. 2020-08-07 23:33:05 +02:00
Leon Styhre 22ed97c6d8 Fixed an issue where hiding a folder was not immediately reflected in the gamelist.
Improved the debug logging for hidden games as well and adjusted the hidden text opacity slightly.
2020-08-06 18:16:31 +02:00
Leon Styhre 408be5120c Multi-scraper folder scraping and folder scraper exclusions added.
A quick-skip shortcut was added to the multi-scraper as well and some minor changes were done to the ScreenScraper debug logging.
2020-08-06 15:12:04 +02:00
Leon Styhre 9f240394ed Added option to exclude files from the multi-scraper.
Two new scraper filters were added as well, 'Favorite games' and 'No game video'.
2020-08-06 11:27:16 +02:00
Leon Styhre 1ba59d98d9 Changed raw game launch command logging from Info to Debug. 2020-08-05 15:07:17 +02:00
Leon Styhre 5283881edf Improved custom script execution for the game-start and game-end events.
Also did some minor cosmetic changes to the script logging.
2020-08-05 14:49:54 +02:00
Leon Styhre 9f04458bbd Launching a game inside a folder now also updates the folder's last played timestamp. 2020-07-30 14:21:20 +02:00
Leon Styhre 5f7ffe98c8 Added metadata flag to mark whether a file should be counted as a game.
This is useful for DOS games for instance, to exclude files such as installers, setup files etc.
2020-07-29 19:01:49 +02:00
Leon Styhre b60c86e40f Added option to sort folders on top of the gamelists. 2020-07-28 19:44:17 +02:00
Leon Styhre ea59d9f9c4 Fixed multiple issues with random selection of systems and games. 2020-07-28 15:19:54 +02:00
Leon Styhre b21dbc4ada (Windows) Improved handling of hidden files and folders. 2020-07-27 13:06:46 +02:00
Leon Styhre b5485b4ca9 Changed log levels from numbers to text. 2020-07-26 23:30:45 +02:00
Leon Styhre 329a8da441 Properly implemented hiding of games.
Also added a flag to force the Full UI mode from the command line.
2020-07-26 22:19:29 +02:00
Leon Styhre 496e653ae7 Fixed an issue on Unix where hidden games folders would crash the application. 2020-07-26 15:21:41 +02:00
Leon Styhre fb38cf9248 Fixed an issue where the screensaver would start immediately after returning from a game. 2020-07-20 09:54:38 +02:00
Leon Styhre 0a410863cb (Windows) Added a menu option to run ES in the background while a game is launched.
Suspending ES while launching a game has proven unreliable on Windows, but on some installations it works so it makes sense to let the user select it. It makes for a better and more seamless experience if it works as intended.
2020-07-19 22:08:14 +02:00
Leon Styhre 34da214a8d Disabled launch animations temporarily as they don't work as expected and a proper fix is planned for later. 2020-07-19 19:53:11 +02:00
Leon Styhre 6c79224eea Added proper game launch function for Unix. 2020-07-18 23:07:02 +02:00
Leon Styhre 8fcb56cfb3 Made game launching on Windows much more seamless.
Also added an option to hide the taskbar.
2020-07-18 13:21:44 +02:00
Leon Styhre 40be69cd64 Deletion of a game now removes its media files and its entry in the gamelist.xml file. 2020-07-13 20:13:48 +02:00
Leon Styhre 29d2ccf201 Added %ESPATH% support to the ROMDirectory setting. 2020-07-10 21:20:52 +02:00
Leon Styhre 472a973f66 Added %ESPATH% variable support and fixed some other minor issues with the launch command. 2020-07-10 20:58:53 +02:00
Leon Styhre 3cad68be13 Added %EMUPATH% logic for Unix. 2020-07-10 19:53:33 +02:00
Leon Styhre 31da561695 Complete UTF-16 (Unicode) support added for Windows.
ROM names with Unicode characters are supported, as well as running ES from a directory that has Unicode characters in its name.
2020-07-10 18:32:23 +02:00
Leon Styhre d1f8c3e385 Changed 'launch string' to 'launch command' and the setting 'EnableSounds' to 'EnableNavigationSounds'. 2020-07-08 17:06:34 +02:00
Leon Styhre 2bea3021c3 Added proper emulator launch function for Windows and added logic for the new %EMUPATH% variable. 2020-07-07 21:27:48 +02:00
Leon Styhre 76aa239855 Initial update to make the application build and run on Windows.
Much more work will be needed to get the Windows port working properly.
2020-07-03 20:23:51 +02:00
Leon Styhre 0387d515fb Update to fully support Clang/LLVM.
Also a general cleanup of CMakeLists.txt and many small code changes to satisfy Clang that complained quite a lot and actually wouldn't compile the binary at all at first.
2020-06-25 19:52:38 +02:00
Leon Styhre 6b62065595 Large code cleanup and code documentation update.
The initial code cleanup of es-app is now complete as of this commit.
2020-06-23 20:07:00 +02:00
Leon Styhre 67aa6b3dbd Huge code cleanup and code documentation update.
Includes lots of conversions from tabs to spaces. Only cosmetic code changes in this commit.
2020-06-21 14:25:28 +02:00
Leon Styhre 49161df0e6 Renamed platform.cpp/platform.h to Platform.cpp/Platform.h
The naming convention for the rest of the application is to start the file names with a capital letter.
2020-06-21 12:26:21 +02:00