Jump to content

Customized OpenCore with additional features


n.d.k
1,348 posts in this topic

Recommended Posts

39 minutes ago, STLVNUB said:

Slight bug with other version of script, didn't test on clean build (no edk2) my bad...

Use this one

ocb.sh.zip

 

What is ocb in /usr/local/bin/ocb? I don't understand, no ocb in this directory, here. Please tell me.

Link to comment
Share on other sites

2 hours ago, n.d.k said:

I think I'll settle for this as next default theme.

 

ScreenShot-2020-03-05-055704.thumb.png.37668a34389664c8b250b2177dde3a9e.png

ScreenShot-2020-03-05-055716.thumb.png.6da06246a051a9b6d1ffd07c41700bf2.png

 

Hi @n.d.k this looks awesome and I am looking forward to testing it on my 4K setup.

 

One question as I am not very familiar with C. Is there any possibility to extend the OC_BOOT_ENTRY_TYPE enum and override BootEntryManagement.c -> OcDescribeBootEntry in order to add another boot entry type for Time Machine ? It would be cool to not be returned as OcBootUnknown thus being able to have a custom icon for it too.

Link to comment
Share on other sites

1 hour ago, WizeMan said:

 

Hi @n.d.k this looks awesome and I am looking forward to testing it on my 4K setup.

 

One question as I am not very familiar with C. Is there any possibility to extend the OC_BOOT_ENTRY_TYPE enum and override BootEntryManagement.c -> OcDescribeBootEntry in order to add another boot entry type for Time Machine ? It would be cool to not be returned as OcBootUnknown thus being able to have a custom icon for it too.

There's a simple remedy for this. Create a custom entry for your time machine backup (you'll need the path ) and add the name "clone" to the name field ( ex below ). You''be able to use the Icon "Clone"  for your time machine needs. 
I'm using the same principle for my USB backup drive ( with Carbon Copy Cloner ).

374204915_ScreenShot2020-03-05at01_13_04.png.4bd836414ef630b1c05e9948563866f3.pngScreenShot-2020-03-05-090832.thumb.png.a0942a286ee8924f0e8a9b78cb49a3fb.png

@n.d.k Love the new selector.  Will soon recreate my icons with 256px. 

Edited by Ellybz
  • Like 2
Link to comment
Share on other sites

Here's the final default look, and new commits already on both versions Fork and Driver.

There are 4 new png files background.png, background4k.png, selector.png and selector4k.png.

Icons size can be 128px/256px

Selector size can be 144/288px

 

I don't have 256px for the default theme, so they are still 128px scaling up 200% for 4k screen.

 

ScreenShot-2020-03-05-074321.thumb.png.21c0fd3be9c46a487c536399dfe8f506.pngScreenShot-2020-03-05-074334.thumb.png.cb5cc075e46f39600a4074650f6697ed.png

  • Like 4
  • Thanks 1
Link to comment
Share on other sites

13 minutes ago, n.d.k said:

Here's the final default look, and new commits already on both versions Fork and Driver.

There are 4 new png files background.png, background4k.png, selector.png and selector4k.png.

Icons size can be 128px/256px

Selector size can be 144/288px

 

I don't have 256px for the default theme, so they are still 128px scaling up 200% for 4k screen.

 

ScreenShot-2020-03-05-074321.thumb.png.21c0fd3be9c46a487c536399dfe8f506.pngScreenShot-2020-03-05-074334.thumb.png.cb5cc075e46f39600a4074650f6697ed.png

The icon "from big to small" is always better than "from small to big", so my approach is to unify the default icon to 256 and scale  the different resolutions to 128:)

  • Like 1
Link to comment
Share on other sites

9 minutes ago, btwise said:

The icon "from big to small" is always better than "from small to big", so my approach is to unify the default icon to 256 and scale  the different resolutions to 128:)

 

Right. But on Clover, the default themes are 128. According to my point of view, it's because not everyone has a 4k screen at the moment. :)

 

 

Link to comment
Share on other sites

8 minutes ago, Matgen84 said:

@n.d.k

 

Is no_selector.png still valid after the last commit! Is font_color.png is mandatory, when I've already  a white font file.

 

 

Sorry for my bad english.

 

Yes and No...didn't change anything to font, and font_color.png is optional.

Edited by n.d.k
  • Like 2
Link to comment
Share on other sites

14 minutes ago, Matgen84 said:

 

Right. But on Clover, the default themes are 128. According to my point of view, it's because not everyone has a 4k screen at the moment. :)

 

 

As long as enough resolutions are added, each resolution can be accommodated, from the irregular 3440x1440 to the minimal 1024x768

2 minutes ago, btwise said:

As long as enough resolutions are added, each resolution can be accommodated, from the irregular 3440x1440 to the minimal 1024x768

Since my resolution was 2556x1440, but I didn't want to use the 1080 rule, I had to modify the code myself and add other resolutions to use a different scale

  • Like 1
Link to comment
Share on other sites

1 minute ago, btwise said:

As long as enough resolutions are added, each resolution can be accommodated, from the irregular 3440x1440 to the minimal 1024x768

 

I talk about icons size, not screen resolution. Sorry but my knowledge is limited.

Link to comment
Share on other sites

3 minutes ago, btwise said:

As long as enough resolutions are added, each resolution can be accommodated, from the irregular 3440x1440 to the minimal 1024x768

 

It's best to use the right image size to avoid scaling.  Images doesn't look the same after scaling and pixelated happens when upscaling, most noticeable are the rounded edges. 

  • Like 1
Link to comment
Share on other sites

10 minutes ago, n.d.k said:

 

Yes and Yes...didn't change anything to font.

 

I've got  a lot of theme for which the fonts are already white. That's why I asked the question of font_color.png (actually white).

Link to comment
Share on other sites

2 minutes ago, n.d.k said:

 

It's best to use the right image size to avoid scaling.  Images doesn't look the same after scaling and pixelated happens when upscaling, most noticeable are the rounded edges. 

Right!

  • Like 1
Link to comment
Share on other sites

 

6 hours ago, Matgen84 said:
  What is ocb in /usr/local/bin/ocb? I don't understand, no ocb in this directory, here. Please tell me.

 

ocb.sh should be placed in OpenCore folder

Running ocb.sh will create a link to ocb.sh

All you need do then is type ocb in terminal to build

 

 

Sent from my iPhone using Tapatalk

Edited by STLVNUB
  • Like 1
Link to comment
Share on other sites

On 3/4/2020 at 1:19 AM, MacNB said:

You mean something like this :?

 

Apple_EFI_Boot.thumb.jpg.e829ec904c5059b5e951843ff1863c30.jpg

Yes @MacNB, just right!! 

 

How did you manage to do this? Is OcSimpleBootMenu.c still available in the official repo or otherwise? Or could you please share your build complete with Mouse pointer support and Icons set?

Edited by aylamrin
  • Like 1
  • Thanks 1
  • Sad 1
Link to comment
Share on other sites

44 minutes ago, aylamrin said:

Yes @MacNB, just right!! 

 

How did you manage to do this? Is OcSimpleBootMenu.c still available in the official repo or otherwise? Or could you please share your build complete with Mouse pointer support and Icons set?

This is just an example, not yet available

  • Like 1
Link to comment
Share on other sites

4 hours ago, btwise said:

Selector around the image can be translucent or not transparent, and the background to form a contrast effect!

Now it's completely transparent!

ScreenShot-2020-03-05-102148.thumb.png.40c933152c32aa7fc3c6a72ca638e217.png

 

Just remember we were playing with text based picker couple months ago, things will get better and who know what future hold, maybe there will be a sexy girl popping up and say "Hello Mr. btwise! what is it that you desire..? where are you gonna c.lick me today?..." :)

  • Haha 2
Link to comment
Share on other sites

2 hours ago, aylamrin said:

Yes @MacNB, just right!! 

 

How did you manage to do this? Is OcSimpleBootMenu.c still available in the official repo or otherwise? Or could you please share your build complete with Mouse pointer support and Icons set?

It's a screenshot of the Apple boot picker - NOT NdkBootPicker - sorry. 

Link to comment
Share on other sites

7 hours ago, WizeMan said:

 

Hi @n.d.k this looks awesome and I am looking forward to testing it on my 4K setup.

 

One question as I am not very familiar with C. Is there any possibility to extend the OC_BOOT_ENTRY_TYPE enum and override BootEntryManagement.c -> OcDescribeBootEntry in order to add another boot entry type for Time Machine ? It would be cool to not be returned as OcBootUnknown thus being able to have a custom icon for it too.

Or just support Apple's .VolumeIcon.icns that can be set from Finder and is individual per volume instead of having a hardcoded mess like some of the older projects

Link to comment
Share on other sites

×
×
  • Create New...