[PR #1305] [MERGED] Play Time #2043

Closed
opened 2026-02-27 21:14:57 +03:00 by kerem · 0 comments
Owner

📋 Pull Request Information

Original PR: https://github.com/shadps4-emu/shadPS4/pull/1305
Author: @DanielSvoboda
Created: 10/9/2024
Status: Merged
Merged: 10/9/2024
Merged by: @georgemoralis

Base: mainHead: time


📝 Commits (9)

📊 Changes

34 files changed (+303 additions, -7 deletions)

View changed files

📝 src/emulator.cpp (+94 -0)
📝 src/emulator.h (+2 -0)
📝 src/qt_gui/game_info.h (+3 -0)
📝 src/qt_gui/game_list_frame.cpp (+63 -4)
📝 src/qt_gui/game_list_frame.h (+6 -1)
📝 src/qt_gui/game_list_utils.h (+2 -0)
📝 src/qt_gui/main_window.cpp (+1 -0)
📝 src/qt_gui/settings_dialog.ui (+2 -2)
📝 src/qt_gui/translations/ar.ts (+5 -0)
📝 src/qt_gui/translations/da_DK.ts (+5 -0)
📝 src/qt_gui/translations/de.ts (+5 -0)
📝 src/qt_gui/translations/el.ts (+5 -0)
📝 src/qt_gui/translations/en.ts (+5 -0)
📝 src/qt_gui/translations/es_ES.ts (+5 -0)
📝 src/qt_gui/translations/fa_IR.ts (+5 -0)
📝 src/qt_gui/translations/fi.ts (+5 -0)
📝 src/qt_gui/translations/fr.ts (+5 -0)
📝 src/qt_gui/translations/hu_HU.ts (+5 -0)
📝 src/qt_gui/translations/id.ts (+5 -0)
📝 src/qt_gui/translations/it.ts (+5 -0)

...and 14 more files

📄 Description

Records the playing time in hours, minutes, seconds after closing and every 1 minute.

Saves in the file user/play_time.txt with serial and time 00:00:00.
In the menu it appears without seconds so as not to be cluttered.

image


Also fixes the checkbox that someone hid haha
image

And set the first tab (General) as default when opening the options, not the second one (Input)


🔄 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/1305 **Author:** [@DanielSvoboda](https://github.com/DanielSvoboda) **Created:** 10/9/2024 **Status:** ✅ Merged **Merged:** 10/9/2024 **Merged by:** [@georgemoralis](https://github.com/georgemoralis) **Base:** `main` ← **Head:** `time` --- ### 📝 Commits (9) - [`c598bcf`](https://github.com/shadps4-emu/shadPS4/commit/c598bcf4e3a997bc9bbb8a151dcc3f15f3f8663a) Play Time - [`dd0b4ca`](https://github.com/shadps4-emu/shadPS4/commit/dd0b4ca6af98d08ef1000e3b94b425b5d7d60df1) SDL - [`7af54db`](https://github.com/shadps4-emu/shadPS4/commit/7af54db2f06630c88e5fe979448f3351da977bc2) QT - [`5993a42`](https://github.com/shadps4-emu/shadPS4/commit/5993a4290821c1f0baa13bf3c94766d4ccf016c4) Sort / Formatting - [`af1e611`](https://github.com/shadps4-emu/shadPS4/commit/af1e6114eb6eb5439072c403818db654d8ce6e64) Timer 1 minute - [`1c1532e`](https://github.com/shadps4-emu/shadPS4/commit/1c1532e9e0e95fed0f98a1d3ec912a19fe19b15f) remove the seconds - [`087da35`](https://github.com/shadps4-emu/shadPS4/commit/087da35f630e49630b7763932f64dc9a96403fbd) fixes the invisible 0 - [`7ea4ac0`](https://github.com/shadps4-emu/shadPS4/commit/7ea4ac03a11d55de19d7d550303cc18052f87d2d) SDL . . . - [`fd9c27b`](https://github.com/shadps4-emu/shadPS4/commit/fd9c27bcfcfb1b6273da2d83a0ac4dacca054faf) Fix Timer ### 📊 Changes **34 files changed** (+303 additions, -7 deletions) <details> <summary>View changed files</summary> 📝 `src/emulator.cpp` (+94 -0) 📝 `src/emulator.h` (+2 -0) 📝 `src/qt_gui/game_info.h` (+3 -0) 📝 `src/qt_gui/game_list_frame.cpp` (+63 -4) 📝 `src/qt_gui/game_list_frame.h` (+6 -1) 📝 `src/qt_gui/game_list_utils.h` (+2 -0) 📝 `src/qt_gui/main_window.cpp` (+1 -0) 📝 `src/qt_gui/settings_dialog.ui` (+2 -2) 📝 `src/qt_gui/translations/ar.ts` (+5 -0) 📝 `src/qt_gui/translations/da_DK.ts` (+5 -0) 📝 `src/qt_gui/translations/de.ts` (+5 -0) 📝 `src/qt_gui/translations/el.ts` (+5 -0) 📝 `src/qt_gui/translations/en.ts` (+5 -0) 📝 `src/qt_gui/translations/es_ES.ts` (+5 -0) 📝 `src/qt_gui/translations/fa_IR.ts` (+5 -0) 📝 `src/qt_gui/translations/fi.ts` (+5 -0) 📝 `src/qt_gui/translations/fr.ts` (+5 -0) 📝 `src/qt_gui/translations/hu_HU.ts` (+5 -0) 📝 `src/qt_gui/translations/id.ts` (+5 -0) 📝 `src/qt_gui/translations/it.ts` (+5 -0) _...and 14 more files_ </details> ### 📄 Description **Records the playing time** in hours, minutes, seconds after closing and every 1 minute. Saves in the file user/play_time.txt with serial and time 00:00:00. In the menu it appears without seconds so as not to be cluttered. ![image](https://github.com/user-attachments/assets/2560a8b0-ffbe-4236-afe9-cc7d95e42df5) ---- Also fixes the checkbox that someone hid haha ![image](https://github.com/user-attachments/assets/eb6cc2c0-9c89-474a-b5ef-aef02a9e47fe) And set the first tab (General) as default when opening the options, not the second one (Input) --- <sub>🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.</sub>
kerem 2026-02-27 21:14:57 +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#2043
No description provided.