QJ.NET | Videos | Forums | iPhone | MMORPG | Nintendo DS | Wii | PlayStation 3 | PSP | Xbox 360 | PC | Downloads | Contact Us
Forums | Gaming News | Videos | Downloads | Today's Posts | Mark Forums Read | Chat | FAQ | Members List | Contact

QJ.net Game Discussion - PSP, Xbox, Wii, PS3, PSP Homebrew, and PSP Guides

Go Back   QJ.net Game Discussion - PSP, Xbox, Wii, PS3, PSP Homebrew, and PSP Guides > Developers Corner > PSP Development, Hacks, and Homebrew > PSP Homebrew and Hacks Discussion
The above video goes away if you are a member and logged in, so log in now!

I bet nobody knows the answer to this question, not even fanjita probbably..

This is a discussion on I bet nobody knows the answer to this question, not even fanjita probbably.. within the PSP Homebrew and Hacks Discussion forums, part of the PSP Development, Hacks, and Homebrew category; Anyone know how to load a ELF file in IDA without it comming up with that stupid "Unsupported or unknown ...

Reply
 
LinkBack Thread Tools
Old 07-22-2006, 09:13 AM   #1
 
Join Date: Sep 2005
Posts: 44
Trader Feedback: 0
Default I bet nobody knows the answer to this question, not even fanjita probbably..

Anyone know how to load a ELF file in IDA without it comming up with that stupid "Unsupported or unknown image type" error? Seams the elf/sony prx files have protection against reverse engineering in ida.

I bet anything this thread gets unanswered which is one reason the mods here should give me access to developers dungon forum which i can't post in.
agent_dark64 is offline  
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
Old 07-22-2006, 09:15 AM   #2
 
iballŪ's Avatar
 
My Mood: Aggressive
Join Date: Oct 2005
Location: Interstates
Posts: 9,652
Trader Feedback: 0
Default

Why don't you DEVELOP something to gain access to it?
__________________
[spoiler=signature][center][img]http://i33.photobucket.com/albums/d75/iball2929/iballsig2fz.jpg[/img][/center]
[size=-2][center][b][color=purple]Nintendo DS WFC codes[/b][/color][/center][/size][size=-2][center][b][color=green]Mario Kart DS: 180448 583615 (I-Ball)[/color]
[color=blue]Animal Crossing: Town of Sampson 4853-9284-6519 (I-Ball)[/color]
[color=red]Metroid Prime Hunters: 5025 8054 3555[/size][/center][/color][size=-2][center]-----------------[/center][center][color=blue]Homebrew authors! If your software is based upon GPL code then you MUST release the modified source code you created the same time you release the binaries![/b][/size][/color][/center]
[size=-2][center][b]Supercard mini-SD w/2GB 150x Mini-SD card, SuperPass II, FlashMe v7 and an EFA Linker II GBA flashcart[/b][/center][/size][/spoiler]
iballŪ is offline  
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
Old 07-22-2006, 09:17 AM   #3
 
Soulphalanx's Avatar
 
Join Date: Sep 2005
Location: TROY
Posts: 2,989
Trader Feedback: 0
Default

maybe because its an unsupported format that it doesnt work
__________________
[IMG]http://img121.imageshack.us/img121/3852/untitled1copy7rf.png[/IMG] [IMG]http://img99.imageshack.us/img99/9711/newavatarjb9.gif[/IMG]


[URL=http://forums.qj.net/showthread.php?t=9733][COLOR=DarkRed]Operation Positive Posting[/COLOR][/URL] [URL=http://forums.qj.net/showthread.php?t=49762][COLOR=Red]Guide to All Guides[/COLOR][/URL]
[URL=http://forums.qj.net/showthread.php?t=13798][COLOR=Blue]Posting Guidelines[/COLOR][/URL] [URL=http://forums.qj.net/showthread.php?t=4394][COLOR=Green]Piracy Policy[/COLOR][/URL]

[SIZE="3"][URL=http://forums.qj.net/f-general-psp-help-22/t-guide-opening-psp-disassembly-assembly-video-104303.html][COLOR=Red][B][U]PSP Disassembly Assembly Video Tutorial[/U][/B][/COLOR][/URL][/SIZE]
Soulphalanx is offline  
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
Old 07-22-2006, 09:18 AM   #4
 
Join Date: Sep 2005
Posts: 44
Trader Feedback: 0
Default

Quote:
Originally Posted by iballŪ
Why don't you DEVELOP something to gain access to it?
I don't have time unlike most people here, but that doesn't make me a noob coder. In fact i reverse engineer for a hobby, i have in this time looked brefly at the 2.6 decrpyted firmware, especially loadcore.prx. I am however developing something right now, but it'll take awhile though.
agent_dark64 is offline  
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
Old 07-22-2006, 09:19 AM   #5
 
will1234's Avatar
 
Join Date: Oct 2005
Real First Name: Will
Location: Sheffield, UK
Posts: 844
Trader Feedback: 0
Default

freeplay knows i tried to get in contact with him about it but pm wasnt working
will1234 is offline  
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
Old 07-22-2006, 09:22 AM   #6
 
Join Date: Sep 2005
Posts: 44
Trader Feedback: 0
Default

Quote:
Originally Posted by iballŪ
Why don't you DEVELOP something to gain access to it?
hehe, here some source code for them, maybe i'll go publish this:

#include <pspkernel.h>
#include <pspdebug.h>

int main()
{
pspDebugScreenInit();
pspDebugScreenPrintf("let me in developers dungon, see i can code!");
return 0;
}

Last edited by agent_dark64; 07-22-2006 at 09:28 AM..
agent_dark64 is offline  
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
Old 07-22-2006, 09:33 AM   #7
 
Soulphalanx's Avatar
 
Join Date: Sep 2005
Location: TROY
Posts: 2,989
Trader Feedback: 0
Default

lol, thats just changing text from hello world example
what he means by develop is make an app or game that shows you can code
__________________
[IMG]http://img121.imageshack.us/img121/3852/untitled1copy7rf.png[/IMG] [IMG]http://img99.imageshack.us/img99/9711/newavatarjb9.gif[/IMG]


[URL=http://forums.qj.net/showthread.php?t=9733][COLOR=DarkRed]Operation Positive Posting[/COLOR][/URL] [URL=http://forums.qj.net/showthread.php?t=49762][COLOR=Red]Guide to All Guides[/COLOR][/URL]
[URL=http://forums.qj.net/showthread.php?t=13798][COLOR=Blue]Posting Guidelines[/COLOR][/URL] [URL=http://forums.qj.net/showthread.php?t=4394][COLOR=Green]Piracy Policy[/COLOR][/URL]

[SIZE="3"][URL=http://forums.qj.net/f-general-psp-help-22/t-guide-opening-psp-disassembly-assembly-video-104303.html][COLOR=Red][B][U]PSP Disassembly Assembly Video Tutorial[/U][/B][/COLOR][/URL][/SIZE]
Soulphalanx is offline  
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
Old 07-22-2006, 09:44 AM   #8
 
Join Date: Jan 2006
Posts: 4,288
Trader Feedback: 0
Default

I think he was trying to make a joke about how the front page will have news stories about programs that are so basic, like 'color change demos' and whatnot.
__________________
[URL="http://www.newlilwayne.com"]www.NewLilWayne.com[/URL]
soccerPMN is offline  
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
Old 07-22-2006, 10:00 AM   #9
 
iballŪ's Avatar
 
My Mood: Aggressive
Join Date: Oct 2005
Location: Interstates
Posts: 9,652
Trader Feedback: 0
Default

[sarcasm]

Code:
10 Print "Blow me"
20 goto 10
Ooooo! I can code too! Can I have access to the developer's dungeon now?

[/sarcasm]
__________________
[spoiler=signature][center][img]http://i33.photobucket.com/albums/d75/iball2929/iballsig2fz.jpg[/img][/center]
[size=-2][center][b][color=purple]Nintendo DS WFC codes[/b][/color][/center][/size][size=-2][center][b][color=green]Mario Kart DS: 180448 583615 (I-Ball)[/color]
[color=blue]Animal Crossing: Town of Sampson 4853-9284-6519 (I-Ball)[/color]
[color=red]Metroid Prime Hunters: 5025 8054 3555[/size][/center][/color][size=-2][center]-----------------[/center][center][color=blue]Homebrew authors! If your software is based upon GPL code then you MUST release the modified source code you created the same time you release the binaries![/b][/size][/color][/center]
[size=-2][center][b]Supercard mini-SD w/2GB 150x Mini-SD card, SuperPass II, FlashMe v7 and an EFA Linker II GBA flashcart[/b][/center][/size][/spoiler]
iballŪ is offline  
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
Old 07-22-2006, 10:21 AM   #10
 
Nevada's Avatar
 
Join Date: Jun 2005
Posts: 2,848
Trader Feedback: 0
Default

Quote:
Originally Posted by agent_dark64
I don't have time unlike most people here, but that doesn't make me a noob coder. In fact i reverse engineer for a hobby, i have in this time looked brefly at the 2.6 decrpyted firmware, especially loadcore.prx. I am however developing something right now, but it'll take awhile though.
If you really did you'd know how to use IDA properly
Hint, what platform is the PSP ? :|
__________________
[B]Nevada's design blog : [/B][URL="http://www.nyleveia.com/"]http://www.nyleveia.com[/URL]
Nevada is offline  
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
Old 07-22-2006, 10:23 AM   #11
 
Maniakc's Avatar
 
Join Date: Apr 2006
Location: Sudbury Ontario
Posts: 1,698
Trader Feedback: 0
Default

Quote:
Originally Posted by iballŪ
[sarcasm]

Code:
10 Print "Blow me"
20 goto 10
Ooooo! I can code too! Can I have access to the developer's dungeon now?

[/sarcasm]
What would we do without IballŪ?
__________________
[SPOILER="I will support Sony"]When cows give Pepsi...[/SPOILER]
free ISOs, roms, and tons of free sex all [url=http://www.google.com]HERE[/url]!
Maniakc is offline  
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
Old 07-22-2006, 10:55 AM   #12
 
Join Date: Jan 2006
Posts: 15
Trader Feedback: 0
Default You need full version of IDA Pro

Quote:
Originally Posted by agent_dark64
Anyone know how to load a ELF file in IDA without it comming up with that stupid "Unsupported or unknown image type" error? Seams the elf/sony prx files have protection against reverse engineering in ida.

I bet anything this thread gets unanswered which is one reason the mods here should give me access to developers dungon forum which i can't post in.
And 'Set' processor to 'mipsl' when openning. Or you may try to use Hitmen's Allegrex module (http://hitmen.c02.at/html/psp_releases.html)
_00_ is offline  
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
Old 07-22-2006, 10:58 AM   #13

SHOOP DA WHOOP
 
mannymix03's Avatar
 
Join Date: Aug 2005
Location: Wii forums
Posts: 7,404
Trader Feedback: 0
Default

btw developers dont only hang out in the dungeon, if you post the question anywhere they will still answer it
__________________
Required ReadingPiracy Policy |Positive Posting

mannymix03 is offline  
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
Old 07-23-2006, 03:01 AM   #14
 
Join Date: Sep 2005
Posts: 44
Trader Feedback: 0
Default

Quote:
Originally Posted by Fluff
If you really did you'd know how to use IDA properly
Hint, what platform is the PSP ? :|
MIPS R4000 Chipset. ELF executable format, Little endian 32 bit processor - happy?

Double Post Merge

Quote:
Originally Posted by _00_
And 'Set' processor to 'mipsl' when openning. Or you may try to use Hitmen's Allegrex module (http://hitmen.c02.at/html/psp_releases.html)
I set it to mipsl when opening, i'v even tried mipsl5900 since mipsl doesn't cover some r4000 instructions. It still gives a "unsupported or unknown image type" when loading. Its something about the elf file, not the instruction set because i can load homebrew elfs, just not elfs or decrypted prxs by sony.

Last edited by agent_dark64; 07-23-2006 at 03:12 AM..
agent_dark64 is offline  
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
Old 07-23-2006, 03:42 AM   #15
 
Join Date: Jan 2006
Posts: 15
Trader Feedback: 0
Default There are problems with SONY PRX's

Quote:
Originally Posted by agent_dark64
Its something about the elf file, not the instruction set because i can load homebrew elfs, just not elfs or decrypted prxs by sony.
You have to convert them using PRXTOOL (-e):

Code:
Usage: prxtool [options...] file
Options:
-o outfile : Output file. If not specified uses stdout
-c         : Output an IDC file (default)
-x         : Output an XML file
-p         : Output a PRX/PFX (from an ELF)
-e         : Output an ELF (from a PRX)
-d         : Enable debug mode
-s ixrsl   : Specify what to serialize (Imports,Exports,Relocs,Sections,SyslibExp)
-n imp.xml : Specify a XML file containing the nid tables
-t         : Emit stub files for the XML file passed on the command line
-u         : Emit stub files based on the exports of the specified prx files
-k         : Emit new style stubs for the SDK
-q         : Print PRX dependencies. (Should have loaded an XML file to be useful
-m         : Print the module and library information to screen
-f         : Print the imports and exports of a prx

Example 1: prxtool -o output.idc -s xr myfile.prx
Outputs an IDC to output.idc, only serializing Exports and Relocs
Example 2: prxtool -c psplibdoc.xml
Outputs one or more stub .S files to the current directory from the XML file
Download here: http://ps2dev.org/psp/Tools/PRXTool_Win32
_00_ is offline  
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
Reply

Tags
answer , bet , fanjita , probbably , question

Thread Tools

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are Off
Pingbacks are Off
Refbacks are Off



All times are GMT -8. The time now is 07:47 AM.



Use of this Web site constitutes acceptance of the TERMS & CONDITIONS and PRIVACY POLICY
Copyright Đ 2009, QJ.NET. All Rights Reserved.
Contact Us