-
-
Save GarnetSunset/b0fedd52a59dfaa3cf46c2dc7cd4d455 to your computer and use it in GitHub Desktop.
registryFront = "Windows Registry Editor Version 5.00\n\n[HKEY_LOCAL_MACHINE\SOFTWARE\Khronos\Vulkan\Drivers]\n\"C:\\\\Windows\\\\System32\\\\DriverStore\\\\FileRepository\\\\" | |
registryEnd = "\\\\nv-vk64.json\"=dword:00000000\n\n" | |
import os, time | |
cwd = os.getcwd() | |
os.chdir("C:/Windows/System32/DriverStore/FileRepository") | |
all_subdirs = [d for d in os.listdir('.') if os.path.isdir(d) and "nv_dispi.inf_amd64_" in d ] | |
latest_subdir = max(all_subdirs, key=os.path.getmtime) | |
os.chdir(cwd) | |
regFile = open("vulkanUpdate.reg", "w") | |
regFile.write(registryFront+latest_subdir+registryEnd) | |
regFile.close() | |
print("Double click \"vulkanUpdate.reg\" to install the registry key") | |
time.sleep(5) |
love u
where do I put this ?
anywhere
Can you tell me is there any fix for the games to stop random crash every 2 mins of gameplay?
I can't play ninja gaiden 2 rpcs3
I don't make rpcs3 my dude
I don't understand how this is used? The only thing I know is that I have the vulkan api error in rpcs3 in the games.
I know i'm late but i tried to run it and it didn't work, i used IDLE shell to see what the problem was and this was the result
Python 3.8.2 (tags/v3.8.2:7b3ab59, Feb 25 2020, 22:45:29) [MSC v.1916 32 bit (Intel)] on win32
Type "help", "copyright", "credits" or "license()" for more information.
= RESTART: C:\Users\Andrea\Desktop\b0fedd52a59dfaa3cf46c2dc7cd4d455-3dd272d372070f8acd4415f952d4eabde9b702a7\b0fedd52a59dfaa3cf46c2dc7cd4d455-3dd272d372070f8acd4415f952d4eabde9b702a7\vulkanUpdate.py
Traceback (most recent call last):
File "C:\Users\Andrea\Desktop\b0fedd52a59dfaa3cf46c2dc7cd4d455-3dd272d372070f8acd4415f952d4eabde9b702a7\b0fedd52a59dfaa3cf46c2dc7cd4d455-3dd272d372070f8acd4415f952d4eabde9b702a7\vulkanUpdate.py", line 11, in
latest_subdir = max(all_subdirs, key=os.path.getmtime)
ValueError: max() arg is an empty sequence
do you know what i can do to make vulkan work? I really wanted to play DeS but openGL doesn't work at all and i'm not able to get vulkan to run
thank you garnet, very cool!