Jump to content

Clover General discussion


ErmaC
30,171 posts in this topic

Recommended Posts

18 minutes ago, Matgen84 said:

Hi @Slice

 

I just build and install latest r5104  (a00e14851). I've the same issues described yesterday: quick test message left top corner "all tests" + no icons. 

 

My knowledge is limited: It seems that the files with icns extension aren't display correctly.
 

screenshot0.png

I excluded icns decoder because years ago we stated that all icons must be PNG files renamed to .icns.

  • Like 1
  • Confused 1
Link to comment
Share on other sites

9 minutes ago, Slice said:

I excluded icns decoder because years ago we state that all icon must be PNG files renamed to .icns.

 

Sorry for my bad english: all icons are png files rename to .icns as I describe yesterday. I use one of BadruZeus's theme for Clover that worked fine before. It works if I rollback to r5104 (8dbd938bf).

 

What about quick test message left top corner "all tests"

Edited by Matgen84
Link to comment
Share on other sites

Hi again @Slice

 

I've found a new issue. When I use spacebar or arrow key: there is new message: a code line about operator or something like that, at left top corner. F10 don't work because keyboard don't work, so I can't post the screenshot.

Link to comment
Share on other sites

2 hours ago, Matgen84 said:

 

Sorry for my bad english: all icons are png files rename to .icns as I describe yesterday. I use one of BadruZeus's theme for Clover that worked fine before. It works if I rollback to r5104 (8dbd938bf).

 

What about quick test message left top corner "all tests"

The message "all tests..ok" can be excluded. It will be no in release.

But about icns (PNG) I didn't test the theme. I think those png files are not standard. See Optimise PNG files

Anyway it is strange that it worked before.

  • Like 1
  • Thanks 1
Link to comment
Share on other sites

1 hour ago, Slice said:

The message "all tests..ok" can be excluded. It will be no in release.

But about icns (PNG) I didn't test the theme. I think those png files are not standard. See Optimise PNG files

Anyway it is strange that it worked before.

 

@Slice The theme I'm using, is a BadruZeus's theme for Clover, included in CloverThemeManager. So, I think  icns (PNG) are already optimize. This theme works fine with the version r5104 (8dbd938bf) 
@Jief_Machak knows the problem since Friday (see previous post).

 

Now, there is another issue: When I use spacebar or arrow key to access to Menu: there is new message: a code line message about 'operator' or something like that, at left top corner. F10 don't work because keyboard don't work, so I can't post the screenshot.

Edited by Matgen84
Link to comment
Share on other sites

On 3/6/2020 at 12:50 PM, Matgen84 said:

 

This theme works fine with r5104 (8dbd938bf), don't works with r5104 (bc45ded34): perhaps, the problem comes from change between these two versions and in several commits.

Unfortunately, I have no debug version because I only compile in release mode. So it is difficult to do tests to pinpoint the problem.

There are changes in lodepng.cpp. But we have more recent version and it should work better as the author said.

I may suppose bad png icons are decoded by old algo but failed with better algo. 

Link to comment
Share on other sites

23 minutes ago, Slice said:

There are changes in lodepng.cpp. But we have more recent version and it should work better as the author said.

I may suppose bad png icons are decoded by old algo but failed with better algo. 

 

If it's right, There will be a lot of problems for all themes in CloverThemeManager and the great themes created by Badruzeus. :cry: 

  • Haha 1
Link to comment
Share on other sites

22 minutes ago, vector sigma said:

Any conversion to do on the fly by Clover.app needed.... based on Clover revision??:idea:

May be additional button? <Optimize theme icons>

  • Like 1
Link to comment
Share on other sites

36 minutes ago, Slice said:

May be additional button? <Optimize theme icons>

 

I try Optimize png on my current theme: icons appears again but the new message: a code line message about 'operator'  remains (no keyboard, no mouse). I can boot using timeout.

Link to comment
Share on other sites

8 minutes ago, Slice said:

The message is


12:072  2:196  XArray::ElementAt(xsize) const -> Operator [] : index > m_len

when I pressed SPACE on Mojave icon.

 

Right. :) or when I pressed ARROW key left or right.

Link to comment
Share on other sites

12 hours ago, vector sigma said:

Done: Clover.app.zip

 

guys please report back.. thanks

 

Hi @vector sigma

 

I've got a problem with indexing: not all themes are in preview window. Is it possible to optimize a theme installed which is not in the GitHub theme repo! I don't know if I made a mistake but when I check "Show Installed", Clover.app close itself.

 

Thanks

Capture d’écran 2020-03-08 à 08.03.35.png

  • Like 1
Link to comment
Share on other sites

7 hours ago, Matgen84 said:

repo! I don't know if I made a mistake but when I check "Show Installed", Clover.app close itself.

Simply, you have a very very slow internet connection and no patient :hysterical:. Jokes aside try the last:

 

Clover.app.zip

 

P.S. you can now optimize only installed themes.

 

@Slice, I introduced error handling optimizing themes and this is what I got at first try:

Can't load /Volumes/EFI/EFI/CLOVER/themes/BGM/icons/pointer.icns: incorrect PNG signature, it's no PNG or corrupted

error.png.9af5c6bbdbb0abc58c9fa4f750a88088.png

 

manually checking it is true because it is really an icns instead of a png. Isn't this causing problems?

 

  • Like 1
Link to comment
Share on other sites

30 minutes ago, vector sigma said:

Simply, you have a very very slow internet connection and no patient :hysterical:. Jokes aside try the last:

 

Clover.app.zip

 

P.S. you can now optimize only installed themes.

 

 

Thanks. :weight_lift:

 

I've error message 'incorrect PNG signature, it's no PNG or corrupted' on several real png file on several theme.

  • Like 2
Link to comment
Share on other sites

43 minutes ago, Jief_Machak said:

I'm about to commit the fix in a minute.

 

I've this issue when I build

 

[SLINK] CLOVERX64
Undefined symbols for architecture x86_64:
  "egDecodeICNS(unsigned char*, unsigned long long, unsigned long long, unsigned char)", referenced from:
      egLoadIcon(_EFI_FILE_PROTOCOL*, wchar_t const*, unsigned long long) in CLOVERX64.lib(image.obj)
ld: symbol(s) not found for architecture x86_64
clang: error: linker command failed with exit code 1 (use -v to see invocation)
make: *** [/Users/mathieu/src/CloverBootloader/Build/Clover/RELEASE_XCODE8/X64/rEFIt_UEFI/refit/DEBUG/CLOVERX64.dll] Error 1


build.py...
 : error 7000: Failed to execute command
	make tbuild [/Users/mathieu/src/CloverBootloader/Build/Clover/RELEASE_XCODE8/X64/rEFIt_UEFI/refit]


build.py...
 : error F002: Failed to build module
	/Users/mathieu/src/CloverBootloader/rEFIt_UEFI/refit.inf [X64, XCODE8, RELEASE]

- Failed -
Build end time: 17:53:52, Mar.08 2020

 

Link to comment
Share on other sites

4 minutes ago, Jief_Machak said:

Forgot refit.inf. You can try, it compiles here with xcode.

 

Thanks :) I can build again.

 

There is the same issue...

 

 

Capture d’écran 2020-03-08 à 18.30.14.png

Link to comment
Share on other sites

41 minutes ago, Matgen84 said:

There is the same issue...

Yes but I'm not the theme author... the app is also too precise since it tells you.

34 minutes ago, Slice said:

Theme containing icns format must be rejected as not confirming Clover requirements.

All icons MUST be PNG!

I can covert icns to png on the fly. Should I?

Link to comment
Share on other sites

×
×
  • Create New...