Set up winevulkan stuff at prefix create time
This commit is contained in:
parent
0fada7caca
commit
ab6b25cc17
5 changed files with 20 additions and 0 deletions
|
@ -109,6 +109,11 @@ PATH="$TOOLS_DIR32/bin:$PATH" $I386_WRAPPER winebuild --dll --fake-module -E vrc
|
|||
cp -a vrclient.dll.so "$DST_DIR"/lib/wine/
|
||||
cp -a vrclient.dll.fake "$DST_DIR"/lib/wine/fakedlls/vrclient.dll
|
||||
|
||||
#copy runtime installers
|
||||
cd "$TOP"
|
||||
mkdir -p "$DST_DIR"/share/contrib/
|
||||
cp -a contrib/* "$DST_DIR"/share/contrib/
|
||||
|
||||
echo "Packaging..."
|
||||
cd "$TOP"
|
||||
|
||||
|
|
BIN
contrib/VulkanRT-1.0.65.1-Installer.exe
Executable file
BIN
contrib/VulkanRT-1.0.65.1-Installer.exe
Executable file
Binary file not shown.
7
contrib/winevulkan.json
Normal file
7
contrib/winevulkan.json
Normal file
|
@ -0,0 +1,7 @@
|
|||
{
|
||||
"file_format_version": "1.0.0",
|
||||
"ICD": {
|
||||
"library_path": "C:\\windows\\system32\\winevulkan.dll",
|
||||
"api_version": "1.0.51"
|
||||
}
|
||||
}
|
4
contrib/winevulkan.reg
Normal file
4
contrib/winevulkan.reg
Normal file
|
@ -0,0 +1,4 @@
|
|||
Windows Registry Editor Version 5.00
|
||||
|
||||
[HKEY_LOCAL_MACHINE\Software\Khronos\Vulkan\Drivers]
|
||||
"C:\\windows\\system32\\winevulkan.json"=dword:00000000
|
4
proton
4
proton
|
@ -75,6 +75,10 @@ if not os.path.isdir(basedir + "/dist/share/default_pfx"):
|
|||
#make default prefix
|
||||
env["WINEPREFIX"] = basedir + "/dist/share/default_pfx"
|
||||
run_wine([wine_path, "wineboot"])
|
||||
run_wine([wine_path, basedir + "/dist/share/contrib/VulkanRT-1.0.65.1-Installer.exe", "/S"])
|
||||
run_wine([wine_path, "regedit", basedir + "/dist/share/contrib/winevulkan.reg"])
|
||||
shutil.copy(basedir + "/dist/share/contrib/winevulkan.json", basedir + "/dist/share/default_pfx/drive_c/windows/system32/winevulkan.json")
|
||||
shutil.copy(basedir + "/dist/share/contrib/winevulkan.json", basedir + "/dist/share/default_pfx/drive_c/windows/syswow64/winevulkan.json")
|
||||
run_wine([bindir + "/wineserver", "-w"])
|
||||
|
||||
prefix = os.environ["STEAM_COMPAT_DATA_PATH"] + "/pfx/"
|
||||
|
|
Loading…
Reference in a new issue