[PATCH] Add PS2Dis MAP file serializer to prxtool

Discuss the development of new homebrew software, tools and libraries.

Moderators: cheriff, TyRaNiD

Post Reply
PSP250
Posts: 12
Joined: Sat Nov 19, 2005 2:41 am

[PATCH] Add PS2Dis MAP file serializer to prxtool

Post by PSP250 »

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.
jimparis
Posts: 1145
Joined: Fri Jun 10, 2005 4:21 am
Location: Boston

Post by jimparis »

Added in r1997
Post Reply