Leon Styhre
e000e23f64
Added and clarified startup log warnings for missing or invalid es_systems.xml platform tags.
2021-07-10 13:07:44 +02:00
Leon Styhre
af5e32e121
Formatted the es-app source tree using clang-format.
2021-07-07 20:03:42 +02:00
Leon Styhre
3a986b447d
Game files that are actually recursive symlinks are now skipped during startup.
2021-07-01 17:58:09 +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
55a0cef4d1
The scripts and themes directories are now created during startup.
...
Also cleaned up some startup messages which now also refer to ~/.emulationstation as the base directory.
2021-06-24 23:29:03 +02:00
Leon Styhre
183cdddfa0
Implemented a new mechanism for finding emulators and cores.
2021-06-19 14:09:14 +02:00
Leon Styhre
dc29b97e91
Changed es_settings.cfg to es_settings.xml
2021-06-16 19:05:24 +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
824179e9a2
Added a 'directory to system name' mapping file to the ROM directory creation function.
2021-04-01 12:53:00 +02:00
Leon Styhre
90e3fe0fac
Fixed a memory leak related to the gamelist placeholders.
2021-03-19 18:47:49 +01:00
Leon Styhre
0cf6914e16
(Windows) Fixed a MinGW compile error.
2021-03-14 10:48:43 +01:00
Leon Styhre
380881f69f
(Windows) Fixed a compile error.
2021-03-10 18:52:39 +01:00
Leon Styhre
2432e118a7
Added the ability to automatically generate the game systems directory structure.
2021-03-10 18:21:49 +01:00
Leon Styhre
5bcb9446f4
Fixed a small memory leak in SystemData.
2021-02-28 16:56:50 +01:00
Leon Styhre
e0e358e5f4
Fixed a memory leak when filtering MAME BIOSes and devices.
2021-02-28 16:37:22 +01:00
Leon Styhre
7da2f6b039
Fixed an issue where recursive symlinks in the ROM directory could cause endless loops.
2021-02-07 18:09:32 +01:00
Leon Styhre
7a079acb17
Minor cosmetic log output change for SystemData.
2021-02-07 12:36:33 +01:00
Leon Styhre
6713d0f7a5
Small cosmetic log output change when an unsupported platform has been entered into es_systems.cfg.
2021-02-07 12:24:22 +01:00
Leon Styhre
9c2d582f7d
(Windows) Properly fixed a cosmetic log output issue when loading the game systems.
2021-02-07 11:49:50 +01:00
Leon Styhre
9be90fa39a
(Windows) Fixed a cosmetic log output issue when loading the game systems.
2021-02-07 11:46:02 +01:00
Leon Styhre
a7ed75b18c
Removed some unnecessary processing for empty game systems.
...
Also made some minor cosmetic log output changes related to the loading of game systems and fixed an issue where infinitely recursive symlinks would not get caught.
2021-02-07 11:30:54 +01:00
Leon Styhre
735ce39812
Some cosmetic code cleanup.
2021-01-19 22:29:13 +01:00
Leon Styhre
9f04f1419c
Changed logging from Warning to Info when missing the es_systems.cfg file.
2021-01-10 21:55:33 +01:00
Leon Styhre
5565170d93
Fixed an issue where randomly selecting an empty custom collection could crash the application.
2021-01-02 15:11:56 +01:00
Leon Styhre
b1bb9743f2
Made the 'fullname' tag in es_systems.cfg mandatory.
2020-12-26 20:20:45 +01:00
Leon Styhre
327676d7d7
Renamed CollectionSystemManager to CollectionSystemsManager.
2020-12-23 18:06:30 +01:00
Leon Styhre
bddc87bbcc
Changed some more code from C to C++
2020-12-17 20:43:52 +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
e752904ab1
Added logic to retrieve default setting values.
2020-12-14 17:25:41 +01:00
Leon Styhre
aefc80b222
Differentiated the system config template files for Unix.
2020-11-26 19:19:35 +01:00
Leon Styhre
1a6bec2e3b
Overhaul of settings code.
2020-11-05 18:18:11 +01:00
Leon Styhre
94cc4b2158
Rewrote the random game function.
2020-10-31 11:33:43 +01:00
Leon Styhre
07efcd19d0
Simplified the detection of grouped custom collections.
2020-10-30 10:12:15 +01: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
844d733c89
Fixed an issue where the random game function would return an empty result.
2020-10-20 22:02:33 +02:00
Leon Styhre
0b6d0bfcd6
Improved some logging as well as handling of a missing es_systems.cfg file.
2020-10-19 17:28:20 +02:00
Leon Styhre
370914791e
Removed unnecessary cleanup for empty game systems.
2020-10-18 19:18:02 +02:00
Leon Styhre
0beb40d9c9
Fixed a tiny memory leak.
...
Also fixed a Clang static analyzer error for SystemData.
2020-10-17 14:32:08 +02:00
Leon Styhre
b83bacc160
Fixed a small memory leak.
2020-10-11 20:54:37 +02:00
Leon Styhre
54ea153d93
Game systems are now sorted by their full names.
2020-09-27 12:49:14 +02:00
Leon Styhre
707850b339
Added a system sorting function to SystemData.
2020-09-26 13:03:14 +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
14e2ede448
Moved a sorting function to the proper location inside the correct class.
2020-09-17 22:18:13 +02:00
Leon Styhre
9da16dd00e
Some minor cosmetic code changes.
2020-08-30 22:25:38 +02:00
Leon Styhre
88a5962926
Changed '#ifdef' to '#if defined()' throughout the code.
2020-08-23 17:04:30 +02:00
Leon Styhre
541f7202d8
Added copying of macOS systems template upon application startup.
2020-08-19 22:17:32 +02:00
Leon Styhre
ad960b28ac
Various updates to make the application compile on macOS.
2020-08-17 19:15:05 +02:00
Leon Styhre
d2dfbc5919
Fixed two issues with random game selection.
2020-08-06 23:41:44 +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