winetricks icon indicating copy to clipboard operation
winetricks copied to clipboard

64-bit dinput8.dll Installation

Open Chromace opened this issue 5 years ago • 7 comments

Using a 64-bit Wine prefix, it seems as if a new dinput8.dll is installed only in syswow64. It would be nice if a 64-bit version of dinput8 were also provided alongside it in system32 (as opposed to, say, downloading said DLL from another website).

A cursory glance at the DirectX seems to indicate the lack of a 64-bit version of said DLL, strange enough. Hopefully this isn't too difficult of an issue to resolve!

Chromace avatar Aug 04 '19 23:08 Chromace

Doesn't appear to be one in the current service packs we have (there's only a 32-bit one in winxpsp3).

A quick search for dinput8 on {download,support}.microsoft.com shows nothing useful, so until someone finds one, I can't do anything for this.

austin987 avatar Aug 25 '19 08:08 austin987

I guess the dinput8.dll is also included in https://www.microsoft.com/accessories/de-de/d/xbox-360-controller-for-windows but had no chance to install it.

ghost avatar Sep 16 '19 13:09 ghost

I think the below should do the trick. @`Chromace": could you try the below code (copy/paste in winetricks) and do 'winetricks install_dinput8' and see if it works for your game? Regards d8.txt

PietJankbal avatar Jan 04 '20 23:01 PietJankbal

Thank you! However, the game that previously required this DLL no longer does - it's switched from DirectInput to Raw Input. My apologies for being unable to test this out!

Chromace avatar Jan 06 '20 13:01 Chromace

how can I execute the code or how or where can I paste the code in winetricks?

TyroneWatermelon420 avatar Jul 05 '22 09:07 TyroneWatermelon420

I've cleaned up the proposed patch. It would be helpful if someone could test the above commit with an affected application.

You can use https://raw.githubusercontent.com/austin987/winetricks/4a1627d51914464dd967d08d8f90452b1c9ee270/src/winetricks to try a version of winetricks with the incorporated changes.

austin987 avatar Apr 19 '23 09:04 austin987

Hi,

I encountered the same issue, with Trackmania which require x64 dinput8.dll. I've tried your patch, but when downloading Windows6.0-KB936330-X64-wave0.exe directly from microsoft.com, it failed, then tried to download via web.archive.org, but failed at 97%.

Using a manually downloaded Windows6.0-KB936330-X64-wave0.exe, the dinput8.dll x64 file installs and make Trackmania work fine, so the issue is only with the download.

doc@DOC-PC3:~$ ./winetricks --force dinput8
------------------------------------------------------
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.
------------------------------------------------------
Using winetricks 20230212-next - sha256sum: f96e7514353bb9ba7de2c92f0c240b3269cf44e0f02a74b2ab6a30caaa0f1181 with wine-8.8 (Staging) and WINEARCH=win64
Executing w_do_call dinput8
------------------------------------------------------
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.
------------------------------------------------------
Executing load_dinput8 
Executing mkdir -p /home/doc/.cache/winetricks/winvista
Executing cd /home/doc/.cache/winetricks/winvista
Downloading https://download.microsoft.com/download/8/3/b/83b8c814-b000-44a4-b667-8c1f58727b8b/Windows6.0-KB936330-X64-wave0.exe to /home/doc/.cache/winetricks/winvista

05/21 19:36:47 [NOTICE] Downloading 1 item(s)

05/21 19:36:47 [ERROR] CUID#7 - Download aborted. URI=https://download.microsoft.com/download/8/3/b/83b8c814-b000-44a4-b667-8c1f58727b8b/Windows6.0-KB936330-X64-wave0.exe
Exception: [AbstractCommand.cc:351] errorCode=3 URI=https://download.microsoft.com/download/8/3/b/83b8c814-b000-44a4-b667-8c1f58727b8b/Windows6.0-KB936330-X64-wave0.exe
  -> [HttpSkipResponseCommand.cc:218] errorCode=3 Ressource introuvable

05/21 19:36:47 [NOTICE] Téléchargement GID#464e5a69b4485106 non terminé : /home/doc/.cache/winetricks/winvista/Windows6.0-KB936330-X64-wave0.exe

Résultats du téléchargement:
gid   |stat|avg speed  |path/URI
======+====+===========+=======================================================
464e5a|ERR |       0B/s|/home/doc/.cache/winetricks/winvista/Windows6.0-KB936330-X64-wave0.exe

Légende du statut:
(ERR): Une erreur est survenue.

aria2c va recommencer ce téléchargement si le transfert est relancé.
En cas d'erreurs, merci de lire le fichier log. Voir l'option '-l' pour plus d'informations.
Executing cd /home/doc/.cache/winetricks/winvista
Downloading https://web.archive.org/web/2000/https://download.microsoft.com/download/8/3/b/83b8c814-b000-44a4-b667-8c1f58727b8b/Windows6.0-KB936330-X64-wave0.exe to /home/doc/.cache/winetricks/winvista

05/21 19:36:48 [NOTICE] Downloading 1 item(s)

05/21 19:36:49 [NOTICE] CUID#7 - Redirecting to https://web.archive.org/web/20100925181145/http://download.microsoft.com/download/8/3/b/83b8c814-b000-44a4-b667-8c1f58727b8b/Windows6.0-KB936330-X64-wave0.exe
[#13a68d 16KiB/726MiB(0%) CN:5 DL:195KiB ETA:1h3m30s]                                                                                                                                                                                      
05/21 19:36:55 [NOTICE] CUID#11 - Redirecting to https://web.archive.org/web/20100925181145/http://download.microsoft.com/download/8/3/b/83b8c814-b000-44a4-b667-8c1f58727b8b/Windows6.0-KB936330-X64-wave0.exe

05/21 19:36:55 [NOTICE] CUID#9 - Redirecting to https://web.archive.org/web/20100925181145/http://download.microsoft.com/download/8/3/b/83b8c814-b000-44a4-b667-8c1f58727b8b/Windows6.0-KB936330-X64-wave0.exe

05/21 19:36:55 [NOTICE] CUID#12 - Redirecting to https://web.archive.org/web/20100925181145/http://download.microsoft.com/download/8/3/b/83b8c814-b000-44a4-b667-8c1f58727b8b/Windows6.0-KB936330-X64-wave0.exe

05/21 19:36:55 [NOTICE] CUID#10 - Redirecting to https://web.archive.org/web/20100925181145/http://download.microsoft.com/download/8/3/b/83b8c814-b000-44a4-b667-8c1f58727b8b/Windows6.0-KB936330-X64-wave0.exe
[#13a68d 3.4MiB/726MiB(0%) CN:5 DL:1.5MiB ETA:7m58s]                                                                                                                                                                                       
05/21 19:36:57 [NOTICE] CUID#11 - Redirecting to https://web.archive.org/web/20100925181145/http://download.microsoft.com/download/8/3/b/83b8c814-b000-44a4-b667-8c1f58727b8b/Windows6.0-KB936330-X64-wave0.exe
[#13a68d 28MiB/726MiB(3%) CN:5 DL:2.6MiB ETA:4m18s]                                                                                                                                                                                        
05/21 19:37:08 [NOTICE] CUID#9 - Redirecting to https://web.archive.org/web/20100925181145/http://download.microsoft.com/download/8/3/b/83b8c814-b000-44a4-b667-8c1f58727b8b/Windows6.0-KB936330-X64-wave0.exe
[#13a68d 72MiB/726MiB(9%) CN:5 DL:3.9MiB ETA:2m44s]                                                                                                                                                                                        
05/21 19:37:18 [NOTICE] CUID#9 - Redirecting to https://web.archive.org/web/20100925181145/http://download.microsoft.com/download/8/3/b/83b8c814-b000-44a4-b667-8c1f58727b8b/Windows6.0-KB936330-X64-wave0.exe
 *** Download Progress Summary as of Sun May 21 19:37:48 2023 ***                                                                                                                                                                          
===========================================================================================================================================================================================================================================
[#13a68d 137MiB/726MiB(18%) CN:5 DL:2.3MiB ETA:4m10s]
FILE: /home/doc/.cache/winetricks/winvista/Windows6.0-KB936330-X64-wave0.exe
-------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------

 *** Download Progress Summary as of Sun May 21 19:38:48 2023 ***                                                                                                                                                                          
===========================================================================================================================================================================================================================================
[#13a68d 231MiB/726MiB(31%) CN:5 DL:1.3MiB ETA:6m12s]
FILE: /home/doc/.cache/winetricks/winvista/Windows6.0-KB936330-X64-wave0.exe
-------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------

[#13a68d 285MiB/726MiB(39%) CN:5 DL:1.2MiB ETA:5m47s]                                                                                                                                                                                      
05/21 19:39:26 [NOTICE] CUID#11 - Redirecting to https://web.archive.org/web/20100925181145/http://download.microsoft.com/download/8/3/b/83b8c814-b000-44a4-b667-8c1f58727b8b/Windows6.0-KB936330-X64-wave0.exe
[#13a68d 313MiB/726MiB(43%) CN:5 DL:2.7MiB ETA:2m32s]                                                                                                                                                                                      
05/21 19:39:37 [NOTICE] CUID#11 - Redirecting to https://web.archive.org/web/20100925181145/http://download.microsoft.com/download/8/3/b/83b8c814-b000-44a4-b667-8c1f58727b8b/Windows6.0-KB936330-X64-wave0.exe
 *** Download Progress Summary as of Sun May 21 19:39:49 2023 ***                                                                                                                                                                          
===========================================================================================================================================================================================================================================
[#13a68d 327MiB/726MiB(45%) CN:5 DL:1.1MiB ETA:5m59s]
FILE: /home/doc/.cache/winetricks/winvista/Windows6.0-KB936330-X64-wave0.exe
-------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------

 *** Download Progress Summary as of Sun May 21 19:40:50 2023 ***                                                                                                                                                                          
===========================================================================================================================================================================================================================================
[#13a68d 428MiB/726MiB(59%) CN:5 DL:1.5MiB ETA:3m9s]
FILE: /home/doc/.cache/winetricks/winvista/Windows6.0-KB936330-X64-wave0.exe
-------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------

[#13a68d 436MiB/726MiB(60%) CN:5 DL:2.0MiB ETA:2m24s]                                                                                                                                                                                      
05/21 19:40:53 [NOTICE] CUID#10 - Redirecting to https://web.archive.org/web/20100925181145/http://download.microsoft.com/download/8/3/b/83b8c814-b000-44a4-b667-8c1f58727b8b/Windows6.0-KB936330-X64-wave0.exe
 *** Download Progress Summary as of Sun May 21 19:41:50 2023 ***                                                                                                                                                                          
===========================================================================================================================================================================================================================================
[#13a68d 523MiB/726MiB(71%) CN:5 DL:2.2MiB ETA:1m29s]
FILE: /home/doc/.cache/winetricks/winvista/Windows6.0-KB936330-X64-wave0.exe
-------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------

[#13a68d 526MiB/726MiB(72%) CN:5 DL:2.1MiB ETA:1m34s]                                                                                                                                                                                      
05/21 19:41:53 [NOTICE] CUID#12 - Redirecting to https://web.archive.org/web/20100925181145/http://download.microsoft.com/download/8/3/b/83b8c814-b000-44a4-b667-8c1f58727b8b/Windows6.0-KB936330-X64-wave0.exe
[#13a68d 529MiB/726MiB(72%) CN:5 DL:1.9MiB ETA:1m41s]                                                                                                                                                                                      
05/21 19:41:55 [ERROR] CUID#11 - Download aborted. URI=https://web.archive.org/web/2000/https://download.microsoft.com/download/8/3/b/83b8c814-b000-44a4-b667-8c1f58727b8b/Windows6.0-KB936330-X64-wave0.exe
Exception: [DownloadCommand.cc:234] errorCode=1 Obtenir la fin du fichier (EOF) du serveur.
 *** Download Progress Summary as of Sun May 21 19:42:51 2023 ***                                                                                                                                                                          
===========================================================================================================================================================================================================================================
[#13a68d 620MiB/726MiB(85%) CN:4 DL:1.1MiB ETA:1m32s]
FILE: /home/doc/.cache/winetricks/winvista/Windows6.0-KB936330-X64-wave0.exe
-------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------

[#13a68d 693MiB/726MiB(95%) CN:3 DL:543KiB ETA:1m1s]                                                                                                                                                                                       
05/21 19:43:50 [ERROR] CUID#12 - Download aborted. URI=https://web.archive.org/web/2000/https://download.microsoft.com/download/8/3/b/83b8c814-b000-44a4-b667-8c1f58727b8b/Windows6.0-KB936330-X64-wave0.exe
Exception: [DownloadCommand.cc:234] errorCode=1 Obtenir la fin du fichier (EOF) du serveur.
[#13a68d 693MiB/726MiB(95%) CN:3 DL:451KiB ETA:1m14s]                                                                                                                                                                                      
05/21 19:43:50 [NOTICE] CUID#15 - Redirecting to https://web.archive.org/web/20100925181145/http://download.microsoft.com/download/8/3/b/83b8c814-b000-44a4-b667-8c1f58727b8b/Windows6.0-KB936330-X64-wave0.exe
 *** Download Progress Summary as of Sun May 21 19:43:51 2023 ***                                                                                                                                                                          
===========================================================================================================================================================================================================================================
[#13a68d 693MiB/726MiB(95%) CN:3 DL:366KiB ETA:1m31s]
FILE: /home/doc/.cache/winetricks/winvista/Windows6.0-KB936330-X64-wave0.exe
-------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------

[#13a68d 706MiB/726MiB(97%) CN:2 DL:1.7MiB ETA:11s]                                                                                                                                                                                        
05/21 19:43:59 [ERROR] CUID#15 - Download aborted. URI=https://web.archive.org/web/2000/https://download.microsoft.com/download/8/3/b/83b8c814-b000-44a4-b667-8c1f58727b8b/Windows6.0-KB936330-X64-wave0.exe
Exception: [DownloadCommand.cc:234] errorCode=1 Obtenir la fin du fichier (EOF) du serveur.
[#13a68d 706MiB/726MiB(97%) CN:1 DL:0B]                                                                                                                                                                                                    
05/21 19:44:17 [NOTICE] CUID#16 - Redirecting to https://web.archive.org/web/20100925181145/http://download.microsoft.com/download/8/3/b/83b8c814-b000-44a4-b667-8c1f58727b8b/Windows6.0-KB936330-X64-wave0.exe
[#13a68d 706MiB/726MiB(97%) CN:1 DL:0B]                                                                                                                                                                                                    
05/21 19:44:41 [ERROR] CUID#16 - Download aborted. URI=https://web.archive.org/web/2000/https://download.microsoft.com/download/8/3/b/83b8c814-b000-44a4-b667-8c1f58727b8b/Windows6.0-KB936330-X64-wave0.exe
Exception: [DownloadCommand.cc:234] errorCode=1 Obtenir la fin du fichier (EOF) du serveur.
[#13a68d 706MiB/726MiB(97%) CN:1 DL:0B]                                                                                                                                                                                                    
05/21 19:44:42 [NOTICE] CUID#17 - Redirecting to https://web.archive.org/web/20100925181145/http://download.microsoft.com/download/8/3/b/83b8c814-b000-44a4-b667-8c1f58727b8b/Windows6.0-KB936330-X64-wave0.exe
[#13a68d 706MiB/726MiB(97%) CN:1 DL:0B]                                                                                                                                                                                                    
05/21 19:44:52 [NOTICE] CUID#17 - Redirecting to https://web.archive.org/web/20100925181145/http://download.microsoft.com/download/8/3/b/83b8c814-b000-44a4-b667-8c1f58727b8b/Windows6.0-KB936330-X64-wave0.exe
 *** Download Progress Summary as of Sun May 21 19:44:53 2023 ***                                                                                                                                                                          
===========================================================================================================================================================================================================================================
[#13a68d 706MiB/726MiB(97%) CN:1 DL:0B]
FILE: /home/doc/.cache/winetricks/winvista/Windows6.0-KB936330-X64-wave0.exe
-------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------

[#13a68d 706MiB/726MiB(97%) CN:1 DL:0B]                                                                                                                                                                                                    
05/21 19:45:01 [ERROR] CUID#17 - Download aborted. URI=https://web.archive.org/web/2000/https://download.microsoft.com/download/8/3/b/83b8c814-b000-44a4-b667-8c1f58727b8b/Windows6.0-KB936330-X64-wave0.exe
Exception: [DownloadCommand.cc:234] errorCode=1 Obtenir la fin du fichier (EOF) du serveur.

05/21 19:45:01 [NOTICE] Téléchargement GID#13a68de857bbbed7 non terminé : /home/doc/.cache/winetricks/winvista/Windows6.0-KB936330-X64-wave0.exe

Résultats du téléchargement:
gid   |stat|avg speed  |path/URI
======+====+===========+=======================================================
13a68d|ERR |   1.4MiB/s|/home/doc/.cache/winetricks/winvista/Windows6.0-KB936330-X64-wave0.exe

Légende du statut:
(ERR): Une erreur est survenue.

aria2c va recommencer ce téléchargement si le transfert est relancé.
En cas d'erreurs, merci de lire le fichier log. Voir l'option '-l' pour plus d'informations.
------------------------------------------------------
warning: Downloading https://web.archive.org/web/2000/https://download.microsoft.com/download/8/3/b/83b8c814-b000-44a4-b667-8c1f58727b8b/Windows6.0-KB936330-X64-wave0.exe failed
------------------------------------------------------

amurzeau avatar May 22 '23 22:05 amurzeau