forums.ps2dev.org Forum Index forums.ps2dev.org
Homebrew PS2, PSP & PS3 Development Discussions
 
 FAQFAQ   SearchSearch   MemberlistMemberlist   UsergroupsUsergroups   RegisterRegister 
 ProfileProfile   Log in to check your private messagesLog in to check your private messages   Log inLog in 

[PATCH] Add PS2Dis MAP file serializer to prxtool

 
Post new topic   Reply to topic    forums.ps2dev.org Forum Index -> PSP Development
View previous topic :: View next topic  
Author Message
PSP250



Joined: 19 Nov 2005
Posts: 12

PostPosted: Sat Sep 09, 2006 8:17 pm    Post subject: [PATCH] Add PS2Dis MAP file serializer to prxtool Reply with quote

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:
# 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.
Back to top
View user's profile Send private message
jimparis



Joined: 10 Jun 2005
Posts: 1179
Location: Boston

PostPosted: Mon Sep 11, 2006 7:45 am    Post subject: Reply with quote

Added in r1997
Back to top
View user's profile Send private message
Display posts from previous:   
Post new topic   Reply to topic    forums.ps2dev.org Forum Index -> PSP Development All times are GMT + 10 Hours
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum


Powered by phpBB © 2001, 2005 phpBB Group