Jump to content

OCAT and OpenCore MOD BTWISE Version


makk
 Share

13 posts in this topic

Recommended Posts

FIXED -> UPDATE: OCAT VERSION to use for this 20220233 or 20220234 or 2022235.. anything newer doesn't work 2022236 has a bug.  

FIXED: Use new version 20220238

 

GO here to download: https://github.com/ic005k/OCAuxiliaryTools

 

Fixed -> NOTE: There is an issue with downloads at the moment.  Not sure what the issue is. Working on it so this problem clears up.

Will be updated when it clears.  Apologies. Peace Out

 

TO USE OCAT -> must mount your EFI which can be done using OCAT:

Screenshot is below down there somewhere.

 

Lets work on this to get the database in OCAT to house OC MOD

 

Below With the kind help of ING 

 

Some people may run into a problem to download in that case edit the /etc/hosts file to add ip addresses. (See below ip addresses with their host names)

 

So far we have from ING the below instructs:

 

{{ Novemeber 22 2022 UPDATE:

NOTE: Switchhost App is for those living in China I am told by ING after trying it out. Otherwise not needed.  ING clarified this yesterday while I was working to get the hose file udpated.

DNS by all means should be sufficient. However for the MOD probably need to insert some hosts ip's that are printed below.

In some cases to access a repo may require inserting host ip addresses with their names mostly likely a rare instance.

 

-- the host file over in /etc/hosts needs to be switched trading places on the fly with Switchhosts.exe App or the Switchhosts.dmg app. 

retrieved here:> https://github.com/oldj/SwitchHosts/releases

At the bottom part of the window to grab your copy for flavor of OS ;> have to click on 'Show all 26 assets' to expand then look very carefully for the one you need.

 

Here are just two links to google drive for the latest for MacOS 64 Bit and Windows 64 Bit versions there are other versions at the github site.

1) Link for MacOS# https://drive.google.com/file/d/1936CaLkcs40oINQOP2FD1p_axoCrGvQo/view?usp=share_link

2) Link for Windows x64 bit# https://drive.google.com/file/d/1NHyL2nLauQOweQyYdiMsQblsHBFR5d39/view?usp=share_link

 

 

Notes:
Automatic daily update of IP addresses for github, docker and tinyMediaManager.

Hosts URL:

Raw URL: https://raw.githubusercontent/com/wjz304/hosts/main/hosts << for some reason this link is not text only

CDN URL: https//gcore.jsdeliv.net/gh/wjz304/hosts@main/hosts
CDN URL: https//cdn.statically.com/gh/wjz304/hosts/main/hosts (Recommended)

 

Used:

Windows/MacOS:
Recommend to use: SwitchHosts App
Official Website: https://swh.app/zh

 

Linux:
delete: sudo sed -i '/# ING Hosts Start/,/# ING Hosts End/d' /etc/hosts

add to: curl -s -L https://raw.githubusercontent/com/wjz304/hosts/main/hosts | sudo tee -a /etc/hosts

CDN URL: https//cdn.statically.com/gh/wjz304/hosts/main/hosts }}

 

--Editing Hosts file:

Try first by adding these address in the hosts file.

For Windows 10/11 can be found here:  C:\Windows\system32\drivers\etc\hosts
For MacOS:  /etc/hosts. In Terminal: cd /etc/hosts.  

sudo Nano 

 

How To Find and Edit Your Mac Hosts File (In 4 Steps)
  1. Find the Terminal application on your Mac.
  2. Select the “Terminal” application.
  3. Enter the “sudo nano /etc/hosts” command.
  4. Nano Text Editor.
  5. Add the domain ip address.

 

 

1. Use the Return key to create some space below the existing records

2. Type in the TCP/IP address <> copy paste below addresses they are the same

3. Press the Tab key

4. Enter the domain name

5. Save the file by pressing Ctrl + O

6. Exit with Ctrl + X

7. In Terminal, type sudo killall -HUP mDNSResponder followed by Return to clear your Mac’s DNS cache and prevent any clashes between DNS and the Hosts file

 

Enter these address below in the hosts file:

# ING Hosts Start
# Raw URL: https://raw.githubusercontent/com/wjz304/hosts/main/hosts
# CDN URL: https//gcore.jsdeliv.net/gh/wjz304/hosts@main/hosts
# CDN URL: https//cdn.statically.com/gh/wjz304/hosts/main/hosts
# DNS Servers: Aliyun Computing Co. Ltd
# Update at: 2022-11-21 09:46:18
# GitHub Hosts Start
185.199.110.153 github.io
140.82.121.3    github.com
140.82.121.6    api.github.com
185.199.110.133 raw.github.com
185.199.111.154 docs.github.com
140.82.121.3    gist.github.com
140.82.121.9    codeload.github.com
140.82.112.22   central.github.com
140.82.113.21   collector.github.com
185.199.111.153 assets-cdn.github.com
185.199.109.133 raw.githubusercontent.com
185.199.109.133 camo.githubusercontent.com
185.199.108.133 media.githubusercontent.com
185.199.108.133 desktop.githubusercontent.com
13.107.42.16    pipelines.actions.githubusercontent.com
185.199.110.133 objects.githubusercontent.com
185.199.110.133 favicons.githubusercontent.com
185.199.111.133 avatars5.githubusercontent.com
185.199.109.133 avatars4.githubusercontent.com
185.199.110.133 avatars3.githubusercontent.com
185.199.111.133 avatars2.githubusercontent.com
185.199.111.133 avatars1.githubusercontent.com
185.199.109.133 avatars0.githubusercontent.com
185.199.110.133 avatars.githubusercontent.com
185.199.110.133 user-images.githubusercontent.com
20.250.85.194   copilot-proxy.githubusercontent.com
185.199.110.153 githubstatus.com
140.82.114.18   github.community
185.199.109.154 github.githubassets.com
185.199.109.133 github.map.fastly.net
151.101.113.194 github.global.ssl.fastly.net
52.216.153.68   github-cloud.s3.amazonaws.com
54.231.132.49   github-com.s3.amazonaws.com
52.216.61.1     github-production-release-asset-2e65be.s3.amazonaws.com
52.216.134.219  github-production-user-asset-6210df.s3.amazonaws.com
52.217.67.140   github-production-repository-file-5c1aeb.s3.amazonaws.com
# GitHub Hosts End
# Docker Hosts Start
18.206.20.10    hub.docker.com
140.82.121.34   ghcr.io
142.250.27.82   gcr.io
142.250.27.82   k8s.gcr.io
54.163.152.191  quay.io
# Docker Hosts End
# TMM Hosts Start
52.84.125.124   themoviedb.org
52.84.125.33    www.themoviedb.org
52.84.18.87     api.themoviedb.org
52.84.125.87    tmdb.org
52.84.125.74    api.tmdb.org
84.17.46.53     image.tmdb.org
# TMM Hosts End
# ING Hosts End

 

Screen shot of SwitchHosts download section: Notice 'Show all 26 assests at bottom' Click to expand to find your Flavor of OS--if in China

 

switchhost_download.png

 

 

This is the Hosts File switching action here on SwitchHosts.exe App or SwitchHosts App on other Flavors

Looks like you have to add new: then input the address:>  https://raw.githubusercontent/com/wjz304/hosts/main/hosts

It would seem that once this address is inputted then the rest show up.  It seems this is automatically updated once inputted. 

Looks like these addresses change daily so to have this app is beneficial when it comes to sites that change their ip addresses daily.

 

NOTE: Click the + sign to open to add new entry.

Choose Remote at the top.

Add Hosts github

Add the URL in the URL section

Choose 24 Hours for updating ip addresses.

 

switchhosts-oc-mod.png

 

 

Mounting EFI with OCAT.  

This can be somewhat a challenge for those with several EFI's.  OCAT will find all EFI's so make sure you have the right one.

A dialog box opens up with the EFI's listed.

 

Screen Shot 2022-11-21 at 3.19.54 AM.png

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

Second part of this adventure:

 

this address needs to be inputted into OCAT :>  https://github.com/wjz304/OpenCore_NO_ACPI_Build

 

By viewing the below screenshots (it has Hanzi mixed with English)

--> we can see that ING has successfully been able to use OCAT to update with OpenCore MOD in the database and use it as intended.

 

These screenshots are taken using the Linux Version by ING, but is the same for MacOS and Other Versions

 

Step 1: Go To > File >OpenCore DEV to select 

 

step 1.png

 

 

Step 2: Box Says No File in Database must update. click OK to exit box.

 

step 2.png

 

Step 3: File > Upgrade OpenCore and Kexts    {{--make sure OpenCore DEV is checked like in this photo--}}

 

step 3.png

 

Step 4:  New popup box Input here the address to the repo: https://github.com/wjz304/OpenCore_NO_ACPI_Build

Copy and paste over the one that is currently there;  {{--no worries just paste--}}

 

step 4.png

 

Step 5: New box stating what else will be downloaded and installed ocvalidate, macserial, ocpassworddgen.

 

step 5.png

 

 

Step 6: Informs that the latest version is .x.x.x. of OpenCore has been updated in the Database then click OK to get rid of box.

 

step 6.png

 

 

Step 7:  1 Exit out of Upgrade Opencore and Kext Box by clicking the X.  Then ...

2 Back on the Main OCAT now, click the 'icon OpenCore Upgrade and Kexts.'

 

step 7.png

 

Step 8: New Menu Box, Click > Start Sync and wait till it is done.

 

step 8.png

 

Step 9: Informing of the database is now X.X.X of OpenCore Mod

Check to make sure by looking in these directories:

 

Correction database is directly in the OCAT folder > Database folder

 

The tempocat seems to be created on the fly when the app is opened. 

 

There is a .ocat as well in

For MacOS look in /Users/Your UserName/.ocat

For Windows /Users/Your UserName/.ocat

For Linux wherever your user profile is + .ocat

 

There are then these other folders:

1 Database

2 Plugins

3 .ocat

4 tempocat 

 

in tempocat there will be these folders as well.

Database

Plugins 

new OC MOD version X.X.X

 

step 9.png

 

Now you can edit your config.plist by mounting the EFI and updating to the latest OC MOD files by selecting there perspective portions in OCAT

 

Link to a Video of how to update: https://www.youtube.com/watch?v=AGq5kbZ5IfM

 

 

 

Edited by makk
  • Like 2
  • Thanks 1
  • Haha 1
Link to comment
Share on other sites

In OCAT the ability to change the FONT Color and Background Color are available for those who cannot read White fonts on a background that blends with the White

This can be found in Misc>Boot section: Notice the Blue color for Misc and Boot (( Below is a screenshot taken in Windows 11 Pro 22H2 ))

 

There is a color selector drop down menu once you click on the color button with color and not the word 'Text color' next to the 'selector menu'.

 

For enlarging the Font face size not quite there yet.

In the Resource folder there is a Label folder. at the moment there is only 2x as the largest which equates to 2 times the size it seems? good question

Would need 4x, 6x, 8x, 10x and so on to have larger Font face.

But, there is a section called 'ConsoleAttribute' as we look at the whole photo down below with number 13 in it. This could be 
perhaps it for changing the Font size? have to test.

 

Font Color.png

Edited by makk
Link to comment
Share on other sites

For Switchhosts to work, have to make the file usable to manipulate -> C:\Windows\System32\drivers\etc\hosts <-- this file 

The hosts file needs to be able to be not written to but allowed to work in conjunction on a temporary need to use by SwitchHost which switches hosts file but does not delete it or replace it
completely as in kill it.

 

SwitchHost swaps hosts files to use like redundancy or having two hosts file to use.   Switchable. The original hosts file does not actually get replaced. It remains for the system.

So switchHost creates it's own to use in concert with /etc/hosts. Then with SwitchHost you can swap back and forth.

For using OCAT needs a hosts file dedicated for the  OC MOD is what I am observing so far. 

 

No need for this app unless one is in China.  

 

So do not install

 

 

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

  • 2 weeks later...

Received update email from ING - @btwise and this the latest as of Dec 4 2022:

 

Latest OCAT 20220238 Windows Version:

Was able to update OC MOD to 0.8.7 


Screenshots from Windows 11 Pro 22H2:

 

OC MOD Version -> 0.8.7 Dev

 

image.png.6b8d8d9fa8cac001c3748d3b4828cddd.png

 

 

OCAT VERSION -> 20220238

 

image.png.b36aa46d880ed05ceb2c950ea7065831.png

 

 

Enjoy! ;)

Has anyone tried the MacOS version to see if it is working?

 

I have seen ING @btwise use this in Linux - Windows and MacOS on his end.

However I have not seen anyone on this end have success with MacOS or Windows. 

 

 

Edited by makk
  • Thanks 1
Link to comment
Share on other sites

OCAT Version latest is 20220238 link: https://github.com/ic005k/OCAuxiliaryTools/releases

OC MOD Version is 0.8.7 Dev link: https://github.com/wjz304/OpenCore_NO_ACPI_Build/


Take a look at the screenshots running on MacOS Big Sur 11.7.1  version and the OC MOD version

 

Preferences has changed to reflect what should be put in Preferences.

 

 

version of OC MOD and OCAT.png

 

 

 

Preferences Menu should reflect what is on the Photo below for OC MOD Version Only.

 

 

preferences.png

 

The hosts file located at /etc/hosts is not touched.

 

 

hosts.png

 

Lastly the address to put into before updating the database

 

https://github.com/wjz304/OpenCore_NO_ACPI_Build/ <-- copy and paste or simply type this in if the link has a problem. overwrite the existing.

 

Copy and paste below where it says Opencore development version update source:

 

update.png

Edited by makk
Link to comment
Share on other sites

The Red ! is ocvalidate complaining about a feature that is not yet applied to the config.plist or is not correctly written or is not in it. Either way

OCAT does take care of this problem I found out with the new version. How convenient.

 It actually applies the new features of OpenCore to your config.plist. I was amazed!

You have to press save in order for this to take affect. Then in the EFI partition there is saved the old config as  'OldConfig.plist' 

Great detail @btwise. Thank you

Edited by makk
Link to comment
Share on other sites

  • 4 months later...
  • 2 months later...

Latest version of OCAT is 20230022 and the latest version of OC-MOD no ACPI is 0.9.4 DEV.

 

I have installed and running using OCAT to update the OC-MOD version and OCAT.

 

Running the Windows version of OCAT and  Screenshot is taken on Windows 11 Pro 22H2.

 

The usage is simple to a point and takes care of several laborious work to keep up hackintosh with OpenCore branch of version.

 

155961391_oc-modandocat.thumb.png.e1d0c2ae7dfc58cd465322f327e6bfc2.png

Edited by makk
Link to comment
Share on other sites

 Share

×
×
  • Create New...