thiagomiranda3 / PlaystationMacro

Automation utility for PS4 and PS5 Remote Play written in C#
https://tommiranda.com.br/
MIT License
49 stars 6 forks source link

Psremote play 6.0 incompatibility #1

Open Hevendor opened 1 year ago

Hevendor commented 1 year ago

As seen you have added the issue option in here all write here, too. The new version of psremote play doesn't work with ps macro, when you open your program the inputs are not recognize anymore, and they start working again after closing it. I've tried with an older version of psremote play and psmacro still works on there, but you're limited to a local network connectivity and it doesn't work well with frequent disconnections.

thiagomiranda3 commented 1 year ago

Hello. I will look into it as soon as I have free time. For now, someone said me that the older PS Remote still works as expected. Try keeping using the older version of PS Play for now.

As soon as I can get this fixed, I generate a new release version

DiggsAsura commented 1 year ago

I only downloaded the PS Remote Play now - so obviously have the new version. Is there any way to get hold of an older version?

honkuen commented 1 year ago

Hello. I will look into it as soon as I have free time. For now, someone said me that the older PS Remote still works as expected. Try keeping using the older version of PS Play for now.

As soon as I can get this fixed, I generate a new release version

As long as I updated the PS4 firmware to 10.50, the PlayStationMacro won't work even I downgraded the PS Remote Play to 5.5.0.

Hevendor commented 1 year ago

With version 5.5, when it asks to update, deny it, you will then connect locally. Everytime you'll need to use a new pairing code from the console's settings.

DiggsAsura commented 1 year ago

It won't find my PS5 whis way for some reason, so when I deny -> register pin -> won't find PS5. Even they are on same network and works fine in 6.0.0.

This is on Windows 11 on a Mac through Parallels though, maybe they screw up with the network settings.

Hevendor commented 1 year ago

Probably a network problem. Try to DMZ the ps5 or something like that, it worked when my ps4 had network problems.

akaymd commented 1 year ago

It is possible that RemotePlay is detecting API Hooks to prevent macros. I tried EasyHook Tutorial and got the same behavior. When the Hook is injected, the controller becomes unresponsive. The controller regains response by removing the Hook.

thiagomiranda3 commented 1 year ago

Yes. This weekend I was looking into the problem. They seem to have some antihook mechanism applied in this version.

Even if your hook simply return the original method, we still get the same problem.

Later I will try making the hook be injected before the PS Remote run by using the CreateAndInject method that Easy hook has. Hope this works 😂

akaymd commented 1 year ago

Excellent!

EasyHook Tutolial's CreateAndInject worked. I hope there are no other obstacles.

thiagomiranda3 commented 1 year ago

You are the boss man, don't you want to fix this issue and submit a PR for me? You would be one of the contributors of the project

akaymd commented 1 year ago

Okay, I will try... but it doesn't work.

I applied patch for CreateAndInject to PS4RemotePlayInterceptor. The RemotePlay process starts, but dies before the window appears. On EasyHook Tutorial, works properly.

Do you have any ideas?

akaymd commented 1 year ago

I tried to push above changes, but I don't seem to have write permission to the repository. Can I get permission?

I have never pushed to someone else's repository on github and am not sure.

thiagomiranda3 commented 1 year ago

Oh. The first thing you need to do is to fork the project. This will create a copy of them in your own repository.

Them you add you push your change their and open a pull request, sending the change of your repository to mine.

I will review it and accept later

akaymd commented 1 year ago

I'll try. Thanks.

realshadow commented 1 year ago

Thanks for the great work!

In the meantime, if anyone stumbles on this issue I managed to make it work by downloading older version of remote play (5.5) and using remote play version patcher (you can find it on github).

thiagomiranda3 commented 1 year ago

@akaymd , thanks for the PR. I will review it as soon as I have some free time. Probably tomorrow and at most on this weekend.

hieurick commented 1 year ago

any update bro ?

thiagomiranda3 commented 1 year ago

Not yet. The new PS Remote Play has an anti hook protection that makes this program useless. The only workaround so far to continue using it is by downloading an older version of PSRemotePlay:

https://ps5-remote-play.uptodown.com/windows/descargar/81670958

Download it and when it ask for update to new version, click No. You will have to link it to your PS4/PS5 everytime, but at least the macro will work on this version.

hieurick commented 1 year ago

Thanks bro. But I get this error when using your version with simple script: image

I tried using Komefai's Version but it didn't work: image

Please help ! Many thanks !