Post: How to Mod TROPTRNS.DAT - Modding Trophy Files
01-13-2013, 07:44 PM #1
Sonoro
I like anteaters
(adsbygoogle = window.adsbygoogle || []).push({});
CFW ONLY


Note: consoleid in global.conf can be all "00" , so enter the "00" byte 16 times for it to work (32 0 total)


You must login or register to view this content.What is this?You must login or register to view this content.


This is basically the method to hack every trophy on Playstation 3, from editing the TROPTRNS.DAT, the file that is installed, everytime you run a game, and it's basically the files that actually stores the trophy status and unlock date.



Difference between TROPTRNS.DAT and TROPUSR.DAT


The difference between the two files is:

TROPTRNS.DAT: Actually stores trophy unlocks and status
TROPUSR.DAT: Stores trophy timestamps and displays them in the trophy collection (XMB)


Occurrent:


• Trophy Modding Toolkit:
    [URL="https://www.mediafire.com/download.php?8gy8yj33zku8ey6"]Click Here for Download[/URL]


• HxD
    [URL="https://mh-nexus.de/en/hxd/"]Download HxD[/URL]


• Ps3 Timestamp Generator
    [URL="https://www.mediafire.com/download.php?1nked1p1p9lp5ix"]Download Ps3 Timestamp Generator[/URL]




Steps:


• Step 1: Download the folder and modify the global.conf as stated. (New update includes already made global.conf)


• Step 2: Take your NPWR0XXXX_00 from your Ps3 (dev_hdd0/home/000000XX/trophy/)


• Step 3: Put your NPWR Folder in (C:\) in your Computer.

You must login or register to view this content.




• Step 4: Open TRNS Tool.exe , and input "d" to decrypt, then you will be asked to insert you NPWR folder name, stored in C:\.

You must login or register to view this content.




• Step 5: Now your TROPTRNS.DAT will be decrypted. Open it in HxD and look for Offset 0x2C0, this is the trophy installation date , you will se two timestamps, first timestamps is Block 2C1-2C7, second is block 2C9-2CF , as you can see each timestamps is composed by 7 bytes. You do not need to modify these timestamps.

You must login or register to view this content.




• Step 6: First trophy is block 340-3EF , to unlock it you are going to change these bytes:

Offset: 357 is the status, for each trophy block , the status is located at second line, seventh coloumn. To unlock the trophy, change it to "02" , it means the trophy is unlocked

Offset: 373 is the trophy id, you can see id's in the TROPCONF.SFM file, stored in the NPWR folder, the first trophy in the Hex (first block) is going to be the 2nd trophy cause the Platinum is going to be the last one with id "00" , to set the id at Offset 373, just copy the byte that is over this one example:

You must login or register to view this content.


Block: 377-37A is the trophy type, its gonna be:

    [LEFT]Bronze: 04 00 00 10[/LEFT] [LEFT]Silver: 03 00 00 10[/LEFT] [LEFT]Gold: 02 00 00 10[/LEFT] [LEFT]Platinum: 01 00 00 10[/LEFT]


Now you will have to look at TROPCONF.SFM and see which trophy has the ID you set and print the bytes for the trophy type. You can do the same thing since copying the byte that is over.


You must login or register to view this content.


Offset: 380 Here you will have to print your 2 timestamps. In a legit earned TROPTRNS.DAT the 2 timestamps are different (milliseconds difference) , but now you can put the same for both entries, so generate it with Ps3 timestamp generator and paste it. See Step 5 for positions and blocks.


You must login or register to view this content.


Each Trophy Block starts with:

    00 00 00 04 00 00 00 A0 00 00 00 ID 00 00 00 00


and ends with:


    00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00



• Step 7: First trophy is unlocked. Now repeat this action for all trophies. Then look for these positions:

Offset: 110 Here is stored your Sen ID , if you're using a TROPTRNS.DAT from a user where you already did access Sen, there will be bytes with your sen ID, otherwise they will be nulled.

Offset: 167 Here is stored the number of total entries, to determinate this, you will have to insert the number of trophies you unlocked , +1 , for example: You unlocked 51 trophies. In Hex: 51 = 33. So you will put 34.


• Step 8: To unlock the platinum trophy or the one with ID 00 (Games without plat) , you will have to insert it at the end, as last trophy.

• Step 9: When you're done editing your TROPTRNS.DAT, save it and open TROPTRNS Tool.exe again, input "e" and your NPWR Folder. Upload it to your Ps3 , log in your SEN account and Sync the trophies.


FAQ:

Q: Your tool is not working for me, how can i fix it?
A: If my tool is not working for you just use these commands on pfdtool to decrypt:
    Encryption: -g NPWR*****_00 -e (your Path) TROPTRNS.DAT

    Decryption: -g NPWR*****_00 -d (your Path) TROPTRNS.DAT


Q: Timestamp generator wont generate my hex value, what can i do?
A: Make sure you did add all values in textboxes.


Credits:


• BuC-ShoTz: Helping me with structure
• DEREKTROTTER: Trophy type and other useful help
• flatz: Pfdtool developer
(adsbygoogle = window.adsbygoogle || []).push({});

The following 156 users say thank you to Sonoro for this useful post:

_Nightwing, -Nathan-, Day, RAB, ℳaTiCz, ⓙω мσ∂z, $$$ DANGER $$$, 007bond, 631, A000_demons_000, ady, Aegon Targaryen, Alfred974, Amarildo88, amigaman2005, AsianModds, boub, braindead, Bry 1/992, BuC-ShoTz, C-J, YouAppreciateMe, chaosx6, CODHoster1337_, CoDyMoDz1000XD, CoOoL_BoY, Crunk, D-one, D3cH, dbzkamehameha, Dishonor, Disslzit, DonGiuliiano, DonPorno, Ducky 559, DylanOc1, EliteHackzPS3, ExceptionHell, FAKA_ELITE, Farva, fasooole, Fer, Fideo Kojima, Fly Away, Fuser, Gabberhard, Ali D Killer, ghost63, Gian_, GJx, gnat_, Gotham_Shadow, gowhawx, Gus Fring, hack73, Hatchet Harry, HaXingInc, Herrkulez, hess47, Sheldon Cooper, hotsauce_mm, Beats, IcyDose, II Dave II, IIUniversal, iLLy-i, iSebastianMoDz, zL_j8hnb, jabber, jambalaia00, JaMbO, ResistTheJamsha, Jared, Joel, joury070, Kendrick Lamar, TheMightyMoJo, KoS_Riitalo, kosy, LaughTracks, LTBadBoy, Lukastim80, Machine, machinistm1, Mad Scientist, mAdlax, Major Meat Bone, malachit75, manh2, mark1, User23434, Mello999, mithosyggdrasil, MOHN, Monster-Energy, mosiko6, Mr Grumpy, Mr.Alfredo, Mw2-_-Beast-, and 56 other users.

The following 12 users groaned at Sonoro for this awful post:

19willy74, Cloud, ALJOKER, Alpenjodel61, crischevelle572, DEREKTROTTER, GreenTea101, iiReFuZee, jedt, smithy2009, StarWave, riggstq
01-20-2013, 05:00 PM #506
does anyone know why i get this error "80022D00
01-20-2013, 05:44 PM #507
Kamse
Haxor!
Originally posted by mAdlax View Post
Talking about custom trophy edit programs, here is how far i am:

You must login or register to view this content.

what my tool can do atm:
- reading TROPCONF.SFM to get game name, trophy listing and more
- decrypting TROPTRNS.DAT using pfdtool
- Select global timestamp START and END between which trophies will be placed in the order u gave them in the editor
- Trophy Editor:
* Create custom order list
* legit looking timestamps in order of the list (see msgbox containing debug output) (there are also always couple of milliseconds between the 2 timestamps in say offset 381 and 389) to make it even more legit looking
* BIND trophies (like for example, u want the last trophy and platinum to pop right after another, then u just bind them, even works with more than 2 trophies, like when u have 3-4 difficulty trophies which pop one after another, those bound trophies will only have a few seconds apart)
- writing all created data into TROPTRNS.DAT at the correct offsets

whats missing:
- error handling
- i can't reset my data if i made a wrong choice after saving trophy editor content, i have to restart tool first

All my tool needs is the full NPWR folder. xD

but i doubt i will ever release this, since everyone would have no problem at all making hacked trophies. did this for me, as i'm lazy as fuck but want some legit trophies...

so far i spent ~20hrs programming this...

Wow, you are way too advanced regarding my tool. Impressive tool you got mate.
Are you getting the trophy's icons from the trophy folder ?
I see that you have all the trophies available on the left side, do you kind of select which ones you want and send them to the right side ?

I think that i'm gonna borrow ideas from you Happy


@dbzkamehameha:
Because you made a mistake somewhere (you listed a trophy twice, an error regarding trophy type (bronze instead of silver)...).
01-20-2013, 07:06 PM #508
mAdlax
Do a barrel roll!
Originally posted by cheetahh View Post
I hope you noticed what I said about those timestamps when you enter them to DAT file. Also I suggest you to make it in a way where it automatically generates timestamp for you and then you can manually correct them. There are some trophies that have to have like 10-20h between them to make them look legit. For example reach lvl 10 and reach lvl 30 or something like that.


Hey cheetahh, yes my timestamps are correct. the debug output just shows them "human redable" internally they are epoch times and will be written in the correct format.

the tool is working so far now, just synced my first trophy set with it. But you are right.
Maybe i will take out the automatic encrypting so i can edit the .DAT manually again.

Made this tool mainly to take away all the repeating work in the hex editor. xD

---------- Post added at 02:06 PM ---------- Previous post was at 02:03 PM ----------

Originally posted by Kamse View Post
Wow, you are way too advanced regarding my tool. Impressive tool you got mate.
Are you getting the trophy's icons from the trophy folder ?
I see that you have all the trophies available on the left side, do you kind of select which ones you want and send them to the right side ?

I think that i'm gonna borrow ideas from you Happy


@dbzkamehameha:
Because you made a mistake somewhere (you listed a trophy twice, an error regarding trophy type (bronze instead of silver)...).


correctly,

i can drag&drop from left (original list) to right and make an custom list which will be processed. i can drag in any order and even change order afterwards in right box. wasn't easy but getting it done tought me alot of stuff.
i haven't programmed VB for ages (5 years) so i had to use google pretty often.
i also came to the conclusion: VB SUXX! xD
01-20-2013, 07:14 PM #509
Kamse
Haxor!
Nice Listview management mate, i think that i'm gonna try to handle that (listview.items.pos - 1 or + 1).
I'd like to dev quick project with Delphi and bigger ones with C# (VS2008 suits me).
01-20-2013, 07:34 PM #510
mAdlax
Do a barrel roll!
Maybe i give C# a shot. VB is just horrible... but i don't generally dislike Visual Studio. At work i mainly program in perl, php and so on but i needed a gui. :(

Also Java would be an option. But first i will end what i started in VB.

The Listview was hard work. I made a total custom one that Inheritted the standard ListView (for events and usage).
01-20-2013, 07:38 PM #511
cheetahh
Do a barrel roll!
Had some free time and decided to experiment some more with trophy files. Last time I did it was last year as a proof of concept.

And now I can answer one popular question that has been asked a lot. Can you take someone else's TROPTRNS.DAT file and sync it up as your own. YES you can.

Very convenient when you just want to move your account from US to UK for example. But considering that the new account will have all trophies with the exact same timestamp, not very smart thing to do with someone else's files.

I can't confirm if it also works when the file is from different console. But between accounts on the same console its really easy.

TROPTRNS.DAT header section has a link to "PSN account" block. In header its at offset 0x0067-0x0068.

This block is 4 rows high and the only information it has is your account in hashed form on row 2. I don't know the algorithm for this hash, looks like MD5-HMAC. But it doesn't matter. You can take this hash from your own trophy file (its always the same, even when the console_id or account_id are different) and replace it in the TROPTRNS.DAT file. Just tried and the file synced fine.

The following user thanked cheetahh for this useful post:

mAdlax
01-20-2013, 07:53 PM #512
mAdlax
Do a barrel roll!
nice info cheetahh maybe i will fiddle with this information aswell. Happy
01-20-2013, 08:03 PM #513
Originally posted by cheetahh View Post

And now I can answer one popular question that has been asked a lot. Can you take someone else's TROPTRNS.DAT file and sync it up as your own. YES you can.


Ok but i must change sth? or just copy NPWR data to other one profile (home/trophies) and synch will work?
01-20-2013, 08:24 PM #514
cheetahh
Do a barrel roll!
Originally posted by X View Post
Ok but i must change sth? or just copy NPWR data to other one profile (home/trophies) and synch will work?


Yes you have to change the account hash in your file.

To everyone with more technical skills, here is the structure of TROPTRNS.DAT file if you want to parse it correctly:
TROPTRNS.DAT header is from 0x0000 to 0x00AF. This header will define 4 sections.

Range 0x0000 to 0x002F seems to be general file info section or at least theres nothing interesting in it.

Range 0x0030 to 0x004F defines the first section (offset 0x0033) with the length on 30 bytes (offset 0x0037) and 1 element (offset 0x003F) - I suspect its general file version etc - nothing interesting in that section. The beginning of this section is defined at offset 0x0047 - so far it has been 0x00B0.

Range 0x0050 to 0x006F defines the second section (offset 0x0053) with the length of 40 bytes (offset 0x0057) and 1 element (offset 0x005F) - This section is your PSN account, it has one hash of your account that never changes. The beginning of this section is defined at offset 0x0067 - so far it has been 0x00F0.

Range 0x0070 to 0x008F defined the third section (offset 0x0073) with the length of 140 bytes (offset 0x0077) and 1 element (offset 0x007F) - This sections is general trophies information. Also the count of unlocked trophies (offset 0x0027 from the block) and synced trophies (offset 0x002B from the block) are listed here. The beginning of this section is defined at offset 0x0086-0x0087 - so far it has been 0x0140. This section has also huge block that seems to be encrypted - and I think part of this encryption might be console_id - but never tested it. Between different accounts the block stays same, so user information is not used for this.

Range 0x0090 to 0x00AF defines the fourth and final section (offset 0x0093) with the length of A0 bytes per element (offset 0x0097) and 90 elements (offset 0x009F) - This is the transaction log of all unlocked and/or synced trophies. The beginning of this sections is defined at offset 0x00A6-0x00A7 and so far it has been 0x0290.

First element in the fourth section is timestamp block of the TROPUSR.DAT file and then the list of trophies follows.

Every section has 16 byte header and for example for the last section its like:
00000004 000000A0 00000000 00000000

Which reads as 4th section with a length A0 rows with the order number 0.

Hopefully this will help all those who are programming different helper tools.

The following user thanked cheetahh for this useful post:

SavageRising

Copyright © 2026, NextGenUpdate.
All Rights Reserved.

Gray NextGenUpdate Logo