Jump to content

gujiangjiang

Members
  • Content Count

    357
  • Joined

  • Last visited


Reputation Activity

  1. Thanks
    gujiangjiang reacted to darkhandz in Lilu — kext and process patcher   
    Retry with debug version lilu v1.3.3 + weg v1.2.6, panic log:
    Anonymous UUID: BD838D05-146F-2A90-40D5-F5C700EC7110 Fri Feb 8 00:39:42 2019 *** Panic Report *** panic(cpu 0 caller 0xffffff800ecdbe8d): Kernel trap at 0xffffff7f9291a58c, type 14=page fault, registers: CR0: 0x0000000080010033, CR2: 0xffffff7f929899ea, CR3: 0x00000004a49b301d, CR4: 0x00000000003626e0 RAX: 0xffffff7f9291a588, RBX: 0xffffff81bf0a7000, RCX: 0x000000000000000a, RDX: 0x0000000000000018 RSP: 0xffffff922f753560, RBP: 0xffffff922f753560, RSI: 0xffffff8043f7eb80, RDI: 0x0000000000000002 R8: 0xffffff922f7535bc, R9: 0x0000000000000780, R10: 0x0000000000000438, R11: 0x0000000000000780 R12: 0xffffff81bf0a95ac, R13: 0xffffff8043f7eb80, R14: 0xffffff8042219600, R15: 0xffffff922f753608 RFL: 0x0000000000010286, RIP: 0xffffff7f9291a58c, CS: 0x0000000000000008, SS: 0x0000000000000010 Fault CR2: 0xffffff7f929899ea, Error code: 0x0000000000000003, Fault CPU: 0x0, PL: 0, VF: 2 Backtrace (CPU 0), Frame : Return Address 0xffffff922f753030 : 0xffffff800ebae9dd mach_kernel : _handle_debugger_trap + 0x47d 0xffffff922f753080 : 0xffffff800ecea355 mach_kernel : _kdp_i386_trap + 0x155 0xffffff922f7530c0 : 0xffffff800ecdbc6a mach_kernel : _kernel_trap + 0x50a 0xffffff922f753130 : 0xffffff800eb5bc90 mach_kernel : _return_from_trap + 0xe0 0xffffff922f753150 : 0xffffff800ebae3f7 mach_kernel : _panic_trap_to_debugger + 0x197 0xffffff922f753270 : 0xffffff800ebae243 mach_kernel : _panic + 0x63 0xffffff922f7532e0 : 0xffffff800ecdbe8d mach_kernel : _kernel_trap + 0x72d 0xffffff922f753450 : 0xffffff800eb5bc90 mach_kernel : _return_from_trap + 0xe0 0xffffff922f753470 : 0xffffff7f9291a58c as.vit9696.Lilu : __ZN13KernelPatcher20tempExecutableMemoryE + 0xcc 0xffffff922f753560 : 0xffffff7f929c1682 as.vit9696.WhateverGreen : __ZN4IGFX20wrapComputeLaneCountEPvS0_jiPi + 0x92 0xffffff922f7535a0 : 0xffffff7f92fff2ac com.apple.driver.AppleIntelSKLGraphicsFramebuffer : __ZN31AppleIntelFramebufferController11SetupClocksEP21AppleIntelFramebufferP21AppleIntelDisplayPathPK29IODetailedTimingInformationV2PNS_10CRTCParamsE + 0x39e 0xffffff922f7535f0 : 0xffffff7f92ffe3dc com.apple.driver.AppleIntelSKLGraphicsFramebuffer : __ZN31AppleIntelFramebufferController9hwSetModeEP21AppleIntelFramebufferP21AppleIntelDisplayPathPK29IODetailedTimingInformationV2 + 0xea 0xffffff922f753960 : 0xffffff7f92fd8a99 com.apple.driver.AppleIntelSKLGraphicsFramebuffer : __ZN21AppleIntelFramebuffer14setDisplayModeEii + 0x47f 0xffffff922f7539c0 : 0xffffff7f92ea0565 com.apple.iokit.IOGraphicsFamily : __ZN13IOFramebuffer16doSetDisplayModeEii + 0xb3 0xffffff922f753a00 : 0xffffff7f92ea043a com.apple.iokit.IOGraphicsFamily : __ZN13IOFramebuffer17extSetDisplayModeEP8OSObjectPvP25IOExternalMethodArguments + 0x9a 0xffffff922f753a90 : 0xffffff800f284d28 mach_kernel : __ZN12IOUserClient14externalMethodEjP25IOExternalMethodArgumentsP24IOExternalMethodDispatchP8OSObjectPv + 0x1d8 0xffffff922f753ae0 : 0xffffff7f92ea6438 com.apple.iokit.IOGraphicsFamily : __ZN23IOFramebufferUserClient14externalMethodEjP25IOExternalMethodArgumentsP24IOExternalMethodDispatchP8OSObjectPv + 0x74 0xffffff922f753b30 : 0xffffff800f28e1d2 mach_kernel : _is_io_connect_method + 0x212 0xffffff922f753c70 : 0xffffff800ec962a6 mach_kernel : _iokit_server_routine + 0x5e46 0xffffff922f753d80 : 0xffffff800ebb421c mach_kernel : _ipc_kobject_server + 0x12c 0xffffff922f753dd0 : 0xffffff800eb8ec41 mach_kernel : _ipc_kmsg_send + 0xd1 0xffffff922f753e50 : 0xffffff800eba34ae mach_kernel : _mach_msg_overwrite_trap + 0x3ce 0xffffff922f753ef0 : 0xffffff800ecc3007 mach_kernel : _mach_call_munger64 + 0x257 0xffffff922f753fa0 : 0xffffff800eb5c476 mach_kernel : _hndl_mach_scall64 + 0x16 Kernel Extensions in backtrace: as.vit9696.Lilu(1.3.3)[7EF6F471-1BD8-3456-9074-66EB028D5EE9]@0xffffff7f92910000->0xffffff7f92988fff as.vit9696.WhateverGreen(1.2.6)[76B394AE-05C5-3ED3-8489-4EC73630F74E]@0xffffff7f929bd000->0xffffff7f92a37fff dependency: as.vit9696.Lilu(1.3.3)[7EF6F471-1BD8-3456-9074-66EB028D5EE9]@0xffffff7f92910000 dependency: com.apple.iokit.IOPCIFamily(2.9)[39E2286B-5167-30C4-A36A-0BAEBD2C2B1B]@0xffffff7f8f4eb000 com.apple.iokit.IOGraphicsFamily(530.59)[AD9697FA-4A10-3E28-BD0B-2332C31BCE61]@0xffffff7f92e85000->0xffffff7f92ecffff dependency: com.apple.iokit.IOPCIFamily(2.9)[39E2286B-5167-30C4-A36A-0BAEBD2C2B1B]@0xffffff7f8f4eb000 com.apple.driver.AppleIntelSKLGraphicsFramebuffer(12.0.8)[FD4E977D-A29B-3939-B2E6-64B473279EC2]@0xffffff7f92fc0000->0xffffff7f931e0fff dependency: com.apple.iokit.IOPCIFamily(2.9)[39E2286B-5167-30C4-A36A-0BAEBD2C2B1B]@0xffffff7f8f4eb000 dependency: com.apple.iokit.IOACPIFamily(1.4)[CBA0870F-6617-3D78-9075-26A2E8A9B691]@0xffffff7f8f4e2000 dependency: com.apple.iokit.IOAcceleratorFamily2(404.8)[D5E9849D-22E0-380F-B560-A115614960D5]@0xffffff7f92f11000 dependency: com.apple.iokit.IOReportFamily(47)[0578B054-D103-32EB-B468-D145EFCE0AA2]@0xffffff7f8f4db000 dependency: com.apple.AppleGraphicsDeviceControl(3.30.12)[505935DB-B28B-3C9E-8A5C-3D38D70055CD]@0xffffff7f92fb6000 dependency: com.apple.iokit.IOGraphicsFamily(530.59)[AD9697FA-4A10-3E28-BD0B-2332C31BCE61]@0xffffff7f92e85000 BSD process name corresponding to current thread: WindowServer Boot args: dart=0 brcmfx-country=#a -lilubetaall agdpmod=vit9696 -v keepsyms=1 debug=0x100 -rootdmg-ramdisk auth-root-dmg=file:///macOS%20Install%20Data/Locked%20Files/BaseSystem.dmg Mac OS version: 18E184e Kernel version: Darwin Kernel Version 18.5.0: Thu Jan 31 01:17:54 PST 2019; root:xnu-4903.250.319~62/RELEASE_X86_64 Kernel UUID: 65EC7A82-220E-3FD8-91E2-5AECA8B2FEF1 Kernel slide: 0x000000000e800000 Kernel text base: 0xffffff800ea00000 __HIB text base: 0xffffff800e900000 System model name: MacBookPro13,3 (Mac-A5C67F76ED83108C) System uptime in nanoseconds: 52748949770 last loaded kext at 52090521544: com.apple.driver.AppleGraphicsDevicePolicy 3.30.12 (addr 0xffffff7f93666000, size 81920) loaded kexts: org.rehabman.voodoo.driver.PS2Mouse 1.9.1 org.rehabman.voodoo.driver.PS2Trackpad 1.9.1 org.rehabman.voodoo.driver.PS2Keyboard 1.9.1 com.no-one.BrcmPatchRAM2 2.2.10 com.no-one.BrcmFirmwareStore 2.2.10 org.rehabman.driver.FakePCIID 1.3.14 com.alexandred.VoodooI2C 2.1.4 org.coolstar.VoodooGPIO 1.1 org.rehabman.voodoo.driver.PS2Controller 1.9.1 as.vit9696.SMCProcessor 1.0.2 as.vit9696.AppleALC 1.3.5 as.lvs1974.AirportBrcmFixup 1.1.9 com.XPS.VerbStub 1.0.3 as.lvs1974.BT4LEContiunityFixup 1.1.2 as.vit9696.WhateverGreen 1.2.6 org.vanilla.driver.CPUFriend 1.1.5 ru.usrsse2.SMCBatteryManager 1 com.alexandred.VoodooI2CServices 1 ru.usrsse2.SMCLightSensor 1 as.vit9696.VirtualSMC 1.0.2 as.lvs1974.HibernationFixup 1.2.4 xyz.racermaster.NoTouchID 1.0.1 as.vit9696.Lilu 1.3.3 com.apple.driver.AppleGraphicsDevicePolicy 3.30.12 com.apple.driver.pmtelemetry 1 com.apple.iokit.IOUserEthernet 1.0.1 com.apple.iokit.IOBluetoothSerialManager 6.0.11d3 com.apple.driver.X86PlatformShim 1.0.0 com.apple.driver.AGPM 110.25.2 com.apple.driver.ApplePlatformEnabler 2.7.0d0 com.apple.Dont_Steal_Mac_OS_X 7.0.0 com.apple.driver.AppleHDAHardwareConfigDriver 282.51 com.apple.driver.AppleHV 1 com.apple.driver.AGDCBacklightControl 3.30.12 com.apple.driver.AppleHDA 282.51 com.apple.driver.ACPI_SMC_PlatformPlugin 1.0.0 com.apple.driver.AppleMCCSControl 1.5.6 com.apple.driver.AppleOSXWatchdog 1 com.apple.driver.AppleIntelPCHPMC 2.0.1 com.apple.driver.AppleSMCLMU 212 com.apple.driver.AppleLPC 3.1 com.apple.driver.AppleIntelSKLGraphicsFramebuffer 12.0.8 com.apple.driver.AppleIntelSlowAdaptiveClocking 4.0.0 com.apple.driver.AppleFIVRDriver 4.1.0 com.apple.driver.AppleBacklight 170.12.11 com.apple.filesystems.ntfs 3.13 com.apple.nke.webcontentfilter 5 com.apple.private.KextAudit 1.0 com.apple.driver.DiskImages.ReadWriteDiskImage 493.0.0 com.apple.driver.DiskImages.SparseDiskImage 493.0.0 com.apple.driver.DiskImages.UDIFDiskImage 493.0.0 com.apple.driver.DiskImages.HTTPBackingStore 493.0.0 com.apple.driver.DiskImages.FileBackingStore 493.0.0 com.apple.driver.DiskImages.RAMBackingStore 493.0.0 com.apple.driver.AppleFileSystemDriver 3.0.1 com.apple.filesystems.hfs.kext 407.200.4 com.apple.BootCache 40 com.apple.AppleFSCompression.AppleFSCompressionTypeDataless 1.0.0d1 com.apple.AppleFSCompression.AppleFSCompressionTypeZlib 1.0.0 com.apple.AppleSystemPolicy 1.0 com.apple.filesystems.apfs 945.250.122 com.apple.driver.AirPort.BrcmNIC 1400.1.1 com.apple.driver.AppleAHCIPort 329.200.2 com.apple.driver.AppleSmartBatteryManager 161.0.0 com.apple.driver.AppleACPIEC 6.1 com.apple.driver.AppleACPIButtons 6.1 com.apple.driver.AppleRTC 2.0 com.apple.driver.AppleHPET 1.8 com.apple.driver.AppleSMBIOS 2.1 com.apple.driver.AppleAPIC 1.7 com.apple.nke.applicationfirewall 190 com.apple.security.TMSafetyNet 8 com.apple.driver.AppleGraphicsControl 3.30.12 com.apple.iokit.IOSerialFamily 11 com.apple.iokit.IOAVBFamily 740.1 com.apple.plugin.IOgPTPPlugin 740.2 com.apple.iokit.IOEthernetAVBController 1.1.0 com.apple.iokit.IOSkywalkFamily 1 com.apple.iokit.BroadcomBluetoothHostControllerUSBTransport 6.0.11d3 com.apple.iokit.IOBluetoothHostControllerUSBTransport 6.0.11d3 com.apple.iokit.IOBluetoothHostControllerTransport 6.0.11d3 com.apple.driver.DspFuncLib 282.51 com.apple.kext.OSvKernDSPLib 528 com.apple.driver.IOPlatformPluginLegacy 1.0.0 com.apple.AppleGPUWrangler 3.30.12 com.apple.driver.AppleSMBusController 1.0.18d1 com.apple.driver.AppleUSBAudio 315.6 com.apple.driver.AppleHDAController 282.51 com.apple.iokit.IOHDAFamily 282.51 com.apple.iokit.IOAudioFamily 206.5 com.apple.vecLib.kext 1.2.0 com.apple.driver.AppleSMBusPCI 1.0.14d1 com.apple.driver.X86PlatformPlugin 1.0.0 com.apple.driver.IOPlatformPluginFamily 6.0.0d8 com.apple.AppleGraphicsDeviceControl 3.30.12 com.apple.iokit.IOAcceleratorFamily2 404.8 com.apple.iokit.IOSurface 255.4.2 com.apple.iokit.IOSlowAdaptiveClockingFamily 1.0.0 com.apple.driver.AppleBacklightExpert 1.1.0 com.apple.iokit.IONDRVSupport 530.51 com.apple.iokit.IOGraphicsFamily 530.59 com.apple.driver.usb.IOUSBHostHIDDevice 1.2 com.apple.driver.DiskImages.KernelBacked 493.0.0 com.apple.driver.usb.cdc 5.0.0 com.apple.driver.usb.networking 5.0.0 com.apple.driver.usb.AppleUSBHostCompositeDevice 1.2 com.apple.filesystems.hfs.encodings.kext 1 com.apple.driver.AppleXsanScheme 3 com.apple.iokit.IOAHCIBlockStorage 301.250.5 com.apple.driver.AppleUSBHostMergeProperties 1.2 com.apple.iokit.IO80211Family 1200 EOF Model: MacBookPro13,3, BootROM 251.0.0.0.0, 4 processors, Intel Core i7, 2.59 GHz, 16 GB, SMC 2.38f7 Graphics: Intel HD Graphics 530, Intel HD Graphics 530, Built-In Memory Module: BANK 0/DIMM0, 8 GB, DDR4, 2400 MHz, Corsair, CMSX16GX4M2A2400C16 Memory Module: BANK 1/DIMM0, 8 GB, DDR4, 2400 MHz, Corsair, CMSX16GX4M2A2400C16 AirPort: spairport_wireless_card_type_airport_extreme (0x14E4, 0x24), Broadcom BCM43xx 1.0 (7.77.61.1 AirPortDriverBrcmNIC-1305.2) Bluetooth: Version 6.0.10f1, 3 services, 27 devices, 1 incoming serial ports Network Service: Wi-Fi, AirPort, en0 Serial ATA Device: Crucial_CT525MX300SSD1, 525.11 GB USB Device: USB 3.0 Bus USB Device: Integrated_Webcam_HD USB Device: BCM2045A0 USB Device: USB Receiver Thunderbolt Bus:  
  2. Like
    gujiangjiang reacted to Slice in Clover Change Explanations   
    Rev 5104
    Clover switched to C++ programming language. Thanks to Jief_Machak.
    C++ proposition
    Programming tips will follow.
  3. Like
    gujiangjiang reacted to iFrodo in OpenCore and FileVault 2 UI   
    Thanks for your help. I also add to enable UEFI quirks "ProvideConsoleGop". I've now a working OpenCore installation
  4. Like
    gujiangjiang reacted to Sherlocks in EFICheckDisabler   
    apple added device id for eficheck
    PCI 8086 Intel Corporation A306 Q370 Chipset LPC/eSPI Controller Vendor Device  
    i added this device id.
    EFICheckDisabler.kext.zip-20191012.zip
  5. Like
    gujiangjiang reacted to Slice in Clover Change Explanations   
    Rev 5000+
     
    Now Clover version 2.5k.
    It assumes new folder structures
    drivers BIOS off UEFI instead of older folders drivers64 (now drivers/BIOS) and drivers64UEFI (now drivers/UEFI).
     
    As well I have to note that there is no automatic update from 2.4 to 2.5. CloverUpdater can't switch versions.
    You have to install new version manually and carefully check drivers directories if all needed files presents here.

    Thanks Chris1111 for the picture!
  6. Haha
    gujiangjiang reacted to Sherlocks in Clover General discussion   
    also me too.
  7. Haha
    gujiangjiang reacted to cecekpawon in OpenCore Discussion   
    @Download-Fritz Is there any such way to retrieve my own drivers SelfDevicePath while loading it under "OC\Drivers"? I saw OC "gBS->LoadImage" it with drivers buffer (+ size) and not its DevicePath. Or maybe the devs consider to change the way to LoadImage? Thanks bro
  8. Thanks
    gujiangjiang reacted to Andrey1970 in OpenCore Discussion   
    https://raw.githubusercontent.com/acidanthera/WhateverGreen/master/Manual/SSDT-PNLF.dsl
    Also read here: https://github.com/acidanthera/WhateverGreen/blob/master/Manual/FAQ.IntelHD.en.md
     
     
     

  9. Thanks
    gujiangjiang reacted to apianti in OpenCore Discussion   
    Yeah, not even close to a rebranding of clover. Clover is monolithic, and a bunch of old projects (~2011) stitched together and made to work in UEFI. There should be a huge difference in performance in everything. Also, did you notice the part where I said because it is modular the GUI would not be a requirement? Some people want their machine to behave exactly like a mac would which means the ability for a GUI boot selector.
     
    EDIT: Also maybe some people just have an easier time with GUIs, it would make sense because why bother having a GUI and not just go back to DOS or UNIX?
  10. Haha
    gujiangjiang reacted to MacPato in OpenCore Discussion   
    OpenCore is working 100% for me for both Mojave 10.14 and Sierra 10.12 on both my systems  , and to add a GUI isn't an idea that i would like to see, it performs very well and as stated in a previous post it's modular and properly structured, adding a GUI frontend would just make this a rebranding of clover which this isn't.  Configuration for Opencore is easy enough once you get your head round the documentation which this is updated daily with new information, However i know these guys are working at better file logging for debugging purposes, and Certain NVMe Boot Structures need fixing, but this all takes time. Other then that i'm super happy with the way this project is progressing. It's best to remember this is only an early dev version and people need to stay patient and give thanks to the incredible people including @vit9696  for quick bug tracking responses and working so hard to make this a great alternative for the community. The Performance of my systems are amazing compared to clover.  
  11. Thanks
    gujiangjiang got a reaction from Juddder in Clover problems report & features request   
    Today when i updated Clover to r4674 and it cant boot and show this.
    Start Start OSName
     
    After many times test i found it related with UsbKbDxe-64.efi.
     
    If i delete the UsbKbDxe-64 efi then can boot normally and when i put UsbKbDxe-64.efi into Driver64UEFI and it show above error log again.
     
    So i want to know does this driver not ompitable for the new os or it has conflict when the other drivers.
     
    I use all the Clover Driver64UEFI excpt these below:
    OsxAptioFix2Drv-64 CsmVideoDxe-64 OsxLowMemFixDrv-64 OsxAptioFix3Drv-64 SMCHelper-64 OsxAptioFixDrv-64 EmuVariableUefi-64 And i found 3 groups similar drivers related with input.
    AppleKeyAggregator-64.efi AppleKeyFeeder-64.efi AptioInputFix-64.efi Ps2MouseDxe-64.efi UsbKbDxe-64.efi UsbMouseDxe-64.efi And the UsbKbDxe-64.efi cause my problem.
     
    So does it needed to clean some drivers if it redundant or comfilict.
     
    Thanks. 
  12. Sad
    gujiangjiang got a reaction from Merlingycle in Apple released macOS 10.13.4 Update   
    10.13.4 show 2 Intel GPU in system preference panel.


    从我的 iPhone 发送,使用 Tapatalk
  13. Like
    gujiangjiang reacted to vit9696 in WhatEverGreen Support Topic   
    Fixed in Lilu master. Enjoy.
  14. Thanks
    gujiangjiang reacted to apianti in Clover General discussion   
    Yeah IDK I see a bunch of problems with sound in the theme. For instance this makes no sense:
    if (!DayLight) { Status = StartupSoundPlay(ThemeDir, L"sound_night.wav"); } if (EFI_ERROR(Status)) { Status = StartupSoundPlay(ThemeDir, L"sound.wav"); } It only plays the sound if it's not daylight or there is an error and it's daylight? This should be written differently. Seems that the entire purpose of CheckSyncSound() is to stop playing the sound when the GUI is active, but why? It's played synchronously so this should never happen. So this call probably will always cause a hang since it calls StopStream without even checking if it's playing. Also If AudioIo is not found then the check for the private data is invalid since (NULL - offset) is a really large number and fails the check that it's NULL. AudioIo should be checked if NULL first.
  15. Thanks
    gujiangjiang reacted to Slice in Clover General discussion   
    There are three variables in NVRAM if you want to trace it
    Variable NV+RT+BS '89D4F995-67E3-4895-8F18-454B651D9215:Volume' DataSize = 0x01 00000000: 3C *<* Variable NV+RT+BS '89D4F995-67E3-4895-8F18-454B651D9215:Index' DataSize = 0x08 00000000: 00 00 00 00 00 00 00 00- *........* Variable NV+RT+BS '89D4F995-67E3-4895-8F18-454B651D9215:Device' DataSize = 0xA2 00000000: 50 00 63 00 69 00 52 00-6F 00 6F 00 74 00 28 00 *P.c.i.R.o.o.t.(.* 00000010: 30 00 78 00 30 00 29 00-2F 00 50 00 63 00 69 00 *0.x.0.)./.P.c.i.* 00000020: 28 00 30 00 78 00 31 00-42 00 2C 00 30 00 78 00 *(.0.x.1.B.,.0.x.* 00000030: 30 00 29 00 2F 00 56 00-65 00 6E 00 4D 00 73 00 *0.)./.V.e.n.M.s.* 00000040: 67 00 28 00 41 00 39 00-30 00 30 00 33 00 46 00 *g.(.A.9.0.0.3.F.* 00000050: 45 00 42 00 2D 00 44 00-38 00 30 00 36 00 2D 00 *E.B.-.D.8.0.6.-.* 00000060: 34 00 31 00 44 00 42 00-2D 00 41 00 34 00 39 00 *4.1.D.B.-.A.4.9.* 00000070: 31 00 2D 00 35 00 34 00-30 00 35 00 46 00 45 00 *1.-.5.4.0.5.F.E.* 00000080: 45 00 46 00 34 00 36 00-43 00 33 00 2C 00 30 00 *E.F.4.6.C.3.,.0.* 00000090: 30 00 30 00 30 00 30 00-30 00 30 00 30 00 29 00 *0.0.0.0.0.0.0.).* 000000A0: 00 00 *..*  
  16. Thanks
    gujiangjiang reacted to Slice in Clover General discussion   
    VoodooHDA works with HDMI as well as with non-Intel chipsets so yes it's possible just requires a work.
  17. Thanks
    gujiangjiang reacted to TheRacerMaster in AirportBrcmFixup   
    brcmfx-driver=1 should force AirPortBrcm4360. You may also want to try setting brcmfx-country=#a with the new drivers.
  18. Haha
    gujiangjiang reacted to Slice in Vector Themes   
    As designed.
  19. Thanks
    gujiangjiang reacted to luky35 in Vector Themes   
    Is this the boot menu?
     
  20. Like
    gujiangjiang reacted to Slice in Clover Change Explanations   
    Rev 4789
    Three big news with SVG support:
    1. Image can contain text

    2. Images can be constructed with <symbol>. The picture above
    3. Vector theme can have animated main screen. The first one in BGM_SVG by Blackosx.
  21. Like
    gujiangjiang reacted to Slice in Clover Change Explanations   
    Rev 4779
    Implemented bootcamp style for vector themes
    It looks like follow

     
    In <clover:theme ... settings there will be
    BootCampStyle="1"
     
    And there must be indicator image. I draw simple triangle
    <g id="selection_indicator"> <rect visibility="hidden" id="BoundingRect_141_" x="83" y="15" class="st162" width="64" height="64"/> <path d="M 490.376 309.525 Q 490.992 308.43 491.641 309.525 L 507.876 336.934 Q 508.525 338.029 507.26 338.029 L 475.613 338.029 Q 474.348 338.029 474.964 336.934 Z" style="fill: rgb(216, 216, 216);" /> </g>  
  22. Like
    gujiangjiang reacted to Slice in Clover Change Explanations   
    Rev 4747
    SVG theme can include PNG images. To scale it dithering used.

     
    Instruction is follow
    1. With vector graphics editor import PNG file into your svg file.
    2. Select the object and convert it into pattern.
    3. Create an empty shape and set for it Fill->Pattern. There is an circle in the screen.
    4. The pattern ID always must be "pattern_xxx" i.e. contain the word "pattern".
     
  23. Haha
    gujiangjiang reacted to Badruzeus in Vector Themes   
    You were not using "Clovy/Theme.svg" (Vector) but "embedded" (Bitmap):
    0:130 0:003 === [ GetListOfThemes ] =================================== 0:134 0:004 - [00]: random 0:141 0:007 - [00]: embedded 0:147 0:006 - [00]: BootCamp 0:154 0:007 - [01]: newyear 0:160 0:006 - [02]: christmas ..... ..... 6:524 0:000 === [ InitTheme ] ========================================= 6:524 0:000 using embedded theme 6:524 0:000 Using embedded font: Success 6:524 0:000 theme inited 6:524 0:000 Chosen embedded theme  
  24. Thanks
    gujiangjiang reacted to Badruzeus in Vector Themes   
    OK, also found an issue with font spacing on vector theme with disp lower than 1366x768 px (I use 1280x720). Screenshot is using r4743 under VM.

  25. Like
    gujiangjiang reacted to Slice in Clover v.2 Instructions   
    Scalable Themes
     
    The purpose of this new feature is to make Clover GUI looks similar with resolutions 800x600, 1920x1080 or 5k. Existing PNG themes will be too large on small screen or too small on large screen.
    To do the view scalable I have to propose graphics to be in vector format. The best choice is SVG.
    Scalabe Vector Graphics
     
    Instructions for user: nothing new. Just choose a theme that is known to be SVG theme. At this moment there is "Clovy" theme present is main Clover repository.
     
    Instructions for artists
    The whole theme must be drawn as one picture with name "Theme.svg" instead of theme.plist being in PNG themes.
    The picture must be designed as theme preview with invisible elements needed to Clover (checkbox for example, or numerous os icons).

     
    SVG file is a text file which you can edit with TextEdit for further improvements.
    To create this drawing you have to use one of vector graphics editor on your choice:
    1. Adobe Illustrator. Simply the best.
    2. Corel Draw in Windows. I have no experience.
    3. Inkscape in Windows or in macOS up to 10.10. Officially it is not supported in higher versions.
    4. LibreOffice Draw. It is heavy and slow. SVG file contains many dirts.
    5. Boxy SVG. Very small application creating very basic SVG file. It can't embed SVG fonts. Anyway it is good and can be recommended.
    6. Gravit Designer
    7. Or others
    https://en.wikipedia.org/wiki/Comparison_of_vector_graphics_editors
    If the editor has own graphics format then you have to export graphics as SVG and tune compatibility as
    1. SVG 1.1
    2. css/style supported, other css features no.
    3. embed fonts as SVG fonts.
    4. don't export editor specific information if possible
     
    Clover requirements (since rev 4730 and up)
    The design must consist of separate images gathered into groups with known names.
    For example <g id="Banner">
    Obligatory group names:
     
    Background Banner func_about func_options func_clover func_reset func_shutdown func_help tool_shell pointer vol_internal vol_external vol_optical vol_internal_hfs vol_internal_apfs vol_internal_ntfs vol_internal_ext3 vol_recovery selection_small selection_big radio_button radio_button_selected checkbox checkbox_checked As well as OS icons like os_mac, os_win etc
    MISC_ICONS OSIconsTable[] = { {NULL, "os_mac"}, {NULL, "os_tiger"}, {NULL, "os_leo"}, {NULL, "os_snow"}, {NULL, "os_lion"}, {NULL, "os_cougar"}, {NULL, "os_mav"}, {NULL, "os_yos"}, {NULL, "os_cap"}, {NULL, "os_sierra"}, {NULL, "os_hsierra"}, {NULL, "os_moja"}, {NULL, "os_linux"}, {NULL, "os_freebsd"}, {NULL, "os_freedos"}, {NULL, "os_win"}, {NULL, "os_vista"}, The design graphics have limited space to draw all of them. So the good trick will be hide most of them using attributes hidden or zero opacity. Samples:
    <g id="os_leo" visibility="hidden">
    or
    <g id="radio_button" opacity=0>
    Using these elements Clover automatically make visibility and change opacity to 1.0.
    The caveats. visibility may cause the elements not be exported into svg from Illustrator and will not be calculated into final icon size. opacity produces exhasive rendering.
     
    Each icons must contain a special invisible element with name "BoundingRect_xxx" example
    <g id="selection_big" transform="translate(528.000000, 320.000000)"> <rect id="BoundingRect_2_" y="0" class="st0" width="144" height="144"/> <g id="icon_5_" transform="translate(8.000000, 8.000000)" class="st15"> <path id="rrect" class="st6" d="M10,0h108c5.523,0,10,4.477,10,10v108c0,5.523-4.477,10-10,10H10c-5.523,0-10-4.477-10-10V10 C0,4.477,4.477,0,10,0z"/> </g> </g> This <rect> with name containing "BoundingRect" serves to define whole size of the element. In this case it is width=144 and height=144. This rect is invisible because of class="st0" defined as
    .st0{fill:none;} as one of the possibility to hide elements.
    NO! All BoundingRect must be visibility="hidden" because it influences on the icon centre. Rev 4733.
     
     
    Text support
    Although Clover can draw svg text you should not use it. All static text (as "CLOVER" in the picture above) should be converted to pathes. Clover draws dynamic text by itself.
    The theme must contain at least one text line with group id="MessageRow". The attributes of the text will be used by Clover to set text size and color and to choose font. So these text must contain such attributes:
    <g id="MessageRow" transform="translate(0.000000, 580.000000)"> <g class="st5"> <text transform="matrix(1 0 0 1 494.928 15)" class="st6 st7 st8">Boot macOS from SystemHD</text> </g> </g> These text contains styles
    .st6{fill:#FFFFFF;} .st7{font-family:Roboto-Medium;} .st8{font-size:16px;} It means Clover will draw text in white color, size=16px and use font "Roboto-Medium"
     
    Fonts
    Clover may use SVG fonts embedded into theme or external font placed into the same folder.
    Embedded font you can see in Clove example.
    Font must have attribute horiz-adv-x="2048" or other value. It means maximum char width in virtual space.
    font-face must have family, units-per-em, font-style and bbox (bounding box)
    <font horiz-adv-x="2048"> <font-face font-family="Roboto-Medium" units-per-em="2048" underline-position="-100" underline-thickness="100" font-style="normal" bbox="0 -100 2048 1948" /> <missing-glyph horiz-adv-x="510"/> <missing-glyph> is also obligatory.
    Without these elements the font will not work.
    If a text shows font-family same as embedded font then Clover will render it. Else Clover will search file with the name of font-family. In this case it is "Roboto-Medium.svg".
     
    Where to get SVG fonts?
    1. Illustrator can export own fonts into your graphics as SVG font. BoxySVG cannot.
    2. You may draw own font with FontForge application or others.
    3. You may convert your favorite TTF font into SVG using online services. Google will help you.
    Anyway be care about font licenses.
     
    Special Clover settings
    SVG usually don't contain full information needed for Clover to draw GUI so there is a special setting compatible with SVG specification
    <svg> element should define clover namespace
    <svg version="1.1" id="CloverThemeTemplate2_1_" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" xmlns:clover="https://sourceforge.net/projects/cloverefiboot" x="0px" y="0px" viewBox="0 0 1200 768"> These attributes should be accounting as obligatory. Especially "viewBox"!
    Clover settings are optional because there are default values
    <clover:theme SelectionOnTop="0" BadgeOffsetX="0xFFFF" BadgeOffsetY="0xFFFF" NonSelectedGrey="0" CharWidth="16" BackgroundDark="1" BackgroundSharp="0x80" Badges="none" SelectionColor="0x80808080" /> Prefix "clover:" will be checked by other browsers and allowed because we defined xmlns:clover
     
    You may safely remove elements with names "inkscape:", "sodipodi:" and others related to vector editor.
     
     
    For discussion welcome to Vector Themes thread
×