Commit graph

226 commits

Author SHA1 Message Date
Leon Styhre ab1e51a77c Added TheGamesDB scraper support for the atomiswave and naomi platforms. 2022-05-23 18:50:23 +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 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 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 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 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 21f21c20f5 Added a scraper setting to convert underscores _ to spaces when searching. 2022-04-09 15:14:48 +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 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 46eec8ead6 (Windows) Fixed another compile error. 2022-02-20 18:54: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 dfeddebc66 Removed a lot of unnecessary combinations of the virtual and override keywords. 2022-01-18 17:40:47 +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 d343e785af Fixed an issue with scraping fan art images using ScreenScraper. 2022-01-15 18:14:11 +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 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 119dfc90f8 Changed ViewController::get() to ViewController::getInstance() 2022-01-04 21:49:22 +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 daf66c4b60 Added proper support for interpreting directories as files. 2021-12-17 20:18:47 +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 4c6bfb8b78 Fixed a few issues reported by UBSan. 2021-11-16 22:03:34 +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 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 1ed759aa47 Fixed a small code formatting issue. 2021-11-05 10:26:07 +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 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 5c54e52ecd Improved the detection of invalid ScreenScraper box back covers. 2021-10-30 10:23:55 +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 5ca4b85549 Added scraping of controller metadata (arcade systems only). 2021-10-27 19:23:57 +02:00
Leon Styhre 08888e00af Clarified the use of bundled include files. 2021-10-06 18:41:21 +02:00
Leon Styhre 3233288a8c Improved the string trim function and replaced some inlined occurrences. 2021-09-25 18:01:41 +02:00
Leon Styhre e507335923 Leading and trailing whitespaces are now trimmed from TheGamesDB scraper searches. 2021-09-21 22:10:09 +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 816d79c32f (Windows) Silenced some MSVC compiler warnings related to the C++17 language standard. 2021-08-18 18:58:43 +02:00
Leon Styhre 74e21e8c03 Replaced some internal math functions with equivalents from the GLM library. 2021-08-17 20:55:29 +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 00b49b5d1a Fixed an issue with scraping Nintendo Famicom games.
Also did some other minor platform cleanups.
2021-07-17 10:37:36 +02:00
Leon Styhre af5e32e121 Formatted the es-app source tree using clang-format. 2021-07-07 20:03:42 +02:00
Leon Styhre 8feb42b56a Added TheGamesDB scraper support for the Nintendo Switch platform. 2021-06-26 13:13:50 +02:00
Leon Styhre 02832b7bd6 Fixed an issue with the PlatformId for Nintendo Switch. 2021-06-23 17:52:33 +02:00
Sophia Hadash 0e8b0bd7ae add switch platform 2021-06-22 21:01:12 +02:00
Leon Styhre dc29b97e91 Changed es_settings.cfg to es_settings.xml 2021-06-16 19:05:24 +02:00
Leon Styhre 2c20633a32 (Windows) Fixed a scaper image resizing issue for games with Unicode characters in the game name. 2021-06-08 00:06:22 +02:00
Leon Styhre 89c845b4d5 (Windows) Fixed a compiler error and two warnings. 2021-05-30 20:52:19 +02:00
Leon Styhre 9a8fd5c487 Small cosmetic code change for the scraper. 2021-05-30 12:28:17 +02:00
Leon Styhre 8b91905e9e Fixed an issue where the scraper would sometimes consider very small images to be invalid. 2021-05-30 11:13:40 +02:00
Leon Styhre ce6eed6c3a Increased the maximum image size for the scraper and improved the scaling function. 2021-05-24 21:34:08 +02:00
Leon Styhre 23903de1cf Minor cosmetic code cleanup. 2021-03-27 10:26:13 +01:00
Leon Styhre 5248ece0c2 Made 'Valve Steam' a separate platform. 2021-03-24 19:44:36 +01:00
Leon Styhre f975468d3a Added support to ScreenScraper to interpret the HTML copyright character code. 2021-03-22 20:32:54 +01:00
Leon Styhre 87cc3e88d2 Fixed a large memory leak in the scraper. 2021-03-15 20:11:01 +01:00
Leon Styhre 021399c42d Fixed an issue where scraping the Nintendo Game and Watch system using TheGamesDB didn't work. 2021-02-08 20:57:39 +01:00
Leon Styhre 190bb839ec Improved some scraper logging. 2021-02-08 20:56:11 +01:00
Leon Styhre 1e310bd682 Added a GAMEENGINE prefix to the PlatformId enumerators for the game engine systems. 2021-02-08 00:17:01 +01:00
Leon Styhre c814baef4c Added support for the game system TIC-80 game engine. 2021-02-07 23:44:13 +01:00
Leon Styhre 4ddda376ba Added support for the game system MSX Turbo R. 2021-02-07 22:35:34 +01:00
Leon Styhre 99e7a77850 Added support for the game systems NEC PC-8800 and PC-9800 series. 2021-02-07 21:36:33 +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 b55ee65859 Fixed an issue with Windows-style carriage return characters being included in TheGamesDB scrape results. 2021-02-07 14:01:42 +01:00
Leon Styhre 280ee6aa4e Added support for the game system Sharp X1. 2021-02-05 21:35:51 +01:00
Leon Styhre 1009cdee80 Added support for scraping Daphne on TheGamesDB and Atari XE and BBC Micro on ScreenScraper. 2021-02-05 17:38:21 +01:00
Leon Styhre ec669a79c0 Changed the system name for Thomson MO/TO from 'thomson' to 'moto' to follow the RetroPie naming convention. 2021-02-05 17:27:55 +01:00
Leon Styhre b1b58fe90c Added some additional error logging. 2021-02-01 22:06:28 +01:00
Leon Styhre d05f42b3b8 (Windows) Fixed a scraping issue caused by the idiotic file locking on this OS. 2021-02-01 19:27:48 +01:00
Leon Styhre 04d99f15ea Fixed a ScreenScraper issue for searches with 'The' in the game name.
Also some additional improvements and some refactoring of the ScreenScraper search code.
2021-02-01 19:00:38 +01:00
Leon Styhre dc3731660b Fixed an issue where the gamelist entry would not update properly if the user aborted the single-game scraper. 2021-02-01 18:52:49 +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 5558557dc8 Updated the ScreenScraper API access credentials. 2021-01-29 19:54:39 +01:00
Leon Styhre a50f81c72a Minor cosmetic scraper log output change. 2021-01-28 21:17:05 +01:00
Leon Styhre 8c71bce8f8 Expanded the strings for region and language in GuiScraperMenu. 2021-01-26 21:04:16 +01:00
Leon Styhre 01e726f23a Fixed an issue where ScreenScraper searches would fail for game names ending with plus characters. 2021-01-26 17:31:27 +01:00
Leon Styhre ad544d684d Minor cosmetic changes to the scraper log output. 2021-01-26 17:28:54 +01:00
Leon Styhre 735ce39812 Some cosmetic code cleanup. 2021-01-19 22:29:13 +01:00
Leon Styhre 23dd5b838f Fixed an issue with scraping arcade games using the metadata name. 2021-01-08 20:34:11 +01:00
Leon Styhre c95334756d Fixed a lot of MSVC compiler warnings. 2020-12-29 12:54:24 +01:00
Leon Styhre 963f93e0f8 Replaced the custom math functions with standard C++ functions. 2020-12-28 11:29:32 +01:00
Leon Styhre bb3cc4d4a1 Added logic and menu option for handling invalid media files during scraping.
Also added a shortcut for defining the scraper searches and fixed an issue where games were automatically selected after refining the search.
2020-12-18 16:35:19 +01:00
Leon Styhre debf072a0e Rewrote some code from C to C++ 2020-12-16 23:59:00 +01:00
Leon Styhre ab2b29f398 Scraping using ScreenScraper now always shows the ratings in the GUI. 2020-12-16 19:03:05 +01:00
Leon Styhre 0b6dce687e Changed to C++ casts throughout the application. 2020-11-17 23:06:54 +01:00
Leon Styhre 4fb12a4801 Fixed an issue where the wrong thumbnail could be displayed in the scraper. 2020-11-14 20:46:08 +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 2c3b452401 Some cosmetic code cleanup and some small documentation updates. 2020-11-08 22:58:06 +01:00
Leon Styhre f1f0596fe1 Added support for user accounts for ScreenScraper. 2020-11-07 15:34:15 +01:00
Leon Styhre 923d1df479 Fixed a libcurl memory leak in the scraper. 2020-10-18 11:01:56 +02:00
Leon Styhre 96da134f7d Added option to scrape based on the metadata name. 2020-10-10 13:05:12 +02:00
Leon Styhre 6ec1898e97 Implemented handling of invalid ScreenScraper responses. 2020-09-26 13:07:52 +02:00
Leon Styhre 8db04c5fcb Added SPDX license identifiers to all source files. 2020-09-21 19:17:34 +02:00
Leon Styhre 88a5962926 Changed '#ifdef' to '#if defined()' throughout the code. 2020-08-23 17:04:30 +02:00