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

Replay: Add file header handling and ignore PSP/GAME reads #12153

Merged
merged 2 commits into from
Jul 8, 2019

Conversation

unknownbrackets
Copy link
Collaborator

Mainly, this adds some basic header handling to #10888, so that it can include the base time. I left some reserved slots in case we decide to make other random state less deterministic between runs without breaking BC reads of replay files.

I'm thinking of trying to create a plugin to record PSP control inputs (would ignore IO to focus on rhythm stuff) as noted in #12092. It could just use this same format and replay framework in PPSSPP. The biggest challenge to that will be loading screen timing, but maybe a value in PSP RAM can be found that indicates "in game" to align timing...

Also adds some code to best-effort address the concern brought up in #12104 of recording DLC data in replays (obviously commercial games, in general, would either be UMDs or mounted PBPs, and not go through DirectoryFileSystem.)

-[Unknown]

Unless there are writes in this directory, we should be able to safely
ignore them.

Currently detection isn't perfect (like PSP/./GAME/../GAME), but this
should catch the vast majority of cases.
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.

None yet

2 participants