btwise Posted February 14, 2020 Share Posted February 14, 2020 16 minutes ago, Matgen84 said: Thanks again for your EFI folder Can you share your OcSettingsMenu file? I don't know how to modify the background color: I prefer your Gray Background. Please. Should I submit the compiled file or do I submit the source code to you? 1 Link to comment Share on other sites More sharing options...
cpla Posted February 14, 2020 Share Posted February 14, 2020 I think source would be easier for future updates if you don't mind. Pretty happy with it as it is now but always good to try new things. Cheers! 1 Link to comment Share on other sites More sharing options...
btwise Posted February 14, 2020 Share Posted February 14, 2020 13 minutes ago, eng_redaesm said: Can you please share the way to change the background color Are you asking how to modify the source code? Link to comment Share on other sites More sharing options...
Ellybz Posted February 14, 2020 Share Posted February 14, 2020 (edited) 1 hour ago, btwise said: No deviation!Just modify the background color value in the source code, put it in your icon file, and then recompile! Changing background to any color is easy. The tricky part is to have the black color outside the icon match the color of the background. the RGB Values are not identical. Edited February 14, 2020 by Ellybz Link to comment Share on other sites More sharing options...
Matgen84 Posted February 14, 2020 Share Posted February 14, 2020 8 minutes ago, btwise said: Should I submit the compiled file or do I submit the source code to you? Can you submit both files: compiled and source code! Please. I've got some issue to be solved for compiling, this morning. Link to comment Share on other sites More sharing options...
Ellybz Posted February 14, 2020 Share Posted February 14, 2020 (edited) Let's say you want to add a Color purple to the background :RGB : 129, 66, 245 Add this line to the OcSimpleBootMenu : EFI_GRAPHICS_OUTPUT_BLT_PIXEL mPurple = {0x245, 0x66, 0x129, 0xff}; where 245 is B; 66 IS G; 129 IS R : EFI_GRAPHICS_OUTPUT_BLT_PIXEL mBlackPixel = {0x00, 0x00, 0x00, 0xff}; EFI_GRAPHICS_OUTPUT_BLT_PIXEL mDarkGray = {0x76, 0x81, 0x85, 0xff}; EFI_GRAPHICS_OUTPUT_BLT_PIXEL mLowWhitePixel = {0xb8, 0xbd, 0xbf, 0xff}; EFI_GRAPHICS_OUTPUT_BLT_PIXEL mPurple = {0x245, 0x66, 0x129, 0xff}; --------------- And replace with the Color with mPurple int his section: // Background color EFI_GRAPHICS_OUTPUT_BLT_PIXEL *mBackgroundPixel = &mPurple; Save & Recompile. Done. Edited February 14, 2020 by Ellybz Link to comment Share on other sites More sharing options...
ameenjuz Posted February 14, 2020 Share Posted February 14, 2020 When i play video 1920x1080 60fps with quicktime player the screen flickering black When i play video 1920x1080 30fps or 25fps video worked fine no flickering What is this issue anyone can tell me about this issue i think this issue is related shiki or quicktime player I m running kabylake i5 IntelHDGraphic 620 ram 4gb Link to comment Share on other sites More sharing options...
btwise Posted February 14, 2020 Share Posted February 14, 2020 1 hour ago, Matgen84 said: Thanks again for your EFI folder Can you share your OcSettingsMenu file? I don't know how to modify the background color: I prefer your Gray Background. Please. This is the real effect after compilation, as long as the icon background color and the overall background color are the same, the effect will be good! OcSimpleBootMenu.c OpenCore-0.5.6-RELEASE.zip 58 minutes ago, Matgen84 said: Can you submit both files: compiled and source code! Please. I've got some issue to be solved for compiling, this morning. This is my own gray-style menu source code and compiled complete file! OpenCore-0.5.6-RELEASE.zip OcSimpleBootMenu.c 1 2 Link to comment Share on other sites More sharing options...
btwise Posted February 14, 2020 Share Posted February 14, 2020 1 hour ago, Ellybz said: Let's say you want to add a Color purple to the background :RGB : 129, 66, 245 Add this line to the OcSimpleBootMenu : EFI_GRAPHICS_OUTPUT_BLT_PIXEL mPurple = {0x245, 0x66, 0x129, 0xff}; where 245 is B; 66 IS G; 129 IS R : EFI_GRAPHICS_OUTPUT_BLT_PIXEL mBlackPixel = {0x00, 0x00, 0x00, 0xff}; EFI_GRAPHICS_OUTPUT_BLT_PIXEL mDarkGray = {0x76, 0x81, 0x85, 0xff}; EFI_GRAPHICS_OUTPUT_BLT_PIXEL mLowWhitePixel = {0xb8, 0xbd, 0xbf, 0xff}; EFI_GRAPHICS_OUTPUT_BLT_PIXEL mPurple = {0x245, 0x66, 0x129, 0xff}; --------------- And replace with the Color with mPurple int his section: // Background color EFI_GRAPHICS_OUTPUT_BLT_PIXEL *mBackgroundPixel = &mPurple; Save & Recompile. Done. Okay,it is righit! Link to comment Share on other sites More sharing options...
Matgen84 Posted February 14, 2020 Share Posted February 14, 2020 1 hour ago, btwise said: This is the real effect after compilation, as long as the icon background color and the overall background color are the same, the effect will be good! OcSimpleBootMenu.c OpenCore-0.5.6-RELEASE.zip This is my own gray-style menu source code and compiled complete file! OpenCore-0.5.6-RELEASE.zip OcSimpleBootMenu.c Thanks a lot for your help Link to comment Share on other sites More sharing options...
anonymous writer Posted February 14, 2020 Share Posted February 14, 2020 I am unable to get with the Radeon RX 560 resolution of 1920x1080 on the Opencore Boot Sceen at my Desktop. Settings in Opencore config.plist: If I use the latest original OpenCore from Acidanthera with the same config.plist resolution of 1920x1080 works perfekt. Spoiler 05:403 00:272 OCC: Installing GOP (Unsupported) on ConsoleOutHandle... 05:463 00:060 OC: Requested resolution is 0x0@0 (max: 1) from Max 05:523 00:060 OCC: Requesting 0x0@0 (max: 1) resolution, curr 4, total 5 05:794 00:271 OCC: Mode 0 - 640x480:1 05:854 00:059 OCC: Mode 1 - 800x600:1 06:129 00:274 OCC: Mode 2 - 1024x768:1 06:187 00:058 OCC: Mode 3 - 1280x1024:1 06:247 00:060 OCC: Mode 4 - 1920x1080:1 06:522 00:274 OCC: Current mode matches desired mode 4 06:583 00:060 OC: Changed resolution to 0x0@0 (max: 1) from Max - Success 06:644 00:060 OCC: Using builtin text renderer with 1 scale 07:004 00:360 OCC: Install console control (78A1E070/0/0), current - Success 07:252 00:248 OC: Requested console mode is 0x0 (max: 0) from 07:527 00:274 OC: OcLoadNvramSupport... Link to comment Share on other sites More sharing options...
n.d.k Posted February 15, 2020 Author Share Posted February 15, 2020 (edited) Here's some new improvement with cosmetic customization, no need to edit the source code. Have a nice weekend all! Colors are now customized by the optional small 16x16 pixels png color example files in Icons folder (Can be any size only 1st pixels will be used for color setting). font_color.png (Entry description color and selection color) font_color_alt.png (All other text on screen) background_color.png (Background color) Background.png (Wallpaper background instead, need matching with screen resolution setting.) Background.png will be checked first, will use it if found in Icons folder, if not found, then background_color.png will be checked, if not found then 1st pixel color (top/left pixel) of icon. Edited February 15, 2020 by n.d.k 4 2 Link to comment Share on other sites More sharing options...
Ellybz Posted February 15, 2020 Share Posted February 15, 2020 You Sir, Rock !!! 1 Link to comment Share on other sites More sharing options...
btwise Posted February 15, 2020 Share Posted February 15, 2020 19 minutes ago, n.d.k said: Here's some new improvement with cosmetic customization, no need to edit the source code. Have a nice weekend all! Colors are now customized by the optional small 16x16 pixels png color example files in Icons folder (Can be any size only 1st pixels will be used for color setting). font_color.png (Entry discription color and selection color) font_color_alt.png (All other text on screen) background_color.png (Background color) Background.png (Wallpaper bacground instead, preferly matching with screen resolution setting.) Background.png will be checked first, will use it if found in Icons foler, if not found, then background_color.png will be checked, if not found then 1st pixel color (top/left pixel) of icon. This feature that can use background images is very good. I am recompiling. There was a problem before. If the icon background is transparent, it will be filled with white. In this way, if you change the background, you must redraw the icon file. Has this been fixed? 1 Link to comment Share on other sites More sharing options...
n.d.k Posted February 15, 2020 Author Share Posted February 15, 2020 4 minutes ago, btwise said: This feature that can use background images is very good. I am recompiling. There was a problem before. If the icon background is transparent, it will be filled with white. In this way, if you change the background, you must redraw the icon file. Has this been fixed? Icon with transparent should work fine now.. as you can see in the pictures above, the background show through the transparency. 1 Link to comment Share on other sites More sharing options...
n.d.k Posted February 15, 2020 Author Share Posted February 15, 2020 (edited) 8 hours ago, anonymous writer said: I am unable to get with the Radeon RX 560 resolution of 1920x1080 on the Opencore Boot Sceen at my Desktop. Settings in Opencore config.plist: If I use the latest original OpenCore from Acidanthera with the same config.plist resolution of 1920x1080 works perfekt. Reveal hidden contents 05:403 00:272 OCC: Installing GOP (Unsupported) on ConsoleOutHandle... 05:463 00:060 OC: Requested resolution is 0x0@0 (max: 1) from Max 05:523 00:060 OCC: Requesting 0x0@0 (max: 1) resolution, curr 4, total 5 05:794 00:271 OCC: Mode 0 - 640x480:1 05:854 00:059 OCC: Mode 1 - 800x600:1 06:129 00:274 OCC: Mode 2 - 1024x768:1 06:187 00:058 OCC: Mode 3 - 1280x1024:1 06:247 00:060 OCC: Mode 4 - 1920x1080:1 06:522 00:274 OCC: Current mode matches desired mode 4 06:583 00:060 OC: Changed resolution to 0x0@0 (max: 1) from Max - Success 06:644 00:060 OCC: Using builtin text renderer with 1 scale 07:004 00:360 OCC: Install console control (78A1E070/0/0), current - Success 07:252 00:248 OC: Requested console mode is 0x0 (max: 0) from 07:527 00:274 OC: OcLoadNvramSupport... Oh never mind, i'll fix it on next commit...didn't see your log until now. PS. It should be fixed now.. Edited February 15, 2020 by n.d.k 1 Link to comment Share on other sites More sharing options...
btwise Posted February 15, 2020 Share Posted February 15, 2020 Why do I only display background pixels instead of background images when I update it and compile it? The background image file already exists in the icons folder Link to comment Share on other sites More sharing options...
n.d.k Posted February 15, 2020 Author Share Posted February 15, 2020 1 minute ago, btwise said: Why do I only display background pixels instead of background images when I update it and compile it? The background image file already exists in the icons folder I forgot I uploaded 4k resolution Background.png earlier, now just uploaded the 2k 1080p...change it to your screen resolution. Link to comment Share on other sites More sharing options...
btwise Posted February 15, 2020 Share Posted February 15, 2020 7 minutes ago, n.d.k said: I forgot I uploaded 4k resolution Background.png earlier, now just uploaded the 2k 1080p...change it to your screen resolution. I've thought about that. The background image has been photoshopped to my resolution(2556x1440), but it doesn't seem to be working. Is it a bad format? Link to comment Share on other sites More sharing options...
btwise Posted February 15, 2020 Share Posted February 15, 2020 46 minutes ago, n.d.k said: Icon with transparent should work fine now.. as you can see in the pictures above, the background show through the transparency. On a pixel background, the transparent background icon is still filled with white! Link to comment Share on other sites More sharing options...
n.d.k Posted February 15, 2020 Author Share Posted February 15, 2020 26 minutes ago, btwise said: On a pixel background, the transparent background icon is still filled with white! You meant the inner transparent thing?...Like the Apple above...ya.it's always white..regardless of what i do.. The outer part of the icon that used to show black is now gone though. Link to comment Share on other sites More sharing options...
MaLd0n Posted February 15, 2020 Share Posted February 15, 2020 Hey, @n.d.k Very nice additional features! if you have a time check it too NoDynamicExtract https://github.com/RehabMan/OS-X-Clover-Laptop-Config/commit/c31f0af47492376cb9bee98a7fdb2cccb00ddbac NoOemTableId and AutoMerge https://github.com/RehabMan/OS-X-Clover-Laptop-Config/commit/b6e2d3bc3c57a14d9fa9cbde0c12b59a9b8dbc47 1 Link to comment Share on other sites More sharing options...
btwise Posted February 15, 2020 Share Posted February 15, 2020 6 minutes ago, n.d.k said: You meant the inner transparent thing?...Like the Apple above...ya.it's always white..regardless of what i do.. The outer part of the icon that used to show black is now gone though. I updated the source code you just modified again. After compiling, I still see the pixel background display and cannot load the background image. The 2556x1440 png image drawn by myself cannot be loaded, and the icon transparent background is always filled with white background! The white part of the second icon in the picture was originally transparent, but now it is white! This picture is a background picture drawn by myself, but it also fails to load. Is there a problem with png decoding? Link to comment Share on other sites More sharing options...
n.d.k Posted February 15, 2020 Author Share Posted February 15, 2020 (edited) 15 minutes ago, btwise said: I updated the source code you just modified again. After compiling, I still see the pixel background display and cannot load the background image. The 2556x1440 png image drawn by myself cannot be loaded, and the icon transparent background is always filled with white background! The white part of the second icon in the picture was originally transparent, but now it is white! This picture is a background picture drawn by myself, but it also fails to load. Is there a problem with png decoding? I have no problem loading any png background, resizing the Background.png to see if it work. As you can I see. For the Icons, try different icons, usually i just pick some random icons from Clover themes and tried it. Edited February 15, 2020 by n.d.k Link to comment Share on other sites More sharing options...
btwise Posted February 15, 2020 Share Posted February 15, 2020 51 minutes ago, btwise said: On a pixel background, the transparent background icon is still filled with white! This is the icon you provided. The background itself is black, not the transparent background I said! The transparent background icon I said is like this, but the transparent part of the picker interface is white, what I mean is this 5 minutes ago, n.d.k said: I have no problem loading any png background, resizing the Background.png to see if it work. As you can I see. For the Icons, try different icons, usually i just pick some random icons from Clover themes and tried it. But now neither the default background picture nor my own background picture can be loaded successfully. How do I troubleshoot this problem? Link to comment Share on other sites More sharing options...
Recommended Posts