eng_redaesm Posted March 17, 2020 Share Posted March 17, 2020 24 minutes ago, n.d.k said: Done! tested and working very Good thanks you are the best Link to comment Share on other sites More sharing options...
galisrule Posted March 17, 2020 Share Posted March 17, 2020 @NDK no "No_icon_scaling.png" in folder will recompile with latest commit and test Link to comment Share on other sites More sharing options...
galisrule Posted March 17, 2020 Share Posted March 17, 2020 (edited) @NDK just recompile and its perfect again Great job Thanks for keeping up the good work Edited March 17, 2020 by galisrule 1 Link to comment Share on other sites More sharing options...
n.d.k Posted March 19, 2020 Author Share Posted March 19, 2020 On 3/17/2020 at 2:02 PM, galisrule said: @NDK just recompile and its perfect again Great job Thanks for keeping up the good work Nice background!...Can you share? Link to comment Share on other sites More sharing options...
galisrule Posted March 19, 2020 Share Posted March 19, 2020 of course here it is 2 3 Link to comment Share on other sites More sharing options...
btwise Posted March 20, 2020 Share Posted March 20, 2020 @ndk UiScale, background, font, selector,Label,text_scaling,icon_scaling,alpha and other parameters are suggested to use themes.plist unified control, do not use PNG filename control! 1 Link to comment Share on other sites More sharing options...
n.d.k Posted March 20, 2020 Author Share Posted March 20, 2020 (edited) 8 hours ago, btwise said: @ndk UiScale, background, font, selector,Label,text_scaling,icon_scaling,alpha and other parameters are suggested to use themes.plist unified control, do not use PNG filename control! Eventually, some of these options are no longer needed/optional, such as: UIScale was there because of Icons was 128px by default and image quality of scaling up for 4k screen was affected. But now all icons are 256px by default, scaling up are no longer needed, and scaling down is not an option but mandatory since Icons will be too big for non 4k screen. Background.png is now auto scaled to fit the screen with the same aspect ratio if used, no size matching is required anymore, but preferably for quality. If background.png is not found, then background_color.png color sample will be used. So there is no option needed here. Font.png and font_color.png work the same way as background, and can be changed according to user preference. Selector.png is used if found else won't be used, simple as that, no option needed. Label.png is a background image for label under the icons, which will be used if found. Text scaling should not be an option since it will be too tiny/big to read for 4k/non screen, and will be auto scaling up/down based on screen resolution with reasonable proportion. Alpha setting will be a thing in the past and will not be used/optional. The reason for auto UIScaling based on screen resolution is simple, users don't have to change the UIScaling every times, a new monitor with different resolution is plugged in. The goal is no settings are needed, it just works! Edited March 20, 2020 by n.d.k 1 3 Link to comment Share on other sites More sharing options...
Andres ZeroCross Posted March 21, 2020 Share Posted March 21, 2020 @NDK Label of entry like this,, My notebook screen is 1366 x 768. Try with change background.png to 1366 x 768 but problem still persist Link to comment Share on other sites More sharing options...
n.d.k Posted March 21, 2020 Author Share Posted March 21, 2020 (edited) 1 hour ago, Andres ZeroCross said: @NDK Label of entry like this,, My notebook screen is 1366 x 768. Try with change background.png to 1366 x 768 but problem still persist For low resolution, turn off the label "No_label.png" to fall back to the old style. PS. Latest commit will use old label style in middle by default for low res screen. Edited March 21, 2020 by n.d.k 2 Link to comment Share on other sites More sharing options...
Andres ZeroCross Posted March 21, 2020 Share Posted March 21, 2020 1 hour ago, n.d.k said: For low resolution, turn off the label "No_label.png" to fall back to the old style. PS. Latest commit will use old label style in middle by default for low res screen. Sorry for stupid question,, how can i "turn off the label "No_label.png"???? Link to comment Share on other sites More sharing options...
n.d.k Posted March 21, 2020 Author Share Posted March 21, 2020 10 hours ago, Andres ZeroCross said: Sorry for stupid question,, how can i "turn off the label "No_label.png"???? Just rename the Label.png to No_label.png, but you don't have to do that anymore with latest commit, it's auto turn off for your low screen resolution. 3 Link to comment Share on other sites More sharing options...
btwise Posted March 23, 2020 Share Posted March 23, 2020 @n.d.k you can add device hotplug support and device removal support! 1 Link to comment Share on other sites More sharing options...
Matgen84 Posted March 24, 2020 Share Posted March 24, 2020 (edited) Hi @n.d.k I just build latest NDK-OC: commit 4afdd9f. I use Ui without selector: HitBox works correctly. It seems that Selector.png must be presentto be fully effective. I don't understand why all icons are highlighting (or seems to be) on my screen 1920*1080. So it's more difficult to see which ones are selected. Edited March 24, 2020 by Matgen84 Link to comment Share on other sites More sharing options...
n.d.k Posted March 24, 2020 Author Share Posted March 24, 2020 13 hours ago, Matgen84 said: Hi @n.d.k I just build latest NDK-OC: commit 4afdd9f. I use Ui without selector: HitBox works correctly. It seems that Selector.png must be presentto be fully effective. I don't understand why all icons are highlighting (or seems to be) on my screen 1920*1080. So it's more difficult to see which ones are selected. You don't use selector, what u expect? lol...just kidding.. With the latest commit, the apha effect are dropped and no longer use in favor of rendering all icons at its original color when not selected and when selected, the color saturation will be increased to make the color look brighter and popped out. See the different in color between selected and non-selected icon below: 2 1 Link to comment Share on other sites More sharing options...
Matgen84 Posted March 25, 2020 Share Posted March 25, 2020 (edited) 8 hours ago, n.d.k said: You don't use selector, what u expect? lol...just kidding.. With the latest commit, the apha effect are dropped and no longer use in favor of rendering all icons at its original color when not selected and when selected, the color saturation will be increased to make the color look brighter and popped out. See the different in color between selected and non-selected icon below: Thanks for this explanation and the commit So the selector is now mandatory. It would be useful to have a changelog for modifications. We can't guess just kidding... Edited March 25, 2020 by Matgen84 Link to comment Share on other sites More sharing options...
btwise Posted March 25, 2020 Share Posted March 25, 2020 @ndk I want to know how to make my own fontdata.h file, thanks! @ndk I want to know how to make my own fontdata.h file, thanks! Link to comment Share on other sites More sharing options...
n.d.k Posted March 25, 2020 Author Share Posted March 25, 2020 4 hours ago, btwise said: @ndk I want to know how to make my own fontdata.h file, thanks! @ndk I want to know how to make my own fontdata.h file, thanks! https://www.segger.com/free-utilities/bin2c/ Link to comment Share on other sites More sharing options...
btwise Posted March 25, 2020 Share Posted March 25, 2020 2 hours ago, n.d.k said: https://www.segger.com/free-utilities/bin2c/ You mean: Bin2C.exe myfont.png myfont And then get myfont.h and myfont.c files? Link to comment Share on other sites More sharing options...
n.d.k Posted March 25, 2020 Author Share Posted March 25, 2020 34 minutes ago, meaganmargaret said: Okay, just compiled the latest build (0.5.7) for NDK Opencore, and using the debug version, I can't boot. System stops at this error: ASSERT_EFI_ERROR (Status = Invalid Parameter) 10:178 00:006 ASSERT [OpenCore] /Users/xxxxxxxxxxxxxxx/Desktop/OpenCorePkg-master/edk2/MdePkg/Library/UefiMemoryAllocationLib/MemoryAllocationLib.c(813): !EFI_ERROR (Status) Any thoughts out there as to what this might be causing this error? (0.5.6 working just fine....) The assert error is from free memory function (Freepool). Sometimes, you have to delete the old build folder, which located in edk2/build/OpenCorePkg, for it to generate the new one. I just tested the debug version just now, it's working fine. 36 minutes ago, btwise said: You mean: Bin2C.exe myfont.png myfont And then get myfont.h and myfont.c files? There should be an instruction on the site. Link to comment Share on other sites More sharing options...
n.d.k Posted March 25, 2020 Author Share Posted March 25, 2020 (edited) 38 minutes ago, meaganmargaret said: Thanks for responding so quickly. My motherboard is an X299 (a Sage). And, just to so you know, when I compile the Opencore application, I don't keep the old folders. I delete them, and load a new one every time, so the edk2 folder is brand new and the download from github was done this morning. Any other ideas? Is there a new quirk in 0.5.7 (or an old one from 0.5.6) that might relate to this issue (Freepool)? I am also running 10.15.4 the released verson. Is there any chance you don't have font.png file in Icons folder? if you don't have a font.png file in Icons folder and running a debug version, you'll get that error, so make sure it's there. PS. Here's some tip related to error from bootpicker and unable to boot. If you don't already know, you can bypass the bootpicker by using hotkey x to boot directly into mac and fix your error. Edited March 25, 2020 by n.d.k 1 Link to comment Share on other sites More sharing options...
Ellybz Posted March 25, 2020 Share Posted March 25, 2020 (edited) @n.d.k After last commit, the previous "pixelization' around circle icons finally disappeared. Great job Edited March 25, 2020 by Ellybz 2 Link to comment Share on other sites More sharing options...
btwise Posted March 26, 2020 Share Posted March 26, 2020 12 hours ago, n.d.k said: There should be an instruction on the site. How did you generate the PNG font image? My intention is to create a Chinese font library that contains what I need, but it cannot be displayed correctly! Link to comment Share on other sites More sharing options...
n.d.k Posted March 26, 2020 Author Share Posted March 26, 2020 55 minutes ago, btwise said: How did you generate the PNG font image? My intention is to create a Chinese font library that contains what I need, but it cannot be displayed correctly! 1 1 Link to comment Share on other sites More sharing options...
ameenjuz Posted March 26, 2020 Share Posted March 26, 2020 21 hours ago, Ellybz said: @n.d.k After last commit, the previous "pixelization' around circle icons finally disappeared. Great job Please provide me your entire icon folder i love it and i appreciate your hard work Link to comment Share on other sites More sharing options...
Ellybz Posted March 26, 2020 Share Posted March 26, 2020 6 hours ago, anmool said: Please provide me your entire icon folder i love it and i appreciate your hard work There you go; enjoy Icons.zip 1 Link to comment Share on other sites More sharing options...
Recommended Posts