I’ve written a custom Lutris script for the game Anthology of the Killer by thecatamites
The script is this one:
name: Anthology of the Killer
game_slug: anthology-of-the-killer
version: itch.io
slug: anthology-of-the-killer-itchio
runner: linux
script:
files:
- installer: N/A:Please select the itch.io archive
game:
arch: win64
exe: $GAMEDIR/Anthology of the Killer_v1.1_LNX/Anthology of the Killer_v1.1_LNX.x86_64
workding_dir: $GAMEDIR/Anthology of the Killer_v1.1_LNX
installer:
- extract:
dst: $GAMEDIR
src: installer
The runtime error is this:
Missing Itch.io app ID
Traceback (most recent call last):
File "/usr/lib/python3.12/site-packages/lutris/util/jobs.py", line 30, in target
result = self.function(*a, **kw)
^^^^^^^^^^^^^^^^^^^^^^^
File "/usr/lib/python3.12/site-packages/lutris/installer/installer.py", line 174, in prepare_game_files
content_files, extra_files = self.service.get_installer_files(self, installer_file_id, extras)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/usr/lib/python3.12/site-packages/lutris/services/itchio.py", line 669, in get_installer_files
key = self.get_key(installer.service_appid)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/usr/lib/python3.12/site-packages/lutris/services/itchio.py", line 407, in get_key
raise ValueError("Missing Itch.io app ID")
ValueError: Missing Itch.io app ID
Lutris log:
[INFO:2024-12-06 00:29:02,934:application]: Starting Lutris 0.5.18
[INFO:2024-12-06 00:29:03,058:startup]: "card0" is NVIDIA GeForce GTX 1070 (10de:1b81 3842:6173 nvidia) Driver 565.57.01
[DEBUG:2024-12-06 00:29:03,206:xrandr]: Retrieving resolution list
[DEBUG:2024-12-06 00:29:03,254:xrandr]: Retrieving 25 video modes from XrandR
[DEBUG:2024-12-06 00:29:03,316:path_cache]: Checking for missing games
[DEBUG:2024-12-06 00:29:03,318:__init__]: Loading script(s) from /home/user/code/lutris-scripts/anthology-of-the-killer.yaml
[DEBUG:2024-12-06 00:29:03,349:application]: Showing window InstallerWindowanthology-of-the-killer
[ERROR:2024-12-06 00:29:03,480:style_manager]: Error reading color-scheme: g-dbus-error-quark: GDBus.Error:org.freedesktop.DBus.Error.UnknownMethod: No such interface “org.freedesktop.portal.Settings” on object at path /org/freedesktop/portal/desktop (19)
Traceback (most recent call last):
File "/usr/lib/python3.12/site-packages/lutris/style_manager.py", line 74, in _call_cb
values = obj.call_finish(result)
^^^^^^^^^^^^^^^^^^^^^^^
gi.repository.GLib.GError: g-dbus-error-quark: GDBus.Error:org.freedesktop.DBus.Error.UnknownMethod: No such interface “org.freedesktop.portal.Settings” on object at path /org/freedesktop/portal/desktop (19)
[DEBUG:2024-12-06 00:29:04,319:http]: POST https://lutris.net/api/users/library?since=1733441149
[DEBUG:2024-12-06 00:29:11,249:xrandr]: Retrieving 25 video modes from XrandR
[INFO:2024-12-06 00:29:12,690:installer]: Getting files for installer
[ERROR:2024-12-06 00:29:12,690:jobs]: Error while completing task <bound method LutrisInstaller.prepare_game_files of <lutris.installer.installer.LutrisInstaller object at 0x7187aa49c0e0>>: <class 'ValueError'> Missing Itch.io app ID
Full log for lutris -d -i anthology-of-the-killer.yaml
:
INFO 2024-12-06 00:29:02,934 [application.do_command_line:480]:Starting Lutris 0.5.18
INFO 2024-12-06 00:29:03,058 [startup.run_all_checks:120]:"card0" is NVIDIA GeForce GTX 1070 (10de:1b81 3842:6173 nvidia) Driver 565.57.01
DEBUG 2024-12-06 00:29:03,206 [xrandr.get_resolutions:91]:Retrieving resolution list
DEBUG 2024-12-06 00:29:03,254 [xrandr._get_vidmodes:18]:Retrieving 25 video modes from XrandR
DEBUG 2024-12-06 00:29:03,316 [path_cache._update_missing_games:114]:Checking for missing games
DEBUG 2024-12-06 00:29:03,318 [__init__.read_script:24]:Loading script(s) from /home/user/code/lutris-scripts/anthology-of-the-killer.yaml
DEBUG 2024-12-06 00:29:03,349 [application.show_window:396]:Showing window InstallerWindowanthology-of-the-killer
(net.lutris.Lutris:17101): Gtk-WARNING **: 00:29:03.349: Creating a portal monitor failed: GDBus.Error:org.freedesktop.DBus.Error.UnknownMethod: No such interface “org.freedesktop.portal.Inhibit” on object at path /org/freedesktop/portal/desktop
ERROR 2024-12-06 00:29:03,480 [style_manager._call_cb:81]:Error reading color-scheme: g-dbus-error-quark: GDBus.Error:org.freedesktop.DBus.Error.UnknownMethod: No such interface “org.freedesktop.portal.Settings” on object at path /org/freedesktop/portal/desktop (19)
Traceback (most recent call last):
File "/usr/lib/python3.12/site-packages/lutris/style_manager.py", line 74, in _call_cb
values = obj.call_finish(result)
^^^^^^^^^^^^^^^^^^^^^^^
gi.repository.GLib.GError: g-dbus-error-quark: GDBus.Error:org.freedesktop.DBus.Error.UnknownMethod: No such interface “org.freedesktop.portal.Settings” on object at path /org/freedesktop/portal/desktop (19)
DEBUG 2024-12-06 00:29:04,319 [http._request:88]:POST https://lutris.net/api/users/library?since=1733441149
DEBUG 2024-12-06 00:29:11,249 [xrandr._get_vidmodes:18]:Retrieving 25 video modes from XrandR
INFO 2024-12-06 00:29:12,690 [installer.prepare_game_files:168]:Getting files for installer
ERROR 2024-12-06 00:29:12,690 [jobs.target:32]:Error while completing task <bound method LutrisInstaller.prepare_game_files of <lutris.installer.installer.LutrisInstaller object at 0x7187aa49c0e0>>: <class 'ValueError'> Missing Itch.io app ID
File "/usr/lib/python3.12/site-packages/lutris/util/jobs.py", line 30, in target
result = self.function(*a, **kw)
^^^^^^^^^^^^^^^^^^^^^^^
File "/usr/lib/python3.12/site-packages/lutris/installer/installer.py", line 174, in prepare_game_files
content_files, extra_files = self.service.get_installer_files(self, installer_file_id, extras)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/usr/lib/python3.12/site-packages/lutris/services/itchio.py", line 669, in get_installer_files
key = self.get_key(installer.service_appid)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/usr/lib/python3.12/site-packages/lutris/services/itchio.py", line 407, in get_key
raise ValueError("Missing Itch.io app ID")
WARNING 2024-12-06 00:29:55,704 [system.delete_folder:386]:Non existent path: /home/user/.cache/lutris/installer/anthology-of-the-killer
DEBUG 2024-12-06 00:29:55,705 [application.on_app_window_destroyed:421]:Removed window InstallerWindowanthology-of-the-killer
Does the game I create the script for have to exist on lutris.net? Because the game is not part of the database. My itch.io login is valid; I can refresh my library without any problems.