Files
OpenCore-Legacy-Patcher/assets/js/5.91de01ac.js
2023-09-27 01:51:55 +00:00

1 line
9.3 KiB
JavaScript

(window.webpackJsonp=window.webpackJsonp||[]).push([[5],{320:function(e,o,t){e.exports=t.p+"assets/img/mountefi.f1bedccd.png"},400:function(e,o,t){e.exports=t.p+"assets/img/icnspack-folder.6cad9bdf.png"},401:function(e,o,t){e.exports=t.p+"assets/img/icnspack-done.9f84140f.png"},402:function(e,o,t){e.exports=t.p+"assets/img/graphics-download.7cc2642f.png"},403:function(e,o,t){e.exports=t.p+"assets/img/graphics-open.a92a70e2.png"},404:function(e,o,t){e.exports=t.p+"assets/img/icon-SL.e5bfa343.png"},405:function(e,o,t){e.exports=t.p+"assets/img/background-moved.bbb8b0fd.png"},406:function(e,o,t){e.exports=t.p+"assets/img/mac-icns-drive.4aaed978.png"},458:function(e,o,t){"use strict";t.r(o);var n=t(25),a=Object(n.a)({},(function(){var e=this,o=e.$createElement,n=e._self._c||o;return n("ContentSlotsDistributor",{attrs:{"slot-key":e.$parent.slotKey}},[n("h1",{attrs:{id:"creating-custom-icons-for-opencore-and-mac-boot-picker"}},[n("a",{staticClass:"header-anchor",attrs:{href:"#creating-custom-icons-for-opencore-and-mac-boot-picker"}},[e._v("#")]),e._v(" Creating custom icons for OpenCore and Mac Boot Picker")]),e._v(" "),n("p",[e._v("For users who want to customize their setup to be more personal, OpenCore does allow for custom icons and images in the boot picker.")]),e._v(" "),n("ul",[n("li",[n("a",{attrs:{href:"#custom-opencore-icons"}},[e._v("Custom OpenCore icons")])]),e._v(" "),n("li",[n("a",{attrs:{href:"#custom-mac-boot-picker-icons"}},[e._v("Custom Mac Boot Picker icons")])]),e._v(" "),n("li",[n("a",{attrs:{href:"#installing-updated-icons"}},[e._v("Installing updated icons")])])]),e._v(" "),n("h1",{attrs:{id:"custom-opencore-icons"}},[n("a",{staticClass:"header-anchor",attrs:{href:"#custom-opencore-icons"}},[e._v("#")]),e._v(" Custom OpenCore icons")]),e._v(" "),n("p",[e._v("To generate custom OpenCore icons, you'll need the following:")]),e._v(" "),n("ul",[n("li",[e._v("Images in PNG format")]),e._v(" "),n("li",[e._v("Each image, with the following res:\n"),n("ul",[n("li",[e._v("Cursor — Mouse cursor (mandatory, up to 144x144).")]),e._v(" "),n("li",[e._v("Selected — Selected item (mandatory, 144x144).")]),e._v(" "),n("li",[e._v("Selector — Selecting item (mandatory, up to 144x40).")]),e._v(" "),n("li",[e._v("Left — Scrolling left (mandatory, 40x40).")]),e._v(" "),n("li",[e._v("Right — Scrolling right (mandatory, 40x40).")]),e._v(" "),n("li",[e._v("HardDrive — Generic OS (mandatory, 128x128).")]),e._v(" "),n("li",[e._v("Background — Centred background image. (Recommended max size 1920x1080)")]),e._v(" "),n("li",[e._v("Apple — Apple OS (128x128).")]),e._v(" "),n("li",[e._v("AppleRecv — Apple Recovery OS (128x128).")]),e._v(" "),n("li",[e._v("AppleTM — Apple Time Machine (128x128).")]),e._v(" "),n("li",[e._v("Windows — Windows (128x128).")]),e._v(" "),n("li",[e._v("Other — Custom entry (see "),n("a",{attrs:{href:"https://dortania.github.io/docs/latest/Configuration.html",target:"_blank",rel:"noopener noreferrer"}},[e._v("Entries"),n("OutboundLink")],1),e._v(", 128x128).")]),e._v(" "),n("li",[e._v("ResetNVRAM — Reset NVRAM system action or tool (128x128).")]),e._v(" "),n("li",[e._v("Shell — Entry with UEFI Shell name for e.g. OpenShell (128x128).")]),e._v(" "),n("li",[e._v("Tool — Any other tool (128x128).")])])])]),e._v(" "),n("p",[e._v("Note, for each image we recommend having one of double the size. This ensures that icons are scaled correctly since .icns support dedicated images depending on HiDPI or not.")]),e._v(" "),n("p",[e._v("Once you have a custom image you want to use(for example, as a background), download the "),n("a",{attrs:{href:"https://github.com/acidanthera/OpenCorePkg/releases",target:"_blank",rel:"noopener noreferrer"}},[e._v("latest release of OpenCorePkg"),n("OutboundLink")],1),e._v(" and enter the "),n("code",[e._v("Utilities/icnspack/")]),e._v(" folder:")]),e._v(" "),n("p",[n("img",{attrs:{src:t(400),alt:""}})]),e._v(" "),n("p",[e._v("Now "),n("code",[e._v("cd")]),e._v(" to this folder in terminal and run the following:")]),e._v(" "),n("div",{staticClass:"language-sh extra-class"},[n("pre",{pre:!0,attrs:{class:"language-sh"}},[n("code",[e._v("./icnspack Background.icns "),n("span",{pre:!0,attrs:{class:"token operator"}},[e._v("<")]),e._v("insert_x1_image"),n("span",{pre:!0,attrs:{class:"token operator"}},[e._v(">")]),e._v(" "),n("span",{pre:!0,attrs:{class:"token operator"}},[e._v("<")]),e._v("insert_x2_image"),n("span",{pre:!0,attrs:{class:"token operator"}},[e._v(">")]),e._v("\n")])])]),n("p",[e._v("Once done, you'll see your custom icon generated in "),n("code",[e._v("icnspack")]),e._v("'s folder:")]),e._v(" "),n("p",[n("img",{attrs:{src:t(401),alt:""}})]),e._v(" "),n("h1",{attrs:{id:"custom-mac-boot-picker-icons"}},[n("a",{staticClass:"header-anchor",attrs:{href:"#custom-mac-boot-picker-icons"}},[e._v("#")]),e._v(" Custom Mac Boot Picker icons")]),e._v(" "),n("p",[e._v("Custom boot picker icons are much more complicated on Legacy Macs. On late 2013+ Macs, the "),n("a",{attrs:{href:"#custom-opencore-icons"}},[e._v("Custom OpenCore icons")]),e._v(" method will work just fine. However, on many 2012 and older Macs, the icons generated will be incompatible with the firmware.")]),e._v(" "),n("p",[e._v("To generate legacy icons, you'll need the following:")]),e._v(" "),n("ul",[n("li",[e._v("A machine running macOS 10.4 through 10.11")]),e._v(" "),n("li",[e._v("Icon Composer.app (Requires Apple Developer Account for official download)\n"),n("ul",[n("li",[e._v("Users without a developer account can find mirrors here:\n"),n("ul",[n("li",[n("a",{attrs:{href:"https://github.com/dortania/OpenCore-Legacy-Patcher/blob/main/docs/Icon-Composer-10.6.zip",target:"_blank",rel:"noopener noreferrer"}},[e._v("Icon Composer 10.6"),n("OutboundLink")],1)]),e._v(" "),n("li",[n("a",{attrs:{href:"https://github.com/dortania/OpenCore-Legacy-Patcher/blob/main/docs/Icon-Composer-10.11.zip",target:"_blank",rel:"noopener noreferrer"}},[e._v("Icon Composer 10.11"),n("OutboundLink")],1)])])])])]),e._v(" "),n("li",[e._v("PNG Image you wish to convert")])]),e._v(" "),n("p",[e._v("Head to "),n("a",{attrs:{href:"https://developer.apple.com/download/more/",target:"_blank",rel:"noopener noreferrer"}},[e._v("developer.apple's More Downloads page"),n("OutboundLink")],1),e._v(" and search for "),n("code",[e._v("Graphics Tools")]),e._v(" that is supported by your OS(note for 10.6 and older, the app is hidden inside "),n("code",[e._v("Developer Tools")]),e._v("):")]),e._v(" "),n("p",[n("img",{attrs:{src:t(402),alt:""}})]),e._v(" "),n("p",[e._v("Once downloaded, open the disk image and you'll find Icon Composer.app:")]),e._v(" "),n("p",[n("img",{attrs:{src:t(403),alt:"Graphics Open"}})]),e._v(" "),n("p",[e._v("Now run the app and simply drag the images to each section as so:")]),e._v(" "),n("p",[n("img",{attrs:{src:t(404),alt:""}})]),e._v(" "),n("p",[e._v("Now save and export the new icns file.")]),e._v(" "),n("h1",{attrs:{id:"installing-updated-icons"}},[n("a",{staticClass:"header-anchor",attrs:{href:"#installing-updated-icons"}},[e._v("#")]),e._v(" Installing updated icons")]),e._v(" "),n("p",[e._v('To install, please ensure that Vault was disabled when you built OpenCore. If you\'re unsure, simply rebuild OpenCore with the Patcher setting "Vault" set to false.')]),e._v(" "),n("ul",[n("li",[n("span",{staticStyle:{color:"red"}},[e._v(" Warning")]),e._v(": Editing your OpenCore EFI incorrectly can result in a bricked install. Please ensure you have a natively supported version of macOS installed to boot into in case of issues.")])]),e._v(" "),n("p",[e._v("Now that you've verified that you can edit OpenCore safely, you'll need to mount the drive that OpenCore is stored on. To do this, download "),n("a",{attrs:{href:"https://github.com/corpnewt/MountEFI",target:"_blank",rel:"noopener noreferrer"}},[e._v("MountEFI"),n("OutboundLink")],1),e._v(" and run it:")]),e._v(" "),n("p",[n("img",{attrs:{src:t(320),alt:""}})]),e._v(" "),n("p",[e._v("Select the drive you installed OpenCore to and mount it.")]),e._v(" "),n("ul",[n("li",[n("a",{attrs:{href:"#updating-opencore-icons"}},[e._v("Updating OpenCore icons")])]),e._v(" "),n("li",[n("a",{attrs:{href:"#updating-mac-boot-picker-icons"}},[e._v("Updating Mac Boot Picker icons")])])]),e._v(" "),n("h3",{attrs:{id:"updating-opencore-icons"}},[n("a",{staticClass:"header-anchor",attrs:{href:"#updating-opencore-icons"}},[e._v("#")]),e._v(" Updating OpenCore icons")]),e._v(" "),n("p",[e._v("Head to "),n("code",[e._v("EFI/OC/Resources/Image/")]),e._v(" on your drive and you'll see all the custom icons. For Background.icns, we need to ensure the file matches the theme OpenCore has set so we add the prefix "),n("code",[e._v("Modern")]),e._v(" to it:")]),e._v(" "),n("p",[n("img",{attrs:{src:t(405),alt:""}})]),e._v(" "),n("p",[e._v("Now reboot and you should see your updated icon(s)!")]),e._v(" "),n("h3",{attrs:{id:"updating-mac-boot-picker-icons"}},[n("a",{staticClass:"header-anchor",attrs:{href:"#updating-mac-boot-picker-icons"}},[e._v("#")]),e._v(" Updating Mac Boot Picker icons")]),e._v(" "),n("p",[e._v("Updating the Mac Boot Picker icons is actually quite simple. On the root of your drive, simply drop the icon into the root of the drive with the name "),n("code",[e._v(".VolumeIcon.icns")])]),e._v(" "),n("p",[n("img",{attrs:{src:t(406),alt:""}})]),e._v(" "),n("p",[e._v("Now reboot and you'll see the new icon!")])])}),[],!1,null,null,null);o.default=a.exports}}]);