mirror of
https://github.com/ValveSoftware/Proton.git
synced 2025-04-01 15:19:16 +03:00
Set up winevulkan stuff at prefix create time
This commit is contained in:
parent
0fada7caca
commit
ab6b25cc17
@ -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.so "$DST_DIR"/lib/wine/
|
||||||
cp -a vrclient.dll.fake "$DST_DIR"/lib/wine/fakedlls/vrclient.dll
|
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..."
|
echo "Packaging..."
|
||||||
cd "$TOP"
|
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
|
#make default prefix
|
||||||
env["WINEPREFIX"] = basedir + "/dist/share/default_pfx"
|
env["WINEPREFIX"] = basedir + "/dist/share/default_pfx"
|
||||||
run_wine([wine_path, "wineboot"])
|
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"])
|
run_wine([bindir + "/wineserver", "-w"])
|
||||||
|
|
||||||
prefix = os.environ["STEAM_COMPAT_DATA_PATH"] + "/pfx/"
|
prefix = os.environ["STEAM_COMPAT_DATA_PATH"] + "/pfx/"
|
||||||
|
Loading…
x
Reference in New Issue
Block a user