Editing Trophy files
Jump to navigation
Jump to search
The edit can be undone. Please check the comparison below to verify that this is what you want to do, and then publish the changes below to finish undoing the edit.
Latest revision | Your text | ||
Line 1: | Line 1: | ||
[[Category:Software]] | |||
=== Firmware related files === | === Firmware related files === | ||
Line 11: | Line 11: | ||
np_trophy_plugin.sprx (/dev_flash/vsh/module) | np_trophy_plugin.sprx (/dev_flash/vsh/module) | ||
np_trophy_util.sprx (/dev_flash/vsh/module) | np_trophy_util.sprx (/dev_flash/vsh/module) | ||
=== Harddrive related files === | === Harddrive related files === | ||
Line 25: | Line 22: | ||
**PARAM.PFD | **PARAM.PFD | ||
**PARAM.SFO | **PARAM.SFO | ||
** | **TROPxxx.PNG (e.g. TROP000.PNG ... TROP999.PNG for each individual trophy) | ||
**TROPCONF.SFM | **TROPCONF.SFM | ||
**TROPTRNS.DAT | **TROPTRNS.DAT | ||
Line 37: | Line 34: | ||
===== TROPSYS.DAT ===== | ===== TROPSYS.DAT ===== | ||
This file is an "index" containing a list with all the trophy | This file is an "index" containing a list with all the trophy files from all games installed by this user. | ||
Everytime a '''TROPHY.TRP''' is installed... '''TROPSYS.DAT''' is updated to include the new installation | |||
Removing a trophy installation (by simply removing the folder for this installation) doesn't updates the "index", and it displays a "corrupt icon" in XMB. Two ways to fix this "corrupt icon" are by repeating the installation (the installation will fail, but the icon is removed), or from "recovery mode" menu by the option "rebuild database" | |||
==== NPCOMMID ==== | ==== NPCOMMID ==== | ||
NP Communication ID in format NPWRxxyyy_zz (e.g. NPWR00153_00) | NP Communication ID in format NPWRxxyyy_zz (e.g. NPWR00153_00) | ||
===== ICON0.PNG ===== | |||
PNG | |||
320x176 | |||
24/32bit | |||
Not interlaced | |||
===== ICON0_00.PNG ===== | |||
PNG | |||
320x176 | |||
24/32bit | |||
Not interlaced | |||
===== PARAM.PFD ===== | ===== PARAM.PFD ===== | ||
Line 52: | Line 59: | ||
===== PARAM.SFO ===== | ===== PARAM.SFO ===== | ||
===== TROPxxx.PNG ===== | |||
PNG | |||
240x240 | |||
24/32bit | |||
Not interlaced | |||
===== TROPCONF.SFM ===== | ===== TROPCONF.SFM ===== | ||
Its the file that contains the id's texts and conditions required to win each trophy | |||
The file is static (never changes after the installation), and is language specific (texts are not common for all the languages). | |||
Its the trophy installer (TROPHY.TRP) who decides wich '''TROPCONF.SFM''' will be installed depending of the language settings in the XMB | Its the trophy installer (TROPHY.TRP) who decides wich '''TROPCONF.SFM''' will be installed depending of the language settings in the XMB | ||
Note that only one file for one language is installed | Note that only one file for one language is installed | ||
====== Header with Sce-Np-Trophy-Signature ====== | |||
<pre>Offset(h) 00 01 02 03 04 05 06 07 08 09 0A 0B 0C 0D 0E 0F | <pre>Offset(h) 00 01 02 03 04 05 06 07 08 09 0A 0B 0C 0D 0E 0F | ||
Line 98: | Line 106: | ||
000001B0 73 69 6F 6E 3D 22 31 2E 30 22 3E 0A 20 3C 6E 70 sion="1.0">. <np sion="1.0">. <np ... | 000001B0 73 69 6F 6E 3D 22 31 2E 30 22 3E 0A 20 3C 6E 70 sion="1.0">. <np sion="1.0">. <np ... | ||
</pre> | </pre> | ||
followed by XML with the listed trophies: | |||
====== trophyconf ====== | |||
<pre> | <pre> | ||
<trophyconf version="1.0"> | <trophyconf version="1.0"> | ||
<npcommid>NPID$</npcommid> | |||
<trophyset-version>01.07</trophyset-version> | |||
<parental-level license-area="default">0</parental-level> | |||
<title-name>TitleID$</title-name> | |||
<title-detail>TitleID$ trophy set</title-detail> | |||
<trophy id="000" hidden="no" ttype="P" pid="-1"> | |||
<name>War Hero</name> | |||
<detail>Collect all TitleID$ trophies</detail> | |||
</trophy> | |||
... | |||
</trophyconf> | |||
</trophyconf> | |||
</pre> | </pre> | ||
This is the main part of the trophy.conf | |||
{|class="wikitable" | {|class="wikitable" | ||
|- | |- | ||
! | ! VALUE !! Meaning | ||
|- | |- | ||
| P || Platinum | | P || Platinum | ||
Line 143: | Line 138: | ||
|- | |- | ||
|} | |} | ||
<pre> | |||
<!--Sce-Np-Trophy-Signature: xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx--> | |||
<trophyconf version="1.0"> | |||
<npcommid>NPXXYYYYY_00</npcommid> | |||
<trophyset-version>01.00</trophyset-version> | |||
<parental-level license-area="default">0</parental-level> | |||
<title-name>Name Game</title-name> | |||
<title-detail>Detail Game</title-detail> | |||
<trophy id="000" hidden="no" ttype="P" pid="-1"> | |||
<name>Name throphy</name> | |||
<detail>Deteails</detail> | |||
</trophy> | |||
<trophy id="001" hidden="no" ttype="B" pid="000"> | |||
<name>Name Trophy</name> | |||
<detail>Description trophy</detail> | |||
</trophy> | |||
</pre> | |||
===== TROPTRNS.DAT ===== | ===== TROPTRNS.DAT ===== | ||
Fully encrypted, method unknown | |||
Fully encrypted, | |||
* Specullation | * Specullation | ||
Based in the name (trophy transmission or transfer) its a file derivated of TROPUSR.DAT, with an added layer of encryption, ready to be sended to PSN to synchronize the data related with this game with your | Based in the name (trophy transmission or transfer) its a file derivated of TROPUSR.DAT, with an added layer of encryption, ready to be sended to PSN to synchronize the data related with this game with your trohpies in your online account | ||
It contains info related with user, either because its present in the source file (TROPUSR.DAT) or because it contains the file PARAM.SFO "incrusted" in the format | It contains info related with user, either because its present in the source file (TROPUSR.DAT) or because it contains the file PARAM.SFO "incrusted" in the format | ||
===== TROPUSR.DAT ===== | ===== TROPUSR.DAT ===== | ||
Stores data related with the unlocked trophies for this specific game, included timestamps when the trophy was unlocked, etc... | Stores data related with the unlocked trophies for this specific game, included timestamps when the trophy was unlocked, etc... | ||
The file is updated | The file is updated everytime a trophy is unlocked, and at the same time his [[PARAM.PFD]] is updated to store the new signature | ||
The file is encrypted, some tricks can be done to tamper with this files to unlock trophies, but consider the methods not perfect (they generates semi-corrupted files that can be considered valid under some circunstancies, but are corrupted in the end) | The file is encrypted, some tricks can be done to tamper with this files to unlock trophies, but consider the methods not perfect (they generates semi-corrupted files that can be considered valid under some circunstancies, but are corrupted in the end) | ||
=== Trophy Installer === | |||
=== | |||
'''TROPHY.TRP''' Inside folder '''TROPDIR/[[PARAM.SFO#NPCOMMID|NPCOMMID]]/''' | |||
== PSL1GHT and trophy's == | |||
https://github.com/an0nym0u5/PSL1GHT/tree/master/ppu/include/np | https://github.com/an0nym0u5/PSL1GHT/tree/master/ppu/include/np | ||