PS4 News on Facebook! PS4 News on Twitter! PS4 News on YouTube! PS4 News RSS Feed!

Home PS4 News - Latest PlayStation 4 and PS3 News

December 14, 2012 // 11:35 am - Following up on his previous update, today PlayStation 3 developer Flat_z has updated the PS3 Save Game Tools Pack to include SFOPatcher v0.2.0 and PFDTool version 0.2.3 alongside an update to the BruteforceSaveData GUI by aldostools below.

Download: PS3 Save Game Tools Pack Update (121412) / PFDTool and SFOPatcher Source Code / pfd_sfo_tools_code.zip (Mirror) / BruteforceSaveData GUI

From Flat_z: Some people asked me about the source code of pfd & sfo tools.. here they are (linked above).

Guys, here is an update of my tools. It contains an update to sfopatcher (see the changelog below) and a small update to pfdtool. Previously you should make a save game for your game on your console and then use PARAM.SFO from it as a template to PARAM.SFO from a foreign save game to build a new PARAM.SFO which will contain the data specific to your console. A newer version of sfopatcher will use a foreign save data directory and params only if you specify these options.

From aldostools: A new version of the frontend is available with the updated tools from flatz and new settings to take advantage of these features.

Changes: new "Rebuild" option, new "Restore" option, updated the database with secure_file_id for more than 750 games (over 3140 title ids). Added a new "date" column. Special thanks to flatz, Alex at CMP, acab, skillerCMP, gingerbread and many others

Changelog:

pfdtool 0.2.3

  • Added an option to specify the relative offset to advance each time while bruteforcing a secure file ID.

Below is a guide from zorrolaro on how to use PFDTool without PS3 CFW using Borderlands 2 as an example:

Required Tools:


Guide:

  • Create a folder near your root drive for pfdtool (i.e. c:/pfdtool/), then extract all files into that folder from the linked archive.
  • Download and install wireshark and winPcap (included with the wireshark installer)
  • Download and install the .net runtimes
  • Download and install PS3 ProxyServer
  • Open a command prompt (start menu -> all programs -> accessories -> command prompt) and enter command "ipconfig". Write down the IPv4 address (should look like 192.168.0.10 or something similar)
  • Open PS3 ProxyServer and copy the IPv4 address you wrote down into the IP Address field and check of PS3 mode, leave the other options alone. Hit the big start button. Keep you IPv4 number handy, you'll need it again. Leave this program running.
  • Open Wireshark. On the left side there is an option to start capture. Left click with your mouse to select the appropriate network adapter listed below the start command. If you are not sure about which adapter to use, select them all using ctrl + left mouse click. Hit the start button once you've highlighted the appropriate adapters. Leave this program running.
  • Boot up your PS3 and navigate to Settings -> Network Settings -> Internet Connection Settings. on the first page select Custom, on the second select whether you are connected wirelessly or wired. Skip all other options by hitting right on your controller until you get to the Proxy Server page, then select use for that option. input the IPv4 address you wrote down earlier into the top field.

    Make sure that the port number on this page matches the port number on PS3 ProxyServer (should both say 8080). Skip to the last page on the configuration and hit x. Test connection when prompted by hitting x again. As long as the top 3 fields say succeeded you can carry on to the next step. if not, review your settings in this step and steps 5 and 6 and retry.
  • Sign into the playstation network and login to the psn store.
  • Go back to your pc and check Wireshark. There should be a whole bunch of information displayed on the screen, don't worry you don't need to know what it means. Press [ctrl]+ e to stop capturing, then press [ctrl]+f to bring up your search dialogue. Under "find" check of "string" and under "Search In" check off "Packet bytes". Enter 0000000100 as your search criteria and hit enter. If the necessary packet was found, in the bottom frame it should show the number highlighted on the right side (plaintext view) to ensure you have the right packet, right before the highlighted text it should say "devideID":" and then the numbers you searched for.

    Take all the numbers and letters starting with your highlighted numbers and copy everything down until you find the next quotation mark in the plaintext. You should have a total of 32 digits written down. Should look something like 000000010084 followed by a bunch of letters and numbers. This is your console id.
  • Go to the folder you installed pfdtool in. Open global.conf in notepad. Eidt the line where it says console_id=by adding the console id you just captured after the =. Also change the other fields that are bolded below to match

    [Register or Login to view code]


  • Save file and exit (make sure you save as .conf not .txt)
  • Open the games.conf file in the same folder. Edit it as follows for NA retail disc version only. You'll have a different game id (the BLUS30982) and secure_file_id. You'll need to ask for someone on the forums to get those for you if you are using a different region, version or entirely differnt game. You can add additional games follwing the same layout by adding more lines. The disc_hash_key is commented out, so you will get a notifaction everytime you use pfdtool, but it still works fine.

    [Register or Login to view code]


  • Save and close the file once you are done adding games. Again make sure you save as .conf, not .txt.
  • Make sure you have a copy of your save game on your pc. I like to copy them right into the same folder as pfdtool to make for shorter commands.
  • You are now ready to actually use pfdtool. Navigate your command prompt to the folder you installed it (command to use is simply the path of the folder, ie "c:/pfdtool"). To decrypt we use the following command:

    [Register or Login to view code]


  • Where the part in quotations will be changed to reflect your actual drive location and the name of the file will be changed to your actual file name. The file name and path are case sensitive, make sure you double check you have the right case.
  • You now have a decrypted save file. Use your hex editor of choice or in the case of Borderlands 2 you can use the latest version of Gibbed's Borderlands 2 Save Editor. Once you are done editing, sae your game again and onto the last step.
  • All that's left at this point is to encrypt the file again. See below, same notes as when decrypting about file path and name.

    [Register or Login to view code]


  • You can now transfer your save game back to your PS3.

A couple of quick notes: I have tried to make this as noob friendly as possible, but you still need some basic knowledge to follow this guide. Also, atm I really have no interest in modding any other save games so I do not have the info for other games to place in your games.conf file, though if anyone wants to post them I will be happy to add them to the guide. I did not write nor do I support any of the software mentioned in this guide.

Unfortunately we can't extract it from .PFD because IDPS is not stored there. They used it as a HMAC key to hash the content of PARAM.SFO.

I already said many times that some hashes are not checked. That's why Xploder works fine without your console ID. But my goal was the correct generation of the PFD (because S0ny can add new checks in the future) and I had managed to use all keys but you can omit some of them (based on your console id or disc hash key, for example).

From cheetahh: I can confirm that flat_z tool can be used to decrypt TROPTRANS.DAT file and if you know how to modify all the files correctly (there are different checksums and hashes in the files) you can sync those unlocked trophies to PSN as well.

From Sunny992: All information should be free, don't conceal it if it's already leaked, which it was.

[Register or Login to view code]

It was leaked on NGU.

Finally, from comes a VB.NET/C# PARAM.PFD Code Snippet below, as follows:

Figured I would share this as it is a starting point to anyone who wants to work with PARAM.PFD files within VB.NET/C#. Use it, change it, do what you want with it. I used a code converter to avoid rewriting everything between the 2 languages, and then went through and fixed what broke during the conversion.

The code could be optimized... Most of the classes/functions could easily be combined down to just a few classes/functions, and global variables should be avoided when possible other than for this demonstration. The reason it is the way it is now is so that it is easier to see what is going on. If anyone actually uses this, and wants an optimized set of functions or classes just ask.

With that said, all that is needed is a decryption/encryption (AES 128 CTR Mode) function/class for save files and you can be on your way to making your own cheat editor without the need of bundling in flatz pfdtools.

VB.NET Code

[Register or Login to view code]

C# Code

[Register or Login to view code]

PS3 Save Game Tools Pack Updated by Flat_z, PFDTool v0.2.3 Out

PlayStation Follow us on Twitter, Facebook and join us at our new site WWW.PSXHAX.COM!



#98 - exassasinx - December 7, 2014 // 6:53 pm
exassasinx's Avatar
sup, can't wait for it to be ported to 4.xx

#97 - WhiteWolfHG - November 15, 2014 // 5:12 pm
WhiteWolfHG's Avatar
cool i look forward to using it

#96 - KevinKickback - November 8, 2014 // 9:37 am
KevinKickback's Avatar
awesome!

#95 - Plarus - November 8, 2014 // 9:33 am
Plarus's Avatar
thank you !

#94 - lord900 - October 19, 2014 // 11:04 am
lord900's Avatar
nice news

#93 - black2303 - October 19, 2014 // 9:51 am
black2303's Avatar
Nice, thank you.

#92 - jetorrado - October 19, 2014 // 9:51 am
jetorrado's Avatar
hi everyone newbie here...

#91 - franci95 - October 18, 2014 // 6:12 pm
franci95's Avatar
hello guys

#90 - JeoWay - June 10, 2013 // 12:24 am
JeoWay's Avatar
Hello, I have written an in-depth tutorial on how to use the PS3 Save Resigner by K.G & how to build your own Games Configuration Table set with the saves keys (This fixes Save Game Corruptions).

To quote (via wololo.net/talk/viewtopic.php?f=16&t=31703): To start off, all tools and programs are linked at the end.

*REQUIRES .Net Framework 4 and msvr100.dll !!

1) Open up the Save Resigner.
2) In the tabs, go to "Customized Profile Settings"
3) Go the options to "Enter Public Keys"
4) Enter in the Public Keys into the Correct Lines.


[Register or Login to view code]



5) Press "Save Keys" (So you don't have to enter on startup)
6) Copy over *YOUR* save data from the PS3.
7) Locate "Enter Private Keys".
8) Either enter the values in yourself or load YOUR param.sfo from YOUR Save.
9) Now click save Profile (As either 01, 02, or 03)
10) On the tabs, go back to "Save Resigner"
11) Go to File > Open > Locate Modded Save Data
12) After mod save is loaded, you can change region by editing the Game ID.
13) (Don't edit the Console, Account, or User ID's)
14) Now select a profile to resign to.
15) Either decrypt the save and then edit and re-encrypt and resign OR...
16) Simply click "Resign" and use it.
17) Sometimes it still says corrupt after resign so you need to copy params.

FIXING CORRUPT ISSUES

1) Check the box of copy params of a specific game.
2) If you get an error, you need to install msvr100.dll (Link Below)
3) Now select "Resign", and it MAY fix the corrupt issue.

(I have had this problem with Sound Shapes Game Save)

DOWNLOAD LINKS

msvr100.dll = http://www.microsoft.com/en-us/downl...n.aspx?id=5555
Microsoft .Net Framework 4 = http://www.microsoft.com/en-us/downl...ramework%204.0
PS3 Save Game Resigner by K.G = https://www.dropbox.com/sh/x8tvy92l6d8wgeq/A_HuXl2bDm

READ IF YOU ARE GETTING SAVEDATA CORRUPT ISSUES!!!

This is caused because the games.conf file does not have the games savedata keys in it. This is because a game that is protected with a file hash key hasn't been signed properly. In order to do this, you need to update the configuration file with keys.

Configuration File Structure

Lets pretend our game name is "JeoWay's Tutorial" and our region code for account is JWUB6144 for example.

; Game settings This is always at the top of file on the first line
Keep a space here and for every game information you put in!
; "JeoWay's Tutorial" This is where you need to put the game name in quotations.
[JWUB6144] In the brackets is where you put region code (Name of Save Folder)
;disc_hash_key= This is ALWAYS the same thing. Just copy it there EXACTLY how it is in this example and dont change it!!!
secure_file_id:*=XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX X Corresponds to the Key. This is the key. Below is how to get it.

That up there ^^^^^^^^^^^^^^^^ is the Configuration Structure... Below is an example of THREE Games being recordered in the .conf file!

[Register or Login to view code]


And it continues exactly in that form above ^^^ Notice the Spaces above, thats VERY important!!

How to get your secure_file_id (Save Key) for updating configuration file!

In order to obtain the Key for the secure_file_id to sign the save data so it won't be corrupt either copying or loading the data on PS3, you either need to use a good Brute Forcing Program, Calculate them yourself, or live without it.

I recommend using the Save Data Bruteforce program here: ps3tools.aldostools.org/BruteforceSaveData.rar

Using the Bruteforcing Program (Tutorial for Aldostools: PS3 Tools Collection 2.3.7)

1. Make sure "Use Data Aligment" is checked in the top right hand corner.
2. Under the "Use Data Aligment", press the button with three periods "..."
3. Find your save data folder and select it.
4. Once opened, where the information is displayed in the middle, right click it and press "Bruteforce"
5. It will ask you to bruteforce again, press yes and at the bottom should be the info you should recognize (The .conf information).
6. Copy and Paste that code into the Configuration File in the Save Resigner (Refer to Configuration File Structure to learn how)
7. Save the configuration file and voila, just resign your savedata and you shouldn't get anymore errors.

How to copy save data to your PlayStation 3!

1. Plug in your USB to your PC
2. In the root, create a folder called "PS3" (Without quotations.)
3. Inside the folder "PS3", create another folder called "SAVEDATA (Again, no quotations)
4. Inside the folder "SAVEDATA", place your resigned save data in there.
5. Plug USB in PS3, now copy over to PS3.

#89 - Badger1975 - May 1, 2013 // 7:16 pm
Badger1975's Avatar
Come on. I play games for the fun of it and I use Cheat devices also such as Game Genie but I am tired of hearing people complain about Stupid Trophies.

All the Trophies are dumb since it just lets people Brag about their achievements and such which I don't play games just to show off and look like Top Dog or anything with Trophies, I play to just have fun with the game like I always did all the way back to NES and Even Atari.

Damn game companies and even console makers have just advanced way too far these days and now do to stupid online play and stupid trophies, Us people that like the good old cheat devices to make our games more fun even extend the fun using cheats and even funny cheats that make the game do funny stuff, now we have trouble using them do to limits caused by this new online play and now dumb Trophies which I have trophies also but if I could, I would delete mine and block mine from ever showing again.

Everyone that goes for Trophies, Grow up since you are not a Top Dog on games and you need to just play your games and or play them with your friends that visit you or you visit and leave us alone that use cheats and Stop trying to ban our cheat devices or we may jump in and Fight rough back and start a PS3 war or something.