Jump to content
484 posts in this topic

Recommended Posts

Guest 5T33Z0

@ic005k OCAT killed my config. I forgot to close the app after saving. Then I rebooted and the config was corrupted:

 

Beginning of file:

749774618_Bildschirmfoto2.png.dd5f1a133347f9cd9aae628acaba68f0.png

>> Header is ****ed.

 

Then I tried fixing it and noticed that it had been after the End of the file:

1628774219_Bildschirmfoto1.png.49f99258cc20ff7b33b16038d521134d.png

Anyway, I couldn't reconstruct the plist. Luckily, I had a backup. But this is a serious issue.

 

13 minutes ago, 5T33Z0 said:

OCAT killed my config. I forgot to close the app after saving. Then I rebooted and the config was corrupted

This problem will never happen, whether you save or not, OCAT will not damage your profile without turning it off. You can test it again.
There is a possibility that your configuration file is being opened by other software at the same time, which may cause your configuration file to be corrupted.
In any case, I will keep an eye on this issue and appreciate the feedback.

@5T33Z0 

In terms of design principles, because OCAT does not have a write operation at any other time unless you save it, the configuration file corruption is 100% not caused by OCAT.

You can test it repeatedly.

Hello @ic005k,

 

I found there is no boolean class in NVRAM varaible. Could you please add that variable class. Now we have to use string with YES or NO value. I don't know if it has any difference.

 

regards

Junaed

 

8 hours ago, junaed.rx said:

Now we have to use string with YES or NO value.

Although the value is "YES" or "NO", its data type is still "string", so it is not a Boolean type.
But I am not sure if it is necessary to add a boolean data type, if it is necessary, I will add it, it is very simple.

Guest 5T33Z0
19 hours ago, ic005k said:

Although the value is "YES" or "NO", its data type is still "string", so it is not a Boolean type.
But I am not sure if it is necessary to add a boolean data type, if it is necessary, I will add it, it is very simple.

 

So far, I haven't seen any keys in Boolean in the NVRAM Section. And I don't know if OpenCore could interpret the value of a key if you switched it to boolean – even if it's just about "true" or "false".

6 minutes ago, 5T33Z0 said:

So far, I haven't seen any keys in Boolean in the NVRAM Section. And I don't know if OpenCore could interpret the value of a key if you switched it to boolean – even if it's just about "true" or "false".

Actually I also don't care about it that much. I noticed it when I tried to set NVRAM variable of HibernationFixup.kext per it's documentaion. Where it mentioned bunch of NVRAM variables with boolean type. That's why I thought, for the sake of fine tuning of OCAT, this could be included. Nothing more. Here is the link: HibernationFixup. See NVRAM Options section. 

  • Like 1
18 hours ago, 5T33Z0 said:

I think this issue only occurs after saving the file and then rebooting without quitting the app.

I think this problem has something to do with config.plist being opened by some text editor. Please recall carefully if your config.plist was opened by a text editor when this problem occurred.

@5T33Z0In terms of technical principles, if this problem was created by OCAT, then it would have been a problem to begin with, that is, as soon as the config.plist is saved, it would destroy that config.plist.
Although I am interested in this issue, I still can't figure it out at the moment and I will continue to analyze it.

1 hour ago, niknod said:

I had same problem I updated using ocat than when opened with proper tree and sync and saved it destroyed my config.plist wouldn't boot.

The corruption we are talking about is that the file is corrupted and cannot be opened, for example, when you open this config.plist with a text editor, it shows a mess of codes, not that the OC is not set correctly and cannot be booted.
Please provide your corrupted config.plist file and I will analyze it on my side, thanks.

@niknod

Also, if you need to use OCAT's Sync OC feature, you need to save your config.plist and upgrade it to the latest version at the same time.

If you just synchronize the OC without upgrading the config.plist (save it in OCAT), the OC may not boot properly.

11 minutes ago, niknod said:

I use sanity checker

What is this software? Is it officially provided by OC? Otherwise, please ignore it.
All the tools used by OCAT are officially provided by OC, please refer to OC official.

Guest 5T33Z0
2 hours ago, ic005k said:

@niknod

What is this software? Is it officially provided by OC? Otherwise, please ignore it.

All the tools used by OCAT are officially provided by OC, please refer to OC official.

 

It's a website which uses data from the install guide to compare it with the settings in the config.plist to check if you have the correct settings for the selected cpu family. It is no longer maintained.

 

https://opencore.slowgeek.com/ 

@5T33Z0I recommend that you only use OCAT for now and suspend the other editors, or upgrade the other editors to the latest version and see what happens. If you use OCAT alone, I believe there will be no problem.
As always, you are welcome to suggest improvements or ask any questions about OCAT. Thank you.

@ic005k Okay. One thing I wish would be different is the behavior of the "Generate"  function in the ProductInfo Section. As of now, it auto-generates new SMBIOS Data as soon as you change the model. If I change the SystemProductName from MacBookPro10,1 to MacBookPro11,4 (which I need to do for installing macOS Monterey Updates), it generates new SMBIOS data automatically. It would be good if it wouldn't do that automatically. Otherwise I have to edit the file in a plist editor. So, changing the generate options from auto to manual would be useful.

Edited by 5T33Z0
×
×
  • Create New...