# elieserme/hackintosh architecture

> Architecture diagram of the GitHub repository elieserme/hackintosh, generated by GitDiagram from its file tree, README and a sample of source files (last updated 2026-10-21). It is an AI-made overview: check details against the source.

- Interactive diagram: https://gitdiagram.com/elieserme/hackintosh
- Repository: https://github.com/elieserme/hackintosh

## Overview

This repository documents and provides a hardware-specific Hackintosh EFI for booting macOS Tahoe on an ASUS B360-G system, alongside utilities for mounting EFI partitions and editing OpenCore property lists. The intended workflow is firmware boot through OpenCore into macOS, with the supplied configuration, drivers, ACPI tables, and kernel extensions supporting that machine. Utility-tool relationships are grounded in the sampled source index; many EFI artifacts are binaries or configuration files whose internal wiring was not inspected, so those links are omitted or marked unverified.

Main entry points: [`scripts/MountEFI/Scripts/disk.py`](https://github.com/elieserme/hackintosh/blob/main/scripts/MountEFI/Scripts/disk.py) (Disk operations), [`scripts/ProperTree/ProperTree.py`](https://github.com/elieserme/hackintosh/blob/main/scripts/ProperTree/ProperTree.py) (ProperTree editor), [`scripts/ProperTree/Scripts/plistwindow.py`](https://github.com/elieserme/hackintosh/blob/main/scripts/ProperTree/Scripts/plistwindow.py) (Plist editing window), [`EFI/OC/OpenCore.efi`](https://github.com/elieserme/hackintosh/blob/main/EFI/OC/OpenCore.efi) (OpenCore)

## Diagram (Mermaid)

```mermaid
flowchart TD

subgraph group_boot["Boot chain"]
  node_firmware["UEFI firmware"]
  node_bootefi["EFI bootloader<br/>[BOOTx64.efi]"]
  node_opencore["OpenCore<br/>[OpenCore.efi]"]
  node_macos["macOS Tahoe"]
end

subgraph group_efi["EFI configuration"]
  node_config["OpenCore settings<br/>[config.plist]"]
  node_acpi["ACPI tables"]
  node_drivers["UEFI drivers"]
  node_kexts["Kernel extensions"]
  node_resources["Boot resources"]
  node_hardware["Specified hardware"]
end

subgraph group_mount["EFI mounting"]
  node_mountefi["MountEFI interface<br/>[MountEFI.py]"]
  node_disk["Disk operations<br/>[disk.py]"]
  node_runner["Command runner<br/>[run.py]"]
  node_mountplist["MountEFI plist parser<br/>[plist.py]"]
end

subgraph group_edit["Configuration editing"]
  node_propertree["ProperTree editor<br/>[ProperTree.py]"]
  node_plistwindow["Plist editing window<br/>[plistwindow.py]"]
  node_ptplist["ProperTree plist parser<br/>[plist.py]"]
  node_texinfo["Configuration reference<br/>[config_tex_info.py]"]
  node_downloader["Update downloader<br/>[downloader.py]"]
end

node_user(("Computer owner"))

node_user -.->|"powers on"| node_firmware
node_firmware -.->|"loads EFI"| node_bootefi
node_bootefi -.->|"starts loader"| node_opencore
node_opencore -.->|"boots system"| node_macos
node_config -.->|"configures"| node_opencore
node_hardware -->|"targets hardware"| node_config
node_user -->|"selects EFI"| node_mountefi
node_mountefi -.->|"uses disk services"| node_disk
node_disk -->|"runs commands"| node_runner
node_disk -->|"uses plist parser"| node_mountplist
node_user -.->|"edits settings"| node_propertree
node_propertree -->|"opens editor"| node_plistwindow
node_propertree -->|"checks updates"| node_downloader
node_plistwindow -->|"uses parser"| node_ptplist
node_plistwindow -->|"shows reference"| node_texinfo

click node_bootefi "https://github.com/elieserme/hackintosh/blob/main/EFI/BOOT/BOOTx64.efi"
click node_opencore "https://github.com/elieserme/hackintosh/blob/main/EFI/OC/OpenCore.efi"
click node_config "https://github.com/elieserme/hackintosh/blob/main/EFI/OC/config.plist"
click node_acpi "https://github.com/elieserme/hackintosh/tree/main/EFI/OC/ACPI"
click node_drivers "https://github.com/elieserme/hackintosh/tree/main/EFI/OC/Drivers"
click node_kexts "https://github.com/elieserme/hackintosh/tree/main/EFI/OC/Kexts"
click node_resources "https://github.com/elieserme/hackintosh/tree/main/EFI/OC/Resources"
click node_mountefi "https://github.com/elieserme/hackintosh/blob/main/scripts/MountEFI/MountEFI.py"
click node_disk "https://github.com/elieserme/hackintosh/blob/main/scripts/MountEFI/Scripts/disk.py"
click node_runner "https://github.com/elieserme/hackintosh/blob/main/scripts/MountEFI/Scripts/run.py"
click node_mountplist "https://github.com/elieserme/hackintosh/blob/main/scripts/MountEFI/Scripts/plist.py"
click node_propertree "https://github.com/elieserme/hackintosh/blob/main/scripts/ProperTree/ProperTree.py"
click node_plistwindow "https://github.com/elieserme/hackintosh/blob/main/scripts/ProperTree/Scripts/plistwindow.py"
click node_ptplist "https://github.com/elieserme/hackintosh/blob/main/scripts/ProperTree/Scripts/plist.py"
click node_texinfo "https://github.com/elieserme/hackintosh/blob/main/scripts/ProperTree/Scripts/config_tex_info.py"
click node_downloader "https://github.com/elieserme/hackintosh/blob/main/scripts/ProperTree/Scripts/downloader.py"

classDef toneNeutral fill:#f8fafc,stroke:#334155,stroke-width:1.5px,color:#0f172a
classDef toneBlue fill:#dbeafe,stroke:#2563eb,stroke-width:1.5px,color:#172554
classDef toneAmber fill:#fef3c7,stroke:#d97706,stroke-width:1.5px,color:#78350f
classDef toneMint fill:#dcfce7,stroke:#16a34a,stroke-width:1.5px,color:#14532d
classDef toneRose fill:#ffe4e6,stroke:#e11d48,stroke-width:1.5px,color:#881337
classDef toneIndigo fill:#e0e7ff,stroke:#4f46e5,stroke-width:1.5px,color:#312e81
classDef toneTeal fill:#ccfbf1,stroke:#0f766e,stroke-width:1.5px,color:#134e4a
class node_firmware,node_bootefi,node_opencore,node_macos toneBlue
class node_config,node_acpi,node_drivers,node_kexts,node_resources,node_hardware toneAmber
class node_mountefi,node_disk,node_runner,node_mountplist toneMint
class node_propertree,node_plistwindow,node_ptplist,node_texinfo,node_downloader toneRose
class node_user toneIndigo
```

## Components

### Boot chain

- **UEFI firmware**
- [EFI bootloader](https://github.com/elieserme/hackintosh/blob/main/EFI/BOOT/BOOTx64.efi): `EFI/BOOT/BOOTx64.efi`
- [OpenCore](https://github.com/elieserme/hackintosh/blob/main/EFI/OC/OpenCore.efi): `EFI/OC/OpenCore.efi`
- **macOS Tahoe**

### EFI configuration

- [OpenCore settings](https://github.com/elieserme/hackintosh/blob/main/EFI/OC/config.plist): `EFI/OC/config.plist`
- [ACPI tables](https://github.com/elieserme/hackintosh/tree/main/EFI/OC/ACPI): `EFI/OC/ACPI`
- [UEFI drivers](https://github.com/elieserme/hackintosh/tree/main/EFI/OC/Drivers): `EFI/OC/Drivers`
- [Kernel extensions](https://github.com/elieserme/hackintosh/tree/main/EFI/OC/Kexts): `EFI/OC/Kexts`
- [Boot resources](https://github.com/elieserme/hackintosh/tree/main/EFI/OC/Resources): `EFI/OC/Resources`
- **Specified hardware**

### EFI mounting

- [MountEFI interface](https://github.com/elieserme/hackintosh/blob/main/scripts/MountEFI/MountEFI.py): `scripts/MountEFI/MountEFI.py`
- [Disk operations](https://github.com/elieserme/hackintosh/blob/main/scripts/MountEFI/Scripts/disk.py): `scripts/MountEFI/Scripts/disk.py`
- [Command runner](https://github.com/elieserme/hackintosh/blob/main/scripts/MountEFI/Scripts/run.py): `scripts/MountEFI/Scripts/run.py`
- [MountEFI plist parser](https://github.com/elieserme/hackintosh/blob/main/scripts/MountEFI/Scripts/plist.py): `scripts/MountEFI/Scripts/plist.py`

### Configuration editing

- [ProperTree editor](https://github.com/elieserme/hackintosh/blob/main/scripts/ProperTree/ProperTree.py): `scripts/ProperTree/ProperTree.py`
- [Plist editing window](https://github.com/elieserme/hackintosh/blob/main/scripts/ProperTree/Scripts/plistwindow.py): `scripts/ProperTree/Scripts/plistwindow.py`
- [ProperTree plist parser](https://github.com/elieserme/hackintosh/blob/main/scripts/ProperTree/Scripts/plist.py): `scripts/ProperTree/Scripts/plist.py`
- [Configuration reference](https://github.com/elieserme/hackintosh/blob/main/scripts/ProperTree/Scripts/config_tex_info.py): `scripts/ProperTree/Scripts/config_tex_info.py`
- [Update downloader](https://github.com/elieserme/hackintosh/blob/main/scripts/ProperTree/Scripts/downloader.py): `scripts/ProperTree/Scripts/downloader.py`

### Other components

- **Computer owner**

## Connections

- Computer owner → UEFI firmware: powers on
- UEFI firmware → EFI bootloader: loads EFI
- EFI bootloader → OpenCore: starts loader
- OpenCore → macOS Tahoe: boots system
- OpenCore settings → OpenCore: configures
- Specified hardware → OpenCore settings: targets hardware
- Computer owner → MountEFI interface: selects EFI (evidence: `scripts/MountEFI/MountEFI.py`)
- MountEFI interface → Disk operations: uses disk services
- Disk operations → Command runner: runs commands (evidence: `scripts/MountEFI/Scripts/disk.py`)
- Disk operations → MountEFI plist parser: uses plist parser (evidence: `scripts/MountEFI/Scripts/disk.py`)
- Computer owner → ProperTree editor: edits settings
- ProperTree editor → Plist editing window: opens editor (evidence: `scripts/ProperTree/ProperTree.py`)
- ProperTree editor → Update downloader: checks updates (evidence: `scripts/ProperTree/ProperTree.py`)
- Plist editing window → ProperTree plist parser: uses parser (evidence: `scripts/ProperTree/Scripts/plistwindow.py`)
- Plist editing window → Configuration reference: shows reference (evidence: `scripts/ProperTree/Scripts/plistwindow.py`)
