January 3, 2013 // 12:45 pm
- Today D3cH
with help from aerosoul94
has shared a tutorial on PS3 Debug / DEX real-time PlayStation 3 game memory modding for those interested with details and a video demo below.
To quote: Hello everyone! First off I want to say special thanks to aerosoul94
, we discovered this few months ago, we did a lot of mods, and now this is the time for release!
Ok, so now I'll explain how to edit memory of PS3 games in real time.
Your PS3 must be wired, it will not work if you're using WiFi
Ok first, start ProDG Target Manager and go on "Search For Targets" then press the refresh button to start scanning, if all is ok your PS3 should be detected, just right click on it and move it to "Debugging Station" group then double click on it, it will add your PS3 into your targets list.
Now in your targets list, right click on your PS3 then choose "Connect", once your PS3 is connected you can start ProDG Debugger (if it's asking you to select a target then just select your PS3). You will see a window called "Memory", that's in this window that you will edit the memory of the game you want.
Ok now you need to make a fself (with make_fself.exe) of the ELF you want to edit memory, just go into cmd then put make_fself x.elf EBOOT.BIN where x is your ELF (it will create the EBOOT), once you have your file just put it in your PS3 in the right game folder.
In ProDG Debugger you should see a process appear in the "Processes" window, right click on it then choose "Attach Process" then "Continue without symbols" now your process is attached and you can view memory, but when you attach it, ProDG pauses the process, you have to continue it, just go in ProDG Target Manager, expand the list of your PS3, go to "Kernel Explorer", highlight the process then press the "Continue" icon (you can also continue it with ProDG Debugger).
Now you're done and you can edit memory of your game, by the way there are other options in ProDG Debugger, you can add breakpoints, show disassembly, etc. Also don't forget to refresh memory or just enable "Auto Update" option.
Here is a screen of how it looks like:
Example of real time modding:
Enjoy your memory editing !!
Finally, from IngPereira
: Actually you can debug npdrm game but i do it in this way:
1.- Copy NPEAXXXXX folder to /dev_hdd0/gamez/GAME_NAME/NPEAXXXXX
Then you will rename the folder "NPEAXXXXX" to "BLESXXXXX" or "BLUSXXXXX" depending of region.
2.- You need to edit PARAM.SFO of game to change "HG" to "DG" and change too the TITLE ID, in this example is "NPEAXXXXX" change it to "BLESXXXXX".
3.- Later you gonna need to decrypt the EBOOT.BIN NPDRM and use makefself to make it a FSELF EBOOT.BIN, now reemplace EBOOT.BIN NPDRM to the FSELF one.
4.- Now you need a bdemu image on the ps3 (Can be a dummy image or any game, you just need a disc game inserted) so bd icon appear on xmb.
5.- Now use multiman to launch your new game (npdrm to disc game converted before) not with direct boot we need to redirect this new game folder BLESXXXXX to the one on bd disc so we can launch the game converted on xmb.
6.- Then on xmb launch the bd icon with the game name of your npdrm game converted and on the PC you will see the process on tm just attach it with debugger.
Actually is just like a kind of conversion between npdrm format to disc game (his originally form when the developers use app_home too to debug game) i use this some times with npdrm games.