ctich Posted August 10, 2017 Share Posted August 10, 2017 Hi, @kylon,@cecekpawon In https://sourceforge.net/p/cloverefiboot/code/HEAD/tree/CloverPackage/utils/clover-genconfig/clover-genconfig.c there are both values. CFMutableDictionaryRef fixDict = addDict(dsdtDict, CFSTR("Fixes")); addBoolean(fixDict, CFSTR("AddDTGP_0001"), !!(s->FixDsdt & FIX_DTGP)); addBoolean(fixDict, CFSTR("FixDarwin_0002"), !!(s->FixDsdt & FIX_WARNING)); addBoolean(fixDict, CFSTR("FixShutdown_0004"), !!(s->FixDsdt & FIX_SHUTDOWN)); addBoolean(fixDict, CFSTR("AddMCHC_0008"), !!(s->FixDsdt & FIX_MCHC)); addBoolean(fixDict, CFSTR("FixHPET_0010"), !!(s->FixDsdt & FIX_HPET)); addBoolean(fixDict, CFSTR("FakeLPC_0020"), !!(s->FixDsdt & FIX_LPC)); addBoolean(fixDict, CFSTR("FixIPIC_0040"), !!(s->FixDsdt & FIX_IPIC)); addBoolean(fixDict, CFSTR("FixSBUS_0080"), !!(s->FixDsdt & FIX_SBUS)); addBoolean(fixDict, CFSTR("FixDisplay_0100"), !!(s->FixDsdt & FIX_DISPLAY)); addBoolean(fixDict, CFSTR("FixIDE_0200"), !!(s->FixDsdt & FIX_IDE)); addBoolean(fixDict, CFSTR("FixSATA_0400"), !!(s->FixDsdt & FIX_SATA)); addBoolean(fixDict, CFSTR("FixFirewire_0800"), !!(s->FixDsdt & FIX_FIREWIRE)); addBoolean(fixDict, CFSTR("FixUSB_1000"), !!(s->FixDsdt & FIX_USB)); addBoolean(fixDict, CFSTR("FixLAN_2000"), !!(s->FixDsdt & FIX_LAN)); addBoolean(fixDict, CFSTR("FixAirport_4000"), !!(s->FixDsdt & FIX_WIFI)); addBoolean(fixDict, CFSTR("FixHDA_8000"), !!(s->FixDsdt & FIX_HDA)); // addBoolean(fixDict, CFSTR("FIX_DARWIN_10000"), !!(s->FixDsdt & FIX_DARWIN)); //deprecated addBoolean(fixDict, CFSTR("FIX_RTC_20000"), !!(s->FixDsdt & FIX_RTC)); addBoolean(fixDict, CFSTR("FIX_TMR_40000"), !!(s->FixDsdt & FIX_TMR)); addBoolean(fixDict, CFSTR("AddIMEI_80000"), !!(s->FixDsdt & FIX_IMEI)); addBoolean(fixDict, CFSTR("FIX_INTELGFX_100000"), !!(s->FixDsdt & FIX_INTELGFX)); addBoolean(fixDict, CFSTR("FIX_WAK_200000"), !!(s->FixDsdt & FIX_WAK)); addBoolean(fixDict, CFSTR("DeleteUnused_400000"), !!(s->FixDsdt & FIX_UNUSED)); addBoolean(fixDict, CFSTR("FIX_ADP1_800000"), !!(s->FixDsdt & FIX_ADP1)); addBoolean(fixDict, CFSTR("AddPNLF_1000000"), !!(s->FixDsdt & FIX_PNLF)); addBoolean(fixDict, CFSTR("FIX_S3D_2000000"), !!(s->FixDsdt & FIX_S3D)); addBoolean(fixDict, CFSTR("FIX_ACST_4000000"), !!(s->FixDsdt & FIX_ACST)); addBoolean(fixDict, CFSTR("AddHDMI_8000000"), !!(s->FixDsdt & FIX_HDMI)); addBoolean(fixDict, CFSTR("FixRegions_10000000"),!!(s->FixDsdt & FIX_REGIONS)); // addBoolean(fixDict, CFSTR("NewWay_80000000"), !!(s->FixDsdt & FIX_NEW_WAY)); @cecekpawon Tell me how the developer clover, key FIX_DARWIN_10000 is used? 1 1 Link to comment Share on other sites More sharing options...
cecekpawon Posted August 10, 2017 Share Posted August 10, 2017 I just realized "FixDarwin_0002" and "FIX_DARWIN_10000" has the same purpose as early mentioned by @kylon. God. @ctich here? 3 Link to comment Share on other sites More sharing options...
ctich Posted March 16, 2018 Share Posted March 16, 2018 Hi, @kylon Correct stylistics, please. https://sourceforge.net/p/cloverefiboot/code/HEAD/tree/rEFIt_UEFI/Platform/Settings.c#l154 Spoiler <key>DSDT</key> <dict> <key>Fixes</key> <key>DeleteUnused</key> <true/> <key>FIX_ACST</key> <true/> <key>FIX_ADP1</key> <true/> <key>FIX_DARWIN</key> <true/> <key>FIX_INTELGFX</key> <true/> <key>FIX_RTC</key> <true/> <key>FIX_S3D</key> <true/> <key>FIX_TMR</key> <true/> <key>FIX_WAK</key> <true/> <key>FakeLPC</key> <true/> </dict> 1 Link to comment Share on other sites More sharing options...
kylon Posted March 16, 2018 Author Share Posted March 16, 2018 Sourceforge is not workingAre these names changed?Thanks 1 Link to comment Share on other sites More sharing options...
ctich Posted March 16, 2018 Share Posted March 16, 2018 22 minutes ago, kylon said: Sourceforge is not working Are these names changed? Thanks No, the names do not change, it is necessary to bring everything to the same style, or some new ones are old. Spoiler static struct FIX_CONFIG { const CHAR8* oldName; const CHAR8* newName; UINT32 bitData; } FixesConfig[] = { { "AddDTGP_0001", "AddDTGP", FIX_DTGP }, { "FixDarwin_0002", "FixDarwin", FIX_WARNING }, { "FixShutdown_0004", "FixShutdown", FIX_SHUTDOWN }, { "AddMCHC_0008", "AddMCHC", FIX_MCHC }, { "FixHPET_0010", "FixHPET", FIX_HPET }, { "FakeLPC_0020", "FakeLPC", FIX_LPC }, { "FixIPIC_0040", "FixIPIC", FIX_IPIC }, { "FixSBUS_0080", "FixSBUS", FIX_SBUS }, { "FixDisplay_0100", "FixDisplay", FIX_DISPLAY }, { "FixIDE_0200", "FixIDE", FIX_IDE }, { "FixSATA_0400", "FixSATA", FIX_SATA }, { "FixFirewire_0800", "FixFirewire", FIX_FIREWIRE }, { "FixUSB_1000", "FixUSB", FIX_USB }, { "FixLAN_2000", "FixLAN", FIX_LAN }, { "FixAirport_4000", "FixAirport", FIX_WIFI }, { "FixHDA_8000", "FixHDA", FIX_HDA }, { "FixDarwin7_10000", "FixDarwin7", FIX_DARWIN }, { "FIX_RTC_20000", "FixRTC", FIX_RTC }, { "FIX_TMR_40000", "FixTMR", FIX_TMR }, { "AddIMEI_80000", "AddIMEI", FIX_IMEI }, { "FIX_INTELGFX_100000", "FixIntelGfx", FIX_INTELGFX }, { "FIX_WAK_200000", "FixWAK", FIX_WAK }, { "DeleteUnused_400000", "DeleteUnused", FIX_UNUSED }, { "FIX_ADP1_800000", "FixADP1", FIX_ADP1 }, { "AddPNLF_1000000", "AddPNLF", FIX_PNLF }, { "FIX_S3D_2000000", "FixS3D", FIX_S3D }, { "FIX_ACST_4000000", "FixACST", FIX_ACST }, { "AddHDMI_8000000", "AddHDMI", FIX_HDMI }, { "FixRegions_10000000", "FixRegions", FIX_REGIONS }, { "FixHeaders_20000000", "FixHeaders", FIX_HEADERS }, { NULL, "FixMutex", FIX_MUTEX } }; p.s i have SF working 1 Link to comment Share on other sites More sharing options...
kylon Posted March 16, 2018 Author Share Posted March 16, 2018 ok, i missed them, but what s wrong with FakeLPC and DeleteUnused? yeah, i was not at home, it seems that sf does not load on android (endless loading), they probably broke something or their scripts are too heavy 1 Link to comment Share on other sites More sharing options...
ctich Posted March 16, 2018 Share Posted March 16, 2018 34 minutes ago, kylon said: ok, i missed them, but what s wrong with FakeLPC and DeleteUnused? yeah, i was not at home, it seems that sf does not load on android (endless loading), they probably broke something or their scripts are too heavy With the names of FakeLPC, DeleteUnused, everything is fine, they are like an example 1 Link to comment Share on other sites More sharing options...
ctich Posted August 19, 2018 Share Posted August 19, 2018 @kylon hello, when trying to change the serial number, an error occurred. I tried to change in iMac18.3 1 1 Link to comment Share on other sites More sharing options...
kylon Posted August 21, 2018 Author Share Posted August 21, 2018 @ctichThank youThat was the last thing to refactor, it was broken since the last changes.CCE is now using macserial to generate serial numbersI m sure it is way better than my old and buggy code xD 1 Link to comment Share on other sites More sharing options...
VasjaPupkin0909 Posted October 19, 2018 Share Posted October 19, 2018 (edited) Hi guys, I noticed some changes in data when I upload and then download my config back with no changes applied in CCE. Some of the fields types are converted and have strange values, like <string>�</string> Also some IDEs complain that some information is lost due to encoding errors when you open downloaded file for editing. I have checked encoding of both files with Unix file utility and I can see discrepancies there. D:\tools\Git\usr\bin>file D:\OneDrive\hackintosh\config.original.plist D:\OneDrive\hackintosh\config.original.plist: XML 1.0 document, ASCII text D:\tools\Git\usr\bin>file D:\OneDrive\hackintosh\test.cce.plist D:\OneDrive\hackintosh\test.cce.plist: data You can clearly see the difference if you diff attached files. config.original.plist was uploaded and then downloaded back as test.cce.plist. I am using Windows 10 Pro x64, Google Chrome 69.0.3497.100 (64-bit), Notepad2 or Atom editors. I have got original config after building bootable USB using BootDisk Utility v2.1.2018.023b. Is this something I should worry about? config.original.plist test.cce.plist Edited October 19, 2018 by VasjaPupkin0909 Added platform and utility details. 1 1 Link to comment Share on other sites More sharing options...
kylon Posted October 21, 2018 Author Share Posted October 21, 2018 @VasjaPupkin0909 Thanks The string was not encoded back to base64 on save so the file was not a valid xml due to invalid characters. The fix is up. 1 1 1 Link to comment Share on other sites More sharing options...
VasjaPupkin0909 Posted October 22, 2018 Share Posted October 22, 2018 (edited) 12 hours ago, kylon said: @VasjaPupkin0909 Thanks The string was not encoded back to base64 on save so the file was not a valid xml due to invalid characters. The fix is up. @kylon thank you for a prompt fix. I have tested it and I can confirm the fix works. Edited October 22, 2018 by VasjaPupkin0909 typos 2 1 Link to comment Share on other sites More sharing options...
kylon Posted October 23, 2018 Author Share Posted October 23, 2018 About that, i found that some other values are not properly encoded.I m working on a fix but i have 2 exams next month so i ll do this slowly.Sorry I ll reply here as soon as the update is online 2 1 Link to comment Share on other sites More sharing options...
dzeynako Posted November 13, 2018 Share Posted November 13, 2018 Editor not working properly, after saving plist this file cannot be opened. Even when use programs as plist editor. It seem there is problem with XML code. plist file attached config.plist 1 1 Link to comment Share on other sites More sharing options...
kylon Posted November 14, 2018 Author Share Posted November 14, 2018 Yeah, the fix is almost ready, no xml errors, its just bad encoding, see above. 1 1 Link to comment Share on other sites More sharing options...
kylon Posted November 14, 2018 Author Share Posted November 14, 2018 @VasjaPupkin0909 @dzeynako cce updates are online, encoding issues should be gone. 1 1 Link to comment Share on other sites More sharing options...
kylon Posted April 30, 2019 Author Share Posted April 30, 2019 Many changes in latest update. Most important: CCE has tri-state checkboxes now (added to OP), so that it can distinguish from false and unset values. (This should have been a feature from the beginning, sorry) and many fixes. 1 1 Link to comment Share on other sites More sharing options...
ctich Posted April 30, 2019 Share Posted April 30, 2019 (edited) 7 minutes ago, kylon said: Many changes in latest update. Most important: CCE has tri-state checkboxes now (added to OP), so that it can distinguish from false and unset values. (This should have been a feature from the beginning, sorry) and many fixes. hi, a bug on the main page update: Uh!...CCE is down for Maintence. realigning the galaxies... Edited April 30, 2019 by ctich 1 1 Link to comment Share on other sites More sharing options...
kylon Posted April 30, 2019 Author Share Posted April 30, 2019 Yup, connection issues, some files were zeroed. It should be up and running now, thanks 1 1 Link to comment Share on other sites More sharing options...
kylon Posted August 12, 2019 Author Share Posted August 12, 2019 Update Main changes: New UI Added a Text Editor Mode (for those who don't like the GUI but still want to take advantage of CCE) Added some cecekpawon Ozmosis drivers support (AcpiPatcher, KernextPatcher, BeepBeep) Added Chameleon support Added Initial OpenCore support (Text Mode only and CCE Bank) Added a Wiki (See OP) Now using HTTPS Many fixes and performance improvements A browser with WebWorkers support is now required. See sources for a full changelog. See Wiki for more details about the UI. 4 1 1 Link to comment Share on other sites More sharing options...
kylon Posted December 27, 2019 Author Share Posted December 27, 2019 I found an issue with the wiki and it was not publicly available. I didn't notice that, sorry, the wiki is now open and working. Happy holidays! 2 1 Link to comment Share on other sites More sharing options...
kylon Posted January 31, 2021 Author Share Posted January 31, 2021 (edited) Major update, clear your cache Added Misc and Kernel in OpenCore OpenCore is now default now using OpenCore SMBIOS data new logo multiple fixes and performance improvements Edited January 31, 2021 by kylon 3 1 Link to comment Share on other sites More sharing options...
kylon Posted March 9, 2021 Author Share Posted March 9, 2021 Updated you may need to clear your browser cache OpenCore support is now complete! i forgot to mention that the config upgrader supports OpenCore Added CCE Tools in CCE Menu Wiki has been updated accordingly code clean up and improvements if you find any bug or regression, please open a new issue in CCE repo 3 1 Link to comment Share on other sites More sharing options...
kylon Posted May 4, 2021 Author Share Posted May 4, 2021 Second major update of the year. Changelogs are back on site copy-paste of the changelog All: Implement proper error handling - CCE should not hang anymore! All: A lot more accurate value types handling All: Fix CCE initialization All: Update useful links in CCE info modal (Add OpenCore docs, remove dead CloverEFI wiki) OpenCore: Always load a full sample plist instead of empty (OC doesn't support partial configs - do not use that to boot MacOS, it is just a sample) OpenCore: Restrict tristate checkboxes to two states (true/false) on value set OpenCore: Booter: Add missing Patch element OpenCore: PlatformInfo: Hide advanced fields when Automatic is set (Thanks vit9696) All: [Temp] Workaround wasm error on latest Chrome/Chromium and similar (macserial works again) All: Remove any Apple Inc. vendor string from SMBIOS to prevent issues on Hackintosh (Thanks vit9696) CloverEFI: Update to latest Code clean up and optimization CCE should be fully working again on latest Chrome/Chromium etc.., it recently broke due to new restrictions as always, you may need to clear your cache if you have any issue: issue tracker 1 Link to comment Share on other sites More sharing options...
Recommended Posts