Jump to content
Slice

Clover Themes

1,575 posts in this topic

Recommended Posts

Update.

 
I installed r1104 from one of the old installers I had here and the icon animation works.
Looking at rEFIt_UEFI/refit/main.c from r1104 I see in function AddLoaderEntry()

 // create the submenu
  SubScreen = AllocateZeroPool(sizeof(REFIT_MENU_SCREEN));
  SubScreen->Title = PoolPrint(L"Boot Options for %s on %s", (LoaderTitle != NULL) ? LoaderTitle : FileName, Entry->VolName);
  SubScreen->TitleImage = Entry->me.Image;
  SubScreen->ID = OSType + 20;
//  DBG("get anime for os=%d\n", SubScreen->ID);
  SubScreen->AnimeRun = GetAnime(SubScreen);
  VolumeSize = RShiftU64(MultU64x32(Volume->BlockIO->Media->LastBlock, Volume->BlockIO->Media->BlockSize), 20);
  AddMenuInfoLine(SubScreen, PoolPrint(L"Volume size: %dMb", VolumeSize));
This is where the icon animation was initiated.
 
However, Clover r3248 today looks very different when compared to r1104 so at this point I don’t know how much work is needed to re-enable device icon animations. I’ll look more in to it when I get time.
 
EDIT:
Looking at the latest Clover code I see we do actually have the code above in loader.c
 // create the submenu
  SubScreen = AllocateZeroPool(sizeof(REFIT_MENU_SCREEN));
  SubScreen->Title = PoolPrint(L"Boot Options for %s on %s", Entry->me.Title, Entry->VolName);
  SubScreen->TitleImage = Entry->me.Image;
  SubScreen->ID = Entry->LoaderType + 20;
  //  DBG("get anime for os=%d\n", SubScreen->ID);
  SubScreen->AnimeRun = GetAnime(SubScreen);
  VolumeSize = RShiftU64(MultU64x32(Volume->BlockIO->Media->LastBlock, Volume->BlockIO->Media->BlockSize), 20);
  AddMenuInfoLine(SubScreen, PoolPrint(L"Volume size: %dMb", VolumeSize));

So that's good!

Share this post


Link to post
Share on other sites
Advertisement

 

Update.

 
I installed r1104 from one of the old installers I had here and the icon animation works.
Looking at rEFIt_UEFI/refit/main.c from r1104 I see in function AddLoaderEntry()
 // create the submenu
  SubScreen = AllocateZeroPool(sizeof(REFIT_MENU_SCREEN));
  SubScreen->Title = PoolPrint(L"Boot Options for %s on %s", (LoaderTitle != NULL) ? LoaderTitle : FileName, Entry->VolName);
  SubScreen->TitleImage = Entry->me.Image;
  SubScreen->ID = OSType + 20;
//  DBG("get anime for os=%d\n", SubScreen->ID);
  SubScreen->AnimeRun = GetAnime(SubScreen);
  VolumeSize = RShiftU64(MultU64x32(Volume->BlockIO->Media->LastBlock, Volume->BlockIO->Media->BlockSize), 20);
  AddMenuInfoLine(SubScreen, PoolPrint(L"Volume size: %dMb", VolumeSize));
This is where the icon animation was initiated.
 
However, Clover r3248 today looks very different when compared to r1104 so at this point I don’t know how much work is needed to re-enable device icon animations. I’ll look more in to it when I get time.

 

Although I don't know much about the codes you wrote above, I think it's really fantastic work.Just take your time.I can not wait to see clover r3xxx can enable device icon animations real soon. :rolleyes:

Share this post


Link to post
Share on other sites

Animation update:

Current clover does still animate device icons! But it’s limited to device ID's 21,30 and 31 for now (for OS X volumes).
 
The os types are commented out as they're not used.
 
Entry->LoaderType always equals 1 for OS X volumes or 10 for OS X recovery volumes
so the only animation ID's that will work are ID 21, 30 and 31.
 
I’ve played with the code for a couple of hours but I don’t have enough knowlegde to get it working for all OS types. This might need apianti’s help.
 
For now, to see at least one animation working you can do this.
- Give your animation in the theme.plist an ID of 21

<key>Anime</key>
<array>
    <dict>
        <key>ID</key>
        <integer>21</integer>
        <key>Path</key>
        <string>DIR NAME</string>
        <key>Frames</key>
        <integer>nn</integer>
        <key>FrameTime</key>
        <integer>nn</integer>
    </dict>
</array>
- Boot in to Clover GUI
- Select an OS X volume and press spacebar
 
You should see your animation playing in position of the normal icon, beside the menu text.
 
It's not much, but it's something for now..
Edited by blackosx

Share this post


Link to post
Share on other sites

 

Animation update:

Current clover does still animate device icons! But it’s limited to device ID's 21 and 30 for now.
 
The os types are commented out as they're not used.
 
Entry->LoaderType always equals 1 for OS X volumes or 10 for OS X recovery volumes
so the only animation ID's that will work are ID 21 and 30.
 
I’ve played with the code for a couple of hours but I don’t have enough knowlegde to get it working for all OS types. This might need apianti’s help.
 
For now, to see at least one animation working you can do this.
- Give your animation in the theme.plist an ID of 21

<key>Anime</key>
<array>
    <dict>
        <key>ID</key>
        <integer>21</integer>
        <key>Path</key>
        <string>DIR NAME</string>
        <key>Frames</key>
        <integer>nn</integer>
        <key>FrameTime</key>
        <integer>nn</integer>
    </dict>
</array>
- Boot in to Clover GUI
- Select an OS X volume and press spacebar
 
You should see your animation playing in position of the normal icon, beside the menu text.
 
It's not much, but it's something for now..

 

Thanks for doing that. :) I will try id 21

Share this post


Link to post
Share on other sites

Cool. At least you will be able to see each animation for now using the above method for testing purposes.

I am working on a hack to get more OS X versions recognised but it will take me a while before I have something to show.

Share this post


Link to post
Share on other sites
Two questions: I recently made a dual boot laptop with windows 10 and yosemite 10.10.5 but I noticed some things to fix with clover theme. Yosemite partition uses Apple logo instead of Yosemite icon meanwhile Windows partition uses Windows 8 logo. So what's wrong with OS X icons and do someone has Windows 10 icons to add to my folder? Thanks!

 

I attached my theme folder.

Yosemite.zip

Share this post


Link to post
Share on other sites

I've just tested this theme and it shows my OS X Yosemite installations with the os.yos.icns file just fine so I'm not sure why it doesn't for you.

I haven't seen any specific Windows 10 icons for Clover themes yet. CosmosCJ is about so maybe he'll create one for this theme soon.

Share this post


Link to post
Share on other sites

Hi blackosx, thanks for your reply! About Yosemite icon I solved this way: mounted efi partition, opened themes folder, renamed os_mac.icns (the one with Apple logo which is loaded in my case) to os_mac_backup.icns, duplicated os.yos.icns and renamed it os_mac.icns. Now at boot Clover shows me the right Yosemite icon, even if clearly doesn't recognize Mac Partition as a specifically Yosemite partition but just as generically OS X partition. About Windows 10, I'll wait for brand new icons! Thanks again.

Share this post


Link to post
Share on other sites

I've just tested this theme and it shows my OS X Yosemite installations with the os.yos.icns file just fine so I'm not sure why it doesn't for you.

I haven't seen any specific Windows 10 icons for Clover themes yet. CosmosCJ is about so maybe he'll create one for this theme soon.

Any luck for animation icons for clover?Maybe it will be a little difficult to make it happen.... :lol:  

Share this post


Link to post
Share on other sites

Hi CosmosCJ

 

No. Sorry. I lost a good couple of days inside the Clover code and could not figure out how to add two animations to the same page. This would be necessary to allow the banner animation and device icon animation on the main page where you see the device icons. I gave up in the end. It was too complicated for me to figure out :(

 

I did manage to get the correct animated device icon to show on the page which is drawn when you press space. And I did manage to get the animated device icon to display instead of the banner animation. But that was all. 

 

The problem requires the attention of a developer with some spare time on their hands.

Share this post


Link to post
Share on other sites

Hi CosmosCJ

 

No. Sorry. I lost a good couple of days inside the Clover code and could not figure out how to add two animations to the same page. This would be necessary to allow the banner animation and device icon animation on the main page where you see the device icons. I gave up in the end. It was too complicated for me to figure out :(

 

I did manage to get the correct animated device icon to show on the page which is drawn when you press space. And I did manage to get the animated device icon to display instead of the banner animation. But that was all. 

 

The problem requires the attention of a developer with some spare time on their hands.

That's OK. Sorry to take up your time to do that.Just keep clover more and more powerful,thanks, buddy. :)

Share this post


Link to post
Share on other sites

Hi CosmosCJ, I'm using your gorgeous theme but there's not Windows 10 icon yet. Can you create one with the style you used here? Thanks!

 

jh89uRV8C9XA8.png

Share this post


Link to post
Share on other sites

@CosmosCJ - I just found a movie I made in 2012 of Clover's GUI when I was messing around with animated volume icons and thought you'd maybe want to see it (even though it no longer works :( )

 
It starts with the default volume animated. I then press the keyboard arrows to change volume as you can see by the text changing, but the volume animation never updated that way, only when mouse clicking another volume. There's also an issue where the logo animation was too close to the frame of the volume animations resulting in them being overlaid and flickering. But still, it shows what used to work...
 

Share this post


Link to post
Share on other sites

Hi,

 

I've modified OSS theme to accommodate hidpi screen. It works great on my 1920x1080 screen. I haven't tested on higher resolution but should be ok. Lower resolution screen still can use OSS v1.x which has smaller icons.

 

Just a quick note, I found icon files (*.icns) should not have colorsync profile, otherwise it won't work with Clover boot loader. So I have to remove the profile via photoshop. However, photoshop does not recognize *.icns file. Then I convert *.icns to png, remove the profile, and change png extension back to icns (yes it works). If there is better solution, please tell me. I spend a lot of time on the profile removal.....=[

 

Download (v2.0): OSS.zip

 

Preview:

post-732552-0-17713400-1443639562_thumb.png

Share this post


Link to post
Share on other sites

lisai9093 I've been using your original OSS theme and really like it, but the font never looked good on my monitor. Your 2nd version the font is great, but the icons are huge!! I'm trying to combine the two and use the font from v2 with v1

-figured it out, it's still not perfect but I think it's an improvement :)

Share this post


Link to post
Share on other sites

lisai9093 I've been using your original OSS theme and really like it, but the font never looked good on my monitor. Your 2nd version the font is great, but the icons are huge!! I'm trying to combine the two and use the font from v2 with v1

-figured it out, it's still not perfect but I think it's an improvement :)

Thanks for your support. The theme is far from perfect. I will make changes once I know how. v1 is for low resolution and v2 for high. So I will update both branches in the future. =]

Share this post


Link to post
Share on other sites

It's great to see another theme use 256px icons. Good job lisai9093 :D

One note: The theme is missing a recovery icon.

 

post-331032-0-37146300-1443689645_thumb.jpg

 

For ref, Clover has used PNG files instead of ICNS files since rev 2231.

Rev 2231: Support using PNG or BMP instead of ICNS

Theme is intended to use ICNS files but there is a sense to switch to PNG only. They are smaller and more easy to be drawn.

This patch permits you to rename os_lion.png to os_lion.icns as well as other files and use in your theme.

The above was from the Clover changelog thread on projectosx which is no longer available. But some archived pages still exist and the thread can be seen in the following link:

http://web.archive.org/web/20141025073848/http://www.projectosx.com/forum/lofiversion/index.php/t2656-100.html

 

If you're interested, I use pngquant to optimise my PNG files

http://www.insanelymac.com/forum/topic/305150-optimise-png-files/

Share this post


Link to post
Share on other sites

It's great to see another theme use 256px icons. Good job lisai9093 :D

One note: The theme is missing a recovery icon.

 

attachicon.gifscreenshot.jpg

 

For ref, Clover has used PNG files instead of ICNS files since rev 2231.

The above was from the Clover changelog thread on projectosx which is no longer available. But some archived pages still exist and the thread can be seen in the following link:

http://web.archive.org/web/20141025073848/http://www.projectosx.com/forum/lofiversion/index.php/t2656-100.html

 

If you're interested, I use pngquant to optimise my PNG files

http://www.insanelymac.com/forum/topic/305150-optimise-png-files/

Thank you! Here is the new version v2.0.1 with changes and fixes.

 

- Arrow under selection box

- Invisible tools menu (but they are still there....I really want to get rid of them completely....)

 

Known problem:

- Icons is not centered. Change "TileXSpace" in theme.plist might help. But it enlarges selection box spacing at the same time. Will try sometime later.

 

Download: OSS.zip

 

Preview:

post-732552-0-14940400-1444030426_thumb.jpg

Share this post


Link to post
Share on other sites

Hi lisai9093

 

Thanks for the update. I'll try to take a look this evening.

 

With regard to the visibility of the tools, I believe this can be a user choice in the theme.plist

http://clover-wiki.zetam.org/Design#Components

<key>Components</key>
<dict>
    <key>Tools</key>
    <true/>
</dict>

Clover could support this theme again in the future? I really like  :)

Not without some devoted time and considerable effort from a dev with nothing else to do.

Share this post


Link to post
Share on other sites

Hi lisai9093

 

Thanks for the update. I'll try to take a look this evening.

 

With regard to the visibility of the tools, I believe this can be a user choice in the theme.plist

http://clover-wiki.zetam.org/Design#Components

<key>Components</key>
<dict>
    <key>Tools</key>
    <true/>
</dict>
Not without some devoted time and considerable effort from a dev with nothing else to do.

 

But that seems disable tools completely...... For example, I cannot use keyboard "O" for option menu.... For general users, tools might be necessary

Share this post


Link to post
Share on other sites

But that seems disable tools completely...... For example, I cannot use keyboard "O" for option menu.... For general users, tools might be necessary

Yeah. You can't call disabled entry....

I may propose to draw an invisible tools icons  :rolleyes:

Share this post


Link to post
Share on other sites

 

@CosmosCJ - I just found a movie I made in 2012 of Clover's GUI when I was messing around with animated volume icons and thought you'd maybe want to see it (even though it no longer works :( )

 
It starts with the default volume animated. I then press the keyboard arrows to change volume as you can see by the text changing, but the volume animation never updated that way, only when mouse clicking another volume. There's also an issue where the logo animation was too close to the frame of the volume animations resulting in them being overlaid and flickering. But still, it shows what used to work...
 

 

That's so awesome. The effect is so cool.

Hey,finally I make the el capitan clover theme with the progressing bar animation.Hope you guys love it.

309iuis.jpg

 

 

El Capitan.zip

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.

  • Similar Content

    • By End3rPower50
      Hi, I want to install MacOS Catalina on my laptop.
      I was installed MacOS Mojave previously but i had a lot of problem, for example my wifi's card (Dell DW1820A) had a problem: My pc sometimes doesn't boot up or pc after some minutes crashed or slowed. 
      Now i want to try again to install macOS.
       
      this is my spec: 
      HP 15-AY034NL 
      CPU: i7 6500U  with HD520
      SSD: 500GB SSD Samsung
      Wifi & Bluetooth: Dell DW1820A (Bluetooth: BCM2045A0) (Wifi: BCM94350ZAE)
      USB 3.0 
      Ethernet: Realtek 8100
       
      Attached in this thread, my old clover configuration created by me (CLOVER OLD) and clover with Wifi driver (CLOVER) created by Hervè (I had asked help at insanelymac's community)
       
      P.S SORRY FOR MY BAD ENGLISH.
      Thanks in advance 
      -ANTONIO
      CLOVER OLD.zip
      CLOVER.zip
    • By ErmaC
      Slice is glad to present a new EFI bootloader.

      CLOVER
      Now version 2 rEFIt based.


      It is open source based on different projects: Chameleon, rEFIt, XNU, VirtualBox. The main is EDK2 latest revision.
      I also want to thank all who help Slice with the development. Credits and copyrights remain in the sources.
      https://sourceforge.net/projects/cloverefiboot/?source=directory
      There is a WIKI 
      http://clover-wiki.zetam.org/
      Main features:


      If you have a question please provide outputs from DarwinDumper (formed from Trauma tool). Thanks Trauma!
      Continued by blackosx and STLVNUB.
      Post#2 CloverGrower - create Clover by yourself Post#3 Downloads Post#4 Installation of the bootloader Post#5 How to do UEFI boot Post#6 How to use - common words Post#7 Calculator for Automatic DSDT fix Post#8 Instructions for GraphicsInjector Post#9 ATIConnector patching Post#10 Any kexts patching with some Samples Post#11 CustomEDID Post#12 Hiding unnecessary menu entries Post#13 Instruction for DSDT corrections to do DeviceInjection works Post#14 Development Post#15 Themes Post#16 About kexts injection Post#17 Instructions for P- and C-states generator Post#18 Patching DSDT to get Sleep working Post#19 CPU settings and geekbench Post#20 ACPI tables loading Post#21 DSDTmini Post#22 Custom SMBios Post#23 F.A.Q. Post#24 iCloudFix Post#25 Using mouse. Post#26 How to make orange icons to be metallic Post#27 How to make software RAID (by Magnifico) Post#28 How to modify InstallESD.dmg (by shiecldk) Post#29 Config.plist settings Post#30 Using extra kexts and skipping kernelcache Post#31 Choosing EFI drivers Post#32 Configuration files Post#33 Automatic config.plist creating Post#34 Custom DSDT patches Post#35 How to do sleep/wake working with UEFI BOOT Post#36 DeviceID substitution (FakeID) Post#37 Using Custom OS Icons Post#38 Hibernation Post#39 Floating regions Post#41 Property List Editor Post#42 Blocking Bad Kext Post#43 AAPL,slot-name Post#44 FakeCPUID for unsupported CPU Post#45 Multiple Boot Options - to write into UEFI BIOS boot menu Post#46 How to install Windows UEFI Post#47 How to speedup Clover boot Post#48 Info.plist patching Post#49 Arbitrary device injection Post#50 Non-Standard Legacy Boot Files Post#51 Reboot to Windows UEFI from Mac OSX Post#52 Deprecated Features Post#53 Using UDK2018 Post#54 Device Properties Post#55 Scalable themes Post#56 How to search Clover mistakes (bisection) -----------------
       
      Slice:
      I edited all posts in the thread to correspond to actual Clover revision.
      Please install Clover at least 2652 and use new instructions.
×