diff --git a/Scripts/config_prodigy.py b/Scripts/config_prodigy.py index 3caa217..a2fbe2d 100644 --- a/Scripts/config_prodigy.py +++ b/Scripts/config_prodigy.py @@ -157,7 +157,7 @@ class ConfigProdigy: "keepsyms=1" ] - if codec_id in codec_layouts.data and not ("AMD" in cpu_manufacturer and macos_version > (23, 0, 0)): + if codec_id in codec_layouts.data: boot_args.append("alcid={}".format(random.choice(codec_layouts.data.get(codec_id)))) if "AMD" in cpu_manufacturer or self.is_intel_hedt_cpu(cpu_codename): diff --git a/Scripts/gathering_files.py b/Scripts/gathering_files.py index d0bfa26..b76d60d 100644 --- a/Scripts/gathering_files.py +++ b/Scripts/gathering_files.py @@ -19,7 +19,6 @@ class gatheringFiles: self.download_history_file = os.path.join(self.ock_files_dir, "history.json") self.builds = [ "AirportBrcmFixup", - "AppleALC", "BrcmPatchRAM", "BrightnessKeys", "CryptexFixup", @@ -107,6 +106,11 @@ class gatheringFiles: "id": 926491527, "url": "https://github.com/dortania/OpenCore-Legacy-Patcher/raw/main/payloads/Kexts/Acidanthera/AMFIPass-v1.4.1-RELEASE.zip" }, + { + "product_name": "AppleALC", + "id": 223994507, + "url": "https://github.com/lzhoang2801/lzhoang2801.github.io/raw/main/public/extra-files/AppleALC-1.9.2-RELEASE.zip" + }, { "product_name": "AppleIGB", "id": 736194363, diff --git a/Scripts/kext_maestro.py b/Scripts/kext_maestro.py index 2e46a5c..46e8a1b 100644 --- a/Scripts/kext_maestro.py +++ b/Scripts/kext_maestro.py @@ -589,7 +589,7 @@ class KextMaestro: if macos_version > (22, 0, 0) or custom_cpu_name or "MacPro7,1" in smbios: kexts.append("RestrictEvents") - if codec_id in pci_data.CodecIDs and not ("AMD" in cpu_manufacturer and macos_version > (23, 0, 0)): + if codec_id in pci_data.CodecIDs: kexts.append("AppleALC") if "AMD" in cpu_manufacturer and macos_version > (21, 0, 0) or int(cpu_configuration) > 1 and macos_version > (18, 0, 0):