-
Notifications
You must be signed in to change notification settings - Fork 2.2k
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
[Feature Request] Track Play Time #18410
Comments
I suppose this could be cool. This would be global for each game, so if you play on multiple saves, it would simply be the total time played regardless of current progress or player etc. Design issues:
It would grow as you play more games but not really a problem. Or we could have a separate ini file. Some players would like to transfer their play times between systems, they'd have to manually copy the ini file entries since we still don't have any kind of cross platform sync, see #1019 . How does PCSX2 save the times? |
Thanks very much for quick replying! PCSX2 save the times in a similar way, by a separate file called "playtime.dat" in the "inis" folder, it's like this:
The 2nd column was time played seconds. |
Makes sense. Just curious, what's the third column? Some kind of integrity hash to prevent trivial tampering? Also some more potential questions:
|
I'm also curious about the third column but unfortunately did not find any info about it yet... And about slow / fast forward (and even frame forward or something), they did not matter in all my mentioned emulators, so only real time will be tracked. And when people pause the game by press esc (or other pause button) , play time will be paused as well. |
Hm, the last column there are unix timestamps, it turns out. Maybe just recording the last time the game was played. |
Ah, that makes sense! Yeah, I guess that's pretty neat. |
What should happen
It would be very useful if ppsspp can track play time for each game. It can be displayed when people select a game, or on the game info page. For example:
![202311112232361](https://private-user-images.githubusercontent.com/98971315/282249696-05e5e7e9-d87f-4f1a-a657-d376611ffcd5.png?jwt=eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJpc3MiOiJnaXRodWIuY29tIiwiYXVkIjoicmF3LmdpdGh1YnVzZXJjb250ZW50LmNvbSIsImtleSI6ImtleTUiLCJleHAiOjE3MzkwMzU1NTksIm5iZiI6MTczOTAzNTI1OSwicGF0aCI6Ii85ODk3MTMxNS8yODIyNDk2OTYtMDVlNWU3ZTktZDg3Zi00ZjFhLWE2NTctZDM3NjYxMWZmY2Q1LnBuZz9YLUFtei1BbGdvcml0aG09QVdTNC1ITUFDLVNIQTI1NiZYLUFtei1DcmVkZW50aWFsPUFLSUFWQ09EWUxTQTUzUFFLNFpBJTJGMjAyNTAyMDglMkZ1cy1lYXN0LTElMkZzMyUyRmF3czRfcmVxdWVzdCZYLUFtei1EYXRlPTIwMjUwMjA4VDE3MjA1OVomWC1BbXotRXhwaXJlcz0zMDAmWC1BbXotU2lnbmF0dXJlPWY4NzQ5YTJiNWJmOGQwYjUwMjM4MjRiODY4ODFhYmYwMWE0N2NjNDZmMmM2MWVjOGUxNDY2NjQzNjAwYzI3NGEmWC1BbXotU2lnbmVkSGVhZGVycz1ob3N0In0.WyvWmlgkhPKX4sjtUnk5GlmmFyvCu8ykRC8p-riykrk)
![20231111223220](https://private-user-images.githubusercontent.com/98971315/282248046-8bddae30-731a-4f0e-8629-6f198ab59d18.png?jwt=eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJpc3MiOiJnaXRodWIuY29tIiwiYXVkIjoicmF3LmdpdGh1YnVzZXJjb250ZW50LmNvbSIsImtleSI6ImtleTUiLCJleHAiOjE3MzkwMzU1NTksIm5iZiI6MTczOTAzNTI1OSwicGF0aCI6Ii85ODk3MTMxNS8yODIyNDgwNDYtOGJkZGFlMzAtNzMxYS00ZjBlLTg2MjktNmYxOThhYjU5ZDE4LnBuZz9YLUFtei1BbGdvcml0aG09QVdTNC1ITUFDLVNIQTI1NiZYLUFtei1DcmVkZW50aWFsPUFLSUFWQ09EWUxTQTUzUFFLNFpBJTJGMjAyNTAyMDglMkZ1cy1lYXN0LTElMkZzMyUyRmF3czRfcmVxdWVzdCZYLUFtei1EYXRlPTIwMjUwMjA4VDE3MjA1OVomWC1BbXotRXhwaXJlcz0zMDAmWC1BbXotU2lnbmF0dXJlPTY3N2M3NmU1ZDE5ZDIxZmE2OGRkNWYyODYwOWI0ZDI2OGRkZjUzMmFjMDA3NTA4YzI3MDM5NmVmNjQ2MzRjZWYmWC1BbXotU2lnbmVkSGVhZGVycz1ob3N0In0.6bVrglwS2zwLv-wOFZJbT2iems2adTK_kqlzBA16HMw)
Looking forward to seeing the function if possible, thanks very much!
Who would this benefit
People who want to know how many hours they've spent on certain games.
Platform (if relevant)
None
Games this would be useful in
All games
Other emulators or software with a similar feature
In PCSX2, play time was displayed on the pause menu (upper right corner):
![PCSX2 Nightly - v1 7 5095 2023_11_11 22_41_30](https://private-user-images.githubusercontent.com/98971315/282248571-35a37355-4407-4519-9bc7-458b5ac80ea8.png?jwt=eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJpc3MiOiJnaXRodWIuY29tIiwiYXVkIjoicmF3LmdpdGh1YnVzZXJjb250ZW50LmNvbSIsImtleSI6ImtleTUiLCJleHAiOjE3MzkwMzU1NTksIm5iZiI6MTczOTAzNTI1OSwicGF0aCI6Ii85ODk3MTMxNS8yODIyNDg1NzEtMzVhMzczNTUtNDQwNy00NTE5LTliYzctNDU4YjVhYzgwZWE4LnBuZz9YLUFtei1BbGdvcml0aG09QVdTNC1ITUFDLVNIQTI1NiZYLUFtei1DcmVkZW50aWFsPUFLSUFWQ09EWUxTQTUzUFFLNFpBJTJGMjAyNTAyMDglMkZ1cy1lYXN0LTElMkZzMyUyRmF3czRfcmVxdWVzdCZYLUFtei1EYXRlPTIwMjUwMjA4VDE3MjA1OVomWC1BbXotRXhwaXJlcz0zMDAmWC1BbXotU2lnbmF0dXJlPWZiYjZmMmRmZGVhZjBiMjY4MmVkMDMwNmZlMjg1ODY2ZTQ4MDI2YTdjYjYzZDMxNTFjOGQxNWU3ODZlYzM1YTMmWC1BbXotU2lnbmVkSGVhZGVycz1ob3N0In0.RBB9OaDaFfHo4BoUcT7ihm63TIyNtXVCdrAoMW0xWlg)
In Retroarch, play time was displayed on the game select screen:
![60 04 2023_11_11 22_43_53](https://private-user-images.githubusercontent.com/98971315/282248632-d4c3557c-5066-4df1-b43c-edb6efde9cbf.png?jwt=eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJpc3MiOiJnaXRodWIuY29tIiwiYXVkIjoicmF3LmdpdGh1YnVzZXJjb250ZW50LmNvbSIsImtleSI6ImtleTUiLCJleHAiOjE3MzkwMzU1NTksIm5iZiI6MTczOTAzNTI1OSwicGF0aCI6Ii85ODk3MTMxNS8yODIyNDg2MzItZDRjMzU1N2MtNTA2Ni00ZGYxLWI0M2MtZWRiNmVmZGU5Y2JmLnBuZz9YLUFtei1BbGdvcml0aG09QVdTNC1ITUFDLVNIQTI1NiZYLUFtei1DcmVkZW50aWFsPUFLSUFWQ09EWUxTQTUzUFFLNFpBJTJGMjAyNTAyMDglMkZ1cy1lYXN0LTElMkZzMyUyRmF3czRfcmVxdWVzdCZYLUFtei1EYXRlPTIwMjUwMjA4VDE3MjA1OVomWC1BbXotRXhwaXJlcz0zMDAmWC1BbXotU2lnbmF0dXJlPWVjNjgxYmQ1ZTJjM2JlMzNiNmZiOTRhZGI0YzRkMjZhYmQwZjM0MDYwMWFiNmFjMDAxMGEwNjc0YzlmYzYzOTEmWC1BbXotU2lnbmVkSGVhZGVycz1ob3N0In0.w9ynXG7JYV6EPhDEjOUwj19biwE4WbmHkXBlljzAC3w)
Additionally, if you're using Retroachievements, it will show the current play time when you master a game, which is also very cool:
![RetroArch Beetle Saturn v1 22 2 f509c39 __ FPS_ 197 54 2022-12-09 08-33-54 mp4_20231007_132836 285](https://private-user-images.githubusercontent.com/98971315/282248813-804c2075-37b7-47c8-a422-dcb7704a4084.png?jwt=eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJpc3MiOiJnaXRodWIuY29tIiwiYXVkIjoicmF3LmdpdGh1YnVzZXJjb250ZW50LmNvbSIsImtleSI6ImtleTUiLCJleHAiOjE3MzkwMzU1NTksIm5iZiI6MTczOTAzNTI1OSwicGF0aCI6Ii85ODk3MTMxNS8yODIyNDg4MTMtODA0YzIwNzUtMzdiNy00N2M4LWE0MjItZGNiNzcwNGE0MDg0LnBuZz9YLUFtei1BbGdvcml0aG09QVdTNC1ITUFDLVNIQTI1NiZYLUFtei1DcmVkZW50aWFsPUFLSUFWQ09EWUxTQTUzUFFLNFpBJTJGMjAyNTAyMDglMkZ1cy1lYXN0LTElMkZzMyUyRmF3czRfcmVxdWVzdCZYLUFtei1EYXRlPTIwMjUwMjA4VDE3MjA1OVomWC1BbXotRXhwaXJlcz0zMDAmWC1BbXotU2lnbmF0dXJlPTBmYWFjMTIyZDdmYTU3M2U1OTIxOTYxYmViNzEzYWI1ZDY2ZmVhMzg3MDE1MDNiMWQ0NDI0MGI0ZmFjNDhkYjQmWC1BbXotU2lnbmVkSGVhZGVycz1ob3N0In0.3Krh7lInixMb3eHgEZoN9WzmW4UpkEjcbrNALvU1PZ8)
Checklist
The text was updated successfully, but these errors were encountered: