Python script to compare two plists and list missing keys in either.
corpnewt / occonfigcompare Goto Github PK
View Code? Open in Web Editor NEWPython script to compare two plists and list missing keys in either.
License: MIT License
Python script to compare two plists and list missing keys in either.
License: MIT License
the user ary[0] vs the oc ary[0] = ok
the user ary[1] vs the oc ary[0] = no (the correct OC.plist ary index is 1)
the user ary[2] vs the oc ary[0] = no (the correct OC.plist ary index is 2)
the test files:
the OC config
the User config
even though this script work good but there one thing need to be fix which is involved in amd kernel patch (or Kernel patch). if the the current kernel patch have 22 Childs but you if only add 2 childs to kernel patch it will not tell you that u need to fix kernel b/c it's meet the requirement. take example the picture I show below or attachment to this post
When using CLI arguments, spaces are not handled correctly.
For example, my EFI partition is unlabelled and mounts as NO NAME
:
$ ./OCConfigCompare.command -u /Volumes/NO\ NAME/EFI/OC/config.plist -s ~/Downloads/OpenCore-0.6.8-RELEASE/Docs/Sample.plist
usage: OCConfigCompare.py [-h] [-u USER_PLIST] [-s SAMPLE_PLIST]
OCConfigCompare.py: error: unrecognized arguments: NAME/EFI/OC/config.plist
DisableLinkeditJettison must be in Kernel->Quirks,
not in Booter->Quirks
Hi, can you provide information on how to use this script?
File "/Users/user/Desktop/test/OCConfigCompare-master/OCConfigCompare.py", line 98
print("\nPlist failed to load: {}\n".format(e),timeout=5)
^
SyntaxError: invalid syntax
logout
Saving session...
...copying shared history...
...saving history...truncating history files...
...completed.
Tool used to work flawlessly until now. Getting Plist failed to load: __init__() got an unexpected keyword argument 'use_builtin_types'
after downloading the latest Sample.plist
It also happens when downloading OC (https://github.com/acidanthera/OpenCorePkg/releases) manually and drag-dropping the plist into the terminal.
Using on OSX 11.6 (20G165)
OpenCore version 0.76
#######################################################
# OC Config Compare #
#######################################################
Gathering latest Sample.plist from:
https://github.com/acidanthera/OpenCorePkg/raw/master/Docs/Sample.plist
Loading... 38.03 KB of 38.03 KB (100.00%)
Plist failed to load: __init__() got an unexpected keyword argument 'use_builtin_types'
Press [enter] to return...
Hi. I just generated a config for Coffeelake and noticed some missing keys. They are:
Hi @corpnewt ,
First of all thanks for your incredible toolset. Many of them I use daily and admire your work in hackintosh field. It made so many task so much easier.
After seeing this new program of your one thought came to me, that it would be really great if
this can be integrated as new feature of ProperTree.
Again thanks for your tremendous work.
Regards,
Junaed
Hi,
Should SysReport be flagged as missing if is not supported in 0.5.9 release? OpenCore differences.pdf in part 8.4.6 is specified only for Debug build because of security reasons.
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.