Open Vahkiti opened 3 years ago
Could you please provide a RPCS3 trophy set?
From Sonic Unleashed: NPWR00507_00.zip
Another error it'll sometimes give:
Open failed:Data on the root level is invalid. Line 1, position 1.
Open failed:Cannot open TROPCONF.SFM
Great, I will check it out. But where is the other files? TROPTRNS.DAT and PARAM.SFO that should exists on folder? Even the images are missing... really weird.
Apologies, I realized I forgot the images and updated the link. The PARAM.SFO and TROPTRNS.DAT however are never generated by RPCS3. Adding them from another trophy set from original hardware does not solve the issue.
Ok, will check it out. I don't think the PARAM.SFO is needed to open... Thanks.
Weird, even the TROPTRNS.DAT is missing... About "Open failed:Data on the root level is invalid. Line 1, position 1." error, it occurs because the TROPCONF.SFM "header" don't have the first 64 bytes, but I can fix it. But the TROPTRNS.DAT should be there... I will check if I can ignore this and use only TROPUSR.DAT.
Yeah it's strange. I'm not entirely sure what that file does, as I'm not super versed on the technical stuff in PS3 modding, but all I know is that RPCS3 neither generates, nor presumably reads it.
In ps3 BD has a trp file. This folder seems only extract trp file and do not contains real trophy files. This is a trp extractor which i write long time ago. https://github.com/darkautism/PS3TRPExtractor
I think RPCS3 only emulate got trophy and extractor it but do not really generate a vaild TROPTRNS.DAT.
I checked TROPUSR.DAT, it contains the achieved trophies, but none time stamp... I don't think it's a problem with PS3TrophyIsGood after all... It can explain why the OP can't see the timestamps on RPCS3 (probably it's an issue there).
Damn, that is a shame. I borught this up with the RPCS3 devs a while ago and they seemingly just kinda shrugged it off. Guess I'm back to just manually writing down the time as I see it. THanks for the help anyways guys. :)
Don't worry, it helps a lot. I'm writing a code to let people open this kind of trophies. But even If TROPUSR.DAT has the correct timestamps, probably we should write some code to create TROPTRNS.DAT from scratch (I checked the code and probably it's not difficult). I will let this issue open until I end my write up.
@Vahkiti I wrote a suggestion on RPCS3 to fix the "timestamp issue" on TROPUSR.DAT. I don't know the RPCS3 code to say if it's difficult or not... Let's see what they will decide. I think as RPCS3 don't use PSN, they don't care about the trophies (no one would try to sync them on RPCS3).
Aye, which makes sense, but as I pointed out, some people will find the tools, (in this case YOUR tools. :p) to MAKE them sync one way or another. It's just a shame that it's so close, but otherwise generates a partially invalid file. I've also found that IMPORTING a real trophy list will actually be read initially, but entirely wiped the moment an in-game trophy trigger is hit. Not really a you problem, but just one more thing making this difficult.
I've build a new test version, that can open that weird trophy set. You will not be able to save it properly (yet), but if the RPCS3 fix the issue to set the timestamp of trophies, at least you will be able to copy (manually) the timestamps to a valid trophy set:
https://www.mediafire.com/file/hhkxpe3wdsffwfj/PS3TrophyIsGood.zip/file
Probably let people save the "RPCS3 trophy set" will be a little more difficult than I thought, because TROPUSR.DAT is also with a lot of information missing.
The code for this version is not on my repo yet, because I'm still trying to "forge" these files (TROPUSR.DAT and TROPTRNS.DAT) properly.
TROPUSR.DAT is a template file, so it do not contains timestamp that makes sense. The real PS3 will copy template file as TROPTRNS.DAT and edit it.
I don't think TROPUSR.DAT is only a template file, because it contains valid timestamps of achieved (and synchronized) trophies on other PS3, that don't exist on TROPTRNS.DAT. I know TROPCONF.SCM is a template file, without timestamps. About TROPTRNS.DAT, it has a list of achieved trophies, but only from the PS3 that it has been extracted.
TROPTRNS = awaiting TRaNSfer?
It make sense. But we still not edit TROPUSR.DAT because it store synced trophies. This file should edited by PS3 and PSN after synced.
The program crashes when I try to save or unlock any trophy. Please add support for RPCS3 trophy files NPWR01210_00.zip
@Kilowog01 it's not PS3TrophyIsGood fault. It's RPCS3 fault.
@jhonathanc Couldn't you guys try to make a pull request that minimally fixes this? This is not a priority for them. I know your work is C and C# while RPCS3 is C++, but you guys know the structure of the files, you know how to debug them, you will certainly be luckier than me who know almost nothing about C++.
@Kilowog01, the problem is not open the file, the problem is that there is no timestamps on it (the RPCS3 don't store the times as it should), so all efforts to open the file is useless because the file is "almost" empty (it only contains info about what trophy is unlocked, and nothing else). There's a easy way to fix this on RPCS3 (the timestamps), but I don't know how to get an RTC instance to properly fill the data.
And, if RPCS3 developers fix the timestamps, people will not be able to do anything with it, because there is no info about account/console inside the trophy files to let people synchronize it in anyway. This means the trophy files generated on RPCS3 is almost uselles.
About a PR, check issue 3777 on RPCS3 repository.
any luck? ive been trying to unlock trophies on RPCS3 but cannot :(
RPCS3 saves its trophy data in some way that's just ever so slightly different then a standard PS3 trophy file. I'm not sure exactly how, but it will always result in the following errors when trying to load it:
Both of these errors seem to alternate. Ie: if you open the file it'll display the first one, then switch to the second if you try to open it again. RPCS3 does not display time stamps in its trophy manager which makes it REALLY annoying for me to try and copy trophies from there back to my actual PS3 since with the way this bugs out, I just have to guess at an approximate earned date and time.