Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Bug when handling accountID values starting with 0 #158

Open
Lukkeer opened this issue Sep 8, 2024 · 3 comments
Open

Bug when handling accountID values starting with 0 #158

Lukkeer opened this issue Sep 8, 2024 · 3 comments

Comments

@Lukkeer
Copy link

Lukkeer commented Sep 8, 2024

Leading 0s are replaced with spaces when resigning Trophies and Saves.
Also Save ownership does not work fine with such accountIDs.
The issue might be caused by "%*lx" string format.

@bucanero
Copy link
Owner

bucanero commented Nov 8, 2024

originally it was leading zeros but at some point I remember people saying that the system was actually leaving it with blank spaces. You can try older versions if you want.

I don't have such account-ids so I never compared... maybe @jhonathanc knows or has some file examples from real accounts with that kind of accounts to compare PARAM.SFO files.

@jhonathanc
Copy link

jhonathanc commented Nov 8, 2024

Hi @bucanero, nice to see you again. I'm not sure if I'll be able to provide it this weekend. I remember I had this same exact behavior but I also remember it was fixed after I talked to you. But as @Lukkeer said, the format "%*lx" will really fill with spaces, maybe using "%0*lx" instead should do the trick. As I'll not be able to check this "fast", maybe generating a new version and asking @Lukkeer to test will be faster and, also, I can test it during the next week.

@Lukkeer
Copy link
Author

Lukkeer commented Nov 8, 2024

Hi, I'm willing to test a fixed version, I already have the setup with this kind of account id.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants