prxtool seems to be unable to chew 3.73 PRXes

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

Moderators: cheriff, TyRaNiD

Post Reply
gauri
Posts: 35
Joined: Sun Jan 20, 2008 11:17 pm
Location: Belarus

prxtool seems to be unable to chew 3.73 PRXes

Post by gauri »

It goes as it says.

Code: Select all

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: Select all

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]
TyRaNiD
Posts: 907
Joined: Sun Jan 18, 2004 12:23 am

Post by TyRaNiD »

Have you tried rebuilding prxtool from source? There was a change to work with newer prxes at some point.
gauri
Posts: 35
Joined: Sun Jan 20, 2008 11:17 pm
Location: Belarus

Post by gauri »

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: Select all

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

Post by jimparis »

There's no extra semicolon on line 487...
http://svn.pspdev.org/blame.php?repname ... rev=0&sc=0
You must have gotten a corrupted copy or something.
Post Reply