mirror of
https://github.com/shadps4-emu/shadPS4.git
synced 2026-04-25 07:46:01 +03:00
[PR #2367] [MERGED] Game-compatibility - improved #2681
Labels
No labels
Bloodborne
bug
contributor wanted
documentation
enhancement
frontend
good first issue
help wanted
linux
pull-request
question
release
verification progress
No milestone
No project
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set.
Reference
starred/shadPS4#2681
Loading…
Add table
Add a link
Reference in a new issue
No description provided.
Delete branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
📋 Pull Request Information
Original PR: https://github.com/shadps4-emu/shadPS4/pull/2367
Author: @DanielSvoboda
Created: 2/7/2025
Status: ✅ Merged
Merged: 2/8/2025
Merged by: @georgemoralis
Base:
main← Head:CompatibilityDatabase📝 Commits (4)
550d4cbGame-compatibility - improved4c8f669+970651bFix6dcf26eTR📊 Changes
33 files changed (+1824 additions, -181 deletions)
View changed files
📝
src/qt_gui/compatibility_info.cpp(+36 -114)📝
src/qt_gui/compatibility_info.h(+1 -5)📝
src/qt_gui/game_list_frame.cpp(+7 -3)📝
src/qt_gui/main_window.cpp(+6 -2)📝
src/qt_gui/settings_dialog.cpp(+9 -5)📝
src/qt_gui/translations/ar.ts(+64 -1)📝
src/qt_gui/translations/da_DK.ts(+64 -1)📝
src/qt_gui/translations/de.ts(+65 -2)📝
src/qt_gui/translations/el.ts(+64 -1)📝
src/qt_gui/translations/en.ts(+38 -2)📝
src/qt_gui/translations/es_ES.ts(+64 -1)📝
src/qt_gui/translations/fa_IR.ts(+64 -1)📝
src/qt_gui/translations/fi.ts(+64 -1)📝
src/qt_gui/translations/fr.ts(+64 -1)📝
src/qt_gui/translations/hu_HU.ts(+64 -1)📝
src/qt_gui/translations/id.ts(+64 -1)📝
src/qt_gui/translations/it.ts(+64 -1)📝
src/qt_gui/translations/ja_JP.ts(+64 -1)📝
src/qt_gui/translations/ko_KR.ts(+64 -1)📝
src/qt_gui/translations/lt_LT.ts(+64 -1)...and 13 more files
📄 Description
Let's go...
In short, it improves file loading at startup and makes fewer requests.
If
Display Compatibility Datais checked, it will load the information already downloaded locally every time you start the emulator. And when you click on it, in addition to adding the columns, it will fill in if you have the file. Because before it would only load if theUpdate Compatibility Database On Startupoption was checked.And speaking of updating, it made more than 20 requests to GitHub to get this data, because it is only possible to request 100 items per page and we currently have more than 2000 issues. https://github.com/shadps4-emu/shadPS4/issues/2364
And this excess of requests ended up affecting the autoUpdate, because there is a limit of 60 requests per hour that GitHub allows without authentication. To solve this I made this other PR, but in the
shadps4-game-compatibilityrepository, where thegithub actionitself creates thecompatibility_data.jsonand no longer the emulator, updating itevery 3 hours, creating the file in a 'release' and deleting the old ones. this way the emulator will only need to make a request to update the compatibility data.This PR is in draft status for the following reasons:
SHADPS4_TOKEN_COMPATIBILITYin repository 'shadps4-game-compatibility';*I also removed version_number, I didn't find it necessary...
🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.