MatthewL246 / pretendo-docker

An unofficial Docker Compose setup for self-hosting a Pretendo Network server.
https://matthewl246.github.io/pretendo-docker/
GNU Affero General Public License v3.0
54 stars 9 forks source link

[Cemu] Invalid account.dat #139

Open AToska21 opened 2 months ago

AToska21 commented 2 months ago

Hi! It's me again, lol. When I generate Cemu online files through the website or the script, Cemu overwrites it with a blank account.dat file with default values. I have no idea how to fix this, nor is there any helpful log I could find.

AToska21 commented 2 months ago

Update: the website's generator works fine. It just makes an invalid password hash so I used a tool to remake it and it works fine. I will have to look into the script further.

MatthewL246 commented 2 months ago

The website and the script should be generating very similar account.dat files since I used some of the code from the website in my script.

Was Cemu open while you were copying the new account.dat? Maybe it only loads changes in the file at startup.

AToska21 commented 2 months ago

The website and the script should be generating very similar account.dat files since I used some of the code from the website in my script.

Was Cemu open while you were copying the new account.dat? Maybe it only loads changes in the file at startup.

No, always restarted Cemu. Very odd since from the website it always worked.

AToska21 commented 1 month ago

Still not sure what the bug is, but I figured out the issue with the website not generating the correct password hash. The site is supposed to ask the user for their password when downloading the online files, but it doesn't.

MatthewL246 commented 1 month ago

Strange, it does appear to be working for me when I click the download button:

image

I would prefer to move to the script approach, though, because it is possible that future website updates will break the patch that restores this feature, and it's much easier to maintain a script than a large patch.

AToska21 commented 1 month ago

Strange, it does appear to be working for me when I click the download button:

image

I would prefer to move to the script approach, though, because it is possible that future website updates will break the patch that restores this feature, and it's much easier to maintain a script than a large patch.

Yeah that was my mistake (again), the password box is just invisible. lmfao