How nullmoth/1401 works
1401 is a Windows application that inspects a PC, builds a tailored OpenCore setup, and writes a macOS installer USB stick. The user workflow proceeds through hardware checking, configuration/building, BIOS guidance, and stick creation; after booting, macOS installation continues through Apple’s installer. Separate capabilities include startup-log reporting, storage-mode preparation, and a macOS companion for NVIDIA driver installation. The graph reflects README-described stages and indexed source references; several Python and macOS internals were not sampled, so their connections are omitted or marked unverified.
Main entry points: OpCore-Simplify.py OpenCore engine · main.swift Mac companion app · MainForm.cs Workflow UI · Engine.cs Python launcher
Components 23
Windows application
- Workflow UI
windows/App/MainForm.cs - Python launcher
windows/App/Engine.cs - Disk handling
windows/App/Disks.cs
Hardware and build
- Hardware scan
p1401/scan.py - Build orchestration
p1401/engine.py - OpenCore engine
upstream/OpCore-Simplify/OpCore-Simplify.py - Config generation
upstream/OpCore-Simplify/Scripts/config_prodigy.py - Kext selection
upstream/OpCore-Simplify/Scripts/kext_maestro.py - Resource gathering
upstream/OpCore-Simplify/Scripts/gathering_files.py - Resource fetcher
upstream/OpCore-Simplify/Scripts/resource_fetcher.py - Build datasets
upstream/OpCore-Simplify/Scripts/datasets - BIOS guidance
p1401/guide.py - Storage preparation
p1401/storage_prep.py
Installer media
- USB writer
p1401/usbwriter.py - Apple installer
Reports and support
- Report handling
windows/App/DurableReport.cs - Startup log scan
p1401/scan.py - Report submission
p1401/report.py
macOS companion
- Mac companion app
mac/Sources/main.swift - Hardware map
mac/Sources/HardwareMap.swift - Map collector
mac/Sources/HardwareMapWorker.swift - NVIDIA driver install
mac/Sources/ArmApps.swift
Other components
- PC owner
Connections 23
- PC owner → Workflow UI: starts workflow
README.md - Workflow UI → Python launcher: runs commands
windows/App/MainForm.cs - Python launcher → Build orchestration: launches module
windows/App/Engine.cs - Build orchestration → Hardware scan: scans hardware
- Build orchestration → OpenCore engine: runs headless
p1401/engine.py - OpenCore engine → Config generation: generates config
upstream/OpCore-Simplify/OpCore-Simplify.py - OpenCore engine → Kext selection: selects kexts
upstream/OpCore-Simplify/OpCore-Simplify.py - OpenCore engine → Resource gathering: gathers resources
upstream/OpCore-Simplify/OpCore-Simplify.py - Config generation → Build datasets: reads datasets
upstream/OpCore-Simplify/Scripts/config_prodigy.py - Kext selection → Build datasets: reads datasets
upstream/OpCore-Simplify/Scripts/kext_maestro.py - Resource gathering → Resource fetcher: fetches resources
upstream/OpCore-Simplify/Scripts/gathering_files.py - PC owner → BIOS guidance: reviews steps
README.md - PC owner → Storage preparation: requests preparation
- PC owner → USB writer: creates stick
README.md - USB writer → Apple installer: boots installer
README.md - Workflow UI → Disk handling: handles disks
windows/App/MainForm.cs - Python launcher → Report handling: records run
windows/App/Engine.cs - PC owner → Startup log scan: requests log scan
README.md - Startup log scan → Report submission: submits logs
- PC owner → Mac companion app: runs companion
README.md - Mac companion app → Hardware map: uses hardware map
mac/Sources/main.swift - Mac companion app → NVIDIA driver install: installs driver
mac/Sources/ArmApps.swift - Mac companion app → Map collector: runs collector
mac/Sources/main.swift