Hey@ll
here is the tool – it took a bit of time. I had to fix some errors in the tool, and I hope now everyone can use this simple Python tool.
I included everything you need in the zipped file DSDT-Analysis-Tool.zip, including a help file and some images in the "Picture" folder.
It’s not a professional tool, but it should automatically generate everything you need.
If you find any bugs in the code, feel free to fix and improve it — and share it freely with everyone.
With that said, enjoy!
🛠️ What does the DSDT-Analysis-Tool.py do?
The DSDT-Analysis-Tool.py is a small but useful Python script that helps you analyze a DSDT.aml file and automatically generate matching SSDTs and OpenCore patches — perfect for Hackintosh users.
✅ What the tool can do automatically:
Select DSDT.aml
With one click, you can load your DSDT.aml file. It gets copied to the working folder.
Decompile the DSDT (make it readable)
The tool uses iasl.exe to convert the DSDT.aml into a DSDT.dsl file, which is readable and editable.
Find devices with "If" conditions
It automatically searches for If conditions and the devices inside them, showing which devices are only active under certain conditions.
Create SSDT-Force
The tool generates an SSDT file with dummy devices so that OpenCore or Clover can recognize them properly.
Create an OpenCore patch template
A ready-to-use patch template is created automatically for use in OpenCore.
Check for important devices
It checks if key devices like HDEF, GFX0, or XHC are present. If any are missing, you get a warning.
Create individual SSDTs for each device (optional)
If you want, the tool can generate a separate SSDT for each found device.
💾 Where are the files saved?
All generated files are saved automatically in this folder:
C:\Users\Mein\Desktop\DSDT-Analysis-Tool\DSDT_xxx\
🌍 Language Support
The tool detects your system language (German, English, etc.). If your language isn’t supported, it defaults to English.
📦 What’s included in the ZIP file?
The DSDT-Analysis-Tool.zip contains:
The tool itself
The required iasl.exe
A help file
Example images in the “Bilder” (Images) folder
📌 Note
This is not a professional tool, but it automates many tasks to save time.
If you find a bug or want to improve something:
Feel free to change and share it freely with others!
Have fun using it! 😊
DSDT-Analysis-Tool.zip
DSDT-Analysis-Tool_macOS-Linux.zip