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

Library Corruption #3732

Closed flazzarin closed 5 months ago

flazzarin commented 5 months ago

Bug Description

When trying to save new metadata to a recently imported title a dialog appears saying my library data is corrupted and to seek help here. "Library file corruption has been detected, Playnite will now shutdown. Open new issue..."

To Reproduce

Simply edit metadata on a title, download from any source, click save, then the error pops up.

Diagnostics ID

ff9a223a-4247-4eef-9cfa-31f744447686

Screenshots

No response

JosefNemec commented 5 months ago

Go to %AppData%\Playnite\library folder (put it into file explorer exactly as is) and upload .db files you see there.

JosefNemec commented 5 months ago

Unfortunately companies.db file is corrupted in unrecoverable way (at least not without major effort). You will need to delete the file and let Playnite recreate it.

flazzarin commented 5 months ago

Ok, thanks for trying to fix it! Sorry for my noob question, but do you mean I should delete companies.db or all the .db files? Because I tried deleting only that file and Playnite did not recreate it automatically. Edit: it recreated it but it seems it is not populated, as all entries related to developers etc are missing. I can edit details and save normally, otherwise.

JosefNemec commented 5 months ago

Only that one file.