It seems that you're using an outdated browser. Some things may not work as they should (or don't work at all).
We suggest you upgrade newer and better browser like: Chrome, Firefox, Internet Explorer or Opera

×
avatar
raphick: For those who still have issues like "Plugin crashed" or "Offline retry" do this :

- In addition to totally REPLACING the line 64, delete lines 65 and 66
- Python is indent-sensitive, it means the script interpreter uses the vertical alignment to know if blocks of code are within certain statements/conditionals/loops or others. To make sure that the script is correctly interpreted you need to make sure that the line 64 you have just replaced starts with the "s" of stored_npsso right under the "c" of async which is in line 63. Actually it, the line 64 has to start after 8 blank SPACES (do not use tabs).

In the end it should look like the image attached.

Cheers!
This worked for me, thank you so much!
avatar
VampireIsAGeek: For me the workaround doesn't work. Any other suggestions?
avatar
tankienmun: Try to state out which part you are having problem? Maybe I can try to help you out accordingly.
I've tried just signing in to PSN, that didnt work. I then tried the "work around" using the 64 character npsso with it being on line 64 and in quotation marks. And all it says is "The connection to the server has timed out"

Ive tried it with my PSN and my SO's PSN, changing the npsso when trying the different account with the same result
I need help. I`m tring everything u said and this is my resoult.
What i did wrong?
Attachments:
avatar
Kaktusek020: I need help. I`m tring everything u said and this is my resoult.
What i did wrong?
if you did it correctly you shouldnt even get a login window.
close gog galaxy and try the steps again. make sure to save the changes to the plugin.py file
Kudos to you, sir!

The workaround works like a charm
high rated
reposting the newest version of the workaround for better visibility
----------------------

- close GOG Galaxy if it's running at the moment

- log in to the Playstation Store (store.playstation.com) through your browser
(if you were already logged in, log out first, then back in)

- after the login open this link: https://ca.account.sony.com/api/v1/ssocookie

youll get something like: {"npsso":"xxx"}
where xxx is the npsso value

(example of what it should look like: https://abload.de/img/npssomcj9f.png )

- open windows explorer and enter the following into the address bar at the top and press enter
%LocalAppData%\GOG.com\Galaxy\plugins\installed\

( https://abload.de/img/localappdataojjbg.png )


- open the psn_{random number} folder and edit the plugin.py file with your favourite text editor

- go to line 64. it sould look like this:
stored_npsso = stored_credentials.get("npsso") if stored_credentials else None

delete everything on that line after: stored_npsso =
then add your npsso value behind it in quotation marks.

it should look like this:
stored_npsso = "npsso value"

("npsso value" is the value from step 3 and should be a 64 character long text consisting of numbers, lower case letters and upper case letters)
(the quotation marks " " are important!)

(example of what it should look like: https://abload.de/img/plugingrjah.png )

- save the changes made to plugin.py and close the file
- restart GOG Galaxy
- try connecting with PSN again
Post edited June 17, 2020 by Bustacap
avatar
raphick: For those who still have issues like "Plugin crashed" or "Offline retry" do this :

- In addition to totally REPLACING the line 64, delete lines 65 and 66
- Python is indent-sensitive, it means the script interpreter uses the vertical alignment to know if blocks of code are within certain statements/conditionals/loops or others. To make sure that the script is correctly interpreted you need to make sure that the line 64 you have just replaced starts with the "s" of stored_npsso right under the "c" of async which is in line 63. Actually it, the line 64 has to start after 8 blank SPACES (do not use tabs).

In the end it should look like the image attached.

Cheers!
just tried this step for step, still says ''offline retry'' I have no idea why nothing is working for me
avatar
soapsockk: just tried this step for step, still says ''offline retry'' I have no idea why nothing is working for me
try all the steps again from the beginning, make sure to follow them exactly. the npsso value might have changed in the time you tried it. try keeping the tab with the playstation store open, that may make a difference

(sorry if you already got this advice, its hard to keep track of that stuff :P )
Post edited June 17, 2020 by Bustacap
avatar
soapsockk: just tried this step for step, still says ''offline retry'' I have no idea why nothing is working for me
avatar
Bustacap: try all the steps again from the beginning, make sure to follow them exactly. the npsso value might have changed in the time you tried it. try keeping the tab with the playstation store open, that may make a difference

(sorry if you already got this advice, its hard to keep track of that stuff :P )
still nothing. one question though, I see everyone just having the ''xxxx'' in line 64 but mine has {''xxxx''} and when I don't put in the brackets the it says the plugin just straight up doesn't work (I have no idea how any of this works I'm not that good with computers)
avatar
Kaktusek020: I need help. I`m tring everything u said and this is my resoult.
What i did wrong?
avatar
Bustacap: if you did it correctly you shouldnt even get a login window.
close gog galaxy and try the steps again. make sure to save the changes to the plugin.py file
I`ve restarted it few times, even PC restart.
Still no changes. I need to get game from pc to ps4.
This worked perfectly for PSN connection, thanks. As mentioned above, make sure it's the STORE you're logged into and not PSN itself otherwise the link won't show the connection string.
avatar
Bustacap: try all the steps again from the beginning, make sure to follow them exactly. the npsso value might have changed in the time you tried it. try keeping the tab with the playstation store open, that may make a difference

(sorry if you already got this advice, its hard to keep track of that stuff :P )
avatar
soapsockk: still nothing. one question though, I see everyone just having the ''xxxx'' in line 64 but mine has {''xxxx''} and when I don't put in the brackets the it says the plugin just straight up doesn't work (I have no idea how any of this works I'm not that good with computers)
it should look like this
https://abload.de/img/plugingrjah.png
avatar
Bustacap: reposting the newest version of the workaround for better visibility
----------------------

- close GOG Galaxy if it's running at the moment

- log in to the Playstation Store (store.playstation.com) through your browser
(if you were already logged in, log out first, then back in)

- after the login open this link: https://ca.account.sony.com/api/v1/ssocookie

youll get something like: {"npsso":"xxx"}
where xxx is the npsso value

- open windows explorer and enter the following into the address bar at the top and press enter
%LocalAppData%\GOG.com\Galaxy\plugins\installed\

- open the psn_{random number} folder and edit the plugin.py file with your favourite text editor

- go to line 64. it sould look like this:
stored_npsso = stored_credentials.get("npsso") if stored_credentials else None

delete everything on that line after: stored_npsso =
then add your nppso value behind it in quotation marks.

it should look like this:
stored_npsso = "npsso value"

("npsso value" is the value from step 3 and should be a 64 character long text consisting of numbers, lower case letters and upper case letters)
(the quotation marks " " are important!)

- save the changes made to plugin.py and close the file
- restart GOG Galaxy
- try connecting with PSN again
i don`t know why, but this time it works.
avatar
soapsockk: just tried this step for step, still says ''offline retry'' I have no idea why nothing is working for me
avatar
Bustacap: try all the steps again from the beginning, make sure to follow them exactly. the npsso value might have changed in the time you tried it. try keeping the tab with the playstation store open, that may make a difference

(sorry if you already got this advice, its hard to keep track of that stuff :P )
nvm I fixed it, accidentally added the part infront of the actual number as well. You're a god thx a lot dude
avatar
raphick: For those who still have issues like "Plugin crashed" or "Offline retry" do this :

- In addition to totally REPLACING the line 64, delete lines 65 and 66
- Python is indent-sensitive, it means the script interpreter uses the vertical alignment to know if blocks of code are within certain statements/conditionals/loops or others. To make sure that the script is correctly interpreted you need to make sure that the line 64 you have just replaced starts with the "s" of stored_npsso right under the "c" of async which is in line 63. Actually it, the line 64 has to start after 8 blank SPACES (do not use tabs).

In the end it should look like the image attached.

Cheers!
Thank you so much for this! :D

Now what I'm wondering is if I'm okay turning 2FA back on or not.