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-27-2013, 06:49 PM #632
Originally posted by neminis7 View Post
I think it's a per-game static signature/block (maybe a second identifier so PSN knows which game this TropTrns is assigned to) and it doesn't change if you start the game on different consoles or user accounts. Ive found out that this 160 byte sized block is also present in the decrypted eboot.bin (eboot.elf) of the corresponding game. As far as I know the eboot.bins of games are static for each game and they're the same no matter from which disc they come. It has to be correct Game ID, though. Maybe Im wrong since I've got only one PS3 and cant compare TropTrns installations that way but then I don't know why it changes.

---------- Post added at 12:44 PM ---------- Previous post was at 12:29 PM ----------



00 00 00 04 00 00 00 a0 00 00 00 01 00 00 00 00
00 00 00 01 00 00 00 02 00 00 00 01 00 00 00 00
00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
00 00 00 20 00 00 00 04 00 00 10 00 00 00 00 00

Green: List Entry Number of TropTrns.dat /Don't change that

Blue: "Sync Flag" - 00=not synced to PSN | 01=allready synced - leave it to 00 if you want to sync that trophy entry

Red: Trophy ID - You can get it from TROPCONF.SFM (but change the decimal value to hex before inserting)

Pink: Trophy Type - You can get it from TROPCONF.SFM

Orange: Account Type - 10=connected to PSN Account | 20=never connected to a PSN Account before

Also I emphasize everyone who wants to edit their Trophies to search this thread for cheetahh's posts. He explained the structure of the Trophy files very well and everything for a perfect modified sync without errors is allready said.


so is it ok if i do it like this?

e.g.:

00 00 00 04 00 00 00 A0 00 00 00 01 00 00 00 00
00 00 00 01 00 00 00 02 00 00 00 00 00 00 00 00
00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
00 00 00 01 00 00 00 04 00 00 10 00 00 00 00 00

00 00 00 04 00 00 00 A0 00 00 00 02 00 00 00 00
00 00 00 02 00 00 00 02 00 00 00 00 00 00 00 00
00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
00 00 00 02 00 00 00 04 00 00 10 00 00 00 00 00

.....

00 00 00 04 00 00 00 A0 00 00 00 1A 00 00 00 00
00 00 00 1A 00 00 00 02 00 00 00 00 00 00 00 00
00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
00 00 00 1A 00 00 00 04 00 00 10 00 00 00 00 00

etc....

what i do is take the same number that i see above so if i see "1E" on the first and second line, i put it on the 4 line.

is this good or bad, if bad what way should i do it?
01-27-2013, 07:41 PM #633
Originally posted by dbzkamehameha View Post
what i do is take the same number that i see above so if i see "1E" on the first and second line, i put it on the 4 line.


The TropTrns.dat is nothing more than a list with empty trophy slots. Some values are predefined and theres no need in changing them (like the two Entry numbers you mistakenly edited :/ ). Everytime you unlock a Trophy its timestamp, id and type and also the the unlock status and the Account status is written to the first available empty slot. If the Slot with the entry number 01 is already filled with information, the trophy system will fill the slot with number 02 and so on. So much for the theory.

If you play a game I guess you dont earn trophies straight from 1 to 50 so heres an example:

You earn the first trophy, then the second, then the 8st, then the 12st. Then your TropTrns.dat should look like this:

00 00 00 04 00 00 00 A0 00 00 00 01 00 00 00 00
00 00 00 01 00 00 00 02 00 00 00 00 00 00 00 00
00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
00 00 00 01 00 00 00 04 00 00 10 00 00 00 00 00

00 00 00 04 00 00 00 A0 00 00 00 02 00 00 00 00
00 00 00 02 00 00 00 02 00 00 00 00 00 00 00 00
00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
00 00 00 02 00 00 00 04 00 00 10 00 00 00 00 00

00 00 00 04 00 00 00 A0 00 00 00 03 00 00 00 00
00 00 00 03 00 00 00 02 00 00 00 00 00 00 00 00
00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
00 00 00 08 00 00 00 04 00 00 10 00 00 00 00 00

00 00 00 04 00 00 00 A0 00 00 00 04 00 00 00 00
00 00 00 04 00 00 00 02 00 00 00 00 00 00 00 00
00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
00 00 00 0c 00 00 00 04 00 00 10 00 00 00 00 00

I underlined all values you have to edit (for the next empty slots). The others are not important (and are predefined). Although you shouldn't insert the trophy id's straight from 1 to 50 because it wouldn't look legit. But if you don't give a damn about a legit order or a higher risk it's not important to sync the trns.dat successfully.
01-27-2013, 08:46 PM #634
Would this work for just individual trophies or can you only just unlock all of the trophies at once?
01-27-2013, 08:48 PM #635
cheetahh
Do a barrel roll!
Originally posted by XModMenu View Post
Would this work for just individual trophies or can you only just unlock all of the trophies at once?


Did you even bother to spend some time to read the first post and posts following it?
01-27-2013, 08:50 PM #636
I didn't really understand it. So can you or can't you?
01-27-2013, 08:59 PM #637
Originally posted by neminis7 View Post
The TropTrns.dat is nothing more than a list with empty trophy slots. Some values are predefined and theres no need in changing them (like the two Entry numbers you mistakenly edited :/ ). Everytime you unlock a Trophy its timestamp, id and type and also the the unlock status and the Account status is written to the first available empty slot. If the Slot with the entry number 01 is already filled with information, the trophy system will fill the slot with number 02 and so on. So much for the theory.

If you play a game I guess you dont earn trophies straight from 1 to 50 so heres an example:

You earn the first trophy, then the second, then the 8st, then the 12st. Then your TropTrns.dat should look like this:

00 00 00 04 00 00 00 A0 00 00 00 01 00 00 00 00
00 00 00 01 00 00 00 02 00 00 00 00 00 00 00 00
00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
00 00 00 01 00 00 00 04 00 00 10 00 00 00 00 00

00 00 00 04 00 00 00 A0 00 00 00 02 00 00 00 00
00 00 00 02 00 00 00 02 00 00 00 00 00 00 00 00
00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
00 00 00 02 00 00 00 04 00 00 10 00 00 00 00 00

00 00 00 04 00 00 00 A0 00 00 00 03 00 00 00 00
00 00 00 03 00 00 00 02 00 00 00 00 00 00 00 00
00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
00 00 00 08 00 00 00 04 00 00 10 00 00 00 00 00

00 00 00 04 00 00 00 A0 00 00 00 04 00 00 00 00
00 00 00 04 00 00 00 02 00 00 00 00 00 00 00 00
00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
00 00 00 0c 00 00 00 04 00 00 10 00 00 00 00 00

I underlined all values you have to edit (for the next empty slots). The others are not important (and are predefined). Although you shouldn't insert the trophy id's straight from 1 to 50 because it wouldn't look legit. But if you don't give a damn about a legit order or a higher risk it's not important to sync the trns.dat successfully.


thanks i finally get it now Smile
01-28-2013, 05:33 PM #638
does anyone know a website that can convert timestamps into time?
01-28-2013, 08:54 PM #639
mAdlax
Do a barrel roll!
Originally posted by dbzkamehameha View Post
does anyone know a website that can convert timestamps into time?


i used epochconverter.com while programming my tool. but you need a bit more timestamp knowledge to actually get it into real ps3 timestamp format... many posts back is a good post about it. The tool from Inaudx is basically useless since the generated timestamps are not really legit. :x
01-29-2013, 04:28 AM #640
You can do it that way but i think its much easier starting with a new empty TROPTRNS trophy list on a new account as it could get abit confusing that way.

Copyright © 2026, NextGenUpdate.
All Rights Reserved.

Gray NextGenUpdate Logo