n.d.k Posted February 15, 2020 Author Share Posted February 15, 2020 Don't use icons with checkerboard like that, use the one this os_cata.icns Link to comment Share on other sites More sharing options...
Ellybz Posted February 15, 2020 Share Posted February 15, 2020 (edited) Done! Edited February 18, 2020 by Ellybz 1 Link to comment Share on other sites More sharing options...
btwise Posted February 15, 2020 Share Posted February 15, 2020 11 minutes ago, n.d.k said: Don't use icons with checkerboard like that, use the one this os_cata.icns The icon itself is square, with a circular pattern in the middle, and there will be space around it. If this part of the space cannot be transparent, it can only be filled with the same color as the background to display the full circle effect. This question is not important, what is important is how to add a background image! Link to comment Share on other sites More sharing options...
n.d.k Posted February 15, 2020 Author Share Posted February 15, 2020 15 minutes ago, btwise said: The icon itself is square, with a circular pattern in the middle, and there will be space around it. If this part of the space cannot be transparent, it can only be filled with the same color as the background to display the full circle effect. This question is not important, what is important is how to add a background image! You don't have to fill any color around the circle, just use the icons attached, you will see it auto filled with background color, or background image around the circle. I don't know why the background image doesn't load for you, I tried several png image background and all of them are loaded just fine. The screenshots above were taken by F10. So it's clearly worked fine on my computer. Link to comment Share on other sites More sharing options...
btwise Posted February 15, 2020 Share Posted February 15, 2020 12 minutes ago, n.d.k said: You don't have to fill any color around the circle, just use the icons attached, you will see it auto filled with background color, or background image around the circle. I don't know why the background image doesn't load for you, I tried several png image background and all of them are loaded just fine. The screenshots above were taken by F10. So it's clearly worked fine on my computer. if (mBackgroundImage != NULL && (mBackgroundImage->Width != mScreenWidth || mBackgroundImage->Height != mScreenHeight)) { FreeImage(mBackgroundImage); mBackgroundImage = NULL; } I wonder if this judgment is too accurate. Can this judgment be removed? Does the resolution of the picture have to match the screen exactly to load the image? 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) 7 minutes ago, btwise said: if (mBackgroundImage != NULL && (mBackgroundImage->Width != mScreenWidth || mBackgroundImage->Height != mScreenHeight)) { FreeImage(mBackgroundImage); mBackgroundImage = NULL; } I wonder if this judgment is too accurate. Can this judgment be removed? Does the resolution of the picture have to match the screen exactly to load the image? Since I still need time to optimize everything, such as resize if it doesn't match, for now you just have to resize it yourself...use preview editor to size, easy enough. This is not just some application, everything is rendered pixel by pixel on the screen, if the image doesn't match, it will render half screen or will cause error when try to render outside of the screen area. 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 10 minutes ago, n.d.k said: Since I still need time to optimize everything, such as resize if it doesn't match, for now you just have to resize it yourself...use preview editor to size, easy enough. This is not just some application, everything is rendered pixel by pixel on the screen, if the image doesn't match, it will render half screen or will cause error when try to render outside of the screen area. Yes, after testing, it is really a problem of judgment. The background image resolution must be completely equal to the screen size before it can be loaded. I think this part of the code should be modified to automatically determine the screen resolution and allow the background image to adapt automatically. There is also a problem, when pressing the space bar, the version number in the lower right corner cannot be displayed, but this part can be seen in the code! The icon background must be filled. If you change the background, the extra colors cannot be blended into the background. Link to comment Share on other sites More sharing options...
n.d.k Posted February 15, 2020 Author Share Posted February 15, 2020 (edited) @btwise Did you have Misc->Security->ExposeSensitiveData = 6 for the OC version to show up? I already said Icon background don't need to filled, it will be replaced with background image pixel behind it. Use the unmodified icons. Look here screenshot posted by @Ellybz Edited February 15, 2020 by n.d.k Link to comment Share on other sites More sharing options...
Matgen84 Posted February 15, 2020 Share Posted February 15, 2020 Hi @n.d.k and All How to correctly update local source before compiling between each commits? I don't know if remove Build and Binaries directory before launch script, is correct! Please, let know. Link to comment Share on other sites More sharing options...
n.d.k Posted February 15, 2020 Author Share Posted February 15, 2020 24 minutes ago, Matgen84 said: Hi @n.d.k and All How to correctly update local source before compiling between each commits? I don't know if remove Build and Binaries directory before launch script, is correct! Please, let know. git pull ./ndk-macbuild.tool will do.. normally you don't need to remove Build folder, if you have problem starting up with new compile, then remove the Build folder. 1 Link to comment Share on other sites More sharing options...
Matgen84 Posted February 15, 2020 Share Posted February 15, 2020 (edited) @n.d.k I use Icon Background transparent as I understand you says: but there is a problem of resolution on my 1920x1080 monitor (circle is pixelisaded), suddenly icons are too big or bad (the same are correct on Clover). I think. Edited February 15, 2020 by Matgen84 Link to comment Share on other sites More sharing options...
cpla Posted February 15, 2020 Share Posted February 15, 2020 Yeah i think the issue is the size, i copied one from a clover theme too and have that same jagged edges look on the icons. Maybe clover has something to smooth it out or something dunno, what's that background from by the way? Thanks 1 Link to comment Share on other sites More sharing options...
anonymous writer Posted February 15, 2020 Share Posted February 15, 2020 Hello @n.d.k, you are the best. The resolution works fine again. Many thanks for your outstanding work. 2 Link to comment Share on other sites More sharing options...
btwise Posted February 15, 2020 Share Posted February 15, 2020 3 hours ago, n.d.k said: @btwise Did you have Misc->Security->ExposeSensitiveData = 6 for the OC version to show up? I already said Icon background don't need to filled, it will be replaced with background image pixel behind it. Use the unmodified icons. Look here screenshot posted by @Ellybz Yes, it ’s because I do n’t have the right way to guide the icon. I lost the transparent layer. Now everything is perfect. It ’s even better if the way to select the icon is replaced by a small arrow! 2 Link to comment Share on other sites More sharing options...
Matgen84 Posted February 15, 2020 Share Posted February 15, 2020 25 minutes ago, btwise said: Yes, it ’s because I do n’t have the right way to guide the icon. I lost the transparent layer. Now everything is perfect. It ’s even better if the way to select the icon is replaced by a small arrow! What is the right way to guide the icon: I want to import and customize my Clover's icons. No success at the moment. Please. 1 Link to comment Share on other sites More sharing options...
cpla Posted February 15, 2020 Share Posted February 15, 2020 Yeah same since mine's edges are too rough, tried converting from png but the edges look even worse (Only have preview atm and no photoshop installed) so a bit of a pain. Link to comment Share on other sites More sharing options...
btwise Posted February 15, 2020 Share Posted February 15, 2020 20 minutes ago, Matgen84 said: What is the right way to guide the icon: I want to import and customize my Clover's icons. No success at the moment. Please. It is recommended to use Photoshop to modify, change the picture size to 128x128 pixels, remove the icon background, and export to a png format file. You must check the Keep transparent option! 1 Link to comment Share on other sites More sharing options...
AudioGod Posted February 15, 2020 Share Posted February 15, 2020 @n.d.k Awesome work bud, your build just keeps getting better and better. I’m super impressed. Bootloader of 2020 so far 100% goes to you my friend. Keep up the amazing work 2 Link to comment Share on other sites More sharing options...
cpla Posted February 15, 2020 Share Posted February 15, 2020 (edited) Also found this python script to convert from a png file to icon https://retifrav.github.io/blog/2018/10/09/macos-convert-png-to-icns/ but the edges still don't look 100% perfect but i guess that's due to lack of vectorization code or something dunno since they look nice in preview. Just run the .py with the image and name argument and then go into the .icns folder and pick the 128x128 size file. And yeah great work @n.d.k, starting to look really nice Edited February 15, 2020 by cpla 1 Link to comment Share on other sites More sharing options...
btwise Posted February 15, 2020 Share Posted February 15, 2020 6 minutes ago, cpla said: Also found this python script to convert from a png file to icon https://retifrav.github.io/blog/2018/10/09/macos-convert-png-to-icns/ but the edges still don't look 100% perfect but i guess that's due to lack of vectorization code or something dunno since they look nice in preview. Just run the .py with the image and name argument and then go into the .icns folder and pick the 128x128 size file. And yeah great work @n.d.k, starting to look really nice It doesn't have to be that complicated. Simply rename the PNG file as ICNS 2 Link to comment Share on other sites More sharing options...
Matgen84 Posted February 15, 2020 Share Posted February 15, 2020 3 hours ago, btwise said: It is recommended to use Photoshop to modify, change the picture size to 128x128 pixels, remove the icon background, and export to a png format file. You must check the Keep transparent option! Transparency issue is solved, not icons circle pixilation: the same icons are smooth and clean on Clover, not in NDK GUI. (Great job @n.d.k) Link to comment Share on other sites More sharing options...
Ellybz Posted February 15, 2020 Share Posted February 15, 2020 (edited) Here's my latest compiled EFI ( with Icons ) if anyone is interested. Background.png need to be resized to your monitor to be 100% functional. ( Preview/Tools/Adjust Size ) Current is 2560x1080. I use combination of Photoshop & Iconfly to create my Icons. Ex: os_custom.icns for NVRAM reset. Readjust if you use EFI tool or function in config.plist for NVRAM reset . Have a nice week-end to all. Kudos again to @n.d.k for his outstanding work. Icons.zip Edited February 19, 2020 by Ellybz New Upload of EFI 1 3 Link to comment Share on other sites More sharing options...
ameenjuz Posted February 15, 2020 Share Posted February 15, 2020 1 hour ago, Ellybz said: Here's my latest compiled EFI ( with Icons ) if anyone is interested. Background.png need to be resized to your monitor to be 100% functional. ( Preview/Tools/Adjust Size ) Current is 2560x1080. I use combination of Photoshop & Iconfly to create my Icons. Ex: os_custom.icns for NVRAM reset. Readjust if you use EFI tool or function in config.plist for NVRAM reset . Have a nice week-end to all. Kudos again to @n.d.k for his outstanding work. e EFI.zip's link is corrupt I can't download and merge this nice background to n-d-k source 1 Link to comment Share on other sites More sharing options...
btwise Posted February 16, 2020 Share Posted February 16, 2020 @ NDK Today's the OC adds the ability to hide custom entries, the NDK version should be the same as the original, removing the Misc-->Entires hide option 2 Link to comment Share on other sites More sharing options...
AudioGod Posted February 16, 2020 Share Posted February 16, 2020 13 hours ago, Ellybz said: Here's my latest compiled EFI ( with Icons ) if anyone is interested. Background.png need to be resized to your monitor to be 100% functional. ( Preview/Tools/Adjust Size ) Current is 2560x1080. I use combination of Photoshop & Iconfly to create my Icons. Ex: os_custom.icns for NVRAM reset. Readjust if you use EFI tool or function in config.plist for NVRAM reset . Have a nice week-end to all. Kudos again to @n.d.k for his outstanding work. EFI.zip That is Awesome bro, so sleek looking well done. 1 Link to comment Share on other sites More sharing options...
Recommended Posts