Open hackxing opened 6 years ago
ummm this is interesting, for whatever reason 1 of your game installs either didn't complete or never create an appmeta, the script tries to use that info in appmeta
to rebuild the database, but since thats not there, its failing.
I've pushed a dev
branch, that will ignore that entry (that means the game will remain on the PS4, but will still be missing from the list), but this should allow the script to continue and process the other games.
the script should print out error, which game id, which you can then use to either manually delete the game, or you can use it to identify the game and reinstall it.
anyway this is the branch https://github.com/Zer0xFF/PS4_db_rebuilder/tree/dev and this is the file you need https://raw.githubusercontent.com/Zer0xFF/PS4_db_rebuilder/dev/fix_db.py just replace the content of the file you have with this and try again, and let me know how it goes.
thanks It work but many games not there I think it is bug because i'm sure that the games complete
and I tried to do it with other pc but it gives me the the same error that I have it in the beginning
also the sizes of the games in the ps4 not correct like for each game 855gb or 944gb ...
I know about the size issue, I didn't get the chance to look at it in any detail yet.
However, about the main issue, I don't currently have a solution and to be honest, I'm not sure how would one go about fixing.. As I explained before I need to get the info needed to rebuild the database from specific files in the appmeta folder, however those files seem to be missing thus I can't get the info... I could use psudo info, but I can't promise the result, aka the games could show up with incorrect name, they may or may not work... And i suppose worst case scenario you'd get a corrupt db and you can run the script again.
For anyone having this issue now in 2021. Regarding the Traceback error and the "ftplib.error_perm: 550 The file doesn't exist." You can solve it by going through the game folder files (CUSAXXXX) and at those ones with no pkg files inside (which are probably games you deleted manually on your external or internal drive and didn't with the official ps4 delete option) you would have to put fake pkg files (copy from a low size game) and maybe also add fake icon and info files too (not sure if these needed). This tricks the script and you will have your game library restored.
Use Itemzflow, which works better than any script: https://github.com/LightningMods/Itemzflow
I have problem that gives me the error
ftplib.error_perm: 550 Invalid directory. [5028] Failed to execute script fix_db
https://files.fm/u/h9hqjdrr#/view/1.jpg
so is there any solution for this error and thank you so much