Commit graph

227 commits

Author SHA1 Message Date
Leon Styhre e3387c9016 Changed the game launch state to be kept in Window instead of ViewController 2023-12-23 23:03:40 +01:00
Leon Styhre 116d73c62a Removed some std::filesystem code
Also fixed an issue with launching emulators not defined via find rules
2023-12-19 17:35:58 +01:00
Leon Styhre c3747d4e51 Minor changes to some media lookup functions 2023-12-18 22:55:59 +01:00
Leon Styhre 56ccba81d1 Removed all instances of hardcoded application directory entries
Also changed some source file headers
2023-12-15 18:33:02 +01:00
Leon Styhre 8571dfe7bf (Android) Implemented a cleaner way of handling the private data directory 2023-12-12 23:21:27 +01:00
Leon Styhre 3ae7bc6b5b (Android) Updated the game launching logic 2023-12-07 18:51:09 +01:00
Leon Styhre 811118d3ee (Android) Added support for launching emulators with scoped storage permissions 2023-12-07 18:22:43 +01:00
Leon Styhre 25f017d9f8 (Android) Added support for defining a specific Intent action in the find rule configuration 2023-12-07 18:16:38 +01:00
Leon Styhre 310fb6e809 (Android) Added find rules logic and launch command configuration logic
Also did some general refactoring of the emulator launch code
2023-12-07 18:15:04 +01:00
Leon Styhre 541750243d Added support for a %GAMEDIRRAW% launch command variable 2023-10-27 22:49:11 +02:00
Leon Styhre bd4e8d0f61 Added more debug log output when launching games 2023-10-09 21:47:32 +02:00
Leon Styhre d033e27da5 (Windows) Removed a launch command hack that deleted double quotation marks 2023-10-08 22:11:56 +02:00
Leon Styhre 556646aaf5 Fixed an issue where quotation marks in the launch command were not always handled correctly when combined with the %CORE% variable 2023-10-08 21:02:14 +02:00
Leon Styhre 3fa89261b4 Added support for defining multiple %INJECT% launch command variables 2023-10-02 20:02:29 +02:00
Leon Styhre 00646abd17 Added support for placing images in a 'custom' folder in the downloaded_media directory and view these using the media viewer 2023-09-23 19:09:14 +02:00
Leon Styhre 6b0e1ac6b7 Added the pre-command binary to the debug output in FileData::launchGame() 2023-09-22 17:48:40 +02:00
Leon Styhre 4eeb328daa Added support for a %PRECOMMAND% launch command variable 2023-09-22 17:35:32 +02:00
Leon Styhre 2aa74878bb Changed the sort types 'filename, ascending' and 'filename, descending' to 'name, ascending' and 'name, descending' 2023-08-13 18:19:25 +02:00
Leon Styhre 3c9c031b1c (Windows) Set the Registry functions to explicitly use the widestring variants 2023-08-10 20:36:15 +02:00
Leon Styhre ae66e6a317 (Windows) Added proper Unicode support to the Windows Registry find rules 'winregistrypath' and 'winregistryvalue' 2023-08-10 19:26:28 +02:00
Leon Styhre d83374b38f Added an option to scrape game manuals using ScreenScraper
Also changed the scraper auto-retry functionality to not run on non-recoverable errors or duing manual scraping
2023-05-08 17:14:52 +02:00
Leon Styhre f110c097a2 (Windows) Fixed a regression that made .bat and .lnk files with some special characters impossible to launch 2023-03-21 23:23:00 +01:00
Leon Styhre 787164b438 Changed some log output messages when handling the %INJECT% variable on game launch. 2023-03-07 18:02:04 +01:00
Leon Styhre 3bbc761c8f Added the ability to control the system name suffix from the theme configuration.
Also removed the corresponding 'Show system names in collections' menu option.
2023-01-14 14:05:24 +01:00
Leon Styhre 15cb3a0525 Removed an unnecessary metadata name check in FileData. 2022-12-20 18:42:28 +01:00
Leon Styhre 4ef3e94c56 (Unix) Improved the .desktop file parser. 2022-12-17 18:37:58 +01:00
Leon Styhre c80e81c2dc (Linux) Fixed a .desktop file parsing issue where escaped % characters were not handled correctly. 2022-12-16 22:37:32 +01:00
Leon Styhre ab31eafaca Some code cleanup. 2022-12-14 17:30:34 +01:00
Leon Styhre 8013e04d2c Fixed an issue where folders in mixed gamelists were not always sorted correctly. 2022-12-05 21:08:20 +01:00
Leon Styhre 077c6abf3e (Unix) Updated the .desktop file parser to handle some non-standard shortcut files. 2022-08-28 12:06:03 +02:00
Leon Styhre ee0750d273 Added support for substituting the staticpath rule emulator binary with an explicit command. 2022-08-12 12:41:22 +02:00
Leon Styhre d128489ba8 Added a %FILENAME% variable to extract the filename including the file extension when used in es_systems.xml 2022-07-15 22:01:28 +02:00
Leon Styhre 749f36fdfe Added a %GAMEENTRYDIR% variable to be used with the %STARTDIR% variable. 2022-07-12 19:57:47 +02:00
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