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

RetroAchievements: Add support for hashing homebrew #19096

Merged
merged 2 commits into from
Apr 29, 2024

Conversation

hrydgard
Copy link
Owner

We finally defined a method in RetroAchievements/rcheevos#244 .

I made a change to the proposed method to cap the hashed file size to 16MB to avoid memory allocation issues. This should be by far enough considering that normal EBOOTs (that don't contain ISOs) just can't be too large if they want to fit into RAM.

@hrydgard hrydgard added the RetroAchievements RetroAchievements related work label Apr 29, 2024
@hrydgard hrydgard added this to the v1.18.0 milestone Apr 29, 2024
@LucasKell
Copy link

Would it be worth using 64MB purely because it's the max buffer size already used by rcheevos for retail PSP hashing?

@hrydgard
Copy link
Owner Author

@LucasKell Yes, probably a good call, Jamiras made the same observation. Though such large PBPs are unlikely to be found in homebrew anyway.

@hrydgard hrydgard merged commit 443bdef into master Apr 29, 2024
15 checks passed
@hrydgard hrydgard deleted the retroachievements-for-homebrew branch April 29, 2024 21:43
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
RetroAchievements RetroAchievements related work
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants