rened 20 Report post Posted August 3, 2022 There was only the 2 sudo lines to run in the terminal. But, i put below the complete script to exec with sudo. -------------------------------------------------------------------------------------------------------------------------------------------------------- #!/bin/zsh /Applications/EyeTV.app/Contents/MacOS/EyeTV& sleep 15 kill % codesign --remove-signature /Applications/EyeTV.app/Contents/MacOS/EyeTV # the LSRequiresNativeExecution parameter set at true hangs on M1 ex /Applications/EyeTV.app/Contents/Info.plist <<% s/\(LSRequiresNativeExecution.*\)true/\1false/ . w q % # binary patch of main program to remove path of FWAUserLib library that force to look for it in folder /usr/local/lib dd bs=1 count=5416 if=/Applications/EyeTV.app/Contents/MacOS/EyeTV of=p1 dd bs=5427 skip=1 if=/Applications/EyeTV.app/Contents/MacOS/EyeTV of=p3 echo -n FWAUserLib\\0x0 >p2 cat p1 p2 p3 >/Applications/EyeTV.app/Contents/MacOS/EyeTV chmod 755 /Applications/EyeTV.app/Contents/MacOS/EyeTV rm p1 p2 p3 # copy FWAUserLib library in /usr/local/lib folder mkdir /usr/local/lib cp ~/Downloads/FWAUserLib.framework/Versions/A/FWAUserLib /usr/local/lib #signature not working with new os codesign --remove-signature /usr/local/lib/FWAUserLib #for gatekeeper xattr -d com.apple.quarantine /usr/local/lib/FWAUserLib ----------------------------------------------------------------------- Quote Share this post Link to post Share on other sites
LachNed 1 Report post Posted August 4, 2022 Hi rened, thanks a lot... Now it works... I have no idea what mistake I've done the last times... But with your complete script EyeTV starts up and is running... Perfect... Hopefully it will still run with the next system updates of Ventura Have a great week and weekend Quote Share this post Link to post Share on other sites
Gnappo 2 Report post Posted August 12, 2022 I modified the script and used it to start EyeTV without writing the command "sudo /Applications/EyeTV.app/Contents/MacOS/EyeTV" each time in the terminal I set it to start when Mac starts, the problem is that every time I have to write the password in the terminal, is there a way to do it automatically through the script? EyeTV Quote Share this post Link to post Share on other sites
rened 20 Report post Posted August 12, 2022 Hi Gnappo, The script must be started only one time. The script apply some modifications to the application. After the application starts normally . Quote Share this post Link to post Share on other sites
Gnappo 2 Report post Posted August 13, 2022 I have a strange problem, on Ventura in a virtual machine it works fine, in dual boot with Monterey it opens only via the terminal Quote Share this post Link to post Share on other sites
rened 20 Report post Posted August 13, 2022 Hi Gnappo, Which hardware is your computer with dual boot (Intel or M1 ) ? What messages have you if , on the Monterey boot, you type in the Terminal without sudo "/Applications/EyeTV.app/Contents/MacOS/EyeTV" The script (in this discussion is only for Ventura) from the line "# binary patch of main program to remove path of FWAUserLib " because the FWAUserLib no more exist on Ventura It seems that /usr/local/lib is protected by SIP on Monterey but not on Ventura ( to be verify in final version of Ventura) Reinstall on monterey boot, 8528 eyetv from dmg image and rexecute this smaller script ---------------------------------------------------------------------------- #!/bin/zsh /Applications/EyeTV.app/Contents/MacOS/EyeTV& sleep 15 kill % codesign --remove-signature /Applications/EyeTV.app/Contents/MacOS/EyeTV # the LSRequiresNativeExecution parameter set at true hangs on M1 ex /Applications/EyeTV.app/Contents/Info.plist <<% s/\(LSRequiresNativeExecution.*\)true/\1false/ . w q % ---------------------------------------------------------------------------- Then try to start normaly eyetv Quote Share this post Link to post Share on other sites
Gnappo 2 Report post Posted August 13, 2022 Mac mini M1 - macOS Ventura Developer Beta 5 Build 22A5321d + macOS Monterey 12.5 EyeTV 8528 just installed Terminal without sudo "/Applications/EyeTV.app/Contents/MacOS/EyeTV" (Monterey) Last login: Sat Aug 13 13:31:53 on console gnappo@Mac-mini ~ % /Applications/EyeTV.app/Contents/MacOS/EyeTV [13:36:40.0994 | ECMicroStackChain | virtual void ECMicroStackChain::Unblock()]: Failed to unblock! destBuild: 0 2022-08-13 13:36:43.508 EyeTV[1224:12851] CFPropertyListCreateFromXMLData(): Old-style plist parser: missing semicolon in dictionary on line 885. Parsing will be abandoned. Break on _CFPropertyListMissingSemicolon to debug. mGuide =17 mGuide =18 2022-08-13 13:36:48.385 EyeTV[1224:13200] Error loading /Applications/EyeTV.app/Contents/Frameworks/CoreAVC.framework/CoreAVC: dlopen(/Applications/EyeTV.app/Contents/Frameworks/CoreAVC.framework/CoreAVC, 0x0109): tried: '/Applications/EyeTV.app/Contents/Frameworks/CoreAVC.framework/CoreAVC' (code signature in <4192015D-BA7F-8354-37C6-74211F691D57> '/Applications/EyeTV.app/Contents/Frameworks/CoreAVC.framework/Versions/A/CoreAVC' not valid for use in process: mapped file has no cdhash, completely unsigned? Code has to be at least ad-hoc signed.), '/System/Library/Frameworks/CoreAVC.framework/CoreAVC' (no such file), '/Applications/EyeTV.app/Contents/Frameworks/CoreAVC.framework/Versions/A/CoreAVC' (code signature in <4192015D-BA7F-8354-37C6-74211F691D57> '/Applications/EyeTV.app/Contents/Frameworks/CoreAVC.framework/Versions/A/CoreAVC' not valid for use in process: mapped file has no cdhash, completely unsigned? Code has to be at least ad-hoc signed.), '/System/Library/Frameworks/CoreAVC.framework/Versions/A/CoreAVC' (no such file) 2022-08-13 13:37:15.699 EyeTV[1224:13687] {length = 32, bytes = 0xe7fbbc77 290821fa 3641ac78 e0643c44 ... 710b6408 25e1c9d9 } 2022-08-13 13:37:15.700 EyeTV[1224:13687] 5/u8dykIIfo2Qax44GQ8RM8mIh1rJAy8cQtkCCXhydk= 2022-08-13 13:37:15.707 EyeTV[1224:13691] {length = 32, bytes = 0xe7fbbc77 290821fa 3641ac78 e0643c44 ... 710b6408 25e1c9d9 } 2022-08-13 13:37:15.707 EyeTV[1224:13691] 5/u8dykIIfo2Qax44GQ8RM8mIh1rJAy8cQtkCCXhydk= Gracenote: Getting the TVSETUP_EU failed with GCSP: Hello error: [65666] Please contact Elgato EyeTV eyeQ [iq-10180] Prod support. [Gracenote Error 130/74] gnappo@Mac-mini ~ % Reinstalled EyeTv 8528 from dmg on Monterey and ran the script, now it starts normally. What am i wrong about Ventura? Quote Share this post Link to post Share on other sites
rened 20 Report post Posted August 13, 2022 I don't understand "What am i wrong about Ventura?" , before you wrote "I have a strange problem, on Ventura in a virtual machine it works fine" Quote Share this post Link to post Share on other sites
rened 20 Report post Posted August 13, 2022 Perhaps, you have Ventura in a virtual machine and Ventura as secondary native boot. It works fine in virtual but not in native boot ? What are the messages when you boot on Ventura native boot and you start with sudo the complete script for Ventura with FWAUserLib ? Quote Share this post Link to post Share on other sites
Gnappo 2 Report post Posted August 13, 2022 (edited) Yes, Ventura in a virtual machine + Monterey and Ventura as native boot Works fine in virtual machine, native boot works only via terminal "sudo /Applications/EyeTV.app/Contents/MacOS/EyeTV" macOS Ventura Developer Beta 5 Build 22A5321d native boot, EyeTV 8528 just installed (from dmg) gnappo@Mac-Mini downloads % sudo zsh ./patch Password: destBuild: 0 2022-08-13 15:09:26.685 EyeTV[1033:12722] {length = 32, bytes = 0xdc1beba6 b15599f8 dde587ba 9c0ff4f1 ... 1ee65db8 3299dfef } 2022-08-13 15:09:26.685 EyeTV[1033:12722] 3BvrprFVmfjd5Ye6nA/08bZRmvmr+BpkHuZduDKZ3+8= /Applications/EyeTV.app/Contents/MacOS/EyeTV: unimplemented code signing feature 5416+0 records in 5416+0 records out 5416 bytes transferred in 0.027489 secs (197024 bytes/sec) 3796+1 records in 3796+1 records out 20602045 bytes transferred in 0.026320 secs (782752470 bytes/sec) mkdir: /usr/local/lib: File exists /usr/local/lib/FWAUserLib: No such file or directory gnappo@Mac-Mini downloads % Edited August 13, 2022 by Gnappo my error Quote Share this post Link to post Share on other sites
rened 20 Report post Posted August 13, 2022 Sorry, there is a thing missing which is wrote at beginning of discussion. You must download the FWAUserLib from the link: https://eyetvforum.com/applications/core/interface/file/attachment.php?id=1223 and unzip it in the Downloads folder and then restart the script : You will not have message again : "/usr/local/lib/FWAUserLib: No such file or directory" But now , I don't understand why it works fine in virtual What is the version of Ventura in virtual ? do the commands in the virtual: ls -l /usr/local/lib/ /System/Library/Frameworks/FWAUserLib.framework and /Applications/EyeTV.app/Contents/MacOS/EyeTV Quote Share this post Link to post Share on other sites
Gnappo 2 Report post Posted August 13, 2022 FWAUserLib already downloaded and unzipped in the download folder Same native and virtual version (macOS Ventura Developer Beta 5 Build 22A5321d) Ventura virtual machine gnappo@Parallels-Desktop ~ % ls -l /usr/local/lib/ /System/Library/Frameworks/FWAUserLib.framework ls: /System/Library/Frameworks/FWAUserLib.framework: No such file or directory /usr/local/lib/: total 200 -rwxr-xr-x 1 root wheel 99808 13 Ago 10:01 FWAUserLib gnappo@Parallels-Desktop ~ % -------------------------------------------------------------------------------------- gnappo@Parallels-Desktop ~ % /Applications/EyeTV.app/Contents/MacOS/EyeTV [17:23:45.0388 | ECMicroStackChain | virtual void ECMicroStackChain::Unblock()]: Failed to unblock! destBuild: 0 2022-08-13 17:23:45.409 EyeTV[628:4501] {length = 32, bytes = 0xcbf628f6 31c2bc3a 3b44f205 6f3d0782 ... 10a34f34 13cc3ffc } 2022-08-13 17:23:45.409 EyeTV[628:4501] y/Yo9jHCvDo7RPIFbz0Hgv1jZ+G94DwjEKNPNBPMP/w= Located char match from search: item 'Quit EyeTV' in menu 'EyeTV' with match penalty 0 Choosing result from list: item 'Quit EyeTV' in menu 'EyeTV' with match penalty 0 gnappo@Parallels-Desktop ~ % Quote Share this post Link to post Share on other sites
rened 20 Report post Posted August 13, 2022 What messages have you if in native ventura you start without sudo: /Applications/EyeTV.app/Contents/MacOS/EyeTV Quote Share this post Link to post Share on other sites
Gnappo 2 Report post Posted August 13, 2022 Native Ventura Last login: Sat Aug 13 18:00:02 on ttys001 gnappo@Mac-Mini ~ % /Applications/EyeTV.app/Contents/MacOS/EyeTV dyld[1785]: Library not loaded: FWAUserLib Referenced from: <EA4FCAB2-6EFC-39BB-905F-96EA95A7B9E8> /Applications/EyeTV.app/Contents/MacOS/EyeTV Reason: tried: 'FWAUserLib' (no such file), '/System/Volumes/Preboot/Cryptexes/OSFWAUserLib' (no such file), 'FWAUserLib' (no such file), '/usr/local/lib/FWAUserLib' (open() failed with errno=13), '/usr/lib/FWAUserLib' (no such file, not in dyld cache), '/Users/gnappo/FWAUserLib' (no such file), '/System/Volumes/Preboot/Cryptexes/OS/Users/gnappo/FWAUserLib' (no such file), '/Users/gnappo/FWAUserLib' (no such file), '/usr/local/lib/FWAUserLib' (open() failed with errno=13), '/usr/lib/FWAUserLib' (no such file, not in dyld cache) zsh: abort /Applications/EyeTV.app/Contents/MacOS/EyeTV gnappo@Mac-Mini ~ % Quote Share this post Link to post Share on other sites
Gnappo 2 Report post Posted August 13, 2022 Problem solved, i copied the /usr/local/lib/FWAUserLib file from virtual machine to native Quote Share this post Link to post Share on other sites
rened 20 Report post Posted August 13, 2022 Do: ls -l /usr/local/lib/ Quote Share this post Link to post Share on other sites
rened 20 Report post Posted August 13, 2022 There was a problem of user rights on the FWAUserLib. Quote Share this post Link to post Share on other sites
RD records 1 Report post Posted August 15, 2022 The script in Terminal does not work on my Mac. I'm getting a few <feff> on white background. Is this the reason? Quote Share this post Link to post Share on other sites
rened 20 Report post Posted August 15, 2022 I put it again without these characters ( I don't know find when they come perhaps textedit on ventura ? ) I have added a line for user rights ___________________________________________________________________________ #!/bin/zsh /Applications/EyeTV.app/Contents/MacOS/EyeTV& sleep 15 kill % codesign --remove-signature /Applications/EyeTV.app/Contents/MacOS/EyeTV # the LSRequiresNativeExecution parameter set at true hangs on M1 ex /Applications/EyeTV.app/Contents/Info.plist <<% s/\(LSRequiresNativeExecution.*\)true/\1false/ . w q % # binary patch of main program to remove path of FWAUserLib library that force to look for it in folder /usr/local/lib dd bs=1 count=5416 if=/Applications/EyeTV.app/Contents/MacOS/EyeTV of=p1 dd bs=5427 skip=1 if=/Applications/EyeTV.app/Contents/MacOS/EyeTV of=p3 echo -n FWAUserLib\\0x0 >p2 cat p1 p2 p3 >/Applications/EyeTV.app/Contents/MacOS/EyeTV chmod 755 /Applications/EyeTV.app/Contents/MacOS/EyeTV rm p1 p2 p3 # copy FWAUserLib library in /usr/local/lib folder mkdir /usr/local/lib cp ~/Downloads/FWAUserLib.framework/Versions/A/FWAUserLib /usr/local/lib #signature not working with new os codesign --remove-signature /usr/local/lib/FWAUserLib #for gatekeeper xattr -d com.apple.quarantine /usr/local/lib/FWAUserLib chmod 744 /usr/local/lib/FWAUserLib ___________________________________________________________________________ Quote Share this post Link to post Share on other sites
Gnyffe 7 Report post Posted August 19, 2022 Really hope that there will be an update to EyeTV to fix this issue. 😬 Quote Share this post Link to post Share on other sites
RD records 1 Report post Posted August 19, 2022 (edited) I'm still getting this in Terminal zsh: event not found: /bin/zsh And this # copy FWAUserLib library in /usr/local/lib folder mkdir /usr/local/lib<feff> cp ~/Downloads/FWAUserLib.framework/Versions/A/FWAUserLib /usr/local/lib zsh: command not found: # mkdir: /usr/local/lib: Permission denied cp: /usr/local/lib/FWAUserLib: Permission denied Edited August 19, 2022 by RD records Quote Share this post Link to post Share on other sites
rened 20 Report post Posted August 19, 2022 I have join the script file without the bad characters that comes from the web interface of this site. You must do : sudo zsh ./eyetv-ventura.sh eyetv-ventura.sh Quote Share this post Link to post Share on other sites
RD records 1 Report post Posted August 19, 2022 (edited) still zsh: command not found etc... But thank you I'll give up for now. Maybe Geniatec will do something. These kind of hacks seem too risky for me as a regular user. Edited August 19, 2022 by RD records 1 Quote Share this post Link to post Share on other sites
rened 20 Report post Posted August 19, 2022 type: ls /bin/zsh uname -a Quote Share this post Link to post Share on other sites
rened 20 Report post Posted August 19, 2022 The precedent script does not work well on last beta of Ventura (22A5321d) (problems with gatekeeper). I have made a new one that I join and the procedure is: 1 install version 8528 of eyetv4 (https://file.geniatech.com/eyetv4/EyeTV4.0.0_8528.dmg) 2 Extract Framework "FWAUserLib.framework.zip" in your Downloads folder 3 In a "Terminal" window , type : 4 cd Downloads 5 sudo zsh ./eyetv-ventura1.sh 6 start normaly EyeTV eyetv-ventura1.sh 1 Quote Share this post Link to post Share on other sites