Frogging-Family / wine-tkg-git

The wine-tkg build systems, to create custom Wine and Proton builds
880 stars 160 forks source link

MHW losing keyboard at the start of Safi with latest version #65

Closed GoLD-ReaVeR closed 3 years ago

GoLD-ReaVeR commented 4 years ago

Hi, as title states. I'm willing it has to do with me switching focus a few times around during the intro.

GoLD-ReaVeR commented 3 years ago

I'm not very good with scripting PKGBUILDS and all that, can you explain how I should revert those 4 commits?

Tk-Glitch commented 3 years ago

Sorry for the delay, there was some pending refactoring making an answer I'd have given at the time not very useful. Building vkd3d-proton (standalone) is now possible with https://github.com/Frogging-Family/dxvk-tools , which supports userpatches, making reverts easier. I'll make one for you to revert the 4 commits listed in the proton issue.

Tk-Glitch commented 3 years ago

allocator_reverts.vkd3drevert.txt Here you go.

Remove the trailing .txt and drop it inside the dxvk-tools/VKD3D_PROTONBUILD/patches/ dir. You'll want to use an older commit for the reverts to apply cleanly. I have tested with 7238802806688ea4ec21f4ef0f0414e7c6c03991 myself. To use it, edit the upvkd3d-proton.cfg in dxvk-tools root so that CUSTOM_COMMIT=1 and VKD3D_PROTON_COMMIT=7238802806688ea4ec21f4ef0f0414e7c6c03991. You can then run ./upvkd3d-proton build to build your custom vkd3d-proton standalone dlls.

GoLD-ReaVeR commented 3 years ago

I seem to be slightly stupid. I built the dlls, put the 64 bit one in the MHW folder, set the dll load to native, builtin in winecfg and the logs keep telling me I'm loading builtin. Do I need to change the wine build?

EDIT: I made a new build to no effect, however the game doesn't seem to be crashing with the new build.

Tk-Glitch commented 3 years ago

Most (if not all?) d3d12 games seem to use d3d12.dll from system32/sysWOW64 exclusively, so you'll want to paste your build in thedist/lib64/wine/vkd3d-proton/ (64-bit) and dist/lib/wine/vkd3d-proton/ (32-bit) dirs of your proton build, so it gets grabbed by the proton script. Alternatively, you can do it with upvkd3d-proton:

# PROTON UPDATE WITH : ./upvkd3d-proton proton-dist - Requires _proton_dist_path to be set in upvkd3d-proton.cfg
GoLD-ReaVeR commented 3 years ago

I haven't put the dll in there at this time because the game hasn't crashed with the proton compile I made. Has there been any work on the fullscreen hack?

Tk-Glitch commented 3 years ago

Kinda, but it's a huge mess currently due to large changes upstream. GE and I are both waiting for the patchset to be rebased against 6.0 until doing further work on it.

I have played MHW for quite a few hours lately and faced no issue with inputs or anything really, so I'm closing this :frog: