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, 10:09 PM #515
Cheetah is there any chance you could provide a hex editing tutorial for dummys ? believe me ive tried looking up tutorials on the web and although it somewhat makes sense, there all either quite basic tutorials or too advanced so i still feel lost when applying it to this tutorial. I still dont know how to find the values for all the other trophs apart from the offsets given for the first, or understanding blocks, headers or figuring out what the hexidecimal value for a certain byte is so you can write it in. Im using HxD
01-20-2013, 10:50 PM #516
cheetahh
Do a barrel roll!
Originally posted by SavageRising View Post
Cheetah is there any chance you could provide a hex editing tutorial for dummys ? believe me ive tried looking up tutorials on the web and although it somewhat makes sense, there all either quite basic tutorials or too advanced so i still feel lost when applying it to this tutorial. I still dont know how to find the values for all the other trophs apart from the offsets given for the first, or understanding blocks, headers or figuring out what the hexidecimal value for a certain byte is so you can write it in. Im using HxD


For all of you who want to learn the hex editing. I have no fast solutions for you. My best advice would be to install a new game - copy trophy files to a temporary location like directory "0". Then go earn 1 trophy, exit game, copy trophy files to another temporary location like "1". Go earn more and repeat the process. Then try to open those files in compare mode in Hex editor. You should start noticing the patterns that unlocking new trophies will change. A lot of work if your real interest is just to cheat with some trophies, but a lot of fun when you just want to learn something new.

I used the same method, only I deciphered the TROPUSR.DAT file as well, used combinations of different games, patched vs non patched. One account vs another. One console vs another etc. PSN connected account vs local one etc. So now I know which parts change when you unlock a trophy, which parts when you sync to PSN or when you add patches etc.

I tried many many different combinations before I even tried to sync anything to PSN. In reality, Sony doesn't check much and unlocking just 1 or 2 trophies is really easy thing to do. Gets a little more complicated when you want to unlock 30 or 40 as you probably make typo somewhere.

I had some practice before this though. I had to find the trophy keys in a hard way (locate them from sprx file myself) Smile

The following user thanked cheetahh for this useful post:

SavageRising
01-20-2013, 10:53 PM #517
Thankyou thats great advice and exactly what i needed, a starting point on how to learn more, thankyou very much appreciated.
01-20-2013, 11:01 PM #518
cheetahh
Do a barrel roll!
Actually I do have a tip that might help some people. Print out your TROPTRNS.DAT file. I don't think that there many different versions of this structure so my suggestion should apply to every file out there (not sure though).

When you have it on paper, draw a line after 000000A0 (its the first column). Anything above that live is Header section.

Now draw a line after 000000E0, thats the File Header (i think).

Now draw a line after 00000130, thats the PSN account section.

Now draw a line after 00000280, thats the Trophy summary section and you change the unlocked trophy count in this one.

Now draw a line after 00000330 and just below that line starts the log of trophies. Every trophy takes 11 lines (Header + A0).

So after every 11 lines you should notice element header in a format 00000004 000000A0 00000000 00000000. Third block is in bold as value there increases all the time, that block has the order number basically.

Now if you see those block on paper visually you should understand what you have to change. Hopefully this helped.

The following user thanked cheetahh for this useful post:

SavageRising
01-20-2013, 11:29 PM #519
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...


This looks pretty awesome. Even if you won't release your whole tool (what is imo the best choice), it would be cool if you teach us how to make a more accurate timestamp generator (with miliseconds in it). I have actually no idea which algo is used to create the date+time for the timestamp in hex.
01-20-2013, 11:40 PM #520
cheetahh
Do a barrel roll!
Originally posted by neminis7 View Post
This looks pretty awesome. Even if you won't release your whole tool (what is imo the best choice), it would be cool if you teach us how to make a more accurate timestamp generator (with miliseconds in it). I have actually no idea which algo is used to create the date+time for the timestamp in hex.


One of my posts explains the algorithm.
01-20-2013, 11:49 PM #521
Originally posted by cheetahh View Post
Thats all the information we need to have an Excel formula for example (Replace the [DATE FIELD] with the reference to your field where datetime value is:
=((SECOND([DATE FIELD])+60*MINUTE([DATE FIELD])+60*60*HOUR([DATE FIELD])+24*60*60*DATEDIF(DATE(1970;1;1);[DATE FIELD];"D"))+6213559680-(60*60*6))*1000000
[/B]


Sry. I skiped this part because I read to fast. Thank you very much Smile
01-21-2013, 12:03 AM #522
Platinumpt
Do a barrel roll!
Which CFW do you need for this hack?
01-21-2013, 06:10 AM #523
step 1???? PM ME Please

Copyright © 2026, NextGenUpdate.
All Rights Reserved.

Gray NextGenUpdate Logo