[Bug] Cemu doesn't record play time #1021

Open
opened 2023-11-14 12:10:24 -03:00 by UsRnM44 · 11 comments
UsRnM44 commented 2023-11-14 12:10:24 -03:00 (Migrated from github.com)

Last month I had suffered a big lose when my hard drive had been dead, practically all my game dumps and a lot of saves had been lost. Why am I telling this?
This made me re dump Breath of the Wild. When I played it previously, Cemu had noted that I played it over 150hrs (I know, crazy. that it had been lost . . .). Now, however, it doesn't say a word.
I tried refreshing the list, but it doesn't change it.

Screenshot 2023-11-14 at 17 04 57

I'm using the latest build on MacOS, Intel CPU, AMD GPU, 16gb of RAM.

Last month I had suffered a big lose when my hard drive had been dead, practically all my game dumps and a lot of saves had been lost. Why am I telling this? This made me re dump Breath of the Wild. When I played it previously, Cemu had noted that I played it over 150hrs (I know, crazy. that it had been lost . . .). Now, however, it doesn't say a word. I tried refreshing the list, but it doesn't change it. <img width="1285" alt="Screenshot 2023-11-14 at 17 04 57" src="https://github.com/cemu-project/Cemu/assets/122369709/d1e1a347-a676-4904-ba20-1eefabcb549d"> I'm using the latest build on MacOS, Intel CPU, AMD GPU, 16gb of RAM.
JaimieVandenbergh commented 2023-11-14 12:13:18 -03:00 (Migrated from github.com)

In Cemu 2.0 the play time is held in the play diary in mlc01 like the WiiU does. If you look in your log.txt you’ll probably see an error about writing to it. Find the two diary files and delete them, and it’ll start a fresh set.

In Cemu 2.0 the play time is held in the play diary in mlc01 like the WiiU does. If you look in your log.txt you’ll probably see an error about writing to it. Find the two diary files and delete them, and it’ll start a fresh set.
UsRnM44 commented 2023-11-14 12:20:59 -03:00 (Migrated from github.com)

In Cemu 2.0 the play time is held in the play diary in mlc01 like the WiiU does. If you look in your log.txt you’ll probably see an error about writing to it. Find the two diary files and delete them, and it’ll start a fresh set.

Thanks for the quick reply

I found only one play dairy though, where is the second one?
Screenshot 2023-11-14 at 17 20 08

> In Cemu 2.0 the play time is held in the play diary in mlc01 like the WiiU does. If you look in your log.txt you’ll probably see an error about writing to it. Find the two diary files and delete them, and it’ll start a fresh set. Thanks for the quick reply I found only one play dairy though, where is the second one? <img width="743" alt="Screenshot 2023-11-14 at 17 20 08" src="https://github.com/cemu-project/Cemu/assets/122369709/069aa217-91d1-400e-9a30-517cce668df1">
UsRnM44 commented 2023-11-14 12:26:30 -03:00 (Migrated from github.com)

If you look in your log.txt you’ll probably see an error about writing to it

the log actually saying

`[17:12:28.244] Failed to read valid PlayDiary header
log.txt

I have no Idea why though

> If you look in your log.txt you’ll probably see an error about writing to it the log actually saying `[17:12:28.244] Failed to read valid PlayDiary header [log.txt](https://github.com/cemu-project/Cemu/files/13350725/log.txt) I have no Idea why though
JaimieVandenbergh commented 2023-11-15 07:23:15 -03:00 (Migrated from github.com)

Ah, that's okay - no second file as it wasn't writing successfully. Delete PlayDiary.dat and play a game, it should create one or two new files in that folder and record the play time.

Ah, that's okay - no second file as it wasn't writing successfully. Delete PlayDiary.dat and play a game, it should create one or two new files in that folder and record the play time.
UsRnM44 commented 2023-11-15 08:36:00 -03:00 (Migrated from github.com)

Ok, so I deleted that file, and then played the game as I usually do (about 2-3 hours ? ), it seems that Cemu didn't reproduce that file.
Screenshot 2023-11-15 at 13 34 42
(you can see from the log.txt modification details that I did used Cemu)

Ok, so I deleted that file, and then played the game as I usually do (about 2-3 hours ? ), it seems that Cemu didn't reproduce that file. <img width="754" alt="Screenshot 2023-11-15 at 13 34 42" src="https://github.com/cemu-project/Cemu/assets/122369709/16d31a42-2f93-4602-8ee1-89ba4ea83b01"> (you can see from the log.txt modification details that I did used Cemu)
JaimieVandenbergh commented 2023-11-15 12:22:02 -03:00 (Migrated from github.com)

I guess this is a live bug report then. That used to work in the 2.0-20's

I guess this is a live bug report then. That used to work in the 2.0-20's
sampumon commented 2024-02-25 14:03:37 -03:00 (Migrated from github.com)

My log said that PlayStats.dat is malformed. It was all zero bytes. Deleted it with PlayDiary.dat. Now play time is recorded for me!

Cemu 2.0-66 on macOS 14.3, M1 pro.

My log said that `PlayStats.dat` is malformed. It was all zero bytes. Deleted it with `PlayDiary.dat`. Now play time is recorded for me! Cemu 2.0-66 on macOS 14.3, M1 pro.
UsRnM44 commented 2024-02-25 22:16:25 -03:00 (Migrated from github.com)

My log said that PlayStats.dat is malformed. It was all zero bytes. Deleted it with PlayDiary.dat. Now play time is recorded for me!

Cemu 2.0-66 on macOS 14.3, M1 pro.

I tried even that, the file doesn't regenerate.
(I even tried to reset Cemu by deleting the Cemu folder)

> My log said that `PlayStats.dat` is malformed. It was all zero bytes. Deleted it with `PlayDiary.dat`. Now play time is recorded for me! > > Cemu 2.0-66 on macOS 14.3, M1 pro. I tried even that, the file doesn't regenerate. (I even tried to reset Cemu by deleting the Cemu folder)
UsRnM44 commented 2024-02-27 19:11:53 -03:00 (Migrated from github.com)

Only today I discovered that the PlayStats.dat and PlayDairy.dat files that important aren't in the Cemu folder that located at Application Support in Mac, but in the MLC path for the save in the Usr folder. I moved both of those files (in frightened that it will affect the saves) and now Cemu does track playtime.
I don't known if to consider this as fixed though, because this is more a workaround.
Screenshot 2024-02-28 at 0 10 00

I'm attaching this Image because it may help the developers understand the problem. The above files are the "original".
Screenshot 2024-02-28 at 0 09 29

Only today I discovered that the PlayStats.dat and PlayDairy.dat files that important aren't in the Cemu folder that located at Application Support in Mac, but in the MLC path for the save in the Usr folder. I moved both of those files (in frightened that it will affect the saves) and now Cemu does track playtime. I don't known if to consider this as fixed though, because this is more a workaround. <img width="1094" alt="Screenshot 2024-02-28 at 0 10 00" src="https://github.com/cemu-project/Cemu/assets/122369709/ebff388d-a5a0-4d3e-899d-8610c8faddd5"> I'm attaching this Image because it may help the developers understand the problem. The above files are the "original". <img width="697" alt="Screenshot 2024-02-28 at 0 09 29" src="https://github.com/cemu-project/Cemu/assets/122369709/9caa1592-dbf3-4c34-9aae-5c130df846b6">
JaimieVandenbergh commented 2024-02-27 22:49:09 -03:00 (Migrated from github.com)

That's normal, intended and exactly as expected. Cemu 2.0 uses the playdiary/stats files in the same location in the mlc folder as the WiiU has them in onboard storage.

That's normal, intended and exactly as expected. Cemu 2.0 uses the playdiary/stats files in the same location in the mlc folder as the WiiU has them in onboard storage.
UsRnM44 commented 2024-02-27 23:01:09 -03:00 (Migrated from github.com)

That's normal, intended and exactly as expected. Cemu 2.0 uses the playdiary/stats files in the same location in the mlc folder as the WiiU has them in onboard storage.

That's okay and all, it make sense, it was MY mistake to think it would be in the Cemu folder.
The only problem is that it didn't recorded the playtime until I "messed" with the files. I'm sure THIS doesn't supposed and intended to happen from the first place.

> That's normal, intended and exactly as expected. Cemu 2.0 uses the playdiary/stats files in the same location in the mlc folder as the WiiU has them in onboard storage. That's okay and all, it make sense, it was MY mistake to think it would be in the Cemu folder. The only problem is that it didn't recorded the playtime until I "messed" with the files. I'm sure THIS doesn't supposed and intended to happen from the first place.
Sign in to join this conversation.
No labels
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: cemu-project_Mirror/Cemu-2024-03-05#1021
No description provided.