This
patch adds a MAP label/comment file serializer to prxtool which is primary based on the IDC one. Make sure you loadup the module in PS2Dis as plain binary otherwise it attempts to map it (as PS2 ELF?) if it encounters ".ELF" as the file magic.
Example use (including stripping the ELF header which fixes PS2Dis binary loading):
Code: Select all
# prxtool -a somemodule.prx > somemodule.map
# cut -c 161- somemodule.prx > somemodule.bin
Then loadup the binary in PS2Dis followed by the MAP label file and have fun
browsing the disassembly. :)
You might want to also pass the "-n" option with a nid table XML file to resolve names for you.