- Joined
- Nov 10, 2011
- Messages
- 1,209
- Motherboard
- GA-H77N-WIFI F4
- CPU
- i7-3770
- Graphics
- HD 4000
- Mobile Phone
I have been asked before, but one of the major reasons for making MaciASL in the first place was to lower the DSDT-edit barriers for most users. The packagers/maintainers who would generate lots of DSDTs, or automate an opaque process should (in my opinion), focus on creating and maintaining patch repositories users can access with the app. Patches are not only more flexible regarding BIOS updates, but also let users see what is going on and allows easy modification. Using repositories makes it clear who is responsible for the patch, and roughly what each will do. The paternalism of an automated command line process keeps users ignorant of what is necessary to get their systems working. I would prefer it if hackintoshers needing heavily-edited DSDTs were at least aware of that fact.
As always, anyone can create a prepared-DSDT repository using the AppleScript bindings for batch-processing.
From the packager's point of view (my point of view in this case), such command line tool will allow all DSDT-related operations (mostly the extraction and patching, the disassembling and assembling can be handled by the iasl compiler, which is command line tool as well) to be made from a package, which will contain only the patches, this tool and the iasl compiler. The main reason I'm asking about such tool is this initiative. The idea is to be made a postinstall tool for all these board, containing all you need to run OS X (DSDT patching, SSDT generation, patched AppleHDA.kext and probably other kexts, Chimera and FakeSMC) on them. I know how to make the installer to assemble and disassemble the DSDT, but I don't know how to extract and patch the DSDT from the command line (yet).