Jump to content
511 posts in this topic

Recommended Posts

@deeveedee

As usual, your tip was the fix.

Just change the platform in the .spec file and it compiled as it should. With Python outside of Brew.
Thanks!!!

 

Spoiler
% /Users/yo/OCLP-Mod-multi/OCLP-Mod > ./Build-Project.command 
Deleting extra binaries...
- payloads.dmg already exists, skipping creation
Downloading required resources...
- Universal-Binaries.dmg already exists, skipping download
Signing and Notarization details not provided, skipping
Analytics key or endpoint not provided, skipping embedding
Generating OCLP-Mod.app
Patching LC_VERSION_MIN_MACOSX
Embedding git data
Embedding resources
Signing and Notarization details not provided, skipping
Generating OCLP-Mod-Uninstaller.pkg
Generating OCLP-Mod.pkg
Generating AutoPkg-Assets.pkg
Signing and Notarization details not provided, skipping
Signing and Notarization details not provided, skipping
Build script completed in 78.12 seconds

 

 

@robi62

I had compiled the mod following deeveedee advice but the installed app is in chinese, language change does not work. So I don't send it to you.

 

@laobamac_yyds

When I pull the multilingual branch with Git, the compiled package installs the application but the language handler doesn't work. I only see it in Chinese.
Is there anything we need to do to get the multilingual branch compiled to generate the application with the languages? Thank you.

 

Edited by miliuco
  • Like 1

@miliuco @deeveedee

ok I tried again following deeveedee advice like previous attempt   this time it downloads and install the requirement text without problem but when I run the last command 

I get same error I was getting first time???

I don't understand it 🙄

 

user@users-MacBook-Pro ~ % which python3

/usr/local/bin/python3

user@users-MacBook-Pro ~ % python3 --version

Python 3.11.0

user@users-MacBook-Pro ~ % gh repo clone https://github.com/laobamac/OCLP-Mod

Cloning into 'OCLP-Mod'...

remote: Enumerating objects: 5461, done.

remote: Counting objects: 100% (181/181), done.

remote: Compressing objects: 100% (97/97), done.

remote: Total 5461 (delta 97), reused 84 (delta 84), pack-reused 5280 (from 3)

Receiving objects: 100% (5461/5461), 180.78 MiB | 41.39 MiB/s, done.

Resolving deltas: 100% (3510/3510), done.

Updating files: 100% (671/671), done.

user@users-MacBook-Pro ~ % cd OCLP-Mod

user@users-MacBook-Pro OCLP-Mod % git checkout multilingual

branch 'multilingual' set up to track 'origin/multilingual'.

Switched to a new branch 'multilingual'

user@users-MacBook-Pro OCLP-Mod % python3 -m venv oclp;source oclp/bin/activate;pip3 install -r requirements.txt

Collecting wxPython@ https://pypi.tuna.tsinghua.edu.cn/packages/48/20/390530466538829eb8aa75256514d6fd976da2f272a068f4d00f90ab8013/wxPython-4.2.2-cp311-cp311-macosx_10_10_universal2.whl#sha256=0fe3cb940f5da4f0ec61c3cf37e63c0f577f09a7b9a5d3d7cfc59399eb18cb3b

  Using cached https://pypi.tuna.tsinghua.edu.cn/packages/48/20/390530466538829eb8aa75256514d6fd976da2f272a068f4d00f90ab8013/wxPython-4.2.2-cp311-cp311-macosx_10_10_universal2.whl (30.4 MB)

Collecting six

  Using cached six-1.17.0-py2.py3-none-any.whl (11 kB)

Collecting numpy

  Using cached numpy-2.3.1-cp311-cp311-macosx_14_0_x86_64.whl (6.9 MB)

Installing collected packages: six, numpy, wxPython

Successfully installed numpy-2.3.1 six-1.17.0 wxPython-4.2.2

 

[notice] A new release of pip available: 22.3 -> 25.1.1

[notice] To update, run: pip install --upgrade pip

(oclp) user@users-MacBook-Pro OCLP-Mod %  python3 OCLP-Mod-GUI.command

Traceback (most recent call last):

  File "/Users/user/OCLP-Mod/OCLP-Mod-GUI.command", line 6, in <module>

    from oclp_mod import main

  File "/Users/user/OCLP-Mod/oclp_mod/__init__.py", line 1, in <module>

    from .application_entry import main

  File "/Users/user/OCLP-Mod/oclp_mod/application_entry.py", line 13, in <module>

    from . import constants

  File "/Users/user/OCLP-Mod/oclp_mod/constants.py", line 7, in <module>

    from packaging import version

ModuleNotFoundError: No module named 'packaging'

(oclp) user@users-MacBook-Pro OCLP-Mod %

 

 

Edited by robi62
  • Like 1
12 hours ago, miliuco said:

@deeveedee

As usual, your tip was the fix.

Just change the platform in the .spec file and it compiled as it should. With Python outside of Brew.
Thanks!!!

 

  Hide contents
% /Users/yo/OCLP-Mod-multi/OCLP-Mod > ./Build-Project.command 
Deleting extra binaries...
- payloads.dmg already exists, skipping creation
Downloading required resources...
- Universal-Binaries.dmg already exists, skipping download
Signing and Notarization details not provided, skipping
Analytics key or endpoint not provided, skipping embedding
Generating OCLP-Mod.app
Patching LC_VERSION_MIN_MACOSX
Embedding git data
Embedding resources
Signing and Notarization details not provided, skipping
Generating OCLP-Mod-Uninstaller.pkg
Generating OCLP-Mod.pkg
Generating AutoPkg-Assets.pkg
Signing and Notarization details not provided, skipping
Signing and Notarization details not provided, skipping
Build script completed in 78.12 seconds

 

 

@robi62

I had compiled the mod following deeveedee advice but the installed app is in chinese, language change does not work. So I don't send it to you.

 

@laobamac_yyds

When I pull the multilingual branch with Git, the compiled package installs the application but the language handler doesn't work. I only see it in Chinese.
Is there anything we need to do to get the multilingual branch compiled to generate the application with the languages? Thank you.

 

@miliuco you did not use the command you posted for me to build it??

you used  ./Build-Project.command??

I am confused???

Edited by robi62
  • Like 1

@robi62

Different things.

With the repository downloaded to disk, you can run the application without installing it with OCLP-Mod-GUI.command. This way I see the application with the language function correctly.

Build-project.command compiles the code and generates the installer, in theory it is the same source code but this way the language change does not work well and I always see it in Chinese.

The first part: to have Python properly installed, have the repository on your disk and change the line in the requirements.txt file you always have to do them. The change proposed by @deeveedee in the .specs file is only to build the installer.

  • Like 1
35 minutes ago, miliuco said:

@robi62

Different things.

With the repository downloaded to disk, you can run the application without installing it with OCLP-Mod-GUI.command. This way I see the application with the language function correctly.

Build-project.command compiles the code and generates the installer, in theory it is the same source code but this way the language change does not work well and I always see it in Chinese.

The first part: to have Python properly installed, have the repository on your disk and change the line in the requirements.txt file you always have to do them. The change proposed by @deeveedee in the .specs file is only to build the installer.

ok I tried again just now on a different Tahoe disk installed python 3.11 as suggested change requirement text and the spec as suggested but still getting the errors????

ollecting six

  Downloading six-1.17.0-py2.py3-none-any.whl (11 kB)

Collecting numpy

  Downloading numpy-2.3.1-cp311-cp311-macosx_14_0_x86_64.whl (6.9 MB)

     ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 6.9/6.9 MB 34.8 MB/s eta 0:00:00

Installing collected packages: six, numpy, wxPython

Successfully installed numpy-2.3.1 six-1.17.0 wxPython-4.2.2

WARNING: There was an error checking the latest version of pip.

(oclp) user@MacBook-Pro OCLP-Mod % python3 OCLP-Mod-GUI.command

Traceback (most recent call last):

  File "/Users/user/OCLP-Mod/OCLP-Mod-GUI.command", line 6, in <module>

    from oclp_mod import main

  File "/Users/user/OCLP-Mod/oclp_mod/__init__.py", line 1, in <module>

    from .application_entry import main

  File "/Users/user/OCLP-Mod/oclp_mod/application_entry.py", line 13, in <module>

    from . import constants

  File "/Users/user/OCLP-Mod/oclp_mod/constants.py", line 7, in <module>

    from packaging import version

ModuleNotFoundError: No module named 'packaging'

(oclp) user@MacBook-Pro OCLP-Mod %

  • Confused 1

Hi @laobamac_yyds do you know why the About USB is diferant after the patching USB for Tahoe 26

Same thing using OpenCore or Clover

 

See before 

image.thumb.png.c4927782e01b28e858e641f6961ca773.png

 

See After 

image.thumb.png.5619c72ea82c8cae1b7d03341c81f608.png

Edited by chris1111
  • Like 1
47 minutes ago, chris1111 said:

Hi @laobamac_yyds do you know why the About USB is diferant after the patching USB for Tahoe 26

Same thing using OpenCore or Clover

 

See before 

image.thumb.png.c4927782e01b28e858e641f6961ca773.png

 

See After 

image.thumb.png.5619c72ea82c8cae1b7d03341c81f608.png

Because Tahoe has placed all USB bus information in AppleUSBCommon and IOUSBHostFamily instead of the old version of IOUSBFamily. Unfortunately, the old version of IOUSBFamily cannot run in the environment of the new versions AppleUSBCommon and IOUSBHostFamily due to the lack of corresponding symbols. So we had to merge all Sonoma's USB extensions into Tahoe, which indirectly led to abnormal display of the USB device tree. However, it only displays abnormalities and has no impact on functionality and speed, even allowing the 15 port restriction patch to work again. I'll take a look at this problem and see if there are any alternative solutions

Edited by laobamac_yyds
  • Like 4
  • Thanks 3

@robi62

Do you want to do something directly on the @laobamac_yyds repo or do you prefer to get the translation file to work on it and I push it on the repo?

Main file is en_US.json, with (incomplete) strings, but there are a few files where to add the new language. 
Do it yourself or PM and we work on it together. 

1 hour ago, miliuco said:

@robi62

Do you want to do something directly on the @laobamac_yyds repo or do you prefer to get the translation file to work on it and I push it on the repo?

Main file is en_US.json, with (incomplete) strings, but there are a few files where to add the new language. 
Do it yourself or PM and we work on it together. 

Hi miliuco I have polished the Italian file and I'm quite happy how it looks now 

You can have it and use it on the repo 😀

 

 

it_IT.json

Edited by robi62
  • Like 1

@miliuco

Brother, it seems like there are occasional crash pop ups when I open the multilingual version, but I don't know exactly how it was triggered. Anyway, the multilingual version is not very stable on my computer.Can you and S.R. solve these bugs?thx

  • Like 2

@laobamac_yyds

Yes, multilingual is unstable.

When running by OCLP-Mod-GUI.command, main windows has language handler working.

When building with Build-Project.command, both the standalone app and the one installed from PKG are only displayed in Chinese and the language handler does not work.

I still don't know the cause of this behavior.
Aside from that, multilingual has some issues missing from the main branch, for example when applying the AppleHDA patch.

Remember I'm a poor coder but I'll try to work on the multilingual repo.

  • Like 3
  • Thanks 1

@laobamac_yyds   @chris1111 Hi guys we have a problem 😪

If I install the usb fix for Tahoe to make Chris1111 wifi work I lose the webcam functionality

I just realized tonight as I do not know why I put camera on 😂

have a look at both screen shots

Exactly same version of Tahoe but no webcam working after the usb old patch

Screenshot 2025-07-25 at 22.13.51.png

Screenshot 2025-07-25 at 22.18.43.png

Edited by robi62
  • Thanks 1

@robi62 You are absolutely right, I did not use my CAM in Tahoe and on my PC and laptop I no longer have a CAM.

@laobamac_yyds defenitely an issue wit the USB Tahoe patch here

 

I open issue

https://github.com/laobamac/OCLP-Mod/issues/26

Edited by chris1111
  • Like 1
4 hours ago, chris1111 said:

@robi62 You are absolutely right, I did not use my CAM in Tahoe and on my PC and laptop I no longer have a CAM.

@laobamac_yyds defenitely an issue wit the USB Tahoe patch here

 

I open issue

https://github.com/laobamac/OCLP-Mod/issues/26

received. I will go home tonight to confirm this issue

  • Like 2

@laobamac_yyds I don't know if this helps you but took screenshot of loaded usb working in Tahoe and Sequoia

I have notice that you went lower on 1 of the sequoia uses version 250 and you used version 245???

1St one is Sequoia

 

 

Screenshot working Sequioa.jpg

Screenshot Tahoe.png

2 hours ago, robi62 said:

@laobamac_yyds I don't know if this helps you but took screenshot of loaded usb working in Tahoe and Sequoia

I have notice that you went lower on 1 of the sequoia uses version 250 and you used version 245???

1St one is Sequoia

 

 

Screenshot working Sequioa.jpg

Screenshot Tahoe.png

I checked the IOUSBFamily for 14.7.6 and 15.5, and found that 14.7.6 contains symbols that are closer to Tahoe, so I used Sonoma. In fact, I have also tested the 15.5 file and the effect is the same.

Edited by laobamac_yyds
  • Like 2
  • Sad 1
On 7/24/2025 at 2:53 PM, robi62 said:

Hi miliuco I have polished the Italian file and I'm quite happy how it looks now 

You can have it and use it on the repo 😀

 

 

it_IT.json 23.46 kB · 6 downloads

Where should you put your file for translation?

@vrondena

It's notas easy. 
Once you have the translation file, you need to check the app windows to ensure there are no strings that are cut off because they are longer than the text boxes or overlap other elements.

Yo have to fix any strings that require it, keeping their meaning as close as possible.

It's best to get the source code from @laobamac_yyds repo to edit it on your PC and create a Pull Request. If he accepts the changes.

On 7/29/2025 at 12:16 PM, miliuco said:

@vrondena

It's notas easy. 
Once you have the translation file, you need to check the app windows to ensure there are no strings that are cut off because they are longer than the text boxes or overlap other elements.

Yo have to fix any strings that require it, keeping their meaning as close as possible.

It's best to get the source code from @laobamac_yyds repo to edit it on your PC and create a Pull Request. If he accepts the changes.

You mean like this

Screenshot 2025-07-30 alle 14.22.39.png

Screenshot 2025-07-30 alle 14.21.53.png

Screenshot 2025-07-30 alle 14.22.10.png

  • Like 1
×
×
  • Create New...