lutris/agora

Game files aren't installed → No file provided

Opened this issue · 5 comments

When trying to install some games trough lutris the gamefiles aren't written to the game directory, on clicking play an error message "no file provided" pops up. As far as I can tell this happens with games using wine, I've tested GTA V with Rockstar Launcher and Epic Games Launcher, as well as Epic Games Launcher on it's own. The files appear to get downloaded, the same thing happens when providing them locally.
Xonotic (native) installs without problems.

Here is the output of lutris %U when installing and starting GTA V with the Rockstar launcher:


$ lutris %U
--2021-01-26 13:24:28--  https://drive.google.com/uc?export=download&id=15VkMPPhQ8VbC6Sh_6JO3fJy4O97AiEPo
Resolving drive.google.com (drive.google.com)... 172.217.16.78, 2a00:1450:4005:800::200e
Connecting to drive.google.com (drive.google.com)|172.217.16.78|:443... connected.
HTTP request sent, awaiting response... 302 Moved Temporarily
Location: https://doc-14-4s-docs.googleusercontent.com/docs/securesc/ha0ro937gcuc7l7deffksulhg5h7mbp1/g6nojm6gt71hsqhg1t896hi4gd3vnbne/1611663825000/11689121853443474431/*/15VkMPPhQ8VbC6Sh_6JO3fJy4O97AiEPo?e=download [following]
Warning: wildcards not supported in HTTP.
--2021-01-26 13:24:29--  https://doc-14-4s-docs.googleusercontent.com/docs/securesc/ha0ro937gcuc7l7deffksulhg5h7mbp1/g6nojm6gt71hsqhg1t896hi4gd3vnbne/1611663825000/11689121853443474431/*/15VkMPPhQ8VbC6Sh_6JO3fJy4O97AiEPo?e=download
Resolving doc-14-4s-docs.googleusercontent.com (doc-14-4s-docs.googleusercontent.com)... 172.217.16.65, 2a00:1450:4005:800::2001
Connecting to doc-14-4s-docs.googleusercontent.com (doc-14-4s-docs.googleusercontent.com)|172.217.16.65|:443... connected.
HTTP request sent, awaiting response... 200 OK
Length: 65232 (64K) [application/json]
Saving to: ‘/home/andreas/.local/share/lutris/runtime/dxvk/dxvk_versions.json’

/home/andreas/.local/share/lutris 100%[==========================================================>]  63.70K  --.-KB/s    in 0.02s   

2021-01-26 13:24:29 (2.53 MB/s) - ‘/home/andreas/.local/share/lutris/runtime/dxvk/dxvk_versions.json’ saved [65232/65232]

Unable to load locale dir, translations won't work.
2021-01-26 13:24:30,392: Your version of python-magic is too old.
2021-01-26 13:24:30,556: Initializing lutris
2021-01-26 13:24:30,882: Downloading DXVK releases to /home/andreas/.local/share/lutris/runtime/dxvk/dxvk_versions.json
2021-01-26 13:24:30,885: Runtime updated. Initialization complete.
2021-01-26 13:24:31,482: Lutris 0.5.8.2
2021-01-26 13:24:31,482: Using NVIDIA drivers 460.32.03 for x86_64
2021-01-26 13:24:31,483: GPU: GeForce GTX 1060 6GB
2021-01-26 13:24:31,483: GPU: 10DE:1C03 19DA:1438 (nvidia drivers)
Traceback (most recent call last):
  File "/usr/lib/python3.6/site-packages/lutris/util/http.py", line 82, in get
    request = urllib.request.urlopen(req, timeout=self.timeout)
  File "/usr/lib64/python3.6/urllib/request.py", line 223, in urlopen
    return opener.open(url, data, timeout)
  File "/usr/lib64/python3.6/urllib/request.py", line 532, in open
    response = meth(req, response)
  File "/usr/lib64/python3.6/urllib/request.py", line 642, in http_response
    'http', request, response, code, msg, hdrs)
  File "/usr/lib64/python3.6/urllib/request.py", line 570, in error
    return self._call_chain(*args)
  File "/usr/lib64/python3.6/urllib/request.py", line 504, in _call_chain
    result = func(*args)
  File "/usr/lib64/python3.6/urllib/request.py", line 650, in http_error_default
    raise HTTPError(req.full_url, code, msg, hdrs, fp)
urllib.error.HTTPError: HTTP Error 400: Bad Request

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3.6/site-packages/lutris/gui/application.py", line 447, in do_command_line
    revision=revision,
  File "/usr/lib/python3.6/site-packages/lutris/installer/__init__.py", line 50, in get_installers
    return fetch_script(game_slug=game_slug, revision=revision)
  File "/usr/lib/python3.6/site-packages/lutris/installer/__init__.py", line 24, in fetch_script
    request.get()
  File "/usr/lib/python3.6/site-packages/lutris/util/http.py", line 86, in get
    raise HTTPError("Request to %s failed: %s" % (self.url, error))
lutris.util.http.HTTPError: Request to https://lutris.net/api/installers/%U failed: HTTP Error 400: Bad Request

(lutris:22324): Gtk-WARNING **: 13:24:32.226: Could not load a pixbuf from icon theme.
This may indicate that pixbuf loaders or the mime database could not be found.
2021-01-26 13:24:41,718: Getting runner information for wine
2021-01-26 13:24:41,852: Runner <lutris.runners.wine.wine object at 0x7fcfa4059a90> needs to be installed
2021-01-26 13:24:41,865: Getting runner information for wine (version: lutris-6.0-x86_64)
2021-01-26 13:25:12,913: All files available
2021-01-26 13:25:12,914: All files are available, continuing install
2021-01-26 13:25:12,919: Creating a win64 prefix in /home/andreas/Games/grand-theft-auto-v
2021-01-26 13:25:16,026: win64 Prefix created in /home/andreas/Games/grand-theft-auto-v
2021-01-26 13:25:16,033: Couldn't load shell folder name for Desktop
2021-01-26 13:25:16,034: Couldn't load shell folder name for Personal
2021-01-26 13:25:16,036: Couldn't load shell folder name for My Music
2021-01-26 13:25:16,038: Couldn't load shell folder name for My Videos
2021-01-26 13:25:16,039: Couldn't load shell folder name for My Pictures
2021-01-26 13:25:16,125: The game doesn't have an executable
lutris-wrapper: /home/andreas/.local/share/lutris/runtime/winetricks/winetricks
Running /home/andreas/.local/share/lutris/runtime/winetricks/winetricks --unattended arial vcrun2019 win10
Initial process has started with pid 22448
Start monitoring process.
Executing mkdir -p /home/andreas/Games
------------------------------------------------------
warning: You are using a 64-bit WINEPREFIX. Note that many verbs only install 32-bit versions of packages. If you encounter problems, please retest in a clean 32-bit WINEPREFIX before reporting a bug.
------------------------------------------------------
------------------------------------------------------
WINEPREFIX INFO:
Drive C: total 12
drwxr-xr-x 3 andreas users 4096 Jan 26 13:25 .
drwxr-xr-x 4 andreas users 4096 Jan 26 13:25 ..
drwxr-xr-x 4 andreas users 4096 Jan 26 13:25 windows

Registry info:
/home/andreas/Games/grand-theft-auto-v/system.reg:#arch=win64
/home/andreas/Games/grand-theft-auto-v/user.reg:#arch=win64
------------------------------------------------------
------------------------------------------------------
warning: /home/andreas/.local/share/lutris/runners/wine/lutris-6.0-x86_64/bin/wine cmd.exe /c echo '%AppData%' returned empty string, error message "wine: Call from 000000007B011E0E to unimplemented function shlwapi.dll.PathFileExistsW, aborting" 
------------------------------------------------------
Monitored process exited.
Initial process has exited (return code: 256)
All monitored processes have exited.
Exit with returncode 256
2021-01-26 13:25:17,179: The game doesn't have an executable
lutris-wrapper: /home/andreas/.local/share/lutris/runtime/winetricks/winetricks
Running /home/andreas/.local/share/lutris/runtime/winetricks/winetricks --unattended win10
Initial process has started with pid 22633
Start monitoring process.
Executing mkdir -p /home/andreas/Games
------------------------------------------------------
warning: You are using a 64-bit WINEPREFIX. Note that many verbs only install 32-bit versions of packages. If you encounter problems, please retest in a clean 32-bit WINEPREFIX before reporting a bug.
------------------------------------------------------
------------------------------------------------------
WINEPREFIX INFO:
Drive C: total 12
drwxr-xr-x 3 andreas users 4096 Jan 26 13:25 .
drwxr-xr-x 4 andreas users 4096 Jan 26 13:25 ..
drwxr-xr-x 4 andreas users 4096 Jan 26 13:25 windows

Registry info:
/home/andreas/Games/grand-theft-auto-v/system.reg:#arch=win64
/home/andreas/Games/grand-theft-auto-v/user.reg:#arch=win64
------------------------------------------------------
------------------------------------------------------
warning: /home/andreas/.local/share/lutris/runners/wine/lutris-6.0-x86_64/bin/wine cmd.exe /c echo '%AppData%' returned empty string, error message "wine: Call from 000000007B011E0E to unimplemented function shlwapi.dll.PathFileExistsW, aborting" 
------------------------------------------------------
Monitored process exited.
Initial process has exited (return code: 256)
All children have exited.
Exit with returncode 256
lutris-wrapper: /home/andreas/.local/share/lutris/runners/wine/lutris-6.0-x86_64/bin/wine
Running /home/andreas/.local/share/lutris/runners/wine/lutris-6.0-x86_64/bin/wine /home/andreas/.cache/lutris/installer/grand-theft-auto-v/launcher/Rockstar-Games-Launcher.exe
Initial process has started with pid 22816
Start monitoring process.
023c:fixme:winediag:LdrInitializeThunk Wine TkG (staging) 6.0 is a testing version containing experimental patches.
023c:fixme:winediag:LdrInitializeThunk Please don't report bugs about it on winehq.org and use https://github.com/Frogging-Family/wine-tkg-git/issues instead.
023c:err:module:DelayLoadFailureHook failed to delay load shlwapi.dll.PathFileExistsW
wine: Call from 000000007B011E0E to unimplemented function shlwapi.dll.PathFileExistsW, aborting
023c:err:virtual:virtual_setup_exception stack overflow 1872 bytes in thread 023c addr 0x7f112f5f0420 stack 0x1208b0 (0x120000-0x121000-0x320000)
0234:fixme:winediag:LdrInitializeThunk Wine TkG (staging) 6.0 is a testing version containing experimental patches.
0234:fixme:winediag:LdrInitializeThunk Please don't report bugs about it on winehq.org and use https://github.com/Frogging-Family/wine-tkg-git/issues instead.
0234:fixme:actctx:parse_depend_manifests Could not find dependent assembly L"Microsoft.Windows.Common-Controls" (6.0.0.0)
0234:err:module:LdrInitializeThunk "gdi32.dll" failed to initialize, aborting
0234:err:module:LdrInitializeThunk Initializing dlls for L"Z:\\home\\andreas\\.cache\\lutris\\installer\\grand-theft-auto-v\\launcher\\Rockstar-Games-Launcher.exe" failed, status c0000005
0244:err:module:LdrInitializeThunk "gdi32.dll" failed to initialize, aborting
0244:err:module:LdrInitializeThunk Initializing dlls for L"C:\\windows\\system32\\conhost.exe" failed, status c0000005
Monitored process exited.
Initial process has exited (return code: 1280)
All children have exited.
Exit with returncode 1280
2021-01-26 13:25:25,231: Couldn't load shell folder name for Desktop
2021-01-26 13:25:25,231: Couldn't load shell folder name for Personal
2021-01-26 13:25:25,232: Couldn't load shell folder name for My Music
2021-01-26 13:25:25,232: Couldn't load shell folder name for My Videos
2021-01-26 13:25:25,233: Couldn't load shell folder name for My Pictures

And here is the tree of the Game directory:

.
└── grand-theft-auto-v
    ├── dosdevices
    │   ├── c: -> ../drive_c
    │   └── z: -> /
    ├── drive_c
    │   └── windows
    │       ├── system32
    │       │   ├── d3d10core.dll -> /home/andreas/.local/share/lutris/runtime/dxvk/v1.7.3L-03f11ba/x64/d3d10core.dll
    │       │   ├── d3d11.dll -> /home/andreas/.local/share/lutris/runtime/dxvk/v1.7.3L-03f11ba/x64/d3d11.dll
    │       │   ├── d3d12.dll -> /home/andreas/.local/share/lutris/runtime/dxvk/v1.7.3L-03f11ba/x64/d3d12.dll
    │       │   ├── d3d9.dll -> /home/andreas/.local/share/lutris/runtime/dxvk/v1.7.3L-03f11ba/x64/d3d9.dll
    │       │   └── dxgi.dll -> /home/andreas/.local/share/lutris/runtime/dxvk/v1.7.3L-03f11ba/x64/dxgi.dll
    │       └── syswow64
    │           ├── d3d10core.dll -> /home/andreas/.local/share/lutris/runtime/dxvk/v1.7.3L-03f11ba/x32/d3d10core.dll
    │           ├── d3d11.dll -> /home/andreas/.local/share/lutris/runtime/dxvk/v1.7.3L-03f11ba/x32/d3d11.dll
    │           ├── d3d12.dll -> /home/andreas/.local/share/lutris/runtime/dxvk/v1.7.3L-03f11ba/x32/d3d12.dll
    │           ├── d3d9.dll -> /home/andreas/.local/share/lutris/runtime/dxvk/v1.7.3L-03f11ba/x32/d3d9.dll
    │           └── dxgi.dll -> /home/andreas/.local/share/lutris/runtime/dxvk/v1.7.3L-03f11ba/x32/dxgi.dll
    ├── system.reg
    └── user.reg

I am using Open Suse Leap 15.2 on a three drive lvm setup with lutris 0.5.8.2, although the same issue happens with the 0.5.8.3 tar.gz.
In trying to fix this I expanded the rights on my Games directory with no result.
Moving the Rockstar Launcher exe manually to the expected path results in an error message about a missing dll.

If further information is needed I'll happily provide it.

Edit: typo

Moving this to Agora as this does not seem to be specific to the client

make sure you have wine installed system wide. Your wine prefix isn't getting created properly.

make sure you have wine installed system wide. Your wine prefix isn't getting created properly.

I can use wine without lutris, for example for forager from gog, and in ~/.wine/drive_c/windows is a lot more stuff, looks all right to me.
Wine 5.0 is installed through yast(zypper).

svalx commented

I have a same issue with the same OS - openSUSE 15.2

Seeing the same issue on openSUSE 15.2. Even tried to uninstall wine and install from here: https://software.opensuse.org/download.html?project=Emulators%3AWine&package=wine