bucanero / apollo-ps4

Apollo Save Tool (PS4)
http://www.bucanero.com.ar/
GNU General Public License v3.0
401 stars 42 forks source link

option to delete trophies #95

Open Masamune3210 opened 1 year ago

Masamune3210 commented 1 year ago

For people who try a lot of games, their trophy lists can become cluttered with games that they have no interest in playing again. Would it be possible to add a delete option to remove a trophy set from the system? It can be done manually but is a royal PITA so having it in the tool would be quite nice

bucanero commented 1 year ago

can you comment about the manual process to remove a trophy-set?

If I have the details, I might be able to automate it with Apollo

Masamune3210 commented 1 year ago

you delete all instances of the trophy folder named after the npid of the game from the 3 folders, delete trophy_local.db, and then rebuild the system database

Masamune3210 commented 1 year ago

image

Masamune3210 commented 1 year ago

posting picture mostly to make sure I don't get the wrong paths, but yeah, remove the trophies from those three folders, delete trophy_local.db, and then rebuild the system database

Masamune3210 commented 1 year ago

all you need is the npid from the title, the userid of the user, and the ability to rebuild the database, which the recent addition to apollo is what prodded me into making this request in the first place

bucanero commented 1 year ago

Thanks for all the details.

I assume that you could even skip the database rebuild if you do some SQL queries and just remove the trophy-npid rows from the trophy_local database.

Masamune3210 commented 1 year ago

Probably, but when I tired it caused the database to be treated as damaged and the system refused to use it, hence why I went with just deleting it and letting the system rebuild it

andreltrigo commented 6 months ago

I've done some tests, and it seems deleting the game trophy folder from /user/home/userID/trophy/data/ and the trophy.img file from sce_trop is enough to remove the trophy set. There's no need to modify the database, since the system regenerates the trophy.img file and updates it accordingly.

bucanero commented 1 week ago

This app is built for PS4.

I've removed all off-topic messages about PS5 trophies.