JosefNemec / Playnite

Video game library manager with support for wide range of 3rd party libraries and game emulation support, providing one unified interface for your games.
https://playnite.link
MIT License
9.15k stars 494 forks source link

Corrupted Library #3394

Closed EleventhEric closed 1 year ago

EleventhEric commented 1 year ago

Bug Description

I can launch into Playnite fine and use it like normal with two exceptions.

When I try to manually add a game it tells me that my library is corrupt and shuts down. I generated the diagnostics files. The id is: b6ad5e37-14ce-41f7-8f40-74a6c4afe9fb

I also noticed that the xCloud extension shows an error on launch that says "Failed to import games from XCloud. Unable to cast object of type 'LiteDB.EmptyPage' to type 'LiteDB.HeaderPage'." I'm assuming it has to do with the database corruption that my library is facing though I suppose it could be unrelated.

Let me know if you need any other info.

To Reproduce

No response

Diagnostics ID

b6ad5e37-14ce-41f7-8f40-74a6c4afe9fb

Screenshots

No response

JosefNemec commented 1 year ago

Go to %AppData%\Playnite\library and send me all .db files you find there, I'll try to fix them.

EleventhEric commented 1 year ago

I have attached the db files. library.zip

JosefNemec commented 1 year ago

The zip you attached has only one .json file inside.

EleventhEric commented 1 year ago

Ah, it looks like 7zip couldn't access the files since I still had Playnite open. My apologies. I have attached the corrected zip. library.zip

JosefNemec commented 1 year ago

Here's fixed file: games.zip

EleventhEric commented 1 year ago

That fixed it! Thank you very much for your help. Also, thank you for this amazing program. It has been exactly what I needed to wrangle all of the various game stores in one place.