Click on the link to download: dinput8.dll
Virus Total Results:
Virus total results for dinput8.dll
Source code (If you want to compile it yourself):
Q: My game is crashing.
A: Delete hints.dat from your GTAIV folder or alternatively re-download the dll and replace your old one.
Q: My Antivirus/web browser marks this file as a virus, what do I do?
A: It's common for an Antivirus or Web Browser to mark certain system files as a virus and since dinput8.dll is a system file which gets loaded by the game, most antiviruses will detect it since it's not signed, hence why I have provided the source code if you want to read the code and compile this yourself.
Q: What does this do?
A: I pretty much just hook GetMaxAvailableVideoMemory (not an actual name, I named this myself) which returns the max available video ram in GTA IV and modify it to return something else. I also create a hook to Direct3DCreate9 to get the D3D device the host application creates and figure out the amount of available VRAM by creating a dummy DXGI adapter.
Q: How do I run this on Proton/Linux?
A: To run on Proton/Linux simply add WINEDLLOVERRIDES="dinput8=n,b" %command% as a launch option. Thanks to @Managor
If using a PlayStation controller, you might want to change the Xbox 360 buttons to the PS2/PS3 buttons. In order to do so, follow the instructions below.
DSOAL for using as alternative DirectSound wrapper (w/ or w/o HRTF) is compatible at least with Rockstar Launcher version and Windows 10 build lower than at least 1809.
Disable fullscreen optimizations
Grand Theft Auto IV
Set Launch Options...
-availablevidmem 0.9 -percentvidmem 100
Grand Theft Auto IV allows users to play their own music on a custom radio station, Independence FM.
%USERPROFILE%\Documents\Rockstar Games\GTA IV\User Music\
%USERPROFILE%\Documents\Rockstar Games\GTA IV\savegames\