[PR #2130] [MERGED] GUI: Speed up GUI loading by caching game sizes #2504

Closed
opened 2026-02-27 22:00:10 +03:00 by kerem · 0 comments
Owner

📋 Pull Request Information

Original PR: https://github.com/shadps4-emu/shadPS4/pull/2130
Author: @kalaposfos13
Created: 1/11/2025
Status: Merged
Merged: 1/12/2025
Merged by: @georgemoralis

Base: mainHead: game-size-toggle


📝 Commits (3)

📊 Changes

34 files changed (+239 additions, -68 deletions)

View changed files

📝 src/common/config.cpp (+11 -0)
📝 src/common/config.h (+2 -0)
📝 src/qt_gui/game_list_frame.cpp (+2 -0)
📝 src/qt_gui/game_list_utils.h (+35 -0)
📝 src/qt_gui/settings_dialog.cpp (+2 -0)
📝 src/qt_gui/settings_dialog.ui (+75 -68)
📝 src/qt_gui/translations/ar.ts (+4 -0)
📝 src/qt_gui/translations/da_DK.ts (+4 -0)
📝 src/qt_gui/translations/de.ts (+4 -0)
📝 src/qt_gui/translations/el.ts (+4 -0)
📝 src/qt_gui/translations/en.ts (+4 -0)
📝 src/qt_gui/translations/es_ES.ts (+4 -0)
📝 src/qt_gui/translations/fa_IR.ts (+4 -0)
📝 src/qt_gui/translations/fi.ts (+4 -0)
📝 src/qt_gui/translations/fr.ts (+4 -0)
📝 src/qt_gui/translations/hu_HU.ts (+4 -0)
📝 src/qt_gui/translations/id.ts (+4 -0)
📝 src/qt_gui/translations/it.ts (+4 -0)
📝 src/qt_gui/translations/ja_JP.ts (+4 -0)
📝 src/qt_gui/translations/ko_KR.ts (+4 -0)

...and 14 more files

📄 Description

Are you tired of waiting for the emulator to go through tens, if not hundreds of gigabytes of your games for the nth time just to calculate how big each game is? Well, if you also want your loader to load everything in less than a second and don't really care how big your games are, then just turn the feature off!
When the option is disabled (it is on by default), the entire Size colunm is also hidden.


🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.

## 📋 Pull Request Information **Original PR:** https://github.com/shadps4-emu/shadPS4/pull/2130 **Author:** [@kalaposfos13](https://github.com/kalaposfos13) **Created:** 1/11/2025 **Status:** ✅ Merged **Merged:** 1/12/2025 **Merged by:** [@georgemoralis](https://github.com/georgemoralis) **Base:** `main` ← **Head:** `game-size-toggle` --- ### 📝 Commits (3) - [`e05a6af`](https://github.com/shadps4-emu/shadPS4/commit/e05a6afa98c726a5892e488d132b8500845c70bd) Add show game size toggle - [`91fc8e3`](https://github.com/shadps4-emu/shadPS4/commit/91fc8e38d1302dca1a1f9f713de90f3230acdb6d) Fix (#7) - [`32f0b60`](https://github.com/shadps4-emu/shadPS4/commit/32f0b6010519d6b8ab54d28f3217256f4cffe367) Use cached sizes if the feature is enabled ### 📊 Changes **34 files changed** (+239 additions, -68 deletions) <details> <summary>View changed files</summary> 📝 `src/common/config.cpp` (+11 -0) 📝 `src/common/config.h` (+2 -0) 📝 `src/qt_gui/game_list_frame.cpp` (+2 -0) 📝 `src/qt_gui/game_list_utils.h` (+35 -0) 📝 `src/qt_gui/settings_dialog.cpp` (+2 -0) 📝 `src/qt_gui/settings_dialog.ui` (+75 -68) 📝 `src/qt_gui/translations/ar.ts` (+4 -0) 📝 `src/qt_gui/translations/da_DK.ts` (+4 -0) 📝 `src/qt_gui/translations/de.ts` (+4 -0) 📝 `src/qt_gui/translations/el.ts` (+4 -0) 📝 `src/qt_gui/translations/en.ts` (+4 -0) 📝 `src/qt_gui/translations/es_ES.ts` (+4 -0) 📝 `src/qt_gui/translations/fa_IR.ts` (+4 -0) 📝 `src/qt_gui/translations/fi.ts` (+4 -0) 📝 `src/qt_gui/translations/fr.ts` (+4 -0) 📝 `src/qt_gui/translations/hu_HU.ts` (+4 -0) 📝 `src/qt_gui/translations/id.ts` (+4 -0) 📝 `src/qt_gui/translations/it.ts` (+4 -0) 📝 `src/qt_gui/translations/ja_JP.ts` (+4 -0) 📝 `src/qt_gui/translations/ko_KR.ts` (+4 -0) _...and 14 more files_ </details> ### 📄 Description Are you tired of waiting for the emulator to go through tens, if not hundreds of gigabytes of your games for the nth time just to calculate how big each game is? Well, if you also want your loader to load everything in less than a second and don't really care how big your games are, then just turn the feature off! When the option is disabled (it is on by default), the entire Size colunm is also hidden. --- <sub>🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.</sub>
kerem 2026-02-27 22:00:10 +03:00
Sign in to join this conversation.
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference
starred/shadPS4#2504
No description provided.