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 

prxtool seems to be unable to chew 3.73 PRXes

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



Joined: 20 Jan 2008
Posts: 35
Location: Belarus

PostPosted: Wed Jan 23, 2008 4:19 pm    Post subject: prxtool seems to be unable to chew 3.73 PRXes Reply with quote

It goes as it says.

Code:
D:\PSP\PSP Updates\3.73-official dump\F0\kd>prxtool -o ge.idc ge.prx
Loading ge.prx
Assertion failed: m_pElfSections != NULL, file ProcessElf.C, line 414

This application has requested the Runtime to terminate it in an unusual way.
Please contact the application's support team for more information.


PRXes are decrypted ELFs, no problem here. IDA loads them more or less ok.

Here's the output with -d flag set:
Code:

Loading ge.prx
Debug: 00000094, 00000000, 00006D14
Debug: ELF Header:
Debug: Magic 464C457F
Debug: Class 1
Debug: Data 1
Debug: Idver 1
Debug: Type FFA0
Debug: Start 00001F58
Debug: PH Offs 00000034
Debug: SH Offs 00000000
Debug: Flags 10A23001
Debug: EH Size 52
Debug: PHEntSize 32
Debug: PHNum 3
Debug: SHEntSize 0
Debug: SHNum 0
Debug: SHStrndx 0

Debug: Program Headers:
Debug: Program Header 0:
Debug: Type: 00000001
Debug: Offset: 000000C0
Debug: VAddr: 00000000
Debug: PAddr: 80005AD0
Debug: FileSz: 25312
Debug: MemSz: 25312
Debug: Flags: 00000005
Debug: Align: 00000040

Debug: Program Header 1:
Debug: Type: 00000001
Debug: Offset: 000063C0
Debug: VAddr: 00006300
Debug: PAddr: 00000000
Debug: FileSz: 76
Debug: MemSz: 7680
Debug: Flags: 00000006
Debug: Align: 00000040

Debug: Program Header 2:
Debug: Type: 700000A1
Debug: Offset: 00006410
Debug: VAddr: 00000000
Debug: PAddr: 00000000
Debug: FileSz: 2308
Debug: MemSz: 0
Debug: Flags: 00000000
Debug: Align: 00000010

Debug: No section headers in ELF file
Debug: Size 16
Assertion failed: m_pElfSections != NULL, file ProcessElf.C, line 414

This application has requested the Runtime to terminate it in an unusual way.
Please contact the application's support team for more information.


same goes for 3.71 PRXes.
_________________
Freelance game industry veteran. 8]
Back to top
View user's profile Send private message
TyRaNiD



Joined: 18 Jan 2004
Posts: 918

PostPosted: Wed Jan 23, 2008 4:32 pm    Post subject: Reply with quote

Have you tried rebuilding prxtool from source? There was a change to work with newer prxes at some point.
Back to top
View user's profile Send private message
gauri



Joined: 20 Jan 2008
Posts: 35
Location: Belarus

PostPosted: Wed Jan 23, 2008 10:35 pm    Post subject: Reply with quote

I've grabbed latest prxtool sources and has successfully built it for win32. There's one minor problem with tinyxml sources in tinyxml.cpp:
Code:

./tinyxml/tinyxml.cpp: In member function `TiXmlElement* TiXmlNode::FirstChildElement()':
./tinyxml/tinyxml.cpp:487: error: expected `)' before ';' token
./tinyxml/tinyxml.cpp:488: error: expected `;' before ')' token


Someone who has access to svn, please remove extra semicolon there. :-)
_________________
Freelance game industry veteran. 8]
Back to top
View user's profile Send private message
jimparis



Joined: 10 Jun 2005
Posts: 1179
Location: Boston

PostPosted: Thu Jan 24, 2008 3:47 am    Post subject: Reply with quote

There's no extra semicolon on line 487...
http://svn.pspdev.org/blame.php?repname=psp&path=%2Ftrunk%2Fprxtool%2Ftinyxml%2Ftinyxml.cpp&rev=0&sc=0
You must have gotten a corrupted copy or something.
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