Jump to content

[Discussion] AMDFriend, for (almost) all of your library patching needs


Nyaomi

Recommended Posts

  • 2 months later...

Hi guys,

I have problem with Photoshop 25, after installed Sonoma, PS 25 started, I checked only .jpg but all worked.

When i tried to edit tiff from Lightroom to PS crashed, so I exported .jpg but PS crashed when I tried to use liquify or right after saved photo.

So I downloaded amdfriend, doing all steps, but I'm not sure that I properly install amdfriend, because nothig has changed.

Could someone look at logs from terminal?
It should looking like this?

 

 

 

 

 

Screenshot 2023-12-15 at 00.56.36.png

Screenshot 2023-12-15 at 01.02.15.png

Link to comment
Share on other sites

  • 1 month later...
  • 1 month later...

@fabiosuni had a lot of work so I left my osx and work from Windows. But i'm back to my hackintosh - downloaded from github, and:

1. 

/bin/bash -c "$(curl -fsSL https://raw.githubusercontent.com/Homebrew/install/HEAD/install.sh)"

2. 

brew install nodejs

3. xattr -c /Users/shotem/Downloads/AMDFriend/amdfriend

4. chmod +x/Users/shotem/Downloads/AMDFriend/amdfriend

5. sudo npm install -g /Users/shotem/Downloads/AMDFriend/amdfriend  

And right now i've got error:

Screenshot2024-03-28at00_19_49.thumb.png.dfbc61059755c452f705021c2f1adbcb.png

 

So i put amdfriend to /usr/local/bin

6. sudo npm install -g amdfriend

Screenshot2024-03-28at00_37_50.png.119dc09e1fd8983ebfe2a959a77cd542.png

 

7. sudo amdfriend --in-place --sign --directories /Applications/Adobe\ Photoshop\ 2024/Adobe\ Photoshop\ 2024.app

And get the same error, and PS doesn't work 😞

 

Screenshot2024-03-28at00_39_18.thumb.png.1de2556bf0dabd61de108dc26070bc98.png

 

Any idea?

Link to comment
Share on other sites

  • 1 month later...

Well, I had a comprehensive reading of the topic thanks to my twin Guru @fabiosun 🙂 .

My main question in mind at this stage is the following:

Does this patch work for 99% of the apps (I saw some Adobe Suite softwares, DaVinci and so on...). I guess it is useless for Parallels Desktop.

I use many of them, but not always on the latest build because of compatibility issues.

I have no intellectual problem "playing" with the AMD hack, but if each time there is an Adobe release, the patch needs to be tuned (I am honestly unable to do that on my own), It's going to be somehow a bit crazy.

You can't of course, predict Adobe developers behaviour, but as of today has it been pretty smooth or a bit tricky? 🙂 

 

I already have an AMD setup, it can become my kindergarten for fun, but I need to rely on a pretty stable setup as well.

Intel is safe (Casey has a powerful one to be upgraded to Z70 Creator version).

I rely on your expertise my friends!

Link to comment
Share on other sites

  • Supervisor

The patch is only useful if the apps use MKL Intel Libraries

Davinci doesnt need of it

Photoshop, Premiere pro and After Effects need it 

this below is an example how it is difficult to apply it :

sudo /Users/fabio/Desktop/amdfriend --in-place --sign --directories /Applications/Adobe\ Photoshop\ 2024/Adobe\ Photoshop\ 2024.app

 

AMDFriend does all the job for us

 

and yes it is useless in Parallels Desktop (there is another problem there)

  • Like 1
Link to comment
Share on other sites

  • 1 month later...
Il 26/10/2022 at 18:18, fabiosun ha scritto:

before to have the chance to patch any app you want you have to install well the script

Devs has prepared an executable file which could help you

 

https://github.com/NyaomiDEV/AMDFriend/releases/tag/v1.0.2

 

download it

then

from terminal

 

xattr -c /Users/fabio/Downloads/amdfriend

and then

chmod +x /Users/fabio/Downloads/amdfriend

 

then you can try to patch photoshop

 

sudo /Users/fabio/Downloads/amdfriend --in-place --sign --directories /Applications/Adobe\ Photoshop\ 2023/Adobe\ Photoshop\ 2023.app

Good evening, I'm trying to install "AMD friend", but it gives me this error, can you tell me what I should do?

IMG_20240622_154953.jpg

Link to comment
Share on other sites

3 ore fa, fabiosun ha scritto:

@danydownload directly the binary fom developer:

https://github.com/NyaomiDEV/AMDFriend/releases/tag/v1.0.2

 

then you can open a terminal window and type:

sudo /Users/fabio/Desktop/amdfriend --in-place --sign --directories /Applications/Adobe\ Photoshop\ 2024/Adobe\ Photoshop\ 2024.app

applying exact path for your system and apps

Where am I wrong? with Adobe it went well.

IMG_20240622_194357.jpg

Link to comment
Share on other sites

There's a non-escaped space in the application path.

 

Do not type paths! Use shell autocompletion (<TAB> key). Something like

/A<TAB>Au<TAB>A<TAB>A<TAB>

should give the correct syntax ( AutoCAD\ 2022 ).

 

Or wrap the path in quotes.

  • Ok 1
  • +1 1
Link to comment
Share on other sites

Two problematic files from what the guide also says. .libtbb and .libtbbmalloc. I didn't understand how to solve them, is there anyone who could help me.

IMG_20240623_082720.jpg

Link to comment
Share on other sites

  • Supervisor

@danyi do not remember well but of I am not completely wrong you have to backup before those two files

apply the patch with amdfriend

then put back those backupped files again back 

Edit

only those two file must be patched

AMDFriend in this case patches also others libs

you have to put back them

Link to comment
Share on other sites

48 minuti fa, fabiosun ha scritto:

@danyi do not remember well but of I am not completely wrong you have to backup before those two files

apply the patch with amdfriend

then put back those backupped files again back 

Edit

only those two file must be patched

AMDFriend in this case patches also others libs

you have to put back them

forgive me but...if I understood correctly the two files do not have to be patched, I simply have to put the two files aside, which do not have to be patched, and after having patched everything I put the two files back??

it's correct?

Link to comment
Share on other sites

20 minuti fa, dany ha scritto:

forgive me but...if I understood correctly the two files do not have to be patched, I simply have to put the two files aside, which do not have to be patched, and after having patched everything I put the two files back??

it's correct?

 

1 ora fa, fabiosun ha scritto:

@danyi do not remember well but of I am not completely wrong you have to backup before those two files

apply the patch with amdfriend

then put back those backupped files again back 

Edit

only those two file must be patched

AMDFriend in this case patches also others libs

you have to put back them

forgive me, I misunderstood, you said on the contrary that only these two files need to be patched.

except that I patched everything, what should I do to uninstall AutoCad and reinstall it again?

Link to comment
Share on other sites

  • Supervisor

No sorry..

only those two needs to be patched, amdfriend find also some false positive you have to put them back

i do not remember which files you have to restore ( @tomnic could help here 🙂 )

Before patching backup all autocad folder and then replace some libs (sorry i cant be more precise)

 

Link to comment
Share on other sites

6 minuti fa, fabiosun ha scritto:

No scusa..

solo quei due devono essere riparati, amico trova anche qualche falso positivo devi rimetterli a posto

non ricordo quali file devi ripristinare (@tomnicpotrebbe aiutare qui 🙂  )

Prima di applicare la patch, eseguire il backup di tutte le cartelle di AutoCAD e quindi sostituire alcune librerie (scusate, non posso essere più preciso)

 

ok don't worry, you are always a great help anyway 👍

Link to comment
Share on other sites

  • Supervisor

@dany from an old brainstorming with tomnic 🙂

Routines found for /Users/tomnic/Desktop/org/libaccore.dylib:
<53 48 83 EC 20 8B 35 15 39 5C 00> at offset 6478068 (Hex: 62d8f4)
File /Users/tomnic/Desktop/org/libaccore.dylib was patched.

put back that lib and Autocad will start again 

  • Like 1
Link to comment
Share on other sites

thank you, I have now uninstalled autoCad, tomorrow I will try as soon as I have reinstalled it.

If I succeed I'll be fine otherwise I'll do without it on this PC

27 minuti fa, fabiosun ha scritto:

@dany from an old brainstorming with tomnic 🙂

Routines found for /Users/tomnic/Desktop/org/libaccore.dylib:
<53 48 83 EC 20 8B 35 15 39 5C 00> at offset 6478068 (Hex: 62d8f4)
File /Users/tomnic/Desktop/org/libaccore.dylib was patched.

put back that lib and Autocad will start again 

thank you, I have now uninstalled autoCad, tomorrow I will try as soon as I have reinstalled it.

If I succeed I'll be fine otherwise I'll do without it on this PC

Link to comment
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
  • Recently Browsing   0 members

    • There are no registered users currently online
×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.