Skip to content

Commit

Permalink
Add Mac security hint
Browse files Browse the repository at this point in the history
  • Loading branch information
dbean104 committed Jan 15, 2023
1 parent 1200767 commit 75ce687
Showing 1 changed file with 6 additions and 3 deletions.
9 changes: 6 additions & 3 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -10,15 +10,15 @@ Re-implementing some of this algorithm in Python allows Mac users to take advant
## Pre-Requisites
To use this script you will need the following:
1. A PC or Mac with the following installed:
1. Python 3 [(see here)](https://www.python.org/downloads/)
1. Python 3 - available [here](https://www.python.org/downloads/)
2. The pynput plugin (to be installed using pip - instructions [here](https://docs.python.org/3/installing/index.html))
3. The PlayStation Remote Play application - available [here](https://remoteplay.dl.playstation.net/remoteplay/lang/en/)

2. A PS4 (or PS5) with Final Fantasy IX

3. An internet connection

### Recommended
#### Recommended
For best results, the PC/Mac and the PlayStation should be connected to your internet router via Ethernet cable rather than Wi-Fi.

## Getting the Trophy
Expand All @@ -30,6 +30,10 @@ For best results, the PC/Mac and the PlayStation should be connected to your int
5. Within the allowed delay (default 1 second) switch from your terminal window to the Remote Play window so that the key strokes from the script take effect in the Remote Play window
6. If you are too slow, or the rope jump game ends prematurely, switch back to the terminal window and stop the script using ```Ctrl+c```. You can then reset Vivi in the Remote Play window before attempting to run the script again.

> **For Mac Users:** The first time you run the script, you will probably get a warning to say that 'Terminal' is not authourised to send key strokes.
> To use this script, you will need to temporarily grant the Terminal this permission. To do so, go to Settings -> Privacy & Security -> Accessibility and enable Terminal. You will be prompted to give the administrator password.
> Once you have this trophy, you can revoke this permission.
## Troubleshooting
The **rope.py** script available here uses constants that worked for me when running on my setup (Mac Mini M1 connected via Ethernet, PS4 connected via Ethernet). It is possible that the same values will not work for you. However, making a few tweaks to the code and a bit of trial and error should help.

Expand All @@ -48,4 +52,3 @@ If you are finding that the game is ending around the same point each time, then
g = 0.400
g2 = 0.401
```

0 comments on commit 75ce687

Please sign in to comment.