[PR #2539] [MERGED] Custom Trophy images / sound | and improvements #2811

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

📋 Pull Request Information

Original PR: https://github.com/shadps4-emu/shadPS4/pull/2539
Author: @DanielSvoboda
Created: 2/25/2025
Status: Merged
Merged: 2/28/2025
Merged by: @georgemoralis

Base: mainHead: main


📝 Commits (10+)

📊 Changes

15 files changed (+618 additions, -102 deletions)

View changed files

📝 src/common/config.cpp (+23 -0)
📝 src/common/config.h (+4 -0)
📝 src/common/path_util.cpp (+1 -0)
📝 src/common/path_util.h (+2 -0)
📝 src/core/libraries/np_trophy/np_trophy.cpp (+10 -8)
📝 src/core/libraries/np_trophy/trophy_ui.cpp (+124 -20)
📝 src/core/libraries/np_trophy/trophy_ui.h (+0 -1)
📝 src/qt_gui/background_music_player.cpp (+7 -2)
📝 src/qt_gui/background_music_player.h (+1 -1)
📝 src/qt_gui/gui_context_menus.h (+19 -2)
📝 src/qt_gui/settings_dialog.cpp (+26 -2)
📝 src/qt_gui/settings_dialog.ui (+121 -30)
📝 src/qt_gui/translations/en_US.ts (+55 -3)
📝 src/qt_gui/trophy_viewer.cpp (+217 -33)
📝 src/qt_gui/trophy_viewer.h (+8 -0)

📄 Description

issues: https://github.com/shadps4-emu/shadPS4/issues/2537 https://github.com/shadps4-emu/shadPS4/issues/2461

  • It is possible to add custom images to the trophies and a sound.

Add the custom files to this folder : \user\custom_trophy
*There is a button in the settings to get to this folder more easily.
The files must have these names:

trophy.mp3

bronze.png
gold.png
platinum.png
silver.png

*I recommend a square resolution image, for example 200x200, 500x500, the same size as the height and width

  • An animation has been added to notifications

  • Side menu with filters:
    -Show Earned Trophies
    -Show Not Earned Trophies
    -Show Hidden Trophies

  • Added "Time Unlocked" column
    The date you achieved the achievement will only work from that PR,
    what was achieved before will unfortunately remain as 'unknown'

  • Button - Delete Trophy


Folder with customized files:
image

Screen with new options on the left side
image

Time Unlocked
image

Screen with new settings
image

My horn audio that I added when I won a trophy, by default, doesn't even have any audio.

https://github.com/user-attachments/assets/13a5d65d-ec91-4456-962d-cf33491c139f

Left and right position, it is possible to change in the settings

https://github.com/user-attachments/assets/6cfa8802-c271-4488-b5d4-28ea6644f5c0

This was the old screen:
image


🔄 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/2539 **Author:** [@DanielSvoboda](https://github.com/DanielSvoboda) **Created:** 2/25/2025 **Status:** ✅ Merged **Merged:** 2/28/2025 **Merged by:** [@georgemoralis](https://github.com/georgemoralis) **Base:** `main` ← **Head:** `main` --- ### 📝 Commits (10+) - [`3d6b882`](https://github.com/shadps4-emu/shadPS4/commit/3d6b882aa14b433b1a2c65ff3a70f1148ff7f313) Custom Trophy images - [`b6ab8de`](https://github.com/shadps4-emu/shadPS4/commit/b6ab8de2b979a9883f1899be4c0b413a89be56ac) text and button - settings - [`b0c8f85`](https://github.com/shadps4-emu/shadPS4/commit/b0c8f8538b19b1556afbab2db43416a60c188202) Description - [`5335bbc`](https://github.com/shadps4-emu/shadPS4/commit/5335bbc204ccf39fdfd2ce0328fbc7be2426d2c2) + - [`65f7fa1`](https://github.com/shadps4-emu/shadPS4/commit/65f7fa1c3163523d2d124cec3112cfea5da53c93) plural - [`40491b0`](https://github.com/shadps4-emu/shadPS4/commit/40491b03f22972ca2da511e509ee208bc7e154a1) translation for 'Trophy earned!' - [`a9a72d9`](https://github.com/shadps4-emu/shadPS4/commit/a9a72d9d72d358e708b4a55a6eeb3f090307fb03) Revert: translation for 'Trophy earned!' - [`cd70f33`](https://github.com/shadps4-emu/shadPS4/commit/cd70f33ee65daa2dceb4d13fd328c73d60ba1309) play audio - [`a18c594`](https://github.com/shadps4-emu/shadPS4/commit/a18c594b6c47b0476b8063bc432d4a8961fb8ca7) fixes crash due to having too many trophies - [`2caaaa2`](https://github.com/shadps4-emu/shadPS4/commit/2caaaa294d6400786f5e0c616b3653cb9cc93b95) Animations, config: position, duration ### 📊 Changes **15 files changed** (+618 additions, -102 deletions) <details> <summary>View changed files</summary> 📝 `src/common/config.cpp` (+23 -0) 📝 `src/common/config.h` (+4 -0) 📝 `src/common/path_util.cpp` (+1 -0) 📝 `src/common/path_util.h` (+2 -0) 📝 `src/core/libraries/np_trophy/np_trophy.cpp` (+10 -8) 📝 `src/core/libraries/np_trophy/trophy_ui.cpp` (+124 -20) 📝 `src/core/libraries/np_trophy/trophy_ui.h` (+0 -1) 📝 `src/qt_gui/background_music_player.cpp` (+7 -2) 📝 `src/qt_gui/background_music_player.h` (+1 -1) 📝 `src/qt_gui/gui_context_menus.h` (+19 -2) 📝 `src/qt_gui/settings_dialog.cpp` (+26 -2) 📝 `src/qt_gui/settings_dialog.ui` (+121 -30) 📝 `src/qt_gui/translations/en_US.ts` (+55 -3) 📝 `src/qt_gui/trophy_viewer.cpp` (+217 -33) 📝 `src/qt_gui/trophy_viewer.h` (+8 -0) </details> ### 📄 Description issues: https://github.com/shadps4-emu/shadPS4/issues/2537 https://github.com/shadps4-emu/shadPS4/issues/2461 - It is possible to add custom images to the trophies and a sound. Add the custom files to this folder : `\user\custom_trophy` *There is a button in the settings to get to this folder more easily. The files must have these names: ``` trophy.mp3 bronze.png gold.png platinum.png silver.png ``` *I recommend a square resolution image, for example 200x200, 500x500, the same size as the height and width - An animation has been added to notifications - Side menu with filters: -Show Earned Trophies -Show Not Earned Trophies -Show Hidden Trophies - Added "Time Unlocked" column The date you achieved the achievement will only work from that PR, what was achieved before will unfortunately remain as 'unknown' - Button - Delete Trophy ---- Folder with customized files: ![image](https://github.com/user-attachments/assets/36fe37a4-8c1c-46b5-a7b4-5d07434a0076) Screen with new options on the left side ![image](https://github.com/user-attachments/assets/fd25925e-763d-48af-a86a-05017c52387a) Time Unlocked ![image](https://github.com/user-attachments/assets/dd73e2ed-e7f4-40d6-8858-2fffd8920d76) Screen with new settings ![image](https://github.com/user-attachments/assets/7cd8e5f1-e236-4f65-8187-0e1c464ef30b) My horn audio that I added when I won a trophy, by default, doesn't even have any audio. https://github.com/user-attachments/assets/13a5d65d-ec91-4456-962d-cf33491c139f Left and right position, it is possible to change in the settings https://github.com/user-attachments/assets/6cfa8802-c271-4488-b5d4-28ea6644f5c0 This was the old screen: ![image](https://github.com/user-attachments/assets/c9bfc5d4-3a2f-4cc0-abe7-65a2181256e6) --- <sub>🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.</sub>
kerem 2026-02-27 22:01:20 +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#2811
No description provided.