Jump to content
About Just Joined group Read more... ×

455 posts in this topic

Recommended Posts

Since rev 4844 Vector Themes are supported and there are ready-to-use Clovy by Clovy, cesium by Slice and BGM_SVG by Blackosx.

You may see it's structure to create own theme

-------------------------------------------------------------------------------------------------------------------------------------------------------

 

 

Now I want to add vector graphics support in Clover. See rev 4560 and later.

It is not working yet but designers may begin to create Vector Themes.

It supposed to consist of SVG elements and has design size. It will be rendered to any screen size scaled from design size.

 

What application in macOS can create SVG graphics?

Inkscape is not working in macOS 10.11+. Pity.

LibreOffice Draw works with SVG but buggy.

Boxy SVG cost 10$ but looks good enough. It creates the best in simplicity files and have more then enough features.

Illustrator is good but expensive.

 

How to improve SVG file?

Clover has restricted support for SVG. It is your job to make compatible file and as small as possible to speedup rendering.

Some helps:

Help:Inkscape – From invalid to valid SVG Inkscape files

From invalid to valid SVG Adobe Illustrator files

From invalid to valid SVG files of other editors: BKchem, ChemDraw and CorelDRAW

Help:Illustrator – Assistance with creating and saving SVG images in Adobe Illustrator that will pass W3C validation

User:Quibik/Cleaning up SVG files manually

Later I will write own instructions specific to Clover abilities.

 

How to create SVG fonts?

You can google to find ready-to-use SVG fonts.  I found some problems with too beaty fonts: slow rendering and overflow crash. Be careful.

You can get ttf or otf fonts and convert them into svg by using online WEB services. Not a problem to google.

But then I want to find a way to simplify the font to reduce a size and speedup rendering.

You can create own font by FontForge It is opensource and available for Windows, Mac and GNU+Linux. It creates otf font which you can convert to svg font.

 

Pictures from Badruzeus

https://www.insanelymac.com/forum/applications/core/interface/file/attachment.php?id=301597

Share this post


Link to post
Share on other sites
Advertisement
3 hours ago, Badruzeus said:

Does Vesa mode use Graphics Acceleration?

It is not question for hardware. It is a question for drivers.

We want to have procedures to render vector graphics. SVG will be better. Minimum sources preferable.

Share this post


Link to post
Share on other sites
3 hours ago, Badruzeus said:

@Slice

My question with SVG introduction on r4560 commit is; what will happen to v2.0 themes (bitmap), will we still use them? Thanks.

 

For backward compatibility they will be supported.

Some graphics can't be converted to SVG. So new vector themes will be other themes.

 

Share this post


Link to post
Share on other sites
6 minutes ago, Slice said:

 

For backward compatibility they will be supported.

Some graphics can't be converted to SVG. So new vector themes will be other themes.

 

OK, thanks. So I think we're going to have a new thread for discussing Clover v3 theme..

Share this post


Link to post
Share on other sites
9 hours ago, Slice said:

There  is the first success

https://www.applelife.ru/threads/clover.42089/page-819#post-744212

Sorry, I still can't upload pictures here.

Though I think speak too early, but can you give us Vector theme's rsc name? Are they still same as prev. bitmap has: os_mac, os_linux, os_win.. etc? Thanks.

Share this post


Link to post
Share on other sites

With revision 4586 you can test how Clover can render different SVG files.

Current restrictions:

1. No text. You have to convert text to curves.

2. No embedded png. I can make this when I have a time. There is initial support that requires to define a procedure to treat the data. We have it! b64cdecode and png_decode. Just make a link to use. But PNG is not scalable so I will not recommend to use this feature even if it will work.

3. No gradients. It should be but currently is not working. Will be repaired asap.

4. Crash at too long path.

Is there anybody can propose how to reduce too complex SVG? If a svg file contains PATH with 500 points which is not practical for our purpose then I want to reduce it to 100 points with a little losing quality. How to do this? The bad file attached.

 

How to test SVG rendering

It is better to use QEMU to not reboot your computer. If you have QEMU.

Place Sample.svg into root or EFI partition with Clover. The name exactly this. Rename a file when needed.

Boot into Clover GUI. Press F8, look, press ESC.

Enter Shell:

$ fs0:

$ ls

$ mv Sample.svg A1.svg

$ mv A2.svg Sample.svg

$ exit

Press F8 and look A2 image....

clover.svg.zip

Share this post


Link to post
Share on other sites
1 minute ago, blackosx said:

Good work Slice!

 

I'll try to test this weekend.

 

I think this clover.svg.zip produces too complex paths bcoz was vectorized from bitmap with gradients.

Where we could get original vector of this Clover logo? Thanks.

Share this post


Link to post
Share on other sites
1 hour ago, Badruzeus said:

I think this clover.svg.zip produces too complex paths bcoz was vectorized from bitmap with gradients.

Where we could get original vector of this Clover logo? Thanks.

I took it from google "clover svg image".

Share this post


Link to post
Share on other sites
1 hour ago, Badruzeus said:

I think this clover.svg.zip produces too complex paths bcoz was vectorized from bitmap with gradients.

Where we could get original vector of this Clover logo? Thanks.

What software do you recommend to do SVG Themes and text? Please

Share this post


Link to post
Share on other sites
46 minutes ago, Matgen84 said:

What software do you recommend to do SVG Themes and text? Please

Inkscape is enough, or illustrator, coreldraw under windows. Use the easiest for you..

Share this post


Link to post
Share on other sites
1 hour ago, Badruzeus said:

Inkscape is enough, or illustrator, coreldraw under windows. Use the easiest for you..

Thanks a lot :)

Share this post


Link to post
Share on other sites

@Slice Cool..!!! But on my case, I lost svg image colors.. it becomes Black/White here. Using Sample.svg with no gradient for sure.. (Legacy Clover, current EFI, no-QEMU.. not sure bzoz of Legacy though). :thumbsup_anim:

screenshot0.png

Sample.svg

Edited by Badruzeus

Share this post


Link to post
Share on other sites

This is cool but I planned on having SVG only themes in v3 since an SVG document can basically create the entire theme itself, can use percentages and aspect ratio of the screen as measurements instead of pixels to ensure the theme looks the same no matter the resolution. It can contain other SVGs, paths, texts, animations, color gradients, mouse move/click events, action events, etc. Plus it allows javascript...

Share this post


Link to post
Share on other sites
On 6/29/2018 at 5:09 PM, Matgen84 said:

What software do you recommend to do SVG Themes and text? Please

 

On 6/29/2018 at 5:58 PM, Badruzeus said:

Inkscape is enough, or illustrator, coreldraw under windows. Use the easiest for you..

Inkscape is not working in macOS 10.11+. Pity.

LibreOffice Draw works with SVG but buggy.

Boxy SVG cost 10$ but looks good enough.

Illustrator is good but expensive.

2 hours ago, apianti said:

This is cool but I planned on having SVG only themes in v3 since an SVG document can basically create the entire theme itself, can use percentages and aspect ratio of the screen as measurements instead of pixels to ensure the theme looks the same no matter the resolution. It can contain other SVGs, paths, texts, animations, color gradients, mouse move/click events, action events, etc. Plus it allows javascript...

It is in future. I want to go step by step.

Share this post


Link to post
Share on other sites

  • Recently Browsing   0 members

    No registered users viewing this page.

Announcements

  • Similar Content

    • By BALDY_MAN
      Hi All.
      Im Happy to share my new EFI file that I put together  18/10/2020. which got me up and running 11.0  Beta(20A5395g) on my hack
      a thanks you to everyone who's work I have use to assemble this EFI File. and the help I have received from this site
      I have used openCore 0.6.3, sound work for me (HDMI) and onboard Ethernet. map the usb ports as you wish.
      the definition to iMac20,2
      hope it helps all who need it
      PS. Please leave a comment if the EFI File is helpful to you
      (No Kexts were Harmed in the making of this EFI)
                                                                                                                     regards
                                                                                                                                         Baldy_man
      GigabyteZ40Master.EFI.(20A539g) .zip
    • By qmgoqwe
      I have installed MacOS and Windows on the following hardware:
       
      AMD Ryzen 7 3700X MSI B450M Mortar Max Sapphire Radeon Pulse RX 5600 XT 6G Samsung 860 QVO, 1 TB SSD (PciRoot(0x0)/Pci(0x1,0x3)/Pci(0x0,0x1)/Sata(0x5,0xFFFF,0x0)) - MacOS on this disk Kingston A2000 SSD 1TB M.2 2280 NVMe (PciRoot(0x0)/Pci(0x1,0x1)/Pci(0x0,0x0)/NVMe(0x1,15-AD-CD-26-28-B7-26-00)) - Windows on this disk  
      OpenCore 0.6.1 MacOS 10.15.7 both disks GPT UEFI  
      Both OSs boot nicely and work as a charm when selecting either of the disks as boot disks in the BIOS.
       
      However, trying to boot Windows 10 from the Opencore Bootmanager (no matter whether PickerMode=internal or OpenCanopy) causes a Windows Blue Screen ("SYSTEM THREAD EXCEPTION NOT HANDLED").
      To be on the safe side, I have added an appropriate entry to Misc->Entries:
      <key>Arguments</key> <string></string> <key>Auxiliary</key> <false/> <key>Comment</key> <string>Not signed for security reasons</string> <key>Enabled</key> <true/> <key>Name</key> <string>Windows 10</string> <key>Path</key> <string>PciRoot(0x0)/Pci(0x1,0x1)/Pci(0x0,0x0)/NVMe(0x1,15-AD-CD-26-28-B7-26-00)/HD(1,GPT,2E9695CB-0F9A-4005-AADB-2FF9C96AD02C,0x800,0x32000)/\EFI\Microsoft\Boot\bootmgfw.efi</string> It points to the Windows 10 bootmanager on the Windows disk's EFI partition.
       
      What's wrong with that? Why does this cause a BSOD? It is not clear to me why it works when booting from BIOS but not here.
       
      config.plist attached (but maybe it has no relevance for the problem).
      config.plist
    • By le332313
      Can someone share the dell 5593/5493 EFI ? I try to fit the graphics driver, but it not working please help me thanks
       
    • By MaLd0n
      -OpenCore Vanilla TUTORIAL-
       
       
      -USB Port Mapping TUTORIAL-
       
        1 -Create a USB bootable
       
      Create your usb installer, use this tool and download Catalina or Big Sur from Apple servers
       
      Catalina
      installScript_allfullapp.zip
       
      Big Sur
      installScript_1016fullapp.zip
       
      Credits: crazybirdy
       
      Copy Catalina / Big Sur installer to Applications folder, open terminal and run
       
      Catalina
       
       
      Big Sur
       
       
      If you want check one step by step, check here
       
      -Opencore Vanilla Tutorial
      https://tinyurl.com/ycvcnp8h
       
      2- EFI folder USB installation
       
      -EFI OpenCore Folder Desktop 10th Intel Processors
      Paste this EFI folder in EFI partition in your USB STICK
      https://tinyurl.com/ybwr9kq3
       
      -EFI Clover Folder Desktop 10th Intel Processors
      Paste this EFI folder in EFI partition in your USB STICK
      https://tinyurl.com/yxsw7d3t
       
      3- EFI folder SSD
       
      -EFI OpenCore Folder Desktop 10th Intel Processors
      Paste this EFI folder in EFI partition SSD 
      https://tinyurl.com/ybwr9kq3
       
      -EFI Clover Folder Desktop 10th Intel Processors
      Paste this EFI folder in EFI partition SSD
      https://tinyurl.com/yxsw7d3t
       
      4- Start Fine Tune
       
      Run this app and post full dump here for full ACPI solution
       
      RunMe.app
      https://tinyurl.com/y9562hz7
       
       
      If you like a SSDT way, here we go
      SSDT-OLARILA.aml.zip
       
      5- USB Solution
       
      Use these kexts, enable XHCI port limit patch
       
      USB INTEL SERIE 400.zip
       
      and follow this tutorial for remap USB ports
       
       
      --DSDT PATCHES--
       
      -FIX ERRORS AND WARNINGS -FIX ACPI ERRORS -REMOVE UNUSED SCOPES / DEVICES -HIGH PRECISION EVENT TIMER -SATA SERIE ID -DMAC -REMOVE LINES, PROBLEMATIC and UNUSED -FIX K.P in REBOOT -NVRAM -REAL TIME CLOCK -SLPB -DARWIN / WINDOWS -XHCI -PLUGIN TYPE -HDEF -ARTC -IPIC -TIMR -SBUS -BUS1 -MCHC -ALS0 -SHUTDOWN -UAR1 -LAN -FWHD -USBX -PMCR -PPMC -XSPI -kUSBCompanionIndex -io-device-location -IMEI -EC -PNLF -ARPT -GFX0 -NVME -ACPI-WAKE-GPE -DTGP -HDMI / HDAU  
      --SCREENSHOTS--































      -If you want to buy me a beer - Donations with PayPal
      https://tinyurl.com/r2bvzm7
       
      Big Thanks to XLR and your Badass Motherboard, Ultrafast CPU, Coolest Heatsink, Huge Graphics Card, Tonnes of RAM,
      Gigantic Hard Drive, Lightspeed Disk Burner, Professional Sound Card, Massive LCD Display.
       
       
      -Credits and thanks to the old and new people in the community who developed patches, kexts and bootloaders!
      Slice, Kabyl, usr-sse2, jadran, Blackosx, dmazar, STLVNUB, pcj, apianti, JrCs, pene, FrodoKenny, skoczy, ycr.ru, Oscar09, xsmile, SoThOr, RehabMan, Download-Fritz, Zenit432, cecekpawon, Intel, Apple, Oracle, Chameleon Team, crazybirdy, Mieze, Mirone, Oldnapalm, netkas, Elconiglio, artut-pt, ErmaC, Pavo, Toleda, Master Chief and family, bcc9, The King, PMheart, Sherlocks, Micky1979, vit9696, vandroiy2013, Voodoo Team, Pike R. Alpha, lvs1974, Austere.J, CVad and many, many, many others!

      We're all here to have fun and learn from each other!
    • By Nomade
      Hello All,
       
      It's been a while that I am trying to update my system to 10.15.16.
      The install seem to start, then at reboot time I only see the Normal boot and the Recovery option from the Clover boot menu.
      None of those 2 allow to complete the update.
       
      Is there any ways to force it to install and/or show the "Update" option on the Clover boot screen?
       
      PS: I'm using Z97-Gaming-3
×