Skip to content

Commit 31ff201

Browse files
committed
Update Metallib installation paths, enhance Voodoo Audio patch
1 parent d5e1ae7 commit 31ff201

4 files changed

Lines changed: 38 additions & 26 deletions

File tree

oclp_r/support/metallib_handler.py

Lines changed: 17 additions & 13 deletions
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,10 @@
1616
from ..datasets import os_data
1717

1818
from .translate_language import TranslateLanguage
19-
METALLIB_INSTALL_PATH: str = "/Library/Application Support/Hackdoc/MetallibSupportPkg"
19+
METALLIB_INSTALL_PATHS: list = [
20+
"/Library/Application Support/Dortania/MetallibSupportPkg",
21+
"/Library/Application Support/Hackdoc/MetallibSupportPkg",
22+
]
2023

2124

2225
METALLIB_ASSET_LIST: list = None
@@ -245,20 +248,21 @@ def _local_metallib_installed(self, match: str = None, check_version: bool = Fal
245248
if self.ignore_installed:
246249
return None
247250

248-
if not Path(METALLIB_INSTALL_PATH).exists():
249-
return None
250-
251-
for metallib_folder in Path(METALLIB_INSTALL_PATH).iterdir():
252-
if not metallib_folder.is_dir():
251+
for install_path in METALLIB_INSTALL_PATHS:
252+
if not Path(install_path).exists():
253253
continue
254-
if check_version:
255-
if match not in metallib_folder.name:
256-
continue
257-
else:
258-
if not metallib_folder.name.endswith(f"-{match}"):
259-
continue
260254

261-
return metallib_folder
255+
for metallib_folder in Path(install_path).iterdir():
256+
if not metallib_folder.is_dir():
257+
continue
258+
if check_version:
259+
if match not in metallib_folder.name:
260+
continue
261+
else:
262+
if not metallib_folder.name.endswith(f"-{match}"):
263+
continue
264+
265+
return metallib_folder
262266

263267
return None
264268

oclp_r/sys_patch/patchsets/hardware/audio/voodoo_audio.py

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -50,7 +50,10 @@ def _voodoo_audio_patches(self) -> dict:
5050
if self._xnu_major >= os_data.tahoe and self._os_build != "25A5279m":
5151
return {
5252
"Voodoo Audio": {
53-
PatchType.OVERWRITE_SYSTEM_VOLUME: {
53+
# On macOS 26+ /Library is a firmlink to the Data volume, so
54+
# /Library/Extensions and /Library/PreferencePanes no longer exist
55+
# on the System volume. Install to the Data volume instead.
56+
PatchType.OVERWRITE_DATA_VOLUME: {
5457
"/Library/Extensions": {
5558
"VoodooHDA.kext":"11.3",
5659
},

payloads/OCLP-R.plist

Lines changed: 17 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -3,32 +3,32 @@
33
<plist version="1.0">
44
<dict>
55
<key>OCLP-R</key>
6-
<string>v3.0.2</string>
6+
<string>v3.1.8</string>
77
<key>PatcherSupportPkg</key>
8-
<string>v1.11.0</string>
8+
<string>v1.11.3</string>
99
<key>Time Patched</key>
10-
<string>February 05, 2026 @ 14:10:11</string>
10+
<string>August 18, 2026 @ 15:44:28</string>
1111
<key>Commit URL</key>
1212
<string></string>
1313
<key>Kernel Debug Kit Used</key>
14-
<string>/Library/Developer/KDKs/KDK_26.3_25D5087f.kdk</string>
14+
<string>Not applicable</string>
1515
<key>Metal Library Used</key>
1616
<string>Not applicable</string>
1717
<key>OS Version</key>
18-
<string>25.3 (25D122)</string>
18+
<string>25.6 (25G220)</string>
1919
<key>Custom Signature</key>
2020
<true/>
2121
<key>Modern Wireless</key>
2222
<dict>
23-
<key>覆盖系统卷</key>
23+
<key>Overwrite System Volume</key>
2424
<dict>
2525
<key>/usr/libexec</key>
2626
<dict>
2727
<key>wifip2pd</key>
2828
<string>13.7.2-25</string>
2929
</dict>
3030
</dict>
31-
<key>合并系统卷</key>
31+
<key>Merge System Volume</key>
3232
<dict>
3333
<key>/System/Library/PrivateFrameworks</key>
3434
<dict>
@@ -41,14 +41,19 @@
4141
<dict/>
4242
</dict>
4343
</dict>
44-
<key>Modern Audio</key>
44+
<key>Voodoo Audio</key>
4545
<dict>
46-
<key>覆盖系统卷</key>
46+
<key>Overwrite System Volume</key>
4747
<dict>
48-
<key>/System/Library/Extensions</key>
48+
<key>/Library/Extensions</key>
49+
<dict>
50+
<key>VoodooHDA.kext</key>
51+
<string>11.3</string>
52+
</dict>
53+
<key>/Library/PreferencePanes</key>
4954
<dict>
50-
<key>AppleHDA.kext</key>
51-
<string>26.0 Beta 1</string>
55+
<key>VoodooHDA.prefPane</key>
56+
<string>11.3</string>
5257
</dict>
5358
</dict>
5459
</dict>
51.3 MB
Binary file not shown.

0 commit comments

Comments
 (0)