Jump to content
kylon

Cloud Clover Editor (CCE) [Clover, Ozmosis, Chameleon, OpenCore]

121 posts in this topic

Recommended Posts

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?

Share this post


Link to post
Share on other sites
Advertisement

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>

 

Share this post


Link to post
Share on other sites
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

Share this post


Link to post
Share on other sites

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

Share this post


Link to post
Share on other sites
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 :D

Share this post


Link to post
Share on other sites

@ctich
Thank you

That was the last thing to refactor, it was broken since the last changes.

CCE is now using macserial to generate serial numbers
I m sure it is way better than my old and buggy code xD

Share this post


Link to post
Share on other sites

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 by VasjaPupkin0909
Added platform and utility details.

Share this post


Link to post
Share on other sites
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 by VasjaPupkin0909
typos

Share this post


Link to post
Share on other sites

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

Share this post


Link to post
Share on other sites

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.

Share this post


Link to post
Share on other sites
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

804203359_.PNG.3a249ae17b8769771981b3819d7efda1.PNG

 

update:

Uh!...CCE is down for Maintence.

realigning the galaxies...
Edited by ctich

Share this post


Link to post
Share on other sites

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.

Share this post


Link to post
Share on other sites

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!

Share this post


Link to post
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now

  • Recently Browsing   0 members

    No registered users viewing this page.

Announcements

  • Similar Content

    • By cvad
      View File Bootdisk Utility
      Make bootable USB Flash Disk for MAC OS X with Latest Clover bootloader revision fast and easy by one click! under OS Windows.
      Special utility from cvad & russian MAC community for new hackintosh users.
       
      Enjoy...
       
      For more information and complete instructions please see this topic.
       
      Anyone who likes the program, please support its Community Score.
       
       
      Feel free to "Rate File"
      Submitter cvad Submitted 04/28/2013 Category Bootloaders  
    • By jlrycm
      Finally I was able to move from Clover to OpenCore 0.5.9 on my hackintosh build. It boots really fast and even with the famous boot chime. I attached the OC config.plist for anyone who wants to give it a try. I followed the Github step-by-step guide:
      Haswell · GitBook
        dortania.github.io My build specs are:
      Gigabyte Z97-HD3 rev. 2.1, i5-4690K, 16 GB RAM, Gigabyte Aorus AMD RX 580 8gb GPU.
      I used OpenCanopy to give a Clover feeling to the OpenCore boot menu (I don’t like list-type boot menus). 
      config.plist
    • By blackosx
      Notes
      1 - OpenCanopy is a graphical user interface for OpenCore.
      2 - It's currently considered experimental and is not recommended for everyday use.
      3 - This is not a support topic for OpenCanopy but instead somewhere to discuss icons.
      4 - See OpenCore documentation for how to configure and set up OpenCanopy.
       
      Overview
      Many users like to keep their hacks looking as close to a mac as possible by using OpenCanopy with Apple's own icons, however for users that may want to deviate from Apple's boot icons for a more custom look, they're left with having to find their own icons from various places which can sometimes result in a not so consistent theme feel.
       
      To help, I am aiming to 'slowly' create families of 'similar' icons which may eventually lead to a more harmonious look when mixing/customising icons. The idea is that eventually there will be a large 'pick and mix' range of icons where the user can choose which ever ones they like whilst knowing they will all look like they're meant to be together. 
       
      Of course, I could never come up with every permutation that someone could imagine so there will always be icons missing from the range, but over time I hope to grow the collection(s).
       
      git Repository
      https://github.com/blackosx/OpenCanopyIcons
       
      EDIT:
      All Icon sets have now been combined and are available from now on at the new repo
       
    • By poisson-myfish
      So I have some less powerful hardware, that's why I'm installing High Sierra in 2020. Anyway, I'm trying to boot from the USB and I get the following errors:
      00:000 00:000 OCB: Missing DMG signature, aborting 00:585 00:585 OCB: LoadImage failed - Unsupported That's it. The logs begin and end there. The rest of the file is zeroes.
       
      Bootloader: OpenCore 0.5.9 Release
      Drivers:
      HfsPlus.efi
      OpenRuntime.efi
       
      Kexts:
      AppleALC.kext
      Lilu.kext
      RealtekRTL8111.kext
      SMCBatteryManager.kext
      SMCLightSensor.kext
      SMCProcessor.kext
      SMCSuperIO.kext
      VirtualSMC.kext
      WhateverGreen.kext
       
      ACPI:
      SSDT-EC.aml
      SSDT-HPET.aml
      SSDT-PLUG.aml
      Note: I used SSDTTime to make the DSDT dumps for this exact computer
       
      Hardware:
      Intel Core i3 (Haswell)
      An Intel VGA-Compatible Haswell iGPU
      An nVidia Geforce 920m GPU (part of the reason for installing High Sierra)
      USB: Intel 8 Series USB xHCI HC
      SATA: Intel 8 series SATA Controller
       
      If you need more details, here's my laptop https://www.asus.com/Laptops/X540LJ/ . I have the 512GB version with 4GB of RAM
       
      I found a lot of forum posts about people having the same error, except nothing solved mine. Also, I haven't found anything online about the error with the Missing DMG Signature.
       
      EDIT: If anybody needs my config.plist, feel free to ask for it and I'll happily post it
×