Pablo Picasso once said that "Good Artists Copy, Great Artists Steal". Well, I am a great artist as I have
stolen adapted pcca-matrix's code for system game counting from the PCCA theme
I have also finally "discovered" the option to use modules and not just copy files into every layout folder like a monkey (one evolution at a time).
This was particularly useful with the on-screen keyboard search as it reduced the disk space the collection takes by about 80 MB and reduced the file count by a massive 4,171 files (56% reduction)!
I initially planned on customizing each search window per it's system but decided that the current look is great and that I'm not going to bother with it.
The system games count works in the following manner:
When launching AM with the version 8.0 of the Great Themes Collection, there will be an initial count. When you enter a system, if the initial count is different then the
actual number of games available, there will be a recount for that specific system. This is especially handy with systems like MAME where we usually have a bunch of filters
applied. In order to have this recount, make sure that the current filter is set to "All" (the default filter in AM). Any time the collection detects that the available games are
diferent then the last count (like when you add / remove games, or add / remove systems) there should be a recount when navigating through the systems
(in between systems or from a system to the main menu or vice versa). Why? because pcca-matrix has not written code yet for anything else and when he does I will be a great artist again!
I know that there are quite a few theme devs that wanted this feature so feel free to download the latest version and become great artists as well.
I also added some missing default cartart files to a few themes.
IMPORTANT: I recommend you delete your current Great Themes Collection layouts and copy the new layouts in order to profit from the reduction in disk space.
Also, you must copy from the included modules folder the 'gtc' and 'gtc-kb' folders to your attract\modules folder.
Cheers,
Yaron
Update demo video:https://youtu.be/uC1_8tKvN64Download link and instructions on original post page:http://forum.attractmode.org/index.php?topic=3289.msg23120#msg23120Game counting