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-19-2013, 12:25 PM #434
cheetahh
Do a barrel roll!
What I would suggest you to do is remove the NPW... folder of that game. Start the game - usually it will fail complaining about the trophies (but it does create new files). Start the game again and obtain the easiest/fastest trophy you can get. Now you have all the correct information in place for the game. Just open the TROPTRNS.DAT file and start modifying the file starting from 340. Thats where the transaction log starts. You should already have one entry there (that you did legit), modify that to the one you want to unlock. In the header section you can see that the length of trophy information is 0xA0 which means in decimal that after every 11 rows there will be next block for trophy. 11 because A is 10 in decimal and every block has 1 row for header. You can also detect the next row based on its header (might be easier visually) - its always 00000004 000000A0 .......... - 04 there means its section 4 and A0 means that its 10 rows. Also the transaction counter is on that row. First block (starting from 0x0290 usually - but the correct location can be read in header section 0A6 - 0A7) is the date timestamp block.

And yeah you have to check that the list of trophies you are trying to unlock (that haven't been synced yet) matches the value on 0x0167.

Gets way too technical - I know. So I stop here.
01-19-2013, 12:35 PM #435
is it normal when you transfer the edited trophies, that the xmb still shows that the trophies is 0%?
01-19-2013, 12:36 PM #436
cheetahh
Do a barrel roll!
Originally posted by dbzkamehameha View Post
is it normal when you transfer the edited trophies, that the xmb still shows that the trophies is 0%?


Yes, as you are not modifying TROPUSR.DAT. After sync, it should show correct information.
01-19-2013, 12:51 PM #437
Originally posted by cheetahh View Post
Yes, as you are not modifying TROPUSR.DAT. After sync, it should show correct information.


so i just have to sync and it will work?
01-19-2013, 12:57 PM #438
cheetahh
Do a barrel roll!
Originally posted by dbzkamehameha View Post
so i just have to sync and it will work?

If everything done correctly, it should. Like I said in one of my earlier posts, I myself modified always both files. Based on the thread though its not needed. Maybe some of the errors that people are receiving is because they change only TROPTRNS.DAT file. I don't know. I do know that TROPUSR.DAT has a section for PSN account information, sync details information and last sync information. So out of 10 sections that file has 3 contain information about PSN.
01-19-2013, 12:57 PM #439
ghost63
Do a barrel roll!
yes if you have any change correctly
01-19-2013, 12:59 PM #440
i did this but got an error and only 4 of 6 trophies that i modded are unlocked, why is this?
01-19-2013, 01:07 PM #441
cheetahh
Do a barrel roll!
Originally posted by dbzkamehameha View Post
i did this but got an error and only 4 of 6 trophies that i modded are unlocked, why is this?

The file was not modified correctly probably.
01-19-2013, 01:16 PM #442
Kamse
Haxor!
Originally posted by cheetahh View Post
What I would suggest you to do is remove the NPW... folder of that game. Start the game - usually it will fail complaining about the trophies (but it does create new files). Start the game again and obtain the easiest/fastest trophy you can get. Now you have all the correct information in place for the game. Just open the TROPTRNS.DAT file and start modifying the file starting from 340. Thats where the transaction log starts. You should already have one entry there (that you did legit), modify that to the one you want to unlock. In the header section you can see that the length of trophy information is 0xA0 which means in decimal that after every 11 rows there will be next block for trophy. 11 because A is 10 in decimal and every block has 1 row for header. You can also detect the next row based on its header (might be easier visually) - its always 00000004 000000A0 .......... - 04 there means its section 4 and A0 means that its 10 rows. Also the transaction counter is on that row. First block (starting from 0x0290 usually - but the correct location can be read in header section 0A6 - 0A7) is the date timestamp block.

And yeah you have to check that the list of trophies you are trying to unlock (that haven't been synced yet) matches the value on 0x0167.

Gets way too technical - I know. So I stop here.
Don't worry about beeing technical, i'm used to reverse engineering, so that's all easy to understand for me.
I already understand how to active them (bronze, silver gold codes, 10 = online account / 20 = offline account).
Also the hex value for unlocked trophies + 1 at offset $167.

My main issue was that it thought that i had to enable all unlocked trophies at the bottom of the file.
I mean, after the legits one.


So basicaly, i'm just deleting and creating back a new trophy folder to get a legit timestamp. Am i right ?
Anyway, Thanks mate, gonna give it a try.

Copyright © 2026, NextGenUpdate.
All Rights Reserved.

Gray NextGenUpdate Logo