Commit graph

196 commits

Author SHA1 Message Date
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
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 2ee67407d8 Scraper allowance information is now logged as debug info. 2020-08-06 12:52:06 +02:00
Leon Styhre c3de18dd96 Added support for scraping videos using ScreenScraper. 2020-08-05 22:38:44 +02:00
Leon Styhre 939f3389d5 Improved the ScreenScraper error reporting. 2020-08-05 10:51:02 +02:00
Leon Styhre 996af43299 Added some missing game platforms.
Also updated scrapers with some additional missing systems.
2020-08-05 10:45:27 +02:00
Leon Styhre dec3a74e16 Fixed ScreenScraper handling of missing game metadata. 2020-08-02 14:19:51 +02:00
Leon Styhre 9b23741bda Some small cosmetic changes to scraper error messages. 2020-07-31 15:20:55 +02:00
Leon Styhre 3f9c43afb9 Fixed a scraping issue where failed image writing was not handled correctly. 2020-07-31 15:00:07 +02:00
Leon Styhre af37173a0b Fixed an issue where the scraper wouldn't handle errors correctly. 2020-07-31 14:20:37 +02:00
Leon Styhre 676b076e07 Some changes mostly to get Ports working properly. 2020-07-30 22:19:37 +02:00
Leon Styhre 9b7ad8966e Added some additional error logging for ScreenScraper. 2020-07-30 20:11:45 +02:00
Leon Styhre 949365c822 Renamed system 'pc' to 'dos' and adjusted some graphics files. 2020-07-29 11:19:26 +02:00
Leon Styhre 3cea714f9c Updated the ScreenScraper error handling slightly.
Also added the possibility to hide a folder in the same way as a game file.
2020-07-28 23:15:35 +02:00
Leon Styhre bad9e772e9 Changed most setting values to lowercase in es_settings.cfg
Audio devices apparently need to be case sensitive.
2020-07-27 12:11:30 +02:00
Leon Styhre b5485b4ca9 Changed log levels from numbers to text. 2020-07-26 23:30:45 +02:00
Leon Styhre 6735dd3d76 Added missing systems to PlatformId.
Also did some other small system name changes.
2020-07-25 16:18:41 +02:00
Leon Styhre 5e5da8c52f Fixed an issue where attempting to read nonexisting JSON data would crash the application. 2020-07-20 09:25:54 +02:00
Leon Styhre 57d6dab2cc Some cosmetic code changes. 2020-07-13 20:58:25 +02:00
Leon Styhre 6199f7371d Made the automatic gamelist view style work with the new media handling logic. 2020-07-13 20:10:09 +02:00
Leon Styhre 6028777be4 Added creation of es_settings.cfg on first application startup and improved media directory error handling. 2020-07-11 10:10:07 +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 9ba4f01a29 Deactivated the audio device settings and added a new setting for custom scripts.
Also changed some other setting names.
2020-07-09 19:24:20 +02:00
Leon Styhre 5a7fb828a6 Added proper error handling for resource files and improved overall logging. 2020-07-08 17:01:47 +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 e4fdd1e20d Code cleanup and code documentation update.
As of this commit, the initial code cleanup and code documentation has been completed for the entire application.
2020-06-28 18:39:18 +02:00
Leon Styhre ee4a55e9d6 Fixed 'Refine Search' for the TheGamesDB scraper which I apparently broke in the last commit. 2020-06-25 20:37:41 +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 fb4c5708b7 Made pugixml an external dependency and fixed the cmake/cpack installation and package creation.
As pugixml seems to be well supported nowadays and seems to ship with most distributions it's pretty pointless to keep bundling it with EmulationStation.
2020-06-24 17:38:41 +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 0a02d710f3 Removed the last remnants of the usage of /etc and updated the documenation accordingly. 2020-06-22 19:46:09 +02:00