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
Last edited by Sonoro ; 01-25-2013 at 04:28 PM. Reason: Edit

The following 154 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, Mad Scientist, mAdlax, Major Meat Bone, malachit75, manh2, mark1, User23434, Mello999, mithosyggdrasil, MOHN, Monster-Energy, mosiko6, Mr Grumpy, Mr.Alfredo, Mw2-_-Beast-, NeOn-_-DaRkNeZz and 54 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
05-03-2015, 04:33 PM #974
ryu2050
Treasure hunter
Originally posted by Bersekz View Post
Are you sure this work? First thing I noticed using PSTIG is that output .DAT files are 3kb bigger, while they should remain the same. And when I start the game, it tries to load trophies but it stops at 10%. Anyway, I still haven't tryed rebuilding the database.


make sure your config is right in global.conf otherwise it will error out
when you delete the old trophy folder and paste the modified one game will load fine without any hiccups
05-03-2015, 05:25 PM #975
Originally posted by ryu2050 View Post
make sure your config is right in global.conf otherwise it will error out
when you delete the old trophy folder and paste the modified one game will load fine without any hiccups

So that should be the problem. Which program can I use to get my user and console ID? Is the database rebuild really necessary?

Thank you in advance.
05-03-2015, 05:31 PM #976
ryu2050
Treasure hunter
Originally posted by Bersekz View Post
So that should be the problem. Which program can I use to get my user and console ID? Is the database rebuild really necessary?

Thank you in advance.


1.multiman

2.its optional
05-05-2015, 04:10 PM #977
Originally posted by ryu2050 View Post
1.multiman

2.its optional

I changed user and console ID (got from a SFO file of a save) in global.conf and still the same problem. When I start the game "checking trophy data" dies at 10%. Also, no trophy can be unlocked during the gameplay since it seems not to recognize them as legitimate.
Last edited by Bersekz ; 05-05-2015 at 05:30 PM.
05-05-2015, 08:30 PM #978
ryu2050
Treasure hunter
Originally posted by Bersekz View Post
I changed user and console ID (got from a SFO file of a save) in global.conf and still the same problem. When I start the game "checking trophy data" dies at 10%. Also, no trophy can be unlocked during the gameplay since it seems not to recognize them as legitimate.


which game??
05-06-2015, 05:53 AM #979
Originally posted by ryu2050 View Post
which game??

Onechanbara Z Kagura With NoNoNo!
05-07-2015, 07:08 PM #980
ryu2050
Treasure hunter
Originally posted by Bersekz View Post
Onechanbara Z Kagura With NoNoNo!


is the secure file id of the game present in games.conf ??
05-08-2015, 01:22 PM #981
Originally posted by ryu2050 View Post
is the secure file id of the game present in games.conf ??

Yes, as you can see: You must login or register to view this content.

The fact is that I can see the trophies unlocked by PTIG but, since it isn't able to validate the trophy data, if I complete some missions, it doesn't unlock anything since my trophy list is like "freezed".

And a thing I noticed, as I said, is that the original .DAT file is always the same dimension, also when I unlock new trophies, it's always 25.7KB, while after using PTIG it's 28KB size.

Could it be because the game has been patched for the English translation?
Last edited by Bersekz ; 05-08-2015 at 01:30 PM.
05-08-2015, 02:22 PM #982
ryu2050
Treasure hunter
Originally posted by Bersekz View Post
Yes, as you can see: You must login or register to view this content.

The fact is that I can see the trophies unlocked by PTIG but, since it isn't able to validate the trophy data, if I complete some missions, it doesn't unlock anything since my trophy list is like "freezed".

And a thing I noticed, as I said, is that the original .DAT file is always the same dimension, also when I unlock new trophies, it's always 25.7KB, while after using PTIG it's 28KB size.

Could it be because the game has been patched for the English translation?


no idea bro

btw .dat file after modding comes as 28.3 kb
where as the original is 25.3

Copyright © 2024, NextGenUpdate.
All Rights Reserved.

Gray NextGenUpdate Logo