Trophy files: Difference between revisions

From PS3 Developer wiki
Jump to navigation Jump to search
Line 105: Line 105:
not plain readable
not plain readable


==== TROPUSR.DAT ====
===== TROPUSR.DAT =====


== TROPHY.TRP ==
== TROPHY.TRP ==

Revision as of 18:32, 2 October 2011

Trophy related files

Firmware

friendtrophy_plugin.rco (/dev_flash/vsh/resource)
friendtrophy_plugin.sprx (/dev_flash/vsh/module)
friendtrophy_plugin_game.rco (/dev_flash/vsh/resource)
libsysutil_np_trophy.sprx (/dev_flash/sys/external)
np_trophy_ingame.rco (/dev_flash/vsh/resource)
np_trophy_ingame.sprx (/dev_flash/vsh/module)
np_trophy_plugin.rco (/dev_flash/vsh/resource)
np_trophy_plugin.sprx (/dev_flash/vsh/module)
np_trophy_util.sprx (/dev_flash/vsh/module)

Harddrive

home\userid\trophy\ :

  • _TROPSYS_
  • NPCOMMID (e.g. NPWR00710_00)
    • ICON0.PNG
    • PARAM.PFD
    • PARAM.SFO
    • TROPxxx.PNG (e.g. TROP000.PNG ... TROP999.PNG for each individual trophy)
    • TROPCONF.SFM
    • TROPTRNS.DAT
    • TROPUSR.DAT

_TROPSYS_

NPCOMMID =

NP Communication ID

ICON0.PNG

PNG 320x176 24/32bit Not interlaced

ICON0_00.PNG

PNG 320x176 24/32bit Not interlaced

PARAM.PFD
PARAM.SFO
TROPxxx.PNG

PNG 240x240 24/32bit Not interlaced

TROPCONF.SFM
Header with Sce-Np-Trophy-Signature
Offset(h) 00 01 02 03 04 05 06 07 08 09 0A 0B 0C 0D 0E 0F

00000000  45 01 95 BA 00 00 00 01 00 00 00 00 00 00 3B 75  E.•º..........;u                       same in different trophysets
00000010  00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00  ................                       on same console+userid
00000020  00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00  ................                       ...
00000030  00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00  ................                       ...
00000040  3C 21 2D 2D 53 63 65 2D 4E 70 2D 54 72 6F 70 68  <!--Sce-Np-Troph     <!--Sce-Np-Troph  same in different trophysets
00000050  79 2D 53 69 67 6E 61 74 75 72 65 3A 20 34 63 33  y-Signature: 4c3     y-Signature: 4c3  on same console+userid
00000060  39 62 39 38 63 30 31 30 30 30 30 30 30 30 30 30  9b98c01000000000     9b98c01000000000  ...
00000070  30 30 30 30 30 63 62 65 39 33 61 33 35 63 37 39  00000cbe93a35c79     00000             ...
00000080  61 64 61 62 36 64 63 63 63 36 30 62 31 36 36 36  adab6dccc60b1666
00000090  39 64 35 65 36 38 38 38 65 30 36 61 61 61 61 66  9d5e6888e06aaaaf
000000A0  34 63 64 35 31 32 63 61 37 30 38 30 66 61 38 63  4cd512ca7080fa8c
000000B0  31 37 38 31 62 38 30 31 36 32 35 34 34 61 66 30  1781b80162544af0
000000C0  64 63 61 33 65 30 38 66 32 64 66 65 34 39 34 66  dca3e08f2dfe494f
000000D0  36 64 64 64 61 31 35 30 62 35 61 65 33 33 34 38  6ddda150b5ae3348
000000E0  35 32 61 65 61 64 62 63 63 31 62 65 62 61 36 64  52aeadbcc1beba6d             differs per trophyset
000000F0  38 66 66 34 66 38 65 39 61 63 39 34 61 65 31 64  8ff4f8e9ac94ae1d
00000100  32 37 38 36 61 36 38 35 33 38 30 38 62 33 33 65  2786a6853808b33e
00000110  36 32 38 34 33 63 35 35 33 32 30 39 34 32 63 30  62843c55320942c0
00000120  37 34 33 32 30 32 63 62 62 61 34 65 34 30 62 32  743202cbba4e40b2
00000130  37 34 34 31 34 39 31 32 61 35 35 61 33 62 62 37  74414912a55a3bb7
00000140  34 37 35 63 35 33 62 61 37 30 35 31 35 64 31 33  475c53ba70515d13
00000150  62 38 66 34 61 30 34 65 38 64 66 63 30 34 64 30  b8f4a04e8dfc04d0
00000160  37 39 34 32 63 66 31 62 62 33 34 31 33 65 64 39  7942cf1bb3413ed9
00000170  63 31 31 35 66 33 30 63 35 36 61 35 63 37 37 65  c115f30c56a5c77e
00000180  38 30 34 65 37 62 66 37 66 32 35 64 36 61 30 37  804e7bf7f25d6a07
00000190  33 63 35 64 31 31 36 39 62 32 34 61 31 2D 2D 3E  3c5d1169b24a1-->                  -->    same in different trophysets
000001A0  0A 3C 74 72 6F 70 68 79 63 6F 6E 66 20 76 65 72  .<trophyconf ver     .<trophyconf ver    on same console+userid
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    ...

followed by XML with the listed trophies:

trophyconf
   <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>
TROPTRNS.DAT

not plain readable

TROPUSR.DAT

TROPHY.TRP

This is the main part of the trophy.conf

VALUE Meaning
P Platinum
B Bronze
G Gold

The <npcommid> wants this structure NPXXYYYYY_YY( = NP+APP_ID).

<!--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>