Traceback (most recent call last):
File "/home/strider/Projects/lutris/lutris/gui/application.py", line 319, in do_command_line
run_all_checks()
File "/home/strider/Projects/lutris/lutris/startup.py", line 153, in run_all_checks
fill_missing_platforms()
File "/home/strider/Projects/lutris/lutris/startup.py", line 145, in fill_missing_platforms
game.save(save_config=False)
File "/home/strider/Projects/lutris/lutris/game.py", line 288, in save
self.set_platform_from_runner()
File "/home/strider/Projects/lutris/lutris/game.py", line 265, in set_platform_from_runner
platform_name = self.runner.get_platform() # short platform name from official runner
File "/home/strider/Projects/lutris/lutris/runners/mame.py", line 236, in get_platform
return self.platforms[int(selected_platform)]
File "/home/strider/Projects/lutris/lutris/runners/mame.py", line 209, in platforms
return self.platforms
File "/home/strider/Projects/lutris/lutris/runners/mame.py", line 209, in platforms
return self.platforms
File "/home/strider/Projects/lutris/lutris/runners/mame.py", line 209, in platforms
return self.platforms
[Previous line repeated 988 more times]
This PR includes a few options to support the auto-configuration of
platform name filters...first, it makes the update of platform names in
the database unconditional for all games. I only have about 50 titles
in my library and I did not see a significant performance impact from
this, but testing would be appreciated from somebody with a larger
library.
Second, it adds a system config option to use long platform names
(Manufacturer - System) style instead of the official platform names. A
hardcoded list of platform names is included for the most common
systems. This option is off by default.
Thirdly there is a small change in gui/widgets/sidebar.py that I had to
make, but I'm not sure the full consequences of. It constructs the
unfiltered list of platforms only out of the active platform names. The
only possible negative effect I can think of is that when adding a game
that is the first on a new platform, it won't show up in the filter list
until the next application restart.
Lastly I renamed some icons and made the old names into symlinks in
order to support multiple naming conventions for the same platform. I'm
using the short version (no manufacturer name) as the "canonical" style.
PCem only load config files. there is a command-line for disks, but found that is easier to setup everything in PCem,, and use that config as to the headaches adding disks to a config file.
Pass embedded self.dialog instead of self: RunnersDialog uses
composition instead of inheritance. Fixes:
TypeError: could not convert value for property `transient_for' from RunnersDialog to GtkWindow