Commit graph

6603 commits

Author SHA1 Message Date
Mathieu Comandon 06b1856d96 Implement directory entry and move button (Closes #2439) 2020-10-10 01:44:48 -07:00
Mathieu Comandon 18a131a733 Show locally installed wine version even when removed from API (Closes #3058) 2020-10-09 23:29:52 -07:00
Mathieu Comandon 5c8469cca1 Redesign uninstall game dialog (Closes #3100) 2020-10-09 22:04:42 -07:00
Mathieu Comandon c7a201c6d3 Add functions to calculate and show disk size of a folder 2020-10-09 11:22:26 -07:00
Mathieu Comandon 1d6a25eba7 Fix attribute name in pico8 runner (Closes #3156) 2020-10-09 10:56:52 -07:00
Mathieu Comandon e984ba4c27 Fix grid/list view switching (Closes #3184) 2020-10-09 10:53:12 -07:00
Mathieu Comandon a0af7848f7 Improve handling of lutris service games 2020-10-09 02:42:35 -07:00
Torge Matthies 2630c72ccf Allow unterminated single quotes and prevent stack overflow in .util.strings.split_arguments 2020-10-08 23:48:35 -07:00
Mathieu Comandon 8fa674dc1e Put service buttons in the sidebar 2020-10-08 23:45:52 -07:00
Mathieu Comandon da07b98dea Query Steam installers from the API 2020-10-08 03:43:59 -07:00
Mathieu Comandon b4acb45745 Generate Steam installer 2020-10-08 01:00:46 -07:00
Mathieu Comandon 89d261c21d RecursionError: maximum recursion depth exceeded
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]
2020-10-07 23:20:30 -07:00
Mathieu Comandon e4ba8eb65f Misc cleanup 2020-10-07 23:10:24 -07:00
Mathieu Comandon 078d402c64 Make loading of icons smoother 2020-10-07 22:52:26 -07:00
matoro b11a16e1ea Add config option to use long platform names
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.
2020-10-07 21:10:29 -07:00
telanus 23d342ab19 Added a PCem runner
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.
2020-10-07 21:09:37 -07:00
telanus cd8c399093 fix a codefactor error (hopefully) 2020-10-07 21:09:37 -07:00
telanus 4e4dba6f3c Fix a copy and paste error 2020-10-07 21:09:37 -07:00
telanus 190bb030ad Added redream 2020-10-07 21:09:37 -07:00
telanus e59ade9ffe Add redream
Also contingent that https://github.com/lutris/lutris/issues/3020 gets solved
2020-10-07 21:09:37 -07:00
telanus d3f882a44f Added a tic-80 and MicroM8 Runner
Can be merged once https://github.com/lutris/lutris/issues/3020 gets fully resolved
2020-10-07 21:09:37 -07:00
Juergen Hoetzel 95ad0296d0 Use correct parent window for ErrorDialog
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
2020-10-07 21:05:41 -07:00
Mathieu Comandon af49135f00 Detect existing games for services 2020-10-06 23:55:48 -07:00
Mathieu Comandon 922d0cfada Fix service not being reset for dynamic categories 2020-10-06 22:51:10 -07:00
Mathieu Comandon 1e63debb67 Add wine action to open a bash shell in the game's environment (Closes #3040) 2020-10-06 22:23:21 -07:00
Mathieu Comandon 66a445bfe9 Prevent popover with no buttons, add selected category to window title 2020-10-06 20:27:46 -07:00
Mathieu Comandon 567bb8054c Refactor code to get GOG downloads 2020-10-06 20:11:27 -07:00
Mathieu Comandon 2697f11a59 Implement download_url attribute for JSON runners (Closes #3020) 2020-10-06 01:38:40 -07:00
Mathieu Comandon c5fb675ce6 Fix hidden filter (Closes #3060) 2020-10-06 01:11:52 -07:00
Mathieu Comandon fa493cd3d1 Check presence of device when setting machine in MAME (Closes #3086) 2020-10-06 00:56:10 -07:00
Mathieu Comandon f7d999eab6 Attempt at fixing #2852, no solution was found 2020-10-06 00:44:34 -07:00
Mathieu Comandon dafadf9f5b Prioritize use defined dll overrides (Closes #3056) 2020-10-05 23:44:58 -07:00
Mathieu Comandon 020862ee3b Document extends directive (Closes #2839) 2020-10-05 23:29:38 -07:00
Mathieu Comandon 5b9d55d08d Implement save button for logs (Closes #1988) 2020-10-05 23:17:13 -07:00
Mathieu Comandon 0ff96b94ab Sort by suffix first for versions (Closes #3059) 2020-10-05 22:18:10 -07:00
Mathieu Comandon 38d506dfa3 Keep references to game logs (Fixes #1668) 2020-10-05 22:06:25 -07:00
Mathieu Comandon a3d0819bfb Deprecate support for old versions of gamemode 2020-10-05 17:41:30 -07:00
Mathieu Comandon 4ce97dac45 Finish implementing Mangohud option 2020-10-05 17:32:47 -07:00
Mathieu Comandon 95f979a4c5 Add support for installed filter on service games 2020-10-05 17:32:47 -07:00
Mathieu Comandon a04c640e67 Restore support for game-activated 2020-10-05 17:32:47 -07:00
Jeremiah Wilson 3edfd15b4b Remove min-similarity-lines 2020-10-04 13:10:00 -07:00
Jeremiah Wilson bea036bec1 Remove some disabled options 2020-10-04 13:10:00 -07:00
Jeremiah Wilson 8b4f8a3bb3 Fix isort processing and rearrange setup.py imports 2020-10-04 13:10:00 -07:00
Max Jöhnk 063232ee1f Add Platform to --list-games command line flag 2020-10-03 17:55:29 -07:00
CartoonFan 31fc87967c Fix a typo, remove missing directories, and add lutris/database to the list of installed directories (#4) 2020-10-03 17:51:48 -07:00
imgbot[bot] 733c2a880f [ImgBot] Optimize images (#2)
* [ImgBot] Optimize images

*Total -- 316.85kb -> 269.88kb (14.82%)

/share/lutris/media/default_icon.png -- 1.83kb -> 1.11kb (39.58%)
/share/icons/hicolor/scalable/apps/lutris.svg -- 13.21kb -> 9.05kb (31.51%)
/share/lutris/media/logo.svg -- 13.21kb -> 9.05kb (31.51%)
/share/lutris/media/default_banner.svg -- 73.71kb -> 59.25kb (19.61%)
/share/lutris/media/unavailable.png -- 0.88kb -> 0.74kb (15.26%)
/share/lutris/media/logo.png -- 18.90kb -> 16.08kb (14.91%)
/share/lutris/media/mask.png -- 186.09kb -> 166.26kb (10.65%)
/share/icons/hicolor/128x128/apps/lutris.png -- 9.02kb -> 8.33kb (7.61%)

Signed-off-by: ImgBotApp <ImgBotHelp@gmail.com>

* Restyled by whitespace (#3)

Co-authored-by: Restyled.io <commits@restyled.io>

Co-authored-by: ImgBotApp <ImgBotHelp@gmail.com>
Co-authored-by: restyled-io[bot] <32688539+restyled-io[bot]@users.noreply.github.com>
Co-authored-by: Restyled.io <commits@restyled.io>
2020-10-03 17:51:48 -07:00
veksho 35002cf679 tab order fix redone 2020-10-03 06:47:56 -07:00
Connectety-T 1950bc6796 Remove redundant checks and casts to float 2020-10-03 05:00:47 -07:00
telanus 58c108dfb2 Added CPU and Zoro III Memory options
Added CPU Model and Zoro III Memory options. Need these options to get certain AmigaCD/Community ported games to work via Lutris
2020-10-03 04:57:53 -07:00
Mathieu Comandon d217c73c87 Merge branch 'simifor-humble-patch-1' 2020-10-03 04:57:00 -07:00