GrumpyOldMan
Premium
- 2,027
- Southern California
- dagware
I've been working on some software to semi-automatically retrieve my DR Letter and Pct, and my SR Letter, so I can keep track of how I'm doing each week. I knew there'd be questions about how I do it, so I thought I'd explain it here, and answer any questions you might have.
Here's an example:
After each race I run my software. Here's how it works:
1) In GT7 on my PS 5, I change to my Profile Page which, as you know, looks like this (without the yellow boxes):
2) On my Mac, I run my software, which is a Keyboard Maestro macro I wrote.
3) It launches the PS Remote Play app and gets it to connect to my PS5.
4) It uses macOS Monterey's OCR to get my DR and SR Letters.
5) It looks at the DR progress bar, and calculates the percentage it's currently at.
6) It closes the PS Remote Play app, and asks me for the Starting and Ending Positions of the race, and allows me to enter a comment if I want to.
7) It stores everything like this:
12/28/2022 15:42 C B 99.99 +10.93 1 3 divebombed
12/28/2022 15:21 C B 89.06 +18.75 1 1 Viper
12/28/2022 14:42 C C 70.31 +12.50 1 4
12/28/2022 10:41 C C 57.81 +17.18 2 1
12/28/2022 10:20 C D 40.63 -7.81 2 11
12/28/2022 09:54 C E 48.44 ------ 2 10 WTF?
12/28/2022 07:03 B D 48.44 -4.69 1 10
12/27/2022 16:30 B C 53.13 -4.68 4 DNF
12/27/2022 16:08 B C 57.81 +0.00 3 6
12/27/2022 14:41 B C 57.81 -6.25 4 DNF
12/27/2022 12:01 B B 64.06 -6.25 3 14
12/27/2022 08:29 B B 70.31 -4.69 7 DNF
12/27/2022 05:40 B B 75.00 +3.13 3 3
12/26/2022 14:00 B B 71.87 +0.00 3 7 Lago Maggiore
When I want to display the data on this forum, I have another Keyboard Maestro macro I wrote that converts it into BB Code to display as a table.
I could make this available to other people, but it has some pretty specific requirements:
Here's an example:
Date/Time | DR/SR | DR % | DR % | DR Diff | Start | End | Comment |
---|---|---|---|---|---|---|---|
12/27/2022 05:40 | B/B | 75.00 | |xxxxxxxxxxxxxxxxxxxxxxxxxxxxxx__________| | +3.13 | 3 | 3 | |
12/27/2022 08:29 | B/B | 70.31 | |xxxxxxxxxxxxxxxxxxxxxxxxxxxx____________| | -4.69 | 7 | DNF | |
12/27/2022 12:01 | B/B | 64.06 | |xxxxxxxxxxxxxxxxxxxxxxxxxx______________| | -6.25 | 3 | 14 | |
12/27/2022 14:41 | B/C | 57.81 | |xxxxxxxxxxxxxxxxxxxxxxx_________________| | -6.25 | 4 | DNF | |
12/27/2022 16:08 | B/C | 57.81 | |xxxxxxxxxxxxxxxxxxxxxxx_________________| | +0.00 | 3 | 6 | |
12/27/2022 16:30 | B/C | 53.13 | |xxxxxxxxxxxxxxxxxxxxx___________________| | -4.68 | 4 | DNF | |
12/28/2022 07:03 | B/D | 48.44 | |xxxxxxxxxxxxxxxxxxx_____________________| | -4.69 | 1 | 10 | |
12/28/2022 09:54 | C/E | 48.44 | |xxxxxxxxxxxxxxxxxxx_____________________| | ------ | 2 | 10 | WTF? |
12/28/2022 10:20 | C/D | 40.63 | |xxxxxxxxxxxxxxxx________________________| | -7.81 | 2 | 11 | |
12/28/2022 10:41 | C/C | 57.81 | |xxxxxxxxxxxxxxxxxxxxxxx_________________| | +17.18 | 2 | 1 | |
12/28/2022 14:42 | C/C | 70.31 | |xxxxxxxxxxxxxxxxxxxxxxxxxxxx____________| | +12.50 | 1 | 4 | |
12/28/2022 15:21 | C/B | 89.06 | |xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx____| | +18.75 | 1 | 1 | Viper |
12/28/2022 15:42 | C/B | 99.99 | |xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx| | +10.93 | 1 | 3 | divebombed |
12/28/2022 16:21 | B/B | 7.81 | |xxx_____________________________________| | ------ | 1 | 4 | Back to B! |
After each race I run my software. Here's how it works:
1) In GT7 on my PS 5, I change to my Profile Page which, as you know, looks like this (without the yellow boxes):
2) On my Mac, I run my software, which is a Keyboard Maestro macro I wrote.
3) It launches the PS Remote Play app and gets it to connect to my PS5.
4) It uses macOS Monterey's OCR to get my DR and SR Letters.
5) It looks at the DR progress bar, and calculates the percentage it's currently at.
6) It closes the PS Remote Play app, and asks me for the Starting and Ending Positions of the race, and allows me to enter a comment if I want to.
7) It stores everything like this:
12/28/2022 15:42 C B 99.99 +10.93 1 3 divebombed
12/28/2022 15:21 C B 89.06 +18.75 1 1 Viper
12/28/2022 14:42 C C 70.31 +12.50 1 4
12/28/2022 10:41 C C 57.81 +17.18 2 1
12/28/2022 10:20 C D 40.63 -7.81 2 11
12/28/2022 09:54 C E 48.44 ------ 2 10 WTF?
12/28/2022 07:03 B D 48.44 -4.69 1 10
12/27/2022 16:30 B C 53.13 -4.68 4 DNF
12/27/2022 16:08 B C 57.81 +0.00 3 6
12/27/2022 14:41 B C 57.81 -6.25 4 DNF
12/27/2022 12:01 B B 64.06 -6.25 3 14
12/27/2022 08:29 B B 70.31 -4.69 7 DNF
12/27/2022 05:40 B B 75.00 +3.13 3 3
12/26/2022 14:00 B B 71.87 +0.00 3 7 Lago Maggiore
When I want to display the data on this forum, I have another Keyboard Maestro macro I wrote that converts it into BB Code to display as a table.
I could make this available to other people, but it has some pretty specific requirements:
- This only works on a Mac.
- Requires Keyboard Maestro. You must have a rudimentary idea of how to use it - not much, but enough so I don't have to explain every detail. I would supply the macros.
- Requires macOS Monterey or later, for the OCR. For some reason Keyboard Maestro's OCR doesn't work for this - I assume it has some issue with black background with white text, but I don't know for sure.
- You'd have to create a simple Shortcut for doing the OCR. It's pretty simple, and I could walk you through it.
- You'd have find the screen coordinates for the DR and SR stuff, assuming your Mac's screen isn't the same resolution as mine. This is reasonably easy to do using Keyboard Maestro's "Mouse Position" window.
- You'd have to have the PS Remote Play app, which is free.