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

Track the platform scores were achieved on #325

Merged
merged 4 commits into from
Jan 3, 2024

Conversation

jvyden
Copy link
Member

@jvyden jvyden commented Jan 3, 2024

Closes #241

Why

The main reason we'd want to do this is not only is it a cool metric to track, but also the fact that we support both PS3 and RPCS3, and naturally RPCS3 can be more susceptible to gameplay glitches depending on your settings. I just think it's better to distinguish the two in some way.

Eventually down the line, we'll also be able to track PPSSPP or Vita3K when those two games achieve networking support in LBP for the same reasons.

How

We simply add a new property onto GameSubmittedScore that contains the platform. Then, we use a best-effort migration that tries to match each game to the most relevant platform. For the mainline games, this will be PS3, LBP Vita is Vita, and LBP PSP is PSP.

We obviously can't go back in time and tell if a particular score was done on RPCS3 so we just assume PS3 for now since that seems to be the more popular choice anyways.

We also expose the game version and platform the score was performed on to the API.

@jvyden jvyden requested a review from Beyley January 3, 2024 00:09
@jvyden jvyden merged commit 84e768e into LittleBigRefresh:main Jan 3, 2024
2 checks passed
@jvyden jvyden deleted the track-score-platform branch January 3, 2024 01:25
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

Successfully merging this pull request may close these issues.

Store platform & game score was achieved on
2 participants